summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2010-12-15Use mt_rand() instead of rand() since it provides better portability.Bharat Mediratta
Fixes #1527.
2010-12-15Follow on to d2be26e407aeb620082bcad2d5a45272868b38a1 to update theBharat Mediratta
unit tests to reflect the proper type filtering for #1503.
2010-12-15Clean up golden file as a follow-on toBharat Mediratta
3c523bcac6e902973c5891c02842254eaecd33a4 for #1499.
2010-12-15Clean up xss golden file as a follow-on toBharat Mediratta
945e79b17182f7c96eb4b566bd41d26b5f8c4288 for #1478.
2010-12-15Follow on to d2be26e407aeb620082bcad2d5a45272868b38a1 to convert tabs to spaces.Bharat Mediratta
2010-12-15Amend db00958cee5e7373cf4bc439d65e687e7ef2d985 by extending the systemBharat Mediratta
user_agents.php instead of replacing it. This lets us avoid having to reformat the file to get File_Structure_Test to pass and will let us take advantage of further improvements ot the Kohana version of the file. Additional fix for #1436.
2010-12-14Move photo/movie file extension validation into the model. Fixes #1524.Bharat Mediratta
2010-11-28Delete the temporary "user" value from the session when upconvertingBharat Mediratta
the admin account post-install. Fixes #1511.
2010-11-28Replace self::func() with <helper_name>::func() for all public APIsBharat Mediratta
and constants to make overloading easier. Fixes #1510.
2010-11-27Clean up phpDoc on get() a little moreBharat Mediratta
2010-11-27Tighten up the phpDoc for get().Bharat Mediratta
2010-11-28Slightly more invasive version, but cleaner on the eyes.Kriss Andsten
2010-11-28Patch from ticket 1503, making rest/items behaviour consisten with rest/item ↵Kriss Andsten
behaviour.
2010-11-21Shuffle up the way we figure out which image to rebuild next so thatBharat Mediratta
multiple concurrent tasks actually work in parallel and don't stomp on each other. Fixes #1498.
2010-11-20Move the sys_getloadavg() call into the template since that's what we're ↵Bharat Mediratta
doing for other similar calls
2010-11-20I don't run these, I doubt anybody does. DeletingBharat Mediratta
2010-11-18Add Bengali (bn_BD).Bharat Mediratta
2010-11-18Use sys_getloadavg() instead of reading /proc/loadavg. Fixes #1491.Bharat Mediratta
2010-11-18Fix a bug where simultaneous deletes of the same item can result in itBharat Mediratta
deleting the first item row in the database. The root issue is a bug in Kohana that's addressed in dca9b5f3fc8e80ee0667cac88d688e2287b1e7f4 but in this change we deal with the fact that reloading an item can result in an instance of the item that's unloaded. In those cases, we should just ignore it and move on. Fixes #1489.
2010-11-09Return the admin check as part of the block structure as opposed to printingTim Almdal
it directly to the output. I had problems with the admin check messing up the AJAX calls on the module update page. And it went away after this fix.
2010-11-09Tie the image cachebuster to the file mtime instead ofBharat Mediratta
Item_Model::$updated since we want the url to be stable whenever possible. Fixes #1482.
2010-11-08Updated item::random_query() PHPdoc to include example usageBharat Mediratta
2010-11-08Add a pure javascript mechanism for filtering advanced properties. Partial ↵Bharat Mediratta
fix for #1478.
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-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-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-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-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-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.