| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-01-15 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| 2010-01-15 | Move model business logic out of album::create() and into | Bharat Mediratta | |
| Item_Model::save(). This makes creating albums similar to editing them and makes it difficult to create an album poorly. I expect to be able to remove a lot of code from the photo and movie helper because it's duplicated here. In order to do this, I refactored ORM_MPTT::add_to_parent() into ORM_MPTT::save() so we now add it to the parent when we do save. This allows us to call save() only once which saves a database call per add. The Albums_Controller logic is roughly the same as before. Haven't updated the tests yet, they're going to fail miserably since many of them depend on album::create() which is now gone. | |||
| 2010-01-15 | Don't use Input directly to get album names, etc. Use the form fields. | Bharat Mediratta | |
| 2010-01-14 | Begin the process of converting to model based validation. Right | Bharat Mediratta | |
| now only Albums_Controller::update() supports the pattern. All form and controller based validation happening when editing an album has been moved over. Model based validation means that our REST controllers share the same validation as web controllers. We'll have consistency enforced at the model level, which is a Good Thing. The basic pattern is now: 1) Rules are in the model 2) ORM::validate() (which is called by ORM::save() but you can call it directly, too) checks the model for all the rules and throws an ORM_Validation_Exception if there are failures 3) Actions are no longer taken when you call Item_Model::__set(). Instead, they're all queued up and executed when you call Item_Model::save(). Notes: - item::validate_xxx() functions are now in Item_Model:: - We still call $form->validate() because the form can have rules (and forms triggered by events will likely continue to have rules. | |||
| 2010-01-13 | Somemore K24 migration holdovers. need to specify the where statement with ↵ | Tim Almdal | |
| operands. '=' is no longer assumed. Fixes ticket #979 | |||
| 2010-01-11 | Remove the translation submit button from translation search form. Fixes ↵ | Tim Almdal | |
| ticket #975 | |||
| 2010-01-08 | Change file proxy to url encode the path components instead of the entire ↵ | Tim Almdal | |
| path. Otherwise, we will encode the slashes and won't find the item. | |||
| 2010-01-07 | Use rawurlencode to remove any encoding that the browser may have added. ↵ | Tim Almdal | |
| Fixes ticket #954. | |||
| 2010-01-04 | Fix the logout link to send you back to the current url. The old | Bharat Mediratta | |
| approach depended on having an $item, which is not the case on all pages (eg: tag pages). Also, check the CSRF in the logout controller, else you can use the logout link as a blind forwarder. | |||
| 2010-01-04 | Send an empty Pragma header and use the item-updated time in the ↵ | Tim Almdal | |
| last-modified header | |||
| 2010-01-01 | Don't enable the rest module by default yet; we should make sure that | Bharat Mediratta | |
| we do a more thorough security audit on it first. | |||
| 2010-01-01 | Correct the sql so that the guest and admin passwords are actually blanked ↵ | Tim Almdal | |
| as part of the export | |||
| 2009-12-31 | A more thorough fix for #745 and #940. Stop using the referer to | Bharat Mediratta | |
| guess how to send the user back. Instead, proxy the originating item id through the edit forms so that we can tell exactly what page we were on when we began editing. If we were viewing the item, then redirect to its new url (in case it changed) to fix ticket #745. But if we were viewing some other item, then just stay on the current page to fix #940. The page_type approach didn't work because you'd have the same "collection" page_type when doing a context menu edit for an album. | |||
| 2009-12-30 | Change the file proxy to use the expires helper to manage content ↵ | Tim Almdal | |
| expiration. Fixes ticket #953. | |||
| 2009-12-23 | Convert a bunch of leftover kohana::show_404 calls to throw | Bharat Mediratta | |
| Kohana_404_Exception instead. These are the ones where we used a lower-case 'k' so my previous filter didn't catch it. | |||
| 2009-12-21 | Updates for the latest version of Kohana 2.4: | Bharat Mediratta | |
| 1) Controller::$input is gone -- use Input::instance() now 2) Handle new 'database.<default>.connection.params' parameter 3) Handle new 'cache.<default>.prefix' parameter | |||
| 2009-12-17 | Convert some more database queries. | Bharat Mediratta | |
| 2009-12-17 | Update all database queries such that we can run "php index.php | Bharat Mediratta | |
| package" and generate the same SQL as before. | |||
| 2009-12-17 | Improve the exception error message. | Bharat Mediratta | |
| 2009-12-16 | Convert a database call. | Bharat Mediratta | |
| 2009-12-16 | Convert a database call. | Bharat Mediratta | |
| 2009-12-16 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| 2009-12-16 | Show the right edit form for movies. | Bharat Mediratta | |
| 2009-12-16 | Convert some database calls. | Bharat Mediratta | |
| 2009-12-13 | Convert a database call. | Bharat Mediratta | |
| 2009-12-06 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| 2009-12-05 | Use NULL instead of actual values in the vars table, so that var tweaks ↵ | Bharat Mediratta | |
| result in smaller diffs. | |||
| 2009-12-05 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| 2009-12-04 | Make the rendering of the Theme Options page consistent between the first ↵ | Tim Almdal | |
| request and any errors | |||
| 2009-12-02 | Convert more database calls over to the new format | Bharat Mediratta | |
| - admin/maintenance page loads, the rebuild thumbs/resizes task works - Fixed up some conversion bugs in the Cache driver | |||
| 2009-12-01 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| 2009-12-01 | Beter fix for #925. | Bharat Mediratta | |
| 2009-12-01 | Use the real mime type for movies when we're requesting the full movie | Bharat Mediratta | |
| instead of a thumbnail. Fixes ticket #925, thanks to lsowen. | |||
| 2009-12-01 | Fix a typo that was breaking the home page (doh!) | Bharat Mediratta | |
| $this->_show() -> $this->show() | |||
| 2009-11-30 | Clean up item routing a bit. | Bharat Mediratta | |
| 1) The new default route is "albums", and Albums_Controller::index() does the right thing 2) Items_Controller redirects to the appropriate specific controller 3) All item controllers now have show() instead of _show(), so that the routing code in url::parse_url() can get to it. But that code is protected against receiving bogus requests. | |||
| 2009-11-29 | Publish theme_edit_form and theme_edit_form_completed events so that themes ↵ | Bharat Mediratta | |
| can piggyback on the regular Admin > Appearance > Theme Options page. | |||
| 2009-11-29 | Update a few more occurrences of ORM/Database -> Database_Builder | Bharat Mediratta | |
| 2009-11-26 | Database::orwhere() is now Database_Builder::or_where() | Bharat Mediratta | |
| 2009-11-26 | Overload Database_Builder to add merge_where() which takes predefined | Bharat Mediratta | |
| where clauses and adds them to the existing query. Update all existing queries that take an additional where clause to use it. | |||
| 2009-11-26 | Convert all DB where() calls to take 3 arguments. | Bharat Mediratta | |
| Convert all open_paren() calls to and_open() or or_open() as appropriate. | |||
| 2009-11-25 | ORM::orderby -> ORM::order_by | Bharat Mediratta | |
| 2009-11-25 | The html helpers no longer forces .js and .css suffixes to urls it generates ↵ | Bharat Mediratta | |
| (yay!) | |||
| 2009-11-25 | Kohana::show_404() -> throw new Kohana_404_Exception() | Bharat Mediratta | |
| 2009-11-25 | Convert one more instance of ORM::$loaded to ORM::loaded() | Bharat Mediratta | |
| 2009-11-25 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| Conflicts: modules/gallery/controllers/rest.php | |||
| 2009-11-25 | Preliminary work to cut over to Kohana 2.4 | Bharat Mediratta | |
| - Kohana::log() -> Kohana_Log::add() - Kohana::config_XXX -> Kohana_Config::instance()->XXX - Implement View::set_global in MY_View - Updated Cache_Database_Driver to latest APIs - ORM::$loaded -> ORM::loaded() - Updated item::viewable() to use K2.4 parenthesization | |||
| 2009-11-25 | Remove the REST_Controller and assorted baggage. Completes ticket #917 | Tim Almdal | |
| 2009-11-25 | Refactor the album, movie and photo handling to remove the REST_Controller. ↵ | Tim Almdal | |
| Partial fix for ticket #917 | |||
| 2009-11-24 | Rename I18n to Gallery_I18n to avoid conflict with Kohana 2.4 | Bharat Mediratta | |
| 2009-11-24 | Make get_add_form private and use it non-statically. | Bharat Mediratta | |
