Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-18 | Switch from ORM_MPTT::$db_builder to db::build(). | Bharat Mediratta | |
2010-01-18 | Add starts_with(). | Bharat Mediratta | |
2010-01-18 | Minor test cleanup. | Bharat Mediratta | |
2010-01-18 | Update valid_parent() to disallow moving an item inside its own hierarchy. | Bharat Mediratta | |
Move move_to() inside save() | |||
2010-01-18 | in move_to(), move the lock to before we do any calculations so that we have ↵ | Bharat Mediratta | |
the latest data. | |||
2010-01-18 | Added move_album_fails_wrong_target_type_test() | Bharat Mediratta | |
2010-01-18 | Updated tests to match what the expected new API for moving items. | Bharat Mediratta | |
Now to move an item, you just change its parent_id. | |||
2010-01-18 | Switch to using test::random_name() to avoid integer names. | Bharat Mediratta | |
Fix up rename_photo_test. | |||
2010-01-18 | Fix renaming in save() by moving the actual rename action under | Bharat Mediratta | |
parent::save(). This is consistent with other changes because all filesystem operations happen after the database change is committed. Also, inline rename() since it's fairly simple now. | |||
2010-01-18 | Kohana ticket #2504 is resolved, so this test is no longer necessary. | Bharat Mediratta | |
2010-01-18 | In valid_name, don't query on the id if it's null. | Bharat Mediratta | |
2010-01-18 | Add random_name(). | Bharat Mediratta | |
2010-01-18 | In item_rename_fails_with_existing_name_test switch validate() to | Bharat Mediratta | |
save() now that Kohana ticket #2504 is resolved. | |||
2010-01-18 | Merge branch 'master' into bharat_dev | Bharat Mediratta | |
2010-01-18 | Coerce some integers to strings now that ORM isn't typecasting anymore. | Bharat Mediratta | |
2010-01-18 | Coerce some integers to strings now that ORM isn't typecasting anymore. | Bharat Mediratta | |
2010-01-18 | The root parent id is 0, not null (this deviation exposed by the new lack of ↵ | Bharat Mediratta | |
typecasting in ORM). | |||
2010-01-18 | Don't assert_same() now that typecasting is gone from ORM. | Bharat Mediratta | |
2010-01-18 | Don't use rand() as the name. Now that ORM::load_types() is gone, it | Bharat Mediratta | |
won't get coerced to a string, and then we wind up comparing: 12345 != 12345-12321 In the old approach, they'd both be strings so they'd be inequal. But in the new approach the first value is an integer (sinced it came from rand()) so the second value is typecast to an integer which drops everything after the - sign so they appear equal. | |||
2010-01-18 | Merge branch 'master' into kohana_update | Bharat Mediratta | |
2010-01-18 | Verified | Bharat Mediratta | |
2010-01-18 | Switch from stdClass to arrays which works around issues caused in | Bharat Mediratta | |
http://dev.kohanaphp.com/issues/2459 -- I don't exactly know why, but the solutions are equivalent so I'm not going to dig too far. | |||
2010-01-18 | Change DENY and ALLOW to "0" and "1" to match the fact that ORM no | Bharat Mediratta | |
longer typecasts values as of http://dev.kohanaphp.com/issues/2459 | |||
2010-01-18 | Reload $item after removing view permissions. | Bharat Mediratta | |
2010-01-18 | Overload url::current() and url::merge() to make the current url XSS | Bharat Mediratta | |
safe. Add tests to make sure that it doesn't relapse with future Kohana changes. Fixes ticket #983. Ref: http://gallery.menalto.com/node/93738 | |||
2010-01-18 | Add a test to verify that bug #2504 is still around. When this test | Bharat Mediratta | |
starts failing, the bug is fixed and we can go fix our code that works around it. | |||
2010-01-17 | Convert a $root to item::root() to fix a test. | Bharat Mediratta | |
2010-01-17 | Get rid of urls_are_rawurlencoded_test -- it's no longer necessary | Bharat Mediratta | |
since we can't have unsafe slugs. Add basic_validation_test. | |||
2010-01-17 | Fix item_rename_fails_with_existing_name_test() -- broken because of | Bharat Mediratta | |
http://dev.kohanaphp.com/issues/2504 | |||
2010-01-17 | Fix rename_album_test() | Bharat Mediratta | |
2010-01-17 | Fix rename_photo_test(). | Bharat Mediratta | |
2010-01-17 | Partially updated for model based validation. | Bharat Mediratta | |
2010-01-17 | Mostly conver to model based validation. Not all tests pass yet. | Bharat Mediratta | |
2010-01-17 | Change IdentityProvider::create_user() to take $email as well, since that's ↵ | Bharat Mediratta | |
a required parameter for the Gallery driver. | |||
2010-01-17 | Switch to model based validation approach. | Bharat Mediratta | |
2010-01-17 | Use test::random_photo_unsaved() instead. | Bharat Mediratta | |
2010-01-17 | Create xxx_unsaved() versions for the case where you want to tinker with the ↵ | Bharat Mediratta | |
item before it gets saved. | |||
2010-01-17 | Updated for model based validation. | Bharat Mediratta | |
2010-01-17 | Make set_data_file() chainable. | Bharat Mediratta | |
2010-01-17 | Make it work with model based validation. | Bharat Mediratta | |
Refactor _get_proxy() out of setup() and into its own helper function. | |||
2010-01-17 | Add random_photo() | Bharat Mediratta | |
2010-01-17 | Updated for model based validation. | Bharat Mediratta | |
2010-01-17 | Updated for model based validation. | Bharat Mediratta | |
2010-01-17 | Add validation for guest_email and guest_url. | Bharat Mediratta | |
2010-01-17 | Updated for model based validation. | Bharat Mediratta | |
2010-01-17 | Add album title in random_album(). | Bharat Mediratta | |
2010-01-17 | Helper class for common test methods (like creating albums, photos, | Bharat Mediratta | |
etc). | |||
2010-01-17 | Refactor to work with model based validation. | Bharat Mediratta | |
While I'm at it, pull _make_comment() out of setup and only call it on demand; this makes the tests run faster. | |||
2010-01-17 | Add special output support for ORM_Validation_Exception | Bharat Mediratta | |
2010-01-17 | Use an empty password for the guest user. | Bharat Mediratta | |