Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Updated Kohana to r4742 | Bharat Mediratta | |
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 | |
2010-01-17 | Qualify the Bad Request output when the name is missing | Bharat Mediratta | |
2010-01-17 | Catch ORM_Validation_Exception and turn it into a 400 Bad Request with | Bharat Mediratta | |
appropriate error output. | |||
2010-01-17 | Get rid of internal_only designation -- it's too hard to enforce cleanly. | Bharat Mediratta | |
2010-01-17 | Remove a @todo. | Bharat Mediratta | |
2010-01-17 | Remove unnecessary comment. | Bharat Mediratta | |
2010-01-17 | Special case output for ORM_Validation_Exceptions | Bharat Mediratta | |
2010-01-17 | If we call original() and there's no $original yet, then consider this | Bharat Mediratta | |
to be the original. That should be safe because we're already guarding __set, __unset and save. | |||
2010-01-17 | Adjust installers to work with model based validation. | Bharat Mediratta | |
2010-01-17 | Move model rules down into their validate() function for consistency. | Bharat Mediratta | |
Change "in_use" error to "conflict" for consistency. | |||
2010-01-17 | Move rules down into validate() and improve valid_author(). | Bharat Mediratta | |
2010-01-17 | Move rules entirely down into validate() so that we can be more | Bharat Mediratta | |
sophisticated but keep all our rules in one place. Add rules for most fields. |