summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-02Ok, do a real fix for #1499 by creating version 3 of the image_blockBharat Mediratta
module and creating the image_count variable if it wasn't already set.
2010-12-02Duh, set the image_block.image_count variable in the installer! ThisBharat Mediratta
issue was introduced in cdf0f7f765a5bd5e0d5619d345bdc6aba069c555 which was a follow-on for 3c523bcac6e902973c5891c02842254eaecd33a4 which fixes #1499.
2010-11-29In 3c523bcac6e902973c5891c02842254eaecd33a4 (fix for #1499) I left outBharat Mediratta
the install() function which should set the image_block module to version 2. Fix that here.
2010-11-28Fix g2_import::g2_url() to only replace the $g2_base_url once at theBharat Mediratta
beginning of the url string. Also, only do this when we're about to put it into the map, not when we're getting the g2 url else the url is mangled for other purposes. Fixes #1512.
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-22Take into account the core.url_suffix configuration setting whenBharat Mediratta
parsing REST urls. This fixes the problem that setting the url suffix breaks REST. Fixes #1500.
2010-11-21Create a module setting for the number of random images to show in theBharat Mediratta
sidebar. Fixes #1499.
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-18Fix a bug in ORM where calling reload() on an unloaded instance returns theBharat Mediratta
first instance in the database, which is super bad. Kohana ticket: http://dev.kohanaframework.org/issues/3397 Related G3 ticket: http://sourceforge.net/apps/trac/gallery/ticket/1489
2010-11-14Create a task to clean up tag counts and delete tag with no associatedBharat Mediratta
items. Fixes #1488.
2010-11-14Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-11-14Create a new task to resync tag task counts and delete tags that haveBharat Mediratta
no associated items.
2010-11-14Fix two issues with item deletion:Bharat Mediratta
1) We're compacting tags on every deletion which is slow. Since we delete albums in batch, we should just do one tag compaction at the end. Fixes #1487. 2) Issue introduced in 3d952f41c8d90b5c217616fb060697f93fb9db07 where we trigger an item_related_update in tag::clear_all(). Since tag::clear_all() is called when we delete an item, this causes the search module to attempt to index a deleted item. Move that triggering upstream.
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-09Add an extra line break after the RewriteBase line so that theBharat Mediratta
RewriteBase and RewriteRule lines don't get merged in the resulting textarea. Fixes #1481.
2010-11-08Fix a bug in the way that we add tags that causes it to be really slowBharat Mediratta
when adding a tag to lots of items. Tag_Model::save() would call item_related_update for every tag related to an item upon save which is an O(N!) operation. Fixes ticket #1412.
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-08Check for the PHP Ctype extension. Fixes ticket #1474.Bharat Mediratta
2010-11-08Dump something in the logs if GalleryEmbed::init() fails.Bharat Mediratta
2010-11-07Add Malay as 'Bahasa Melayu'Bharat Mediratta
2010-11-07Force the new geometry in the ImageMagick crop() function.Bharat Mediratta
Fixes http://dev.kohanaframework.org/issues/3384
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-09Fix for http://dev.kohanaframework.org/issues/3317 -- don't try to ↵Bharat Mediratta
implicitly convert a string into an array.
2010-10-07Change version to "3.0+ (git)".Bharat Mediratta
2010-10-05Updated for 3.0 release.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-02Oops, forgot to update installer to match change inBharat Mediratta
f84782d6200efb424731c93bd029c7cbeb9f3dad
2010-10-02Detect the case where there are no more broken images and skip to the end. ↵Bharat Mediratta
Fixes #1414.