summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
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-29Protect ".ini" files in the example security stanza. Fixes ticketBharat 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-22Merge branch 'master' into talmdal_devTim Almdal
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.