summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-12-01Fix a typo that was breaking the home page (doh!)Bharat Mediratta
$this->_show() -> $this->show()
2009-11-30Clean up item routing a bit.Bharat Mediratta
1) The new default route is "albums", and Albums_Controller::index() does the right thing 2) Items_Controller redirects to the appropriate specific controller 3) All item controllers now have show() instead of _show(), so that the routing code in url::parse_url() can get to it. But that code is protected against receiving bogus requests.
2009-11-30Don't allow the extra "/?" sequence (ie: "/index.php/?kohana_uri=...") in ↵Bharat Mediratta
the generated .htaccess files.
2009-11-29Don't use PathInfo based urls to reroute access protection. FixesBharat Mediratta
ticket #922.
2009-11-29Publish theme_edit_form and theme_edit_form_completed events so that themes ↵Bharat Mediratta
can piggyback on the regular Admin > Appearance > Theme Options page.
2009-11-28Give the theme a chance to handle theme function callbacks as well.Bharat Mediratta
2009-11-28Rework the theme loading code to allow themes to be treated as GalleryBharat Mediratta
modules, and have an admin subdirectory that is treated like a Kohana module (as distinct from a Gallery module). The main advantage of creating the separate admin subdirectory is that we will not load an admin theme and a site theme at the same time. We'll only load a few specialized bits of the site theme while the admin theme is active. Concrete examples. A site theme named "xxx": - will receive events at themes/xxx/helpers/xxx_event.php - will have working controllers at themes/xxx/controllers/xxx.php If theme xxx has an admin subdir, then in admin mode it: - will receive events at themes/xxx/admin/helpers/xxx_event.php - will have working controllers at themes/xxx/admin/controllers/xxx.php
2009-11-28Expose theme::$is_adminBharat Mediratta
2009-11-27Move the theme fallback checking into theme::load_themes() so thatBharat Mediratta
we're calling it once per request.
2009-11-25Forgot to remove the rest references from config/route.phpTim Almdal
2009-11-25Remove the REST_Controller and assorted baggage. Completes ticket #917Tim Almdal
2009-11-25remove the photo::get_add_form method as its not usedTim Almdal
2009-11-25Refactor the album, movie and photo handling to remove the REST_Controller. ↵Tim Almdal
Partial fix for ticket #917
2009-11-25Remove a debugging statementTim Almdal
2009-11-25Refactor the tags to remove the REST_Controller. Partial fix for ticket #917Tim Almdal
2009-11-25Refactor the comment module as part of ticket: #917 "Remove Rest Controller"Tim Almdal
* Remove the methods create, update, delete, get_edit_form as there are not used * Change the return when a comment is created to return the html for the new comment. This saves a second get request to down load the comment.
2009-11-25Merge branch 'master' into talmdal_devTim Almdal
2009-11-24Make get_add_form private and use it non-statically.Bharat Mediratta
2009-11-24Updated.Bharat Mediratta
2009-11-21Merge branch 'master' into talmdal_devTim Almdal
2009-11-21Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-11-21Make email a required field. We're using the Kohana default errorBharat Mediratta
messages when this fails, not the Gallery translation system so this is not a great solution. However, it's the same as the other model-based rules we have currently so it's no worse. Fixes ticket #897.
2009-11-21Truncate the text of the title/description for results on the search page. ↵Bharat Mediratta
Partial fix for ticket #580.
2009-11-21Correct inconsistent captialization. Fixes #906Tim Almdal
2009-11-21Don't use realpath when calculating the relative paths of embedded ↵Tim Almdal
references in css files. This fixes ticket #910
2009-11-20Don't call theme::get_info() on themes that don't have a theme.info. Fixes ↵Bharat Mediratta
#896.
2009-11-20Fixes #898Bharat Mediratta
2009-11-20Merge branch 'master' into talmdal_devTim Almdal
2009-11-20The search results page is a "collection" page type.Bharat Mediratta
2009-11-20Paginator: don't try to set the position for "other" page types.Bharat Mediratta
2009-11-20Convert the Simple Uploader form over to Forge, and use the eventBharat Mediratta
model to let the Tags module modify it. This brings it inline with our other module-extensible form based interactions.
2009-11-20Minor reformatting.Bharat Mediratta
2009-11-20Merge branch 'master' into talmdal_devTim Almdal
2009-11-20Use "#g-add-photos-canvas object" instead of "#g-uploadifyUploader" soBharat Mediratta
that we're not mixing naming styles.
2009-11-20Move tag ui to the bottom of the form since it's a lower priorityBharat Mediratta
Internationalize and simplify our error strings.
2009-11-20Correct the reference so selections are handled properly when dragging the lassoTim Almdal
2009-11-20Use ui-state-highlight to display selected images.Tim Almdal
2009-11-20Remove all style from the organize.css file and make use of the themeroller ↵Tim Almdal
styles as much as possible.
2009-11-19Add the ability to add tags for files that are uploaded using the simple loader.Tim Almdal
2009-11-19Add a note to skip version 20.Bharat Mediratta
2009-11-19Revert "Currently Admin_Theme_Options controller assumes that all the themes ↵Tim Almdal
will provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme." This reverts commit 1692ee130887a6ad1ba68aa34a96ad36161600f9.
2009-11-19Revert "Create theme::get_var(), theme::set_var() methods to set the options ↵Tim Almdal
of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme." This reverts commit 26114972c3388f065220b94a0d5962f20a6ccd0c.
2009-11-19Revert "Make sure that calls to the theme::get_var() have sane defaults in ↵Tim Almdal
the event that the theme does not supply them." This reverts commit 51f2b547672ab69a7a04d37b723c6afbeb584a59.
2009-11-19Revert "Use call_user_func instead of call_user_func_array as we don't need ↵Tim Almdal
to pass the parameters by reference." This reverts commit 75cc4962a2c945e3e3ad37fda3b5de32d512b929.
2009-11-19Use call_user_func instead of call_user_func_array as we don't need to pass ↵Tim Almdal
the parameters by reference.
2009-11-19Make sure that calls to the theme::get_var() have sane defaults in the event ↵Tim Almdal
that the theme does not supply them.
2009-11-19Merge branch 'master' into talmdal_devTim Almdal
2009-11-18Rename g-pager to g-paginator after the recent pagination update.Chad Kieffer
2009-11-18Create theme::get_var(), theme::set_var() methods to set the options of the ↵Tim Almdal
active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme.
2009-11-18Currently Admin_Theme_Options controller assumes that all the themes will ↵Tim Almdal
provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme.