| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-31 | Modify Forge to accept multiple hidden params (this was broken by an | Bharat Mediratta | |
| API change in K24). | |||
| 2009-12-30 | Force the 'Select Photos...' button to always be in the center of the upload ↵ | Tim Almdal | |
| dialog with the flash object overtop of it. Fixes ticket: #908. | |||
| 2009-12-30 | Change the file proxy to use the expires helper to manage content ↵ | Tim Almdal | |
| expiration. Fixes ticket #953. | |||
| 2009-12-29 | Another holdover from the K2.4 conversion. In R2.4 the url::current(true) ↵ | Tim Almdal | |
| was returning an empty string. This fixes ticket #955. | |||
| 2009-12-27 | Only mark a variable as empty if its value is null. So 0 shows as 0. | Bharat Mediratta | |
| 2009-12-27 | Fix a bug where we weren't replacing table names when there's no | Bharat Mediratta | |
| prefix. This is wrong because even when there's no prefix we have to get rid of the {curly} braces. | |||
| 2009-12-24 | indentation fix. | Bharat Mediratta | |
| 2009-12-24 | whitespace fix | Bharat Mediratta | |
| 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-23 | Cleaner version. Probably has a bunch of cruft in it, but it looks good enough. | Bharat Mediratta | |
| 2009-12-23 | First shot at integrating the K24 error page. | Bharat Mediratta | |
| 2009-12-22 | Fix where tuple sent to descendant_counts() -- it needs to be wrapped in an ↵ | Bharat Mediratta | |
| array | |||
| 2009-12-22 | Don't use as_array() on the result from db::build()->execute() -- it's no ↵ | Bharat Mediratta | |
| longer necessary. | |||
| 2009-12-22 | Checkpoint | Bharat Mediratta | |
| 2009-12-22 | Update. | Bharat Mediratta | |
| 2009-12-22 | The default value for $offset should always be null (according to the | Bharat Mediratta | |
| new K24 ORM). Fix up a bad where tuple in the test. | |||
| 2009-12-22 | Use a Database_Expression to handle the MAX() function. | Bharat Mediratta | |
| 2009-12-22 | Latest K24 does not automatically add an id attribute to every form | Bharat Mediratta | |
| element with the same value as the name. Yay! That was a weird and unexpected behavior. | |||
| 2009-12-22 | Don't rely on implicit object -> id conversion, that doesn't work with K24's ↵ | Bharat Mediratta | |
| Database_Builder::where() | |||
| 2009-12-22 | Add merge_or_where() to MY_Datatabase_Builder and use that instead of | Bharat Mediratta | |
| or_where() for compatibility and convenience. Caught by failing unit tests. | |||
| 2009-12-22 | ORM::factory() in K24 does not allow you to specify an alternate key | Bharat Mediratta | |
| for lookup. So instead of doing: ORM::factory("foo", array("some_key" => "some_value")) you have to do: ORM::factory("foo"->where("some_key", "=" "some_value")->find() | |||
| 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-21 | Fix preambles, and fix the File_Structure_Test to be more lenient | Bharat Mediratta | |
| because of preamble variation in K24. | |||
| 2009-12-21 | Updated for recent K24 Forge changes. | Bharat Mediratta | |
| 2009-12-21 | Update database tests for K24. Use a mock database that we load | Bharat Mediratta | |
| through the framework so that we're properly testing the Database_Builder, it's a lot cleaner than what we had before. | |||
| 2009-12-21 | Updated for K24 | Bharat Mediratta | |
| 2009-12-21 | Fix some bugs in the cache database driver, and update the tests for K24. | Bharat Mediratta | |
| 2009-12-21 | Updated for K24 | Bharat Mediratta | |
| 2009-12-21 | Add Database::set_default_instance() for tests | Bharat Mediratta | |
| 2009-12-21 | Forgot to rename the file when I renamed the class. | Bharat Mediratta | |
| 2009-12-18 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| 2009-12-18 | Use url::base() instead of item::root()->url because we can't be sure | Bharat Mediratta | |
| that will work (if your database is sitll at Beta 1, you don't have the slug column, for example). | |||
| 2009-12-18 | Convert a database query. | Bharat Mediratta | |
| 2009-12-17 | In Kohana 2.4, ORM no longer does the find_all() call for us when we | Bharat Mediratta | |
| retrieve related ORMs. If we tack a find_all() on the end, it breaks the User_Definition interface so create User_Model::groups() and Groups_Model::users() as glue. | |||
| 2009-12-17 | Convert some database queries. | Bharat Mediratta | |
| 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 | Simplify add_table_prefixes. In Kohana 2.4, it returns the bare table | Bharat Mediratta | |
| name, not the prefixed one so this makes our logic easier. | |||
| 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 | Adjust for the fact that movies have JPG thumbnails. Fixes ticket | 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-13 | Convert some database calls. | Bharat Mediratta | |
| 2009-12-13 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| Conflicts: modules/gallery/helpers/identity.php | |||
| 2009-12-10 | Log the entire stack trace when we catch an exception. | Bharat Mediratta | |
