summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
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.
2009-06-30Revert "Add Session::abort_save() to Kohana."Bharat Mediratta
Obsoleted by upstream fix. This reverts commit 06f066164f60fe0babbc7a480e6319a0702e0c46.
2009-06-30Checkpoint.Bharat Mediratta
2009-06-30Rejigger the way we handle "done" status in the upgrader. Now weBharat Mediratta
present the done box if you're done and let you get rid of it if you want. It's not beautiful, by any means, but it gives you an easy link back to your Gallery when you're finished. Fixes ticket #479.
2009-06-30Fix for #319.Tim Almdal
Created a new view "movieplayer.html.php", which is rendered by Item_Model::movie_img(). Changed movie.html.php to use movie_img to render the movie player link.
2009-06-30Fix i18n issue - accidentally called t() on translated messages. Please ↵Andy Staudacher
truncate incoming_translations after this update to get rid of bad messages in your DB.
2009-06-29Partial fix for ticket 471 - Fix parsing of module/theme info files in l10n ↵Andy Staudacher
scanner.
2009-06-29Partial fix for ticket 471 - i18n of module names in upgrader.Andy Staudacher
2009-06-29i18n theme name / description in admin themes. Partial fix for ticket 471.Andy Staudacher
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Andy Staudacher
2009-06-29Partial fix for ticket 471 - i18n of "Translate Text" button in l10n clientAndy Staudacher
2009-06-29Use the appropriate content-type for javascript (application/javascript).Bharat Mediratta
2009-06-29Pass back Cache-Control and Expires headers when we send back a 304,Bharat Mediratta
otherwise some browsers (Firefox, at least) thinks that it needs to revalidate. At least in my case, it appears that my proxy tacks on restrictive Cache-Control headers if they aren't there.
2009-06-29Fix a few more issuesBharat Mediratta
1) Don't use $_SERVER, use Input::instance()->server(). This fixes the problem that when you use a browser that doesn't pass in an Accept-Encoding, we'd barf on a missing array key 2) Don't bother looking up the _gz key if we don't have gzencode, because we probably didn't store one. 3) Only emit the gzip Content-Encoding header if we're actually sending back gzipped data.
2009-06-29Remove the testing code to force rebuilding the cache.Tim Almdal
2009-06-29Revert to serializing and deserializing data. The cache table can'tBharat Mediratta
accept PHP constructs like arrays (the tests were choking on this). Update tests to reflect the new `key` column.
2009-06-29Checkpoint.Bharat Mediratta