summaryrefslogtreecommitdiff
path: root/modules/tag/tests
AgeCommit message (Collapse)Author
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-05-24Follow on to c101151616033d53587d1435881dae0fa45aeefa -- delete allBharat Mediratta
tags in setup so that we have a blank slate, otherwise create_tag() will fail because sometimes there'll be other tags in the system. #1628
2011-04-23Allow tags to be merged by renamingAndy Lindeman
* Fixes #1628
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-06-19post_test() should be using admin, not guest.Bharat Mediratta
2010-04-17Update tests to reflect recent changes to the REST API.Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-23Reset the active user to admin in all test cases where we change theBharat Mediratta
user to something else.
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-30Remove edit permissions across the board.Bharat Mediratta
2010-01-29Add missing permission checks.Bharat Mediratta
Make the tag relationship an associative array.
2010-01-27Change "resource" to "entity" in REST responses. They're allBharat Mediratta
resources, but we differentiate resources as collections and entities.
2010-01-27Minor test-only fixes.Bharat Mediratta
2010-01-23Update tests for recent REST changes.Bharat Mediratta
2010-01-22New tests for tag_item_restBharat Mediratta
2010-01-22Updated tests to pass after recent refactor of tag_rest.Bharat Mediratta
2010-01-22Updated tests to pass after recent refactor of tags_rest.Bharat Mediratta
2010-01-21Actually deny permissions in ↵Bharat Mediratta
delete_item_from_tag_fails_without_permissions_test()..
2010-01-20Rewrite and greatly simplify the tests for the new tag_rest implementation.Bharat Mediratta
2010-01-20New test for tags_rest.phpBharat Mediratta
2010-01-20Simplify and update for model based validation.Bharat Mediratta
2010-01-19Extend Gallery_Unit_Test_Case instead of Unit_Test_Case.Bharat Mediratta
2010-01-18Merge branch 'master' into bharat_devBharat Mediratta
2010-01-18Coerce some integers to strings now that ORM isn't typecasting anymore.Bharat Mediratta
2010-01-03Simplify the REST API code. Here's what I did:Bharat Mediratta
1) Simplify gallery_rest to return flat models, no children and do no validation for now. 2) Flatten the REST replies and use HTTP codes to indicate success/failure instead of additional status messages. 3) Use the message and error code support in the base Exception class, instead of brewing our own in Rest_Exception. 4) Get rid of rest::success() and rest::fail() -- we only need rest::reply() since all failures are covered by throwing an exception. 5) Get rid of /rest/access_key and just use /rest for authentication. 6) Inline and simplify rest::normalize_request since we only use it once 7) Change rest::set_active_user to succeed or throw an exception 8) Extract Rest_Exception::sendHeaders into rest::send_headers() Here's what's currently broken: 1) Data validation. There currently is none 2) Logging. That's gone too 3) image block and tag code is broken 4) Tests are broken 5) No movie support
2010-01-02Fix the tag_rest helper testsTim Almdal
2010-01-02Correct file structure tests, Have the tests delete the userid they create ↵Tim Almdal
so as not to impact other tests.
2009-12-31Remove extra debug statement in rest_controller::access_key() and ↵Tim Almdal
restructure the Rest_Tag_Helper_Test to only create items as required for test in each test.
2009-12-301) Remove the rest::not_found method and replace it with "throw new ↵Tim Almdal
Kohana_404_Exception 2) Don't use the input path to lookup the item via relative_path_cache. Instead use url::get_item_from_uri method.
2009-12-27Clean up validation the check for duplicate names or slugs, finish ↵Tim Almdal
converting the rest API to Kohana 2.4
2009-12-26Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/controllers/albums.php modules/gallery/controllers/movies.php modules/gallery/controllers/photos.php
2009-12-24Add the functionality to add, delete and rename tags via the Gallery3 remote ↵Tim Almdal
interface.
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-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2008-12-23Change photo::create() and album::create() to take ORM instancesBharat Mediratta
instead of ids.
2008-11-26Remove test since the method to be tested was removedTim Almdal
2008-11-26Clean tag creationTim Almdal
2008-11-26Remove the more or less linksTim Almdal
2008-11-251) Changed how the test tags are generated to be able to create a better ↵Tim Almdal
distribution 2) Added a new helper function "load_buckets" assign the class suffix to each tag 3) Created a unit test to test the load_buckets function
2008-11-25Modify the test controller to call tag_installer::install and uninstallTim Almdal
Created the first tag unit test
2008-11-24Moved the creation of tags into the tag helper library. Added a count field ↵Tim Almdal
to the tags table. Bharat, I know you said not to worry about caching, but I want to explore what are some of the issues with keeping track of the counts as we go. (i.e. is it a pain in the a__)