summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-05Bugfixes for locales::locale_from_http_request(), and adding tests.Andy Staudacher
(And the tests should illustrate that kohana 2.4's API doesn't quite fit our purpose of simply getting the best match between the accepted (client) and the installed (g3) locales.)
2009-09-05Update XSS test golden data file.Andy Staudacher
2009-09-05Revert previous edit. Prefer « none » (sweet, nice Unicode characters) ↵Andy Staudacher
instead of HTML entities.
2009-09-05Add missing view for language selectionAndy Staudacher
2009-09-05Change the module installer so that you don't need to provide your ownBharat Mediratta
install() function if all you're going to do is to set the version of the module from module.info into the database. This means that for some simple modules, you don't need an install.php file at all.
2009-09-04Fix the url in the call to get subsequent entries to have the rightBharat Mediratta
url, and to be json. Fixes #719, which I introduced in my refactor.
2009-09-04placeholder for a missing viewBharat Mediratta
2009-09-04Shorten the name in the block so that it doesn't wrap.Bharat Mediratta
Use &laquo; and &raquo; in the << none >> text.
2009-09-04Fix typo: loading-arge.gif -> loading-large.gifBharat Mediratta
2009-09-04Add @todo to replace locales::locale_from_http_request()Bharat Mediratta
request::accepts_language() when we upgrade to Kohana 2.4
2009-09-04Updated upstream to r4554Bharat Mediratta
2009-09-04XSS test golden data file updateAndy Staudacher
2009-09-04When changing user preferences, reset the session based locale preferences.Andy Staudacher
2009-09-04Add new locale preferences: Adding per session (cookie) locale preferences ↵Andy Staudacher
and check the browser's / OS' locale preferences. Ticket 582.
2009-09-04Simplifying SafeString a bit: From a XSS HTML security point of view, treat ↵Andy Staudacher
clean() and purify() the same. No longer run a safe HTML string through the HTML purifier (since it's already marked as safe). This also addresses the issue of calling purify() when no purifier is installed. In that case, we'd run clean() on a clean string (double HTML encoding). If this approach doesn't work out, we can still modify the fallback code of purify() to check if the string is already clean before calling clean() instead of purify().
2009-09-03Checkpoint.Bharat Mediratta
2009-09-03Fix tests for new purifier API.Bharat Mediratta
2009-09-03Fix test for new purifier API.Bharat Mediratta
2009-09-03Refactor interaction with the purifier module so that the API isBharat Mediratta
cleaner and we don't need to know about the module innards. Move the config file over there too.
2009-09-03html::purify an item title.Bharat Mediratta
2009-09-03Remove extraneous changes to the CSS so that it's just the ones thatBharat Mediratta
we need. They'll be documented in our vendor repo.
2009-09-03Move the loading images into lib/images and adjust everything to pointBharat Mediratta
at them, including jquery.autocomplete.css so that we don't have stuff from lib that points into a theme directory. They were common images anyway. Incidentally, rename sm/lg to small/large.
2009-09-03Minor performance improvement: Reduce module var cache lookups in SafeString.Andy Staudacher
2009-09-03Ensure that purify isn't applied twice for an already purified SafeStringAndy Staudacher
2009-09-03Merge branch 'master' into talmdalTim Almdal
2009-09-03fix the expected return value of photos controllerTim Almdal
2009-09-03fix the expected return value of album controllerTim Almdal
2009-09-03Change the Html_Helper and SafeString tests to change the expeced results ↵Tim Almdal
based on whether HtmlPurifier module is installed or not
2009-09-02Merge branch 'master' into talmdalTim Almdal
2009-09-02Noticed that loading.gif kept showing up in my logs. Probably not ↵Chad Kieffer
maintainable, but updated jquery.autocomplete css to use the default theme's equivalent.
2009-09-02Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-09-02Fix bg images in tables bug in webkit and ie. #718Chad Kieffer
2009-09-02Undo rest of the indentation issue accidentally created in 8312eb andBharat Mediratta
partially fixed in 2c30dc
2009-09-02Change graphics::generate() API so that it doesn't return a boolean,Bharat Mediratta
instead it throws an exception if there's a problem. The normal case for graphics::generate is that it's going to succeed. It'll only fail if something un-handleable went wrong, so just use the resulting exception.
2009-09-02Merge branch 'master' into talmdalTim Almdal
2009-09-02fix a leading space that was causing the file_structure_test to failTim Almdal
2009-09-02Tighten up the mod_rewrite text a bit.Bharat Mediratta
2009-09-02Merge branch 'master' into talmdalTim Almdal
2009-09-02Fix formatting, and use a properly named file inBharat Mediratta
change_photo_no_csrf_fails_test() so that GD doesn't bomb.
2009-09-02Deal with the aftermath of adding sharpen() calls. Since GD does notBharat Mediratta
support it, this causes crashes as soon as you try to use it, which breaks a bunch of our tests. Also, give the user some idea that sharpen() is missing in the UI. Fixes #689.
2009-09-02Run 'graphics::choose_default_toolkit();' to pick a toolkit, which weBharat Mediratta
normally do as part of a regular install.
2009-09-02Refactor how we use $this->relative_path() so that we're not callingBharat Mediratta
it twice on both sides of a ternary operator.
2009-09-02Remove debugging statementesTim Almdal
2009-09-02Move HTMLPurifier from core to contrib and make it optional. Delete the ↵Tim Almdal
modules/gallery/lib and HTMLPurifier.php
2009-09-01Missed this in recent commit.Chad Kieffer
2009-09-01Forgot to delete admin_screen in prior commit. Done.Chad Kieffer
2009-09-01Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-09-01Merged admin_screen and screen style sheets in the admin theme. Removed some ↵Chad Kieffer
unsused admin styles in the process. Fixed problem in admin header that broke the theme's layout in IE7. Moved the Gallery logo and shortcut icon to lib/images for easier reuse.
2009-09-01Updated for modules/gallery version 11.Bharat Mediratta
2009-09-01Escape backslashes (\) in the $salt in create_admin() as they willBharat Mediratta
interfere with our hand rolled UPDATE statement. Big thanks to paulepanter.