summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2009-07-11Fix a problem in delete() where we were referencing $parent withoutBharat Mediratta
saving its value before $item got deleted. Further fix for #528.
2009-07-11Fix a typo in the last commit. I left off a closing paren.Bharat Mediratta
2009-07-11Change 'completed' status message to be a full sentence with javascript ↵Bharat Mediratta
placeholders.
2009-07-12Fixed indentation of commit 2760e119bbfc3e2d436c404de194dbeea738a735Shai Ben-Naphtali
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-12This fixes ticket #513Shai Ben-Naphtali
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-11Don't close the dialog window after we successfully complete anBharat Mediratta
action. The expectation is that we're going to reload the page (or redirect to a new url). If we close the dialog, then we can trigger the onhover for items we've just deleted causing errors. Simplify the API while we're at it by getting rid of the no-longer-used on_success argument to openDialog() This fixes #528.
2009-07-11Fix a bug where we're referring to $photo when we just uploaded aBharat Mediratta
$movie, that causes the simpler uploader to throw an error for all movies.
2009-07-11Fix style: space after ) before {.Bharat Mediratta
2009-07-11Fix bug introduced in e0e450d90fe67ac199d82d2b8e902cff5c8b6c7d whereBharat Mediratta
it got rid of the 'img' var which is used when we set the click action on buttons. Partial fix for #528.
2009-07-11Turn off extended inserts when creating install.sql so that it'sBharat Mediratta
easier to see what's changed.
2009-07-11Put quotes around the href param (href="#")Tim Almdal
2009-07-10Add a title attribute to the li of a menuTim Almdal
2009-07-11Position gItem and gPhoto relative, then position quick and thumb menus as ↵Chad Kieffer
absolute within them. Moved css from quick.js to quick.css.
2009-07-10Fix for ticket #341.Tim Almdal
Change the wording for the sort order from "Default" to "Order Added"
2009-07-10Forgot to add this file when change "Done"'s to "Close"'sTim Almdal
2009-07-10Change the word "Done" to "Close" to make translations easierTim Almdal
2009-07-10Added the upload::required validation in order to insure that failed uploadsTim Almdal
are not treated as successful. Log any exceptions to the Kohana log and return the error message
2009-07-10Compact all menus. This fixes the problem that the new [Options]Bharat Mediratta
thumb menu shows up when it has nothing in it.
2009-07-10Create a new [options] submenu under the thumb menu, and move theBharat Mediratta
Digibug print button into it. Right now, it doesn't display properly.
2009-07-07Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-08Add task logging to the "Update Search Index" taskTim Almdal
2009-07-08Add task logging to the Update translationsTim Almdal
2009-07-08Added the button formatting to the other links on the Admin Maintenance page.Tim Almdal
2009-07-08Added task logging to the Rebuild Images task.Tim Almdal
2009-07-07Provide some clarity on the action links by formating them as buttons onTim Almdal
the Maintenance Tasks admin page.
2009-07-07Added a wee bit of phpDoc.Tim Almdal
Changed the name of the method get_task_log to get_log Changed the default name of the file when the log is downloaded to gallery3_task_log.txt
2009-07-07Allow the task::log method to take an array of lines and change g2_import.phpTim Almdal
helper to use this approach.
2009-07-07Change references to Gallery 2 and Gallery 3 to consistently refer toTim Almdal
Gallery n as opposed any variants of this.
2009-07-06Cleanup remove task processing. Change Task_Model::delete to call parent::deleteTim Almdal
instead of parent::save. :-) Also change admin_maintenance_controller to delete via looping over all of the completed tasks and delete individually, so we can delete the associated cache entries at the same time.
2009-07-06Don't use jQuery in the error page, it interferes with the jquery libBharat Mediratta
in the outer page when we load it in a dialog context.
2009-07-06Always log the task completion status messageTim Almdal
2009-07-06Catch exceptions that are thrown within the task and log them to the task logTim Almdal
and then set the task to done, the state to error and the status message set to the Exception Message.
2009-07-05Add task logging functionality. When a task runs, it creates a log that isTim Almdal
stored in the persistant cache for 30 days. On the admin_maintenance page there is a new link for completed tasks "browse log". Clicking this will open a dialog box that has the the contents of the log displayed. The user can then view the log and close the dialog, or press the save button to download the log to their local machine.
2009-07-04Use TMPPATH in the purifier config instead of var/tmpTim Almdal
2009-07-04Fix for ticket #477. Use nl2br method when rendering comment::text andTim Almdal
item::description. In addition add p::clean or p::purify to places that xss cleaning had missed (i.e. rss feeds)
2009-07-03Split the clean method into two clean and purify. clean is a light weightTim Almdal
approach using html::specialchars and purify uses HTMLPurifier to intelligently cleanse the output fields. Use purifier for text and title fields where it is likely that a user would enter html to format their data.
2009-07-03Ticket 104: Adding "Copy sourc text" button to l10n UI (usability / ↵Andy Staudacher
productivity improvement)
2009-07-03Ignore lib/ folders in l10n_scanner task.Andy Staudacher
1. Because it makes sense. 2. As a quick fix - For some reason it wouldn't work properly anymore now with the HTMLPurifier lib
2009-07-03Fix for ticket 510: i18n fixes - localize module / theme name in some status ↵Andy Staudacher
messages
2009-07-03Update the source so the third party code passes the File Structure TestTim Almdal
2009-07-03Fix for ticket #400: Add HTMLPurifier to gallery3 and change p::clean() to ↵Tim Almdal
call HTMLPurifier->purify()
2009-07-03Fix for ticket #400: Add HTMLPurifier to gallery3 and change p::clean() to ↵Tim Almdal
call HTMLPurifier->purify()
2009-07-03Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-03Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-02Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
Conflicts: modules/server_add/controllers/admin_server_add.php
2009-07-02Suppress the filesize error if the thumbnail is not found so we can getTim Almdal
an EMPTY_INPUT_FILE exception which we can then log and continue.
2009-07-02ORM::Factory -> ORM::factoryBharat Mediratta
2009-07-012 fixes:Bharat Mediratta
1) Include the url in the cache key so that if the Gallery moves, we don't use old cached entries. 2) Use the relative path to files in the comments that we embed in our files so that we don't leak local paths.
2009-07-01Fix a bunch of XSS vulnerabilities turned up by manual inspectionBharat Mediratta
using the checklist in ticket #385.
2009-06-30Re-add Session::abort_save(). It was reverted as part of the earlierBharat Mediratta
change, but this is the part that we want to keep.