summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
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-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-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
2009-06-29If the argument to app() is not an album id, switch to the item parent.Bharat Mediratta
Fixes ticket #489.
2009-06-29Oops, "head" => "admin_head" to make the admin dashboard work.Bharat Mediratta
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Andy Staudacher
2009-06-29Fix HTML in l10n messageAndy Staudacher
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-29Don't repeat the default locale in the installed locales list.Andy Staudacher
2009-06-29Fix some bugs in the combined JS/CSS code (most of which I introducedBharat Mediratta
in my last refactor): 1) Actually combine the JS (I was only combining the CSS) 2) Add line breaks between the files and comment them so that we can find a specific file inside the blob. 3) Add an HTML comment to help developers figure out why they can't find their CSS/JS.
2009-06-29Add a media type using the most common media type from our CSS. ThisBharat Mediratta
doesn't fix the problem that we need to support multiple media types (the original code had superfish using just "screen", and some other deviations). There's no code yet to support multiple media types, but it would not be too difficult to create buckets based on media.
2009-06-29Refactor combine_xxx() functions together into combine_files() and useBharat Mediratta
html functions to generate the resulting elements. Add phpdoc.
2009-06-29Refactor combined controller a bitBharat Mediratta
1) Create public javascript() and css() functions and turn __call() into a private function to protect us against having some random type show up in there. Otherwise anything you put in the 2nd argument gets emitted in the header which is a security hole. 2) Fix a bug ("$key = $key[0]") which was breaking functionality. Eliminate the hex check, it's not really necessary in the majority case and doesn't hurt us in edge cases. 3) Convert some empty() calls to !, no need for a function call there. 4) Add phpDoc.
2009-06-29Combine the Combined::javascript and Combined::css into a single method ↵Tim Almdal
implemented by the magic method __call. The first parameter is the content type for text/xxxx and the 2nd parameter is the key of the combined file.
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-06-29admin dashboard blocks can now be moved from left to right sidebarjhilden
fix for bug report #92 removed containment parameter for the jQuery sortable plugin seems to work in Firefox, Chrome and IE 8
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3jhilden
2009-06-29added textual description of upload progressjhilden
moved the cancel link to above the upload queue (where the textual upload progress also is)