summaryrefslogtreecommitdiff
path: root/modules/gallery/tests
AgeCommit message (Collapse)Author
2009-12-23Updated the unit tests to match the current APITim Almdal
Corrected a problem identified with the unit tests... failed if the path was empty on PUT.
2009-12-22CheckpointBharat Mediratta
2009-12-22Update.Bharat Mediratta
2009-12-22The default value for $offset should always be null (according to theBharat Mediratta
new K24 ORM). Fix up a bad where tuple in the test.
2009-12-22Use a Database_Expression to handle the MAX() function.Bharat Mediratta
2009-12-22Latest K24 does not automatically add an id attribute to every formBharat Mediratta
element with the same value as the name. Yay! That was a weird and unexpected behavior.
2009-12-22Don't rely on implicit object -> id conversion, that doesn't work with K24's ↵Bharat Mediratta
Database_Builder::where()
2009-12-21Fix preambles, and fix the File_Structure_Test to be more lenientBharat Mediratta
because of preamble variation in K24.
2009-12-21Updated for recent K24 Forge changes.Bharat Mediratta
2009-12-21Update database tests for K24. Use a mock database that we loadBharat Mediratta
through the framework so that we're properly testing the Database_Builder, it's a lot cleaner than what we had before.
2009-12-21Updated for K24Bharat Mediratta
2009-12-21Fix some bugs in the cache database driver, and update the tests for K24.Bharat Mediratta
2009-12-21Updated for K24Bharat Mediratta
2009-12-21Forgot to rename the file when I renamed the class.Bharat Mediratta
2009-12-17In Kohana 2.4, ORM no longer does the find_all() call for us when weBharat Mediratta
retrieve related ORMs. If we tack a find_all() on the end, it breaks the User_Definition interface so create User_Model::groups() and Groups_Model::users() as glue.
2009-12-15Updates the the interface based on actually using it.Tim Almdal
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.