summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-09In GalleryCodeFilterIterator::accept(), ignore . and .., and stop caring ↵Bharat Mediratta
about .svn
2010-06-09Fix get_ancestor_test() since the parameter was renamed to ancestors_for.Bharat Mediratta
2010-06-09Revert the "preserve_ids" global query parameter. We decided that it was aBharat Mediratta
bad idea. This reverts commit 6425d41eddd44091b2d83ba3c3734cc6990ca581.
2010-06-08Add a "can_edit" field to the Item_Model's REST output. It'sBharat Mediratta
applicable to the current user.
2010-06-07Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-06-07Add a "preserve_ids" global query parameter for REST requests thatBharat Mediratta
indicates that we shouldn't opportunistically convert ids into REST urls.
2010-06-07Add a "convert_ids" parameter to Item_Model::as_restful_array(), whichBharat Mediratta
we can turn on with a query parameter.
2010-06-07Improve a comment.Bharat Mediratta
2010-06-07Tweak the test setup code to always copy database.php; something isBharat Mediratta
going wrong that's nuking test/var/database.php -- I'll figure that out, but in the meantime we can make this code more robust.
2010-06-07Don't recreate test/var/logs if it already exists. This fixes aBharat Mediratta
rather circuitous problem where if we have a failure early enough in the cycle, the failure is masked by our mkdir attempt. Even though we use @ to mask the error, the error handler still picks it up and turns it into an exception in Kohana_PHP_Exception::shutdown_handler() which obscures the real problem.
2010-06-07If the identity provider changes then delete all the rest user_access_keys, ↵Tim Almdal
as they are no longer valid. (i.e. all the related users have been deleted.)
2010-06-06Don't show the rotate links if the active user can't edit the photo. Fixes ↵Bharat Mediratta
ticket #1157. Thanks to psvo.
2010-06-06Try to adjust for situations where /proc/loadavg is_readable() butBharat Mediratta
generates an error if we call file() on it. Fixes ticket #1149.
2010-06-06Updated to ExiferBharat Mediratta
2010-06-06Add a check for short_open_tagBharat Mediratta
2010-06-06Whitespace fixesBharat Mediratta
2010-06-06Fix an unused variable caused by converting straight query paramsBharat Mediratta
to $entity based params.
2010-06-06Change "ancestor_for" to "ancestors_for" for consistency.Bharat Mediratta
2010-06-05item::random_query() doesn't need to take a "where" clause becauseBharat Mediratta
it's returning a query, so the caller can add the where clause himself. This makes for a cleaner API.
2010-06-05Create a UI under Admin > Settings > Comments where you can limitBharat Mediratta
comments only to registered users. It's simplistic, but is better than adding a permission since generally this setting will be used Gallery-wide. Fixes ticket #1002
2010-06-05Undo the change added in e4eedbce2298535540cb651d75ba6f1bf42cf02bBharat Mediratta
which deactivates modules on upgrade. No idea why we did that, but it breaks upgrading because it deactivates any module that's been upgraded.
2010-06-05Fix a comment typo.Bharat Mediratta
2010-06-05Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-06-05Add an advanced setting to allow developers to allow guest access toBharat Mediratta
REST entities.
2010-06-04Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-06-04Correct XSS Security Test golden file for recent changes. Update the ↵Tim Almdal
controller_auth data file for the rename of admin_comments to admin_manage_comments.
2010-06-04Change the name of the private format_restful_item to _format_restful_item ↵Tim Almdal
so that the File_Structure_Test will pass.
2010-06-04Save the item before updating the order of the children. Also always ↵Tim Almdal
increment the weight count (even if it is equal to the weight of the current child)
2010-06-04Allow the use of the type query parameter to filter the results of a ↵Tim Almdal
rest/gallery/items?urls=... request. This allows the client to pass the entire list of member urls and have the rest server filter the results based on the specified types. (cherry picked from commit 3fe10b15cf9359b66452c24965df575203e8af8e)
2010-06-04Remove the item id from the rest/gallery/items url as that was inconsistent. ↵Tim Almdal
Add the query parameter ancestors_for=<url> to provide a restful way to retrieve the ancestors of an item. (cherry picked from commit e9c8a8ae532e785ab95e6b43864c93b485785d6c) Conflicts: modules/gallery/helpers/items_rest.php
2010-06-04Change the name of the private format_restful_item to _format_restful_item ↵Tim Almdal
so that the File_Structure_Test will pass.
2010-05-18Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-05-18Save the item before updating the order of the children. Also always ↵Tim Almdal
increment the weight count (even if it is equal to the weight of the current child)
2010-05-16Rename the admin_comments view to admin_manage_comments to match the controller.Bharat Mediratta
2010-05-16Rename admin/comments to admin/manage_comments to make room forBharat Mediratta
admin/comments to be a settings page.
2010-05-16Make sure that $item exists in site_menu().Bharat Mediratta
2010-05-15Allow the use of the type query parameter to filter the results of a ↵Tim Almdal
rest/gallery/items?urls=... request. This allows the client to pass the entire list of member urls and have the rest server filter the results based on the specified types. (cherry picked from commit 3fe10b15cf9359b66452c24965df575203e8af8e)
2010-05-15Remove the item id from the rest/gallery/items url as that was inconsistent. ↵Tim Almdal
Add the query parameter ancestors_for=<url> to provide a restful way to retrieve the ancestors of an item. (cherry picked from commit e9c8a8ae532e785ab95e6b43864c93b485785d6c) Conflicts: modules/gallery/helpers/items_rest.php
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-05-14Localize "Gallery Admin"Bharat Mediratta
2010-05-14Remove "rnd=" param from quick changes since we have the m= cache-buster ↵Bharat Mediratta
already.
2010-05-14Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-05-14Require a well-formed email address for all comments.Bharat Mediratta
2010-05-14Merge branch 'master' of github.com:gallery/gallery3Chad Kieffer
2010-05-14Drop context_menu for wind's photo/resize view. Move photo edit options to ↵ckieffer
the site_menu.
2010-05-14Missed this in commit 9e3c0c08849b5842f9c345d7b4f90ee82359dedb.ckieffer
2010-05-10Pick a new album cover when the photo that's the current cover isBharat Mediratta
deleted. Fixes ticket #1083.
2010-05-08Deleted extra CSS class assignment for context_menu delete option.ckieffer
2010-05-08Move print with digibug to the site menu.ckieffer
2010-05-08Updated YUI CSS files to 2.8.1. Closes ticket #1141. Needs to be pushed to ↵ckieffer
vendor.