summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2009-12-22CheckpointBharat Mediratta
2009-12-22Update.Bharat Mediratta
2009-12-22The default value for $offset should always be null (according to theBharat Mediratta
new K24 ORM). Fix up a bad where tuple in the test.
2009-12-22Use a Database_Expression to handle the MAX() function.Bharat Mediratta
2009-12-22Latest K24 does not automatically add an id attribute to every formBharat Mediratta
element with the same value as the name. Yay! That was a weird and unexpected behavior.
2009-12-22Don't rely on implicit object -> id conversion, that doesn't work with K24's ↵Bharat Mediratta
Database_Builder::where()
2009-12-22Add merge_or_where() to MY_Datatabase_Builder and use that instead ofBharat Mediratta
or_where() for compatibility and convenience. Caught by failing unit tests.
2009-12-22ORM::factory() in K24 does not allow you to specify an alternate keyBharat 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-21Updates 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-21Fix preambles, and fix the File_Structure_Test to be more lenientBharat Mediratta
because of preamble variation in K24.
2009-12-21Updated for recent K24 Forge changes.Bharat Mediratta
2009-12-21Update database tests for K24. Use a mock database that we loadBharat 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-21Updated for K24Bharat Mediratta
2009-12-21Fix some bugs in the cache database driver, and update the tests for K24.Bharat Mediratta
2009-12-21Updated for K24Bharat Mediratta
2009-12-21Add Database::set_default_instance() for testsBharat Mediratta
2009-12-21Forgot to rename the file when I renamed the class.Bharat Mediratta
2009-12-18Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
2009-12-18Use url::base() instead of item::root()->url because we can't be sureBharat Mediratta
that will work (if your database is sitll at Beta 1, you don't have the slug column, for example).
2009-12-18Convert a database query.Bharat Mediratta
2009-12-17In Kohana 2.4, ORM no longer does the find_all() call for us when weBharat 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-17Convert some database queries.Bharat Mediratta
2009-12-17Convert some more database queries.Bharat Mediratta
2009-12-17Update all database queries such that we can run "php index.phpBharat Mediratta
package" and generate the same SQL as before.
2009-12-17Simplify add_table_prefixes. In Kohana 2.4, it returns the bare tableBharat Mediratta
name, not the prefixed one so this makes our logic easier.
2009-12-17Improve the exception error message.Bharat Mediratta
2009-12-16Convert a database call.Bharat Mediratta
2009-12-16Convert a database call.Bharat Mediratta
2009-12-16Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
2009-12-16Adjust for the fact that movies have JPG thumbnails. Fixes ticketBharat Mediratta
2009-12-16Show the right edit form for movies.Bharat Mediratta
2009-12-16Convert some database calls.Bharat Mediratta
2009-12-13Convert a database call.Bharat Mediratta
2009-12-13Convert some database calls.Bharat Mediratta
2009-12-13Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/helpers/identity.php
2009-12-10Log the entire stack trace when we catch an exception.Bharat Mediratta
2009-12-06Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
2009-12-06Update database queries.Bharat Mediratta
2009-12-06Remove the hidden form variable _method which was used in the no longer rest ↵Tim Almdal
controllers.
2009-12-06Further simplifications to viewable(). Stop trying to optimize forBharat Mediratta
the case where we just have one restriction, it's unnecessary.
2009-12-06Get rid of unused _method param in the item edit form.Bharat Mediratta
Fix viewable() to properly OR view restrictions together.
2009-12-06Add the current file/line at the top of the trace.Bharat Mediratta
2009-12-06Overload Kohana_Exception::text() to dump out the complete stack traceBharat Mediratta
so that we have useful data in the logs.
2009-12-06Update more database calls.Bharat Mediratta
2009-12-06Oops, removed the overload for query() before, we need this back soBharat Mediratta
that we can prefix table names properly.
2009-12-06Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
2009-12-05Use NULL instead of actual values in the vars table, so that var tweaks ↵Bharat Mediratta
result in smaller diffs.
2009-12-05Update the gallery module to version 21 in the installer.Bharat Mediratta
2009-12-05Fix whitespace.Bharat Mediratta
2009-12-05Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta