summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
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-24Make get_add_form private and use it non-statically.Bharat Mediratta
2009-11-24Updated.Bharat Mediratta
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-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-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-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 "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-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.
2009-11-18Merge branch 'master' into talmdal_devTim Almdal
2009-11-18Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-11-18For album pagination, don't let the last_visible_position exceed theBharat Mediratta
total. Fixes ticket #903.
2009-11-18Revert "Simplify the maintenance of the xss golden file by having each ↵Tim Almdal
module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file." This reverts commit 4fe5801c885088e5e6c11b8a20a561415941b864.
2009-11-18Simplify the maintenance of the xss golden file by having each module ↵Tim Almdal
contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file.
2009-11-18Update the xss golden file so tests pass.Tim Almdal
2009-11-18Create a helper to load the theme information from theme.infoTim Almdal
2009-11-17Address RTL issues reported in ticket #869. Placement of checkboxes and ↵Chad Kieffer
radio buttons and sidebar block management lists.
2009-11-17Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-11-17Tweak load_themes() to match exactly "/admin" or the "/admin/" prefix,Bharat Mediratta
but not just the "/admin" prefix because that breaks if you add an image like "admin_photostream".
2009-11-17White-space fix and quoting update.Chad Kieffer
2009-11-17Redesign the way that we consider page types to create buckets of pageBharat Mediratta
types, and a subtype for specifics. Currently the top level bucket collection, item, other Here are the core subtypes so far: collection: album, search, tag item: movie, photo other: login, reset, comment-fragment, comment It's legal to create new page_subtypes whenever you want. Use the appropriate page_type to get the coarse grain behavior that you want.
2009-11-16Store the directory, files and translation cache in the gallery3 cache ↵Tim Almdal
instead of trying to store it in the task. It is possible with lots of modules and lots of incoming translations to go beyond the 64K limit in the task context. Possible fix for #886.
2009-11-16If an empty array is passed into set method, then make sure the tag value ↵Tim Almdal
being stored in the database is null, not "Array"
2009-11-16Use some hacky css to get the buttons alighned properly. Fixes ticket #880.Tim Almdal
2009-11-15Xss data updateBharat Mediratta
2009-11-15Use text::alternate() instead of hand-rolled even/odd code.Bharat Mediratta
2009-11-15Updated xss data.Bharat Mediratta
2009-11-15Use 'git ls-files' instead of glob() so that we only check files knownBharat Mediratta
to Git. This means that local files which we choose to exclude from git don't have to follow the same permission model.
2009-11-15Save/restore $_SERVER before/after tests to avoid contamination.Bharat Mediratta
Fix albums/photos tests to make sure we're really getting the HTTP_REFERER back.
2009-11-15Try to keep users from leaving the upgrade page, or running theBharat Mediratta
upgrade twice. 1) Disable the "Upgrade all" link once clicked 2) Put up a "upgrade in progress" link to show that there's something happening. Fixes ticket #837.
2009-11-15Change "confirmation" to "dialog" in preparation for putting up aBharat Mediratta
"we're working, stay tuned" message.
2009-11-15Tweak upgrader html and css so that we set opacity properly for rowsBharat Mediratta
that are done, and disable the upgrade link when there're no actions to take.
2009-11-15Fix a bug where we were using <? ?> tags in css to figure out whether weBharat Mediratta
should gray out an element.
2009-11-15Close the confirmation box with a fade, instead of a slide.Bharat Mediratta
2009-11-15Fix a couple of errors in the refctored paginator code:Bharat Mediratta
1) We weren't showing previous page links for albums when we should have 2) We needed to wrap the results of url::merge() in url::site() so that we generate server-relative urls.
2009-11-14Oops. Fix a typo that the forced page_type to always be "tag"Bharat Mediratta
2009-11-14Fix pagination so that it does not require any domain specific logicBharat Mediratta
to support tags and search. Instead, just modify the page param to the current page.
2009-11-14Rename "pager" to "paginator" so that we differentiate page.html.phpBharat Mediratta
from paginator.html.php
2009-11-14Normalize pagination so that pager.html.php can handle pagination forBharat Mediratta
both albums and movies. Kohana's paginator is not quite sufficient for this, so create our own pagination logic in Theme_View with only the stuff we need. Clearly document the variables available in pager.html so that themers know how to use it. Fixes ticket #626.