summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2010-11-08Implement module::clear_all_vars($module_name)Bharat Mediratta
Also switch from using ORM to Database_Builder for the SQL because it's cleaner, and clean up the test. Fixes #1479.
2010-11-08Dump something in the logs if GalleryEmbed::init() fails.Bharat Mediratta
2010-11-07Add Malay as 'Bahasa Melayu'Bharat Mediratta
2010-11-06Create item_before_create and item_before_update events, and makeBharat Mediratta
Item_Model::data_file public. This allows us to intercept and tweak data files before saving the model which enables the max_size module.
2010-10-31Deal in integers when doing aspect ratio operations. Fixes #1470.Bharat Mediratta
2010-10-25All modules should be named Xxx_Core for extensibility. Fixes #1458.Bharat Mediratta
2010-10-25Set the unit test timeout to 5 minutesBharat Mediratta
2010-10-24Allow access to the rest module when the gallery is wholly private. Fixes ↵Bharat Mediratta
ticket #1452.
2010-10-11Add MJ12bot and Speedy Spider to the robot list.Bharat Mediratta
2010-10-11Copy system/config/user_agents.php over to gallery/config so that we can add ↵Bharat Mediratta
to the list
2010-10-09Identify robots and don't let them save sessions.Bharat Mediratta
2010-10-07Change version to "3.0+ (git)".Bharat Mediratta
2010-10-04Set the version to 3.0 final (woot!).Bharat Mediratta
2010-10-04Not sure why digibug::close_window() changed in the listing, but it looks ↵Bharat Mediratta
fine here.
2010-10-03Don't wrap the action in url::site() -- form::open() will do that for us. ↵Bharat Mediratta
Fixes #1417.
2010-10-02Detect the case where there are no more broken images and skip to the end. ↵Bharat Mediratta
Fixes #1414.
2010-10-02Proxy the BasicAuth authentication header in htaccess_works() so thatBharat Mediratta
if the entire Gallery is behind BasicAuth we share the same credentials as the browser. Fixes #1413.
2010-10-02Set the User-Agent field to "Gallery3" by default. Fixes #1408.Bharat Mediratta
2010-10-01Fix a bug in the way we set the mime type for protected image renders.Bharat Mediratta
Also whitelist the digibug controller so that it's accessible when the gallery is private, and don't expire old proxies right away since Digibug may request the full size multiple times for different preview operations. Fixes ticket #1410.
2010-10-01Use the "loading" image from themes/wind since it's no longer in gallery3/lib.Bharat Mediratta
2010-09-29Stop caching all module variables in the vars table using theBharat Mediratta
name=_cache row. If that overflows, it will cause us to be unable to load variables, and we can't recover from that. Instead, use the Cache table. Bump the gallery module to v40. Fixes ticket #1405.
2010-09-25Base64 encode the data result if the encoding param is set to "base64".Bharat Mediratta
Fixes #1400.
2010-09-23Fix a bug introduced recently inBharat Mediratta
f84c4a6192ea0e47ca5b2006baa0bfd7e09a682c where we were generating bad SQL. If we're checking for a conflict on a new item, the id is null and we were doing a comparison that resulted in "id <> NULL" which won't work -- in that case we need "id IS NOT NULL". Fixes #1393.
2010-09-22Remove the 4 character minimum for group name length. Fixes ticket #1396.Bharat Mediratta
2010-09-22Prioritize using the value in graphics_toolkit_path over the standardBharat Mediratta
path so that if you change that value in Admin > Settings > Advanced we prefer it over other paths (which may be restricted by open_basedir). Fixes #1395.
2010-09-22Use alternate path to the CoolIris slideshow that fixes the problemBharat Mediratta
with Adobe not properly signing TextLayout.swz. Fixes #1390.
2010-09-18The Kohana folks removed the cache cleanup code back inBharat Mediratta
http://dev.kohanaframework.org/projects/kohana2/repository/revisions/4605 So now our cache entries don't expire. For now, do cache expiration whenever we render Admin > Maintenance, since that's the type of place that users will go when they want their cache to expire anyway.
2010-09-18When looking for G2 urls in the g2_map, try also swapping spaces for +Bharat Mediratta
in case the url had spaces in it. Fixes ticket #1388.
2010-09-18Fix a bug in that last commit where I was treating resource_type as a function.Bharat Mediratta
2010-09-18Redirect to the root album when there's an empty path and empty id.Bharat Mediratta
Fixes ticket #1387.
2010-09-18Fix a bug in the way that we calculate expiration dates for oldBharat Mediratta
comments by using Database_Expression. Fixes ticket #1386.
2010-09-17Checkpoint.Bharat Mediratta
2010-09-16Add a module variable containing extra paths to search for binaries.Bharat Mediratta
Fixes ticket #1384.
2010-09-16Preserve the image extension on the temp file that we create forBharat Mediratta
rotating images. Some versions of GD won't work if we don't do this. Fixes ticket #1375.
2010-09-16Add a link toBharat Mediratta
http://codex.gallery2.org/Gallery3:Choosing_A_Graphics_Toolkit to help users choose a graphics toolkit. Fixes ticket #1372.
2010-09-16Restrict viewing user profile pages to registered users only, butBharat Mediratta
provide a "show_user_profiles_to" setting to allow admins to open it up to everybody (choices there are "registered_users", "admin_users" or "everybody"). Fixes ticket #1378.
2010-09-16Convert the guest_url ORM validation failure back to the url formBharat Mediratta
parameter and put in a message requiring a valid url. Fixes ticket
2010-09-14Add ability to sort albums by name. Fixes ticket #1377.Bharat Mediratta
2010-09-14Report the graphics toolkit in the platform block.Bharat Mediratta
2010-09-14The full_name field is required to be NOT NULL. Not really sure whyBharat Mediratta
this is a hard requirement, but for now in User_Model::save() let's use the empty string if the field itself is null. Fixes ticket #1371.
2010-09-13When moving a single item, just copy its permissions from its parentBharat Mediratta
album. This is totally legal since an items permissions must be the same as its parent's, and it's much faster for large installs where a complete recalculation can be very costly. Should fix #1360.
2010-09-13When deleting items, choose the first *viewable* peer as the albumBharat Mediratta
cover. Normally, all items are equally viewable, but in our unit tests we occasionally have the scenario where peers have different viewability settings which is internally consistent although only possible if you set the fields manually.
2010-09-12Ignore the private gallery settings if we're in the cli SAPI. ItBharat Mediratta
breaks the upgrader. Fixes #1361, thanks to Romain LE DISEZ.
2010-09-12LOWER() the slug and name in the find_dupes functions since DISTINCTBharat Mediratta
is case sensitive, but our dupe validation is not. Fixes ticket #1367.
2010-09-12Rename the class to Item_Model_Core so that it can be overloaded.Bharat Mediratta
Related to ticket #1368.
2010-09-12Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-09-12Path for ticket #1140. Add a size0 to the tag cloud.Tim Almdal
2010-09-11Uniqify the name and slug when we move an item to a new location withBharat Mediratta
a conflict. This fixes #1364.
2010-09-11Log the JSON response on errors so that we can figure out what's goingBharat Mediratta
wrong. This will help diagnose #1364 which appears to be an ORM_Validation_Exception, except the actual output is getting eaten by the Organize SWF so we can't see it without snooping network traffic.
2010-09-11Fix bug introduced in b6fa33faf789749f4de3f4eadf8832748372c980. Don'tBharat Mediratta
try to use $(this).data("reload.location") if it hasn't been set, which can happen if Flash isn't available. Fixes #1362