Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-22 | Create symmetrical relationship collections: item_tags and tag_items | Bharat Mediratta | |
Now when we represent a relationship collection we can refer to it in proper semantic terms. | |||
2010-01-22 | Don't try to access ORM::$changed externally; it's protected. | Bharat Mediratta | |
2010-01-22 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
2010-01-22 | Change "fetch translations" task to fetch them in batches. | Andy Staudacher | |
The request limit was in place already, but the client didn't respect it before, leading to unhappy users in case they had lots of 3rd party modules installed, or more than 2-3 locales enabled. This is all taken care of now. | |||
2010-01-22 | Moved to Item_Rest_Helper_Test.php | Bharat Mediratta | |
2010-01-22 | Reload items after saving so that we convert their members to strings. | Bharat Mediratta | |
2010-01-22 | Return the url of the newly created item from post(). | Bharat Mediratta | |
Don't try to access ORM::$changed -- it's protected. | |||
2010-01-22 | Return the url of the newly created item from post(). | Bharat Mediratta | |
2010-01-22 | New tests for tag_item_rest | Bharat Mediratta | |
2010-01-22 | Updated tests to pass after recent refactor of tag_rest. | Bharat Mediratta | |
2010-01-22 | output_type --> output | Bharat Mediratta | |
2010-01-22 | Updated tests to pass after recent refactor of tags_rest. | Bharat Mediratta | |
2010-01-22 | Updated tests to pass after recent refactor of gallery_rest -> item_rest. | Bharat Mediratta | |
2010-01-22 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
2010-01-22 | Reshape the rest code to be more consistent with regards to | Bharat Mediratta | |
relationships. Now when you view a resource, it has 4 top level elements: url: the url of this resource resource: array of key value pairs describing the resource members: array of urls to members of this collection relationships: array of array of members. Relationships are a special type of collection that links two different resources together. To remove a relationship, just DELETE its url. To create a relationship, POST to its collection. Individual modules can add their own relationships to any resource via a callback mechanism. Example: Array( [url] => http://g3.com/rest/item/1 [resource] => Array ( [id] => 1 [album_cover_item_id] => 4 [captured] => [created] => 1264056417 [description] => [height] => ... ) [members] => Array( [0] => http://g3.com/rest/item/2 [1] => http://g3.com/rest/item/3 [2] => http://g3.com/rest/item/4 [3] => http://g3.com/rest/item/5 ... ) [relationships] => Array( [tags] => Array ( [0] => http://g3.com/rest/tag_item/2,1 [1] => http://g3.com/rest/tag_item/23,1 ) ) ) | |||
2010-01-21 | Use Unicode instead of HTML entity (since the l10n server normalizes this ↵ | Andy Staudacher | |
way and rejects submissions that change under the normalization step) | |||
2010-01-21 | Guard against division by zero. | Bharat Mediratta | |
2010-01-21 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
2010-01-21 | Internationalize all strings in admin_modules.hmtl and corrected comments. | Tim Almdal | |
2010-01-21 | We don't need CSRF in Rest_Controller::__call() because we use access tokens. | Bharat Mediratta | |
2010-01-21 | Actually deny permissions in ↵ | Bharat Mediratta | |
delete_item_from_tag_fails_without_permissions_test().. | |||
2010-01-21 | whitespace. | Bharat Mediratta | |
2010-01-21 | Make sure that we actually don't have permissions, to avoid contamination w/ ↵ | Bharat Mediratta | |
other tests. | |||
2010-01-21 | Exclude modules/gallery_unit_test/views/kohana/error.php | Bharat Mediratta | |
2010-01-21 | Simplify the test using the test helper. | Bharat Mediratta | |
2010-01-21 | Add random_group(). | Bharat Mediratta | |
2010-01-21 | Fix a minor bad expectation. | Bharat Mediratta | |
2010-01-21 | Can't call ORM_MPTT::move_to() externally, so call Item_Model::save() instead. | Bharat Mediratta | |
2010-01-21 | Convert the slideshow module to use the new check environment and ↵ | Tim Almdal | |
pre_deactivate api methods. | |||
2010-01-21 | The admin module controller allows modules to provide a check_environment method | Tim Almdal | |
which is called prior to installation. The method allows the module to provide an error message or warnings if the module can not be installed or activated without issues. The admin module controller also will fire a pre_deactivate event, which allows modules to indicate issues that may arise be deactivating the specified module. These messages are displayed in a dialog box prior to installation in order to allow the gallery administrator to determine the appropriate action before proceeding. Lays the foundation for implementing a fix for ticket #937 | |||
2010-01-21 | Reload the album after adding the photo so that MPTT pointers are correct. | Bharat Mediratta | |
2010-01-20 | Whitespace. | Bharat Mediratta | |
2010-01-20 | Two fixes: | Bharat Mediratta | |
1) Don't call ORM_MPTT::move_to() directly. Use the new model-based-validation approach of changing the parent_id and saving. 2) Item_Model::parent() can return null; check for it. | |||
2010-01-20 | Make move_to protected since we don't want folks calling it on | Bharat Mediratta | |
Item_Model. If there's a need to make this public, we should override it in Item_Model and throw an exception there. | |||
2010-01-20 | Remove debug code. | Bharat Mediratta | |
2010-01-20 | Oops, bug in save() -- we weren't returning the saved value! | Bharat Mediratta | |
2010-01-20 | improve comment. | Bharat Mediratta | |
2010-01-20 | Use the exception itself to print out a nice text message. | Bharat Mediratta | |
2010-01-20 | Fix maintenance tasks / language admin for bug introduced earlier by no ↵ | Andy Staudacher | |
longer casting in ORM. Task->done is now a string, boolean false is stored as integer 0 and loaded as string "0". On the client side that's interpreted as truthy in JavaScript. Fix: cast "0" to (bool) before encoding to JSON. | |||
2010-01-20 | Guard against missing/empty $description. | Bharat Mediratta | |
2010-01-20 | Move the error page to the expected location for K24. | Bharat Mediratta | |
2010-01-20 | Delete MY_ORM::original(). We did not have proper containment to | Bharat Mediratta | |
generate $original when we needed it, resulting in inconsistent behavior. | |||
2010-01-20 | Stop using MY_ORM::original() | Bharat Mediratta | |
2010-01-20 | Fix typo: edit_user -> add_user. | Bharat Mediratta | |
2010-01-20 | Stop using MY_ORM::original(). | Bharat Mediratta | |
2010-01-20 | Stop using MY_ORM::original(). | Bharat Mediratta | |
2010-01-20 | Stop using MY_ORM::original(). | Bharat Mediratta | |
2010-01-20 | Throw Kohana_Exception instead of Exception on access denied, since that may ↵ | Bharat Mediratta | |
bubble all the way up | |||
2010-01-20 | Stop using MY_ORM::original(). It's got very odd semantics and we are | Bharat Mediratta | |
not capturing all cases for setting and resetting $original, which leads to some weird and hard to reproduce behavior. Instead, if we need the original just reload it from the database. This may result in a somewhat excessive load in places, but we'll have to fix that in a later optimization pass. | |||
2010-01-20 | Add random_tag(). | Bharat Mediratta | |