summaryrefslogtreecommitdiff
path: root/modules/gallery/tests
AgeCommit message (Collapse)Author
2009-12-09Add the REST delete processing for albums/photos/moviesTim Almdal
2009-12-09Implement the RESTful interface for albums/photos/moviesTim Almdal
2009-12-09Use the relative url cache to look up resources instead of the relative ↵Tim Almdal
path. This allows us to forego the extension as part of the REST url. As well, urls are consistent between normal usage and rest usage.
2009-12-08Correct the error message when the item is not found; remove the check for ↵Tim Almdal
no request_key (access_token) as athat is treated as public permissions
2009-12-08Add another error handler "not found" to the rest API.Tim Almdal
Implement the get_album rest request handler.
2009-12-06Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
2009-12-06Remove the hidden form variable _method which was used in the no longer rest ↵Tim Almdal
controllers.
2009-11-26Database::orwhere() is now Database_Builder::or_where()Bharat Mediratta
2009-11-26Update all portable where clauses to the new Kohana 2.4 format.Bharat Mediratta
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-25Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/controllers/rest.php
2009-11-25Preliminary work to cut over to Kohana 2.4Bharat Mediratta
- Kohana::log() -> Kohana_Log::add() - Kohana::config_XXX -> Kohana_Config::instance()->XXX - Implement View::set_global in MY_View - Updated Cache_Database_Driver to latest APIs - ORM::$loaded -> ORM::loaded() - Updated item::viewable() to use K2.4 parenthesization
2009-11-25Remove the REST_Controller and assorted baggage. Completes ticket #917Tim Almdal
2009-11-25Refactor the album, movie and photo handling to remove the REST_Controller. ↵Tim Almdal
Partial fix for ticket #917
2009-11-25Remove a debugging statementTim Almdal
2009-11-25Refactor the tags to remove the REST_Controller. Partial fix for ticket #917Tim Almdal
2009-11-25Refactor the comment module as part of ticket: #917 "Remove Rest Controller"Tim Almdal
* Remove the methods create, update, delete, get_edit_form as there are not used * Change the return when a comment is created to return the html for the new comment. This saves a second get request to down load the comment.
2009-11-24Rename I18n to Gallery_I18n to avoid conflict with Kohana 2.4Bharat Mediratta
2009-11-24Updated.Bharat Mediratta
2009-11-18Revert "Simplify the maintenance of the xss golden file by having each ↵Tim Almdal
module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file." This reverts commit 4fe5801c885088e5e6c11b8a20a561415941b864.
2009-11-18Simplify the maintenance of the xss golden file by having each module ↵Tim Almdal
contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file.
2009-11-18Update the xss golden file so tests pass.Tim Almdal
2009-11-15Xss data updateBharat Mediratta
2009-11-15Updated xss data.Bharat Mediratta
2009-11-15Use 'git ls-files' instead of glob() so that we only check files knownBharat Mediratta
to Git. This means that local files which we choose to exclude from git don't have to follow the same permission model.
2009-11-15Save/restore $_SERVER before/after tests to avoid contamination.Bharat Mediratta
Fix albums/photos tests to make sure we're really getting the HTTP_REFERER back.
2009-11-06Correct spacingTim Almdal
2009-11-01Update the modified with a local fix for Kohana ticket #2298Tim Almdal
2009-10-24Merge branch 'master' into talmdal_devTim Almdal
2009-10-24When an item is renamed or move insure that the target file name doesn't ↵Tim Almdal
exist. fixes ticket #694
2009-10-23Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/tests/Albums_Controller_Test.php modules/user/helpers/user.php
2009-10-23Initialize the slug field when doing the update testsTim Almdal
2009-10-23Only look for tests that are in the active modules. Update the controller ↵Tim Almdal
golden file to reflect the current location of files.
2009-10-23Move the filters that the File_Structure_Test use into a seperate file so ↵Tim Almdal
other tests. can use them. Add a No_Direct_ORM_Access_Test to find all places that the user or group table are accessed outside of the user module. This test will fail at this point, as it in preparation for the IdentityProvider refactor.
2009-10-22move the direct orm test to the users module.Tim Almdal
2009-10-22Rename No_Direct_access_Test and change the require_once to fully qualify ↵Tim Almdal
the path to Gallery_Filters.php
2009-10-22Change the modifier on activate and deactivate methods to static as they are ↵Tim Almdal
in a helper class.
2009-10-22Change the name of identity library from Identity to IdentityProvider. ↵Tim Almdal
Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
2009-10-21use the appropriate API'sTim Almdal
2009-10-21Add the Gallery File Filters and a test to check that the user/group table ↵Tim Almdal
is only accessed from the user module.
2009-10-21Create a No_Direct_Access test which initially checks to insure there is no ↵Tim Almdal
direct access to the users and groups table defined by the user module.
2009-10-19Simplify the user interface by moving the password reset functionality into ↵Tim Almdal
the user module Bagging the User_Definition and Group_Definition abstract classes and replacing them with interfaces with the same names. Make sure all the unit tests work.
2009-10-16Remove all non Identity API methods from Identity.php. Created an ↵Tim Almdal
MY_Session class to provide the user state changes in the session and a login.php helper that has the login form.
2009-10-16Start simplifying the interface by moving the static methods from user.php ↵Tim Almdal
and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.
2009-10-09update the Access_Helper_Test to use the user::lookup_by_name API method.Tim Almdal
2009-10-04Renamed more CSS selectors from gName to g-name.Chad Kieffer
2009-10-04Renamed most, if not all css selectors from gName to g-name. Moved a few ↵Chad Kieffer
shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-03Renamed and moved gOdd/gEven CSS classes.Chad Kieffer
2009-09-24Fix unit tests by updating the xss golden file and declaring ↵Tim Almdal
gallery_error::error_handler as static
2009-09-23Rename the default themes to wind and admin_wind. Change xss_data.txt file ↵Tim Almdal
to reflect this move. Not completely moved yet, but the git st is rather large so lets commit this now as a base for the cleanup.