summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-16Merge branch 'master' into bharat_devBharat Mediratta
2010-04-10Add album_add_form event to album::get_add_form().Bharat Mediratta
2010-04-10Add error messages to theme::get_edit_form_admin()Bharat Mediratta
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-04-07Merge branch 'master' into bharat_devTim Almdal
2010-04-04Move the "Fix MPTT" task from the rescue module into the main GalleryBharat Mediratta
module.
2010-04-04preg_quote() the pattern we use for directory globs to avoid lettingBharat Mediratta
the filename be treated as a regexp. Fixes #1086.
2010-04-04Fix a bug where if the file name is composed of entirely illegalBharat Mediratta
characters, we'll get an empty slug. Partial fix for #1086.
2010-04-04REST changes: Allow PUT and POST requests to modify members, notBharat Mediratta
just entity. TESTS ARE NOT UPDATED YET. - Fix item_rest::get() to maintain the proper sort order, which requires duplicating some Item_Model code. - Elide "weight" from the REST version of item - Adjust the weight of members according to the order they're returned from the client. You can't add or remove members here, you can only reorder them. - Changed the wire protocol to handle more complex values. Now "entity" and "members" are JSON encoded. The Gallery3 helper does this correctly. - Changed the wire protocol for tag_item -- now it stores the tag and item urls in the entity, not as members. This is more consistent. - Added missing security for renaming and deleting tags. - Got rid of vestigial tag_rest::post(). We add/remove tags via the relationship.
2010-04-02Always return an array from item_ordered_members_rest::relationships()Bharat Mediratta
2010-04-01Add a new resource for managing child item orders.Bharat Mediratta
2010-03-30Rest -> RESTBharat Mediratta
2010-03-30Rename "access_token" to "access_key" in the code for consistency.Bharat Mediratta
2010-03-30Rename "user_access_tokens" table to "user_access_keys" as step 1 of aBharat Mediratta
multi step process to refer to REST access keys as "access_key" everywhere. Bump the rest module to version 2.
2010-03-30Move G2_Import_Exception into libraries because it's not a helper class.Bharat Mediratta
2010-03-30CheckpointBharat Mediratta
2010-03-28Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-03-20Increase specificity for .g-item width to ensure it overrides the wind ↵Chad Kieffer
theme's default width when thumbnails are something other than the default. Fixes ticket #1053.
2010-03-16Add more padding to the top of the add-photos-canvas to avoid overlap with ↵Chad Kieffer
selected photos.
2010-03-13Whitespace correctionTim Almdal
2010-03-13Synchronize the line endings with the vendor branch.Tim Almdal
2010-03-05Update tests to reflect the fact that you have to be logged in to do anything.Bharat Mediratta
2010-03-05Merge branch 'master' of git://github.com/fpaterno/gallery3Bharat Mediratta
2010-03-03Guests don't get access to the REST API.Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-03-02Ignore fetchItemViewCount errors during import and default to 0. The error ↵Andy Staudacher
is still logged to the G3 syslog.
2010-03-03Fix a typo.Romain LE DISEZ
2010-03-01Fix bug #1015 : repeated ids are prohibitedFlorent Paterno
2010-02-28Merge branch 'master' of github.com:gallery/gallery3Chad Kieffer
2010-02-28Apply ui-helper-clearfix to the breadcrumb in the upload dialog to ensure it ↵Chad Kieffer
clears the upload canvas in webkit-based browsers.
2010-02-28Merge commit 'upstream/master'Andy Staudacher
2010-02-28G2 importer stability improvements:Andy Staudacher
- Log which validation rule was violated if there's an ORM validation error. - Add more try / catch blocks to avoid abortion where possible.
2010-02-28Updates to upload CSS to make it themeable and RTL compatible. Use absolute ↵Chad Kieffer
positioning to handle upload button positioning. Remove color definitions to allow jQuery UI theme to set button colors. Consolidate upload dialog CSS to modules/css/gallery.css. Closes #885.
2010-02-28The vendor branch is being updated, so this reverts the revert ofTim Almdal
commit c91408d4a8b56730fde39df5e12d32111ace28b4.
2010-02-28Its not apppropriate to make changes to the Kohana system files. Please find ↵Tim Almdal
another way. Revert "Fix Kohana's internal cache for Gallery's usage pattern. Instead of deleting the whole find_files cache when ever include_paths (=core.modules) change, keep a separate find_files cache for each set of include_paths." This reverts commit fd94f4bec21a7deaa86d468da704a048d2be751e.
2010-02-28Fix Kohana's internal cache for Gallery's usage pattern. Instead of deleting ↵Andy Staudacher
the whole find_files cache when ever include_paths (=core.modules) change, keep a separate find_files cache for each set of include_paths. Benefits for Gallery: - There are about 3000 is_file() invocations for a photo / album page in a vanilla Gallery installation. These are mostly triggered by Kohana::find_file(). - Enabling internal_cache doesn't help at all (see explanation below). The number of is_file() invocations is about the same with or without this cache. - With this patch, more than 95% of these invocations are gone. The cache works as intended. Kohana's internal_cache for find_file wasn't working in Gallery because the cache would be emptied on each request after reading it from disk and before most lookups would run. 1. Bootstrap sets initial core.modules (= include path): forge, kohana23_compat, gallery. 2. Kohana::setup() loads find_file cache from disk. 3. Gallery loads list of active modules and themes, and updates the core.modules value (=include path), which forces the internal find_file cache to be empties (which makes sense). 4. Request processing starts, and thus 80+% of all Kohana::find_file() triggered is_file() invocations start off with an empty find_file cache. The patch doesn't have a significant impact on performance for Kohana applications which don't change their include paths at runtime (after Kohana::setup). And the patch should benefit all Kohana applications which have modules / extensions, i.e. which first need to bootstrap Kohana before they can load a list of all active modules from the database.
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-28Fix profiler display: It looks like it was broken by an API change in the ↵Andy Staudacher
latest kohana upgrade.
2010-02-27Fix for ticket #1035: Make .htaccess access rules work for the case when ↵Andy Staudacher
index.php isn't part of generated URLs.
2010-02-27Fix for ticket #1037: Only show language drop-down when there's actually a ↵Andy Staudacher
choice.
2010-02-27Additional fixes for plural handling when deleting translations / marking ↵Andy Staudacher
them as untranslated.
2010-02-27Fix l10n client, copy of existing plural translation to form fields.Andy Staudacher
I think this was broken in a recent jQuery update. It used to allow matching the HTML "name" attribute with #name_value, now you need to match by elementName[name=name_value].
2010-02-27Client (UI) side fix for ticket #1042, based on a patch from fpaterno ↵Andy Staudacher
(Florent Paterno). Mark message as untranslated if the translation is empty.
2010-02-27Incremental fix for ticket #1042: Delete translation from ↵Andy Staudacher
outgoing_translations when the user submits a form with an empty translation.
2010-02-27Add more randomness to reset password mechanism.Andy Staudacher
2010-02-27Fix for ticket #1036 - Don't echo any sensitive information such as ↵Andy Staudacher
passwords, hashes or personally identifiable information.
2010-02-26Revert "Password value on installer must be hidden"Tim Almdal
This reverts commit b4922f4d176662976c9d2b249edf0e50a0cdfdf1.
2010-02-26Password value on installer must be hiddenfpaterno
2010-02-25Fix typo, thanks cajun100 for reporting!Andy Staudacher
2010-02-24Fix multi-column layout of language admin.Andy Staudacher