summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-19Updated for comment REST relationships.Bharat Mediratta
2010-06-19$request->params might not exist.Bharat Mediratta
2010-06-19post_test() should be using admin, not guest.Bharat Mediratta
2010-06-19$response is optional in the Rest_Exception constructor.Bharat Mediratta
2010-06-19Throw exceptions as appropriate, but allow the Kohana exceptionBharat Mediratta
handling framework to handle the exception and delegate to our template, which will JSON encode the response.
2010-06-19Rework our exception framework to fit into Kohana's model better.Bharat Mediratta
Instead of overwriting Kohana_Exception::handle() (which we were doing in MY_Kohana_Exception) we instead use their existing template system. gallery/views/kohana/error.php overrides system/views/kohana/error.php and is the standard error template for all exceptions. Our version of error.php figures out the appropriate view based on context (cli, authenticated admin, guest viewing a 404, guest viewing a system error) and delegates appropriately. Each delegated view has a narrow responsibility. This paves the way for us to add new error views per module. For example, the rest module will define its own template in Rest_Exception and then its exceptions can be rendered the way that it wants (json encoded, in that case).
2010-06-19single -> double quotes.Bharat Mediratta
2010-06-19Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-06-19Oops. Fix up a bad instance of $user in rest::access_key() introducedBharat Mediratta
in my last change.
2010-06-18Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-06-18Fix an issue that the root album was not being selected if there was noTim Almdal
children, or if organize was being invoked on the root album.
2010-06-18Simplify rest::get_access_key($user) to rest::access_key() thatBharat Mediratta
returns just the access key string for the active user. That's how we use the API, so keep it simple.
2010-06-18change single to double quotes.Bharat Mediratta
2010-06-181) Change how the size of the flexstage is calculated. (Basically remove theTim Almdal
dialogWidth and dialogHeight and adjsut the internal controls when added to the stage. 2) Cleanup the controller code
2010-06-18Update the installer/install.sql properly.Tim Almdal
2010-06-18Use request::protocol()Bharat Mediratta
2010-06-18Use request::protocol().Bharat Mediratta
2010-06-18Use request::protocol().Bharat Mediratta
2010-06-18Undo "else" clause -- we should keep the logic simple and easy toBharat Mediratta
follow, even if it's redundant. Expand a <ul> to multiple lines.
2010-06-18Merge remote branch 'gallery3/master'mamouneyya
2010-06-18Add '! important' to the round corners properties with values, force them to ↵mamouneyya
be shown even with the case the element has two or more of them (e.g. class='ui-corner-left ui-corner-right'.) Don't know if there was a better solution..
2010-06-18Fix ticket #1155. For compatibility with gallery2 increase the size of the ↵Tim Almdal
tag name field from 64 bytes to 128 bytes.
2010-06-18Merge remote branch 'gallery3/master'mamouneyya
2010-06-18Flip some margin/padding values for RTLmamouneyya
2010-06-18Flip some margin/padding values for RTLmamouneyya
2010-06-18Mirror the cancel button for RTLmamouneyya
2010-06-18Add the CSS3 selector of the round corners so they work in Operamamouneyya
2010-06-18(1) Correct the margin direction for checkboxes in RTL (2) Update the id of ↵mamouneyya
adding comment button for RTL (3) Flip the corner radiuses for any buttons set, which solves the issue of flipped corners in the comments admin page. Also, add the CSS3 selector of the round corners so they work in Opera (4) Fix ticket #1052
2010-06-17Remove duplicate trailing slash on the controllerUri parameterTim Almdal
2010-06-17Fix for ticket #1163. Don't all guests to a comment when there are no ↵Tim Almdal
comments and the comment access permission is register users.
2010-06-17Update the xss gold file with changes to views in the last couple of commits.Tim Almdal
2010-06-17Rearrange the adding of fields to the template so that they match the order ↵Tim Almdal
of appearance in the template. Also remove the @todo's
2010-06-17Add a cache-buster to the SWF url so that it'll refresh in the browserBharat Mediratta
every time the SWF file changes.
2010-06-17Fix for ticket #1110. Need to use the encode_path with a movie extension to ↵Tim Almdal
find the item. Thanks to samdavidoff for the initial fix.
2010-06-17Fix for ticket #1117 align videos to the center.Tim Almdal
2010-06-17Add the theme::resize_top and theme::resize_bottom to the movie view to be ↵Tim Almdal
consistent with the photo view.
2010-06-17Scale a movie to the resize size so that it doesn't overflow into the sidebar.Tim Almdal
2010-06-17Change the add album dialog to not replace the internet address or name ↵Tim Almdal
fields if they already contain values.
2010-06-16Remove comment_rest::post() -- that's in comments_rest now.Bharat Mediratta
2010-06-16Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-06-16Add REST support for comments. You can view, add, edit and deleteBharat Mediratta
comments.
2010-06-16Fix a typo... The controller parameter to the flex organize module should be ↵Tim Almdal
controllerUri instead.
2010-06-16Add start/num query parameters to tags::get()Bharat Mediratta
2010-06-16If the G2 orderBy or orderDirection fields are blank, use the G2 defaults.Bharat Mediratta
Second half of fix for #1054.
2010-06-16Fix a bug introduced in 1077477a9032d5a4855e19e2dd4ce923472b711c whereBharat Mediratta
we don't generate album highlights correctly. Possible fix for #1054.
2010-06-16Fix two bugs:Bharat Mediratta
#1161: guest comments get dropped because of a missing email address. #1075: G2 comments with " get turned into &quot;
2010-06-16Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-06-16slap my wrist... i forgot a debugging statementTim Almdal
2010-06-16Fix for ticket #1131. If the rss feed is for an item, then retrieve the ↵Tim Almdal
item. Using the left and right pointers find all the comments for the child items. Thanks to jankoprowski for the initial investigation.
2010-06-16Fix issue1068. Fill from_id field in photo with indetificatorJan Koprowski