summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-09-071. Actually set the slug to the new value in the controllers.Bharat Mediratta
2. Fix up an issue where we were crashing if there were no conflicting rows 3. Amend Item_Model so that if you change the slug, it flushes the cache for all children
2009-09-07Add the 'Internet Address' field to all items, along with properBharat Mediratta
validation for the fields.
2009-09-07Correct a mental mistake in the prior change. All the xxx_url()Bharat Mediratta
methods actually refer to the url to the file on disk, not the logical item. That's relative_url(). Perhaps some API renaming is in order?
2009-09-07Switch to using Item_Model::relative_url() for the url path.Bharat Mediratta
2009-09-07Remove unused item::validate_no_name_conflict() and a debug line.Bharat Mediratta
2009-09-07Add item::validate_url_safe() with a test.Bharat Mediratta
2009-09-07Populate the slug field from the title as well.Bharat Mediratta
2009-09-07Add the slug to album, photo, and movie forms.Bharat Mediratta
2009-09-07Update golden file.Bharat Mediratta
2009-09-07Add support for a per-item "slug" which will be the user-visible urlBharat Mediratta
component for that given item. Album hierarchies are represented by nested slugs. By default, we convert the filename to a slug when you create an album, photo or movie.
2009-09-07Quiet down ffmpeg in movie::extract_frame()Bharat Mediratta
2009-09-06Don't allow users to take away their own edit permissions. If weBharat Mediratta
detect that they did, just give it back. There's no visible message in that case.
2009-09-06Don't show clickable link for breadcrumb items where the user doesn'tBharat Mediratta
have edit permissions.
2009-09-06Fix indentation.Bharat Mediratta
2009-09-05Change click() to change() so that we immediately update the UI whenBharat Mediratta
the user picks a new option.
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-04Add @todo to replace locales::locale_from_http_request()Bharat Mediratta
request::accepts_language() when we upgrade to Kohana 2.4
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-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-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-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.