Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-23 | Provide a REST interface to retrieve tags or tagged items. | Tim Almdal | |
GET /tag?limit=nn,offset=nn Retrieve all tags sorted by count descending GET /tag/uri/uri/uri Retrieve all the tags for the resource specified by path GET /tag/t1/t2/t3 Retrieve all the items that have the specified tags Can specifiy limit and offset to limit response size | |||
2009-12-23 | ORM relations now require you to do find_all() or count_all() to get the ↵ | Bharat Mediratta | |
results. | |||
2009-12-23 | When normalizing the rest request don't assume that the additional arguments ↵ | Tim Almdal | |
are acutall a path. Leave it up to the handler to determine. | |||
2009-12-23 | Updated Kohana to r4728 | Bharat Mediratta | |
2009-12-23 | Revert "Fix preamble issues. Upstream tickets:" | Bharat Mediratta | |
This reverts commit b2291a0e34234ee30ea1d80b70122b68a8869917. | |||
2009-12-23 | Updated the unit tests to match the current API | Tim Almdal | |
Corrected a problem identified with the unit tests... failed if the path was empty on PUT. | |||
2009-12-22 | Back out my temporary fix for http://dev.kohanaframework.org/issues/2384 | Bharat Mediratta | |
now that the real fix is in. | |||
2009-12-22 | Fix where tuple sent to descendant_counts() -- it needs to be wrapped in an ↵ | Bharat Mediratta | |
array | |||
2009-12-22 | Add a restful get random image block | Tim Almdal | |
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 | Fix some function definitions (they should be static) | Bharat Mediratta | |
2009-12-22 | Convert tabs to spaces. Enough to get the file structure test to | Bharat Mediratta | |
pass, but not really the Gallery coding convention -- this is a compatibility class though. | |||
2009-12-22 | Fix preamble issues. Upstream tickets: | Bharat Mediratta | |
http://dev.kohanaframework.org/issues/2457 http://dev.kohanaframework.org/issues/2458 | |||
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-22 | Update the api so it allows images to be uploaded. | Tim Almdal | |
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 | Updated Kohana to r4724 | Bharat Mediratta | |
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 | Add a helper for doing complex string comparisons | Bharat Mediratta | |
2009-12-21 | Get rid of unnecessary cleanup that makes debugging harder. | Bharat Mediratta | |
2009-12-21 | Rename $id --> $uuid for clarity. | Bharat Mediratta | |
2009-12-21 | Fix the relationship. DigibugProxy belongs to Item, not the other way | Bharat Mediratta | |
around. K24 ORM requires this because it needs to know where the foreign key is (in the Digibug_Proxy table, in this case). | |||
2009-12-21 | Add missing execute() call -- tests ftw! | 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 | Stop using Kohana::lang. | Bharat Mediratta | |
2009-12-21 | Fix the translation keys to not require "unit_test." as a prefix. | 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 | Updated for K24 | Bharat Mediratta | |
2009-12-21 | Forgot to rename the file when I renamed the class. | Bharat Mediratta | |
2009-12-21 | Hardcode language translations since K24 now does it totally differently. ↵ | Bharat Mediratta | |
This forks the code, but it's reached the end of its development path and we should replace it with phpunit anyway | |||
2009-12-21 | Added validation to the edit functionality, since we can't trust any input | Tim Almdal | |
2009-12-18 | Merge branch 'master' into talmdal_dev | Tim Almdal | |
2009-12-18 | Change how request input is processed.First the input is no longer json ↵ | Tim Almdal | |
encode, All the get variables are loaded, then the post variables if the request is a post, and then the path is extracted from the uri. | |||
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 call. | Bharat Mediratta | |