summaryrefslogtreecommitdiff
path: root/modules/gallery/tests
AgeCommit message (Collapse)Author
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.
2010-01-27Verified and updatedBharat Mediratta
2010-01-27Switch to using test helper. Also, reload the album before runningBharat Mediratta
access::deny since the mptt pointers will have changed.
2010-01-26Added view_permissions_propagate_down_to_photos_test().Bharat Mediratta
2010-01-23Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/tests/xss_data.txt
2010-01-23Update the Xss_Security_Test and the Controller_Auth_Test.Tim Almdal
2010-01-23UpdatedBharat Mediratta
2010-01-23Update tests for recent REST changes.Bharat Mediratta
2010-01-23Don't use ORM_MPTT::move_to directly, it's protected.Bharat Mediratta
2010-01-22Moved to Item_Rest_Helper_Test.phpBharat Mediratta
2010-01-22Updated tests to pass after recent refactor of gallery_rest -> item_rest.Bharat Mediratta
2010-01-21We don't need CSRF in Rest_Controller::__call() because we use access tokens.Bharat Mediratta
2010-01-21Make sure that we actually don't have permissions, to avoid contamination w/ ↵Bharat Mediratta
other tests.
2010-01-21Exclude modules/gallery_unit_test/views/kohana/error.phpBharat Mediratta
2010-01-21Fix a minor bad expectation.Bharat Mediratta
2010-01-21Can't call ORM_MPTT::move_to() externally, so call Item_Model::save() instead.Bharat Mediratta
2010-01-21Reload the album after adding the photo so that MPTT pointers are correct.Bharat Mediratta
2010-01-20Remove debug code.Bharat Mediratta
2010-01-20Stop using MY_ORM::original().Bharat Mediratta