summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries
AgeCommit message (Collapse)Author
2011-04-23Merge branch 'alindeman/1628' of git://github.com/alindeman/gallery3 into andyBharat Mediratta
2011-04-23Overhaul of the uploader code:Bharat Mediratta
- Propagate size limits (including detecting memory limits from GD) down to the Flash so that we don't even start uploads that won't work - Improve the error messages to be more user meaningful and provide links to the codex for errors - Tell the user up front what the file size limit is. Fixes #1638
2011-04-23Allow tags to be merged by renamingAndy Lindeman
* Fixes #1628
2011-04-23Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2011-04-23Fix for ticket #541Tim Almdal
Added a theme_info variable to the theme globals. The properties in the theme.info file are now contained in this theme_info structure. Access is: <?= $theme_info->author ?> will display the theme author.
2011-04-23If we've cleared out the last group in a combine_queue for a givenBharat Mediratta
type, unset the combine_queue for that type entirely. This way future calls to css() and script() emit an element until there's a new call to start_combining(). Fixes 1685.
2011-04-21Create before_combine and after_combine events to allow modules and themes toBharat Mediratta
interact with the combine list ahead of time, and to be able to do things like minification after it's combined. Fixes #1653.
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-21Add "html_attributes" theme callback to allow modules to inject attributes intoBharat Mediratta
the <html> element, including things like namespaces. Fixes #1615.
2011-01-15Reorganize the url() function out from in the middle of the script/css ↵Bharat Mediratta
combining functions.
2011-01-10Create new APIs for allowing themers to control what CSS/JS getBharat Mediratta
combined and when. Backwards compatible in that old themes will work, but their CSS/JS will no longer be combined unless they make some changes. Fixes #1600.
2011-01-03Using array support introduced in 8295201adf948ea35f21f75801b7a8bf36c27569Joe7
2011-01-03Reimplemented Kohana 2.3's View::set_global() with array support.Joe7
Allows for cleaner code and fewer function calls.
2010-12-29Improve the solution for #1545 by sorting the settings menu properlyBharat Mediratta
to be naturally ordered and case insensitive.
2010-12-28Coding style fixes: identation on line 48+removed trailing whitespaces, ↵Joe7
added spaces around =s
2010-12-28Using ON DUPLICATE KEY UPDATE instead of SELECT+UPDATE/INSERT style method ↵Joe7
(that does 2 trips to Database server and is less optimal). exists() method is not needed anymore thus got removed
2010-12-28Added limit on select as for the outcome it doesn't matter if there are 20 ↵Joe7
rows or just 1. Is sufficient to return straight after reading 1 row.
2010-12-28Use db::expr instead of "new Database_Expression". Resolves #1560.Bharat Mediratta
2010-12-17Sort the Admin > Settings menu instead of relying on module activation order.Bharat Mediratta
Requires making Menu::get() return a reference. Fixes #1545.
2010-12-16Swap the order of the CSS and JS for performance. Fixes #1540.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-10-03Don't wrap the action in url::site() -- form::open() will do that for us. ↵Bharat Mediratta
Fixes #1417.
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-06Fix some broken identity APIs:Bharat Mediratta
- add_user_to_group and remove_user_from_group should take Group_Definition instances to be consistent - add_user_to_group and remove_user_from_group in drivers/IdentityProvider.php should not be static
2010-09-06Whitespace.Bharat Mediratta
2010-09-01Hopefully the third and final patch for #1216. Set the default from and ↵Tim Almdal
reply-to addresses to an empty string. The first time the user model is saved, set the sendmail from and reply-to addresses. Requires an update to gallery version 38.
2010-08-31Patch for ticket #1216. Move the values that were in the sendmail config ↵Tim Almdal
file and store them as gallery module variables. Requires a version number bump to 37.
2010-08-29Put the theme CSS at the end of the module CSS so that the theme hasBharat Mediratta
the final say. Fixes ticket #1315.
2010-08-29Don't concatenate two strings together as an argument for t() or t2();Bharat Mediratta
the l10n_scanner cannot parse it properly and drops those from the localization list. Fixes ticket #1284.
2010-08-21Put up a warning and don't accept movie files if we don't have ffmpeg.Bharat Mediratta
This fixes ticket #973.
2010-08-08Handle 404 exceptions specially to reduce spam in the log files. Fixes ↵Bharat Mediratta
ticket #1228.
2010-08-07Add a max_level to _sanitize_for_dump() so that we don't blow the stack.Bharat Mediratta
2010-08-01default maintenance_mode from false -> 0 for consistency with the value we ↵Bharat Mediratta
set in the db
2010-08-01Make maintenance mode a variable instead of a config. Then createBharat Mediratta
links on the Admin > Maintenance page to allow you to turn it on and off. This should be efficient since we cache all vars and look them up on every request anyway. This also allows us to have the Fix task enable maintenance mode while it's running which greatly reduces the chances that somebody will come along and hork the database while we're tinkering with MPTT pointers. Fixes ticket #1259.
2010-07-29Trap ORM_Validation_Exception specially and report which fields failed ↵Bharat Mediratta
validation.
2010-07-21Catch any exceptions thrown when we try to restore the originalBharat Mediratta
identity provider after we fail to set up a new one.
2010-07-10PHPDoc fix.Bharat Mediratta
2010-07-10Reset the time limit to 30 seconds every time we delete a child. Fixes ↵Bharat Mediratta
ticket #1199.
2010-06-19Rework our exception framework to fit into Kohana's model better.Bharat Mediratta
Instead of overwriting Kohana_Exception::handle() (which we were doing in MY_Kohana_Exception) we instead use their existing template system. gallery/views/kohana/error.php overrides system/views/kohana/error.php and is the standard error template for all exceptions. Our version of error.php figures out the appropriate view based on context (cli, authenticated admin, guest viewing a 404, guest viewing a system error) and delegates appropriately. Each delegated view has a narrow responsibility. This paves the way for us to add new error views per module. For example, the rest module will define its own template in Rest_Exception and then its exceptions can be rendered the way that it wants (json encoded, in that case).
2010-06-19single -> double quotes.Bharat Mediratta
2010-06-12Make login/logout continuation url code consistent. Where necessary,Bharat Mediratta
we specify the continue_url in the session, but we store it in the login form so that we can propagate it across the session creation that happens at login time.
2010-05-14Fix-ups for d98b85f7d3142676e6b4f407a18ed81564823f88Bharat Mediratta
- Pass the CSS selector of the active image in as an arg to site_menu so that quick operations know what they're operating on. - Change the ids from g-{photo,movie}-id to the generic g-item-id - Initialize ajax handlers for site menu on the photo and movie page - Drop the movie context menu, it's now in the site menu
2010-04-10Fix a bug introduced when we patched the "disallowed global data"Bharat Mediratta
security check. Not sure why the patch worked for some and not for others, but this should resolve it either way. Fixes ticket #1123.
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-28First step towards fixing ticket #1038: Allowing for custom page <title> in ↵Andy Staudacher
admin pages, just like in non-admin pages. TODO: Set $view->page_title in the many admin controllers we have. I just set it for admin_maintenance.php to show how it's intended to be used. I copied the title from views/admin_maintenance.html.php to the controller.
2010-02-27Fix for ticket #1036 - Don't echo any sensitive information such as ↵Andy Staudacher
passwords, hashes or personally identifiable information.
2010-02-24Fix for ticket #1034: Fix db cache driver delete() call which was missed in ↵Andy Staudacher
a recent refactoring / fix.
2010-02-23Fix translation cache for installations with 0 translations in the DB.Andy Staudacher
2010-02-22Merge commit 'upstream/master'Andy Staudacher
2010-02-21Performance improvement: Load all translations of a locale as one serialized ↵Andy Staudacher
array from the Cache. Until now, we loaded hundreds of translation messages row by row, and unserializing one by one at bootstrap time. That amounted to a significant percentage of the complete request time. This approach is more than 10x faster.