Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-24 | Log validation errors. | Bharat Mediratta | |
2010-01-23 | Fix for bug 984, consistently interpret installed / available locales as array. | Andy Staudacher | |
On the current hostgater setup (PHP 5.2.12), locales::available() was returning an array and isset($locales->$code) would always (silently) return false. Choosing array over stdClass since count($someStdClass) will always return 1, and not the number of object members. | |||
2010-01-23 | Correct the javascript so it will find the "Continue" button in other ↵ | Tim Almdal | |
languages than english. | |||
2010-01-23 | Add a user_menu method to the Admin_View and then use this method to get the | Tim Almdal | |
user menu. Since the information displayed is identical in both admin and theme views, it makes sense to combine the generation to it is done in a common location. | |||
2010-01-23 | Updated | Bharat Mediratta | |
2010-01-23 | Update tests for recent REST changes. | Bharat Mediratta | |
2010-01-23 | Don't use ORM_MPTT::move_to directly, it's protected. | Bharat Mediratta | |
2010-01-23 | Increase the size of the 'select photos' button so that it doesn't wrap and ↵ | Tim Almdal | |
set the size of the underlying flash object. | |||
2010-01-22 | If the userid/password combination, render the full page instead of just ↵ | Tim Almdal | |
printing the form. Fixes ticket #980. | |||
2010-01-22 | Specify the height and overflow-y on l10n-client translation element. fixes ↵ | Tim Almdal | |
ticket #899. | |||
2010-01-22 | Merge branch 'master' of git@github.com:gallery/gallery3 | Tim Almdal | |
2010-01-22 | Trap any errors that may occur when trying to install a new identity ↵ | Tim Almdal | |
provider and then reinstall the current one. | |||
2010-01-22 | Change the check_environment method in the module helper and the module ↵ | Tim Almdal | |
installers to can_activate to reflect that it is doing more than just checking the environment. | |||
2010-01-22 | Remove the identity manager screens and controller as alterntive identity ↵ | Tim Almdal | |
providers are installed in the admin module screen. | |||
2010-01-22 | Disable the continue button after clicking so it can only clicked once. | Tim Almdal | |
2010-01-22 | Refactor the identity provider installation in to a common helper method ↵ | Tim Almdal | |
(change_provider) with an initialization callback. | |||
2010-01-22 | Treat identity providers just like other modules and use the admin_module to | Tim Almdal | |
install and switch to a different identity provider. | |||
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | Throw Rest exceptions, not regular exceptions. | Bharat Mediratta | |
2010-01-20 | Forbidden is a 403, not a 503. | Bharat Mediratta | |
2010-01-19 | Extend Gallery_Unit_Test_Case instead of Unit_Test_Case. | Bharat Mediratta | |
2010-01-19 | Fix some validation checks to check to see if the original was loaded | Bharat Mediratta | |
before deciding whether or not we changed a value. Change valid_name to be cascading, not parallel. | |||
2010-01-19 | Move data initialization into the constructor so that it happens | Bharat Mediratta | |
before validate() is called, which is important with our two phase web controllers. Make valid_parent smarter about moving existing items, vs new items. | |||
2010-01-19 | Change "filename" to "name" in the edit album form. I'd rather have | Bharat Mediratta | |
consistency between field names than deal with underlying issues with Forge bitching about the "name" property. |