summaryrefslogtreecommitdiff
path: root/modules/gallery/tests
AgeCommit message (Collapse)Author
2010-07-06Correct the controller auth golden file from when the simple_uploader was ↵Tim Almdal
renamed to flash_uploader
2010-07-03When we delete an item, make sure that we scrub it from any otherBharat Mediratta
items that may have it in the album_cover_item_id column. Fixes ticket #1172.
2010-06-20Updated golden files.Bharat Mediratta
2010-06-20Add "comments" relationship support.Bharat Mediratta
2010-06-20Assert how many files we analyze so that we can tell if we're suddenlyBharat Mediratta
analzying too many or too few.
2010-06-20Exclude the .git directory.Bharat Mediratta
2010-06-20Add "json" as a valid view suffix.Bharat Mediratta
2010-06-19Updated for comment REST relationships.Bharat Mediratta
2010-06-17Update the xss gold file with changes to views in the last couple of commits.Tim Almdal
2010-06-15Revert "Add a "convert_ids" parameter to Item_Model::as_restful_array(), which"Bharat Mediratta
This reverts commit 98fce83de5f772482382bfabdbcd94c25ecdbb1a. Conflicts: modules/gallery/tests/Item_Model_Test.php
2010-06-10Change the pattern used to convert the file name to a title. Fixes ticket#1061Tim Almdal
2010-06-09Update golden fileBharat Mediratta
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-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-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-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-05-10Pick a new album cover when the photo that's the current cover isBharat Mediratta
deleted. Fixes ticket #1083.
2010-04-22Update test to reflect slug change in 78db1bb339042f3aadb5a61bfe26ddd20c4b8951Bharat Mediratta
2010-04-17Update tests to reflect recent changes to the REST API.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-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-03-30CheckpointBharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-27Fix for ticket #1036 - Don't echo any sensitive information such as ↵Andy Staudacher
passwords, hashes or personally identifiable information.
2010-02-23Reset the active user to admin in all test cases where we change theBharat Mediratta
user to something else.
2010-02-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-02-23Fix Cache tests for recent Cache/Database.php driver fix.Andy Staudacher
Cache::delete($arg) allows for scalars and arrays, but Cache drivers' delete($arg) function always expects an array.
2010-02-23VerifiedBharat Mediratta
2010-02-15Update of reviewed XSS audit data.Andy Staudacher
2010-02-09Rename item name and slug if necessary to avoid a conflict when weBharat Mediratta
move photos. Fixes ticket #957.
2010-02-09Add unit tests for item::move() in preparation for renaming when thereBharat Mediratta
are conflicts (see ticket #957)
2010-02-07Add prefix support for the target of RENAME TABLE.Bharat Mediratta
2010-02-06Fix for ticket 1004: Replace all uses of split with explode (none actually ↵Andy Staudacher
required regular expressions). Thanks to Brian Hartsock for providing a patch!
2010-02-02use html::purify to cleans the additional content on the admin maintence page.Tim Almdal
2010-02-02Update the xss golden file to reflect the changes to the admin screen.Tim Almdal
2010-01-31Fix lots of warnings that pop up when we're in E_STRICT mode. They'reBharat Mediratta
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class.
2010-01-30Use Item_Model::as_restful_array() to simplify tests.Bharat Mediratta
2010-01-30Add Item_Model::as_restful_array() for convenience.Bharat Mediratta
2010-01-30VerifiedBharat Mediratta
2010-01-28Reviewed DIRTY_ATTRBharat Mediratta
2010-01-28Reviewed all DIRTY_JS entriesBharat Mediratta
2010-01-28Make the varible for the profile name more descriptive and clean the labelTim Almdal
2010-01-28Update the xss golden file for user profile changes.Tim Almdal
2010-01-27Prevent accidentally deleting the root album.Bharat Mediratta
2010-01-27Change "resource" to "entity" in REST responses. They're allBharat Mediratta
resources, but we differentiate resources as collections and entities.