summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Item_Model_Test.php
AgeCommit message (Expand)Author
2013-01-26#1946, 1947 - Make altered names/slugs more user-friendly, make conflict-find...shadlaws
2013-01-24#1955 - Make unit test photos unique.shadlaws
2013-01-23Add a "can_add" permission bit similar to the "can_edit" bit to the RESTful a...Bharat Mediratta
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2013-01-20#1950 - Replace bogus file overwrites from item model unit test.shadlaws
2013-01-17Follow-on to 94b26e506c339f50b8d094057bffc1877a79afa9 - make the new legal_fileBharat Mediratta
2012-07-21Allow albums to have two (or more) dots in the name. Fixes #1897.Bharat Mediratta
2012-05-17Smash multiple extensions down into a single one when accepting fileBharat Mediratta
2012-05-05Fix #1846.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-07-21Polishing the rawphoto changes, including adding some tests.Chad Parry
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-12-28Update test to match change in Item_Model::as_restful_array made inBharat Mediratta
2010-12-15Consolidate all the random code into a random helper that offers:Bharat Mediratta
2010-12-15Use mt_rand() instead of rand() since it provides better portability.Bharat Mediratta
2010-12-14Move photo/movie file extension validation into the model. Fixes #1524.Bharat Mediratta
2010-11-09Tie the image cachebuster to the file mtime instead ofBharat Mediratta
2010-09-11Uniqify the name and slug when we move an item to a new location withBharat Mediratta
2010-08-07Add the ability to replace the source data file in Item_Model::save().Bharat Mediratta
2010-06-15Revert "Add a "convert_ids" parameter to Item_Model::as_restful_array(), which"Bharat Mediratta
2010-06-09Revert the "preserve_ids" global query parameter. We decided that it was aBharat Mediratta
2010-06-08Add a "can_edit" field to the Item_Model's REST output. It'sBharat Mediratta
2010-06-07Add a "preserve_ids" global query parameter for REST requests thatBharat Mediratta
2010-06-07Add a "convert_ids" parameter to Item_Model::as_restful_array(), whichBharat Mediratta
2010-05-10Pick a new album cover when the photo that's the current cover isBharat Mediratta
2010-04-22Update test to reflect slug change in 78db1bb339042f3aadb5a61bfe26ddd20c4b8951Bharat Mediratta
2010-04-04Fix a bug where if the file name is composed of entirely illegalBharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-30Add Item_Model::as_restful_array() for convenience.Bharat Mediratta
2010-01-27Prevent accidentally deleting the root album.Bharat Mediratta
2010-01-20Remove debug code.Bharat Mediratta
2010-01-20Stop using MY_ORM::original().Bharat Mediratta
2010-01-20Stop using MY_ORM::original(). It's got very odd semantics and we areBharat Mediratta
2010-01-19Extend Gallery_Unit_Test_Case instead of Unit_Test_Case.Bharat Mediratta
2010-01-19Fix some validation checks to check to see if the original was loadedBharat Mediratta
2010-01-18Add slug_is_url_safe_test()Bharat Mediratta
2010-01-18switch to test::starts_with().Bharat Mediratta
2010-01-18Minor test cleanup.Bharat Mediratta
2010-01-18Added move_album_fails_wrong_target_type_test()Bharat Mediratta
2010-01-18Updated tests to match what the expected new API for moving items.Bharat Mediratta
2010-01-18Switch to using test::random_name() to avoid integer names.Bharat Mediratta
2010-01-18In item_rename_fails_with_existing_name_test switch validate() toBharat Mediratta
2010-01-18Merge branch 'master' into bharat_devBharat Mediratta
2010-01-18Don't assert_same() now that typecasting is gone from ORM.Bharat Mediratta
2010-01-17Convert a $root to item::root() to fix a test.Bharat Mediratta
2010-01-17Get rid of urls_are_rawurlencoded_test -- it's no longer necessaryBharat Mediratta
2010-01-17Fix item_rename_fails_with_existing_name_test() -- broken because ofBharat Mediratta
2010-01-17Fix rename_album_test()Bharat Mediratta
2010-01-17Fix rename_photo_test().Bharat Mediratta
2010-01-17Partially updated for model based validation.Bharat Mediratta