summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-31Show context menus for movie items. Fix for ticket #960.Bharat Mediratta
2009-12-31A more thorough fix for #745 and #940. Stop using the referer toBharat 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-31Modify Forge to accept multiple hidden params (this was broken by anBharat Mediratta
API change in K24).
2009-12-30The problem occurs because the square brackets are treated as special ↵Tim Almdal
characters in the glob to find the children. This patch escapes the square brackets. Fixes ticket #855
2009-12-30Force 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-30Change the file proxy to use the expires helper to manage content ↵Tim Almdal
expiration. Fixes ticket #953.
2009-12-29Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-12-29Another 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-29Make sure that we have the mbstring extension.Bharat Mediratta
2009-12-27Allow users to upscale images in the slideshow by making the maxScaleBharat Mediratta
parameter configurable in Admin > Settings > Advanced. You specify the scaling factor. Normally, images fill the stage; 0 -> never scale up; any other positive number S --> scale up to S times the original size of the photo (but never bigger than the stage)
2009-12-27Only mark a variable as empty if its value is null. So 0 shows as 0.Bharat Mediratta
2009-12-27Fix a bug where we weren't replacing table names when there's noBharat Mediratta
prefix. This is wrong because even when there's no prefix we have to get rid of the {curly} braces.
2009-12-27Change ->in(...) ->where('id', 'in', ...)Tim Almdal
2009-12-26Fix the scrollbar in the organize panel by restricting drag-to-select to ↵Bharat Mediratta
#g-organize-microthumb-grid.
2009-12-26Roll forward to the new CoolIris slideshow -- it appears to be readyBharat Mediratta
now.
2009-12-26Reuse $theme->item() for our descendants_count() call.Bharat Mediratta
2009-12-25Prevent form::dropdown from overzealously escaping ampersands by applying ↵Bharat Mediratta
this diff: http://dev.kohanaframework.org/attachments/1490/form.diff Upstream ticket: http://dev.kohanaframework.org/issues/2463
2009-12-25Fix over-targetting in CSSBharat Mediratta
2009-12-25Convert some database callsBharat Mediratta
2009-12-25Fix uses of count_records() and use ORM to count instead.Bharat Mediratta
2009-12-24indentation fix.Bharat Mediratta
2009-12-24whitespace fixBharat Mediratta
2009-12-24Don't treat objects like strings.Bharat Mediratta
2009-12-23Convert a bunch of leftover kohana::show_404 calls to throwBharat 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-23Cleaner version. Probably has a bunch of cruft in it, but it looks good enough.Bharat Mediratta
2009-12-23First shot at integrating the K24 error page.Bharat Mediratta
2009-12-23ORM relations now require you to do find_all() or count_all() to get the ↵Bharat Mediratta
results.
2009-12-23Updated Kohana to r4728Bharat Mediratta
2009-12-23Revert "Fix preamble issues. Upstream tickets:"Bharat Mediratta
This reverts commit b2291a0e34234ee30ea1d80b70122b68a8869917.
2009-12-22Back out my temporary fix for http://dev.kohanaframework.org/issues/2384Bharat Mediratta
now that the real fix is in.
2009-12-22Fix where tuple sent to descendant_counts() -- it needs to be wrapped in an ↵Bharat Mediratta
array
2009-12-22Don't use as_array() on the result from db::build()->execute() -- it's no ↵Bharat Mediratta
longer necessary.
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-22Fix some function definitions (they should be static)Bharat Mediratta
2009-12-22Convert tabs to spaces. Enough to get the file structure test toBharat Mediratta
pass, but not really the Gallery coding convention -- this is a compatibility class though.
2009-12-22Fix preamble issues. Upstream tickets:Bharat Mediratta
http://dev.kohanaframework.org/issues/2457 http://dev.kohanaframework.org/issues/2458
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-21Updated Kohana to r4724Bharat Mediratta
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-21Add a helper for doing complex string comparisonsBharat Mediratta
2009-12-21Get rid of unnecessary cleanup that makes debugging harder.Bharat Mediratta
2009-12-21Rename $id --> $uuid for clarity.Bharat Mediratta