aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
Commit message (Collapse)AuthorAgeLines
* Mark output of highlight_words helper as html_safeMatthew Landauer2013-02-01-1/+1
|
* Small refactor to make method more conciseMatthew Landauer2013-02-01-6/+3
|
* Escape error messages in foi_error_messages_forMatthew Landauer2013-01-03-3/+3
|
* Merge remote-tracking branch 'henare_github/simple-date-time-zone' into developLouise Crow2012-11-22-1/+3
|\
| * Fix regression by allowing Date objects tooHenare Degan2012-11-21-1/+3
| |
| * Make simple_date respect the time zoneHenare Degan2012-11-18-1/+1
| |
* | 3093f5d97d89dfa3518babe00d3aefea9cde15ad contained a reversion for WDTK - ↵Louise Crow2012-11-20-0/+7
|/ | | | where due to the proxied admin interface, we can't rely on a shared session between front end and admin interface requests. So show the admin bar for all superusers.
* Remove unused method.Louise Crow2012-11-08-19/+0
|
* Fix bug where errors were rendered like: <ul>["<li>Please enter a ↵James McKinney2012-11-01-1/+1
| | | | subject</li>"]</ul>
* Only reference the admin stylesheet if we're actually going to show the ↵Louise Crow2012-11-01-5/+1
| | | | admin navbar.
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-4/+1
|
* Refactor for concisenessHenare Degan2012-10-04-2/+1
|
* Change the behaviour of admin_url to always return a full URLHenare Degan2012-10-04-1/+1
|
* Inline ConfigHelper force_registration_on_new_requestMatthew Landauer2012-09-25-4/+0
|
* Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-7/+5
|
* Fix for the case where an external request has no user_nameLouise Crow2012-08-29-1/+1
|
* With reference to issue #560, generate better text in the case of an ↵Louise Crow2012-08-22-3/+4
| | | | anonymous external user when being viewed by either an admin or non admin.
* Method spacing.Louise Crow2012-08-22-0/+19
|
* Helpers to support external requestsRobin Houston2012-08-10-1/+13
|
* Ensure (at least in the most basic cases) that views support recent ↵Seb Bacon2012-07-09-0/+8
| | | | "external request" changes (mainly that InfoRequests no longer necessarily have a User).
* Atom feed of request eventsRobin Houston2012-07-04-6/+0
| | | | | | | | | | We need not only new requests, but new outgoing correspondence of any sort. The idea is that this feed will contain any event that would have triggered an email to be sent to the public body, so can be used as an alternative, equivalent way to stay up-to-date with happenings on WDTK (or the Alaveteli installation of choice).
* Use fully-qualified URLs in feedRobin Houston2012-07-04-1/+6
| | | | The <link> tags in the feed <entry>s ought to be fully-qualified URLs.
* Atom feed approximately working (?)Robin Houston2012-07-04-0/+1
|
* Show the admin navigation bar when browsing the main site. Fixes #512Seb Bacon2012-06-27-0/+4
|
* Merge branch 'develop' of github.com:sebbacon/alaveteli into developRobin Houston2012-06-23-1/+3
|\ | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb
| * Reformat function so it doesn't confuse gettextSeb Bacon2012-06-14-1/+3
| |
* | Fix user links for external usersRobin Houston2012-06-06-0/+7
|/
* Our default "from" details should be the CONTACT_* ones, not the ↵Seb Bacon2012-05-25-2/+2
| | | | TRACK_SENDER_* ones. This reverts part of commit 8a4a8feb9cfe0a77195943124112f0d284a7f9cd
* Factor out `contact_from_name_and_email` so it can be used from anywhere in ↵Seb Bacon2012-05-25-0/+10
| | | | the app.
* Merge from wombleton:feature/440_sparkly_admin_cssSeb Bacon2012-05-23-6/+27
| | | | | | | Includes a couple of additional fixes: * Remember to HTML-quote things that could come from users * Fix form post action for editing users
* Remove trailing whitespace (to make a cleaner forthcoming merge with ↵Seb Bacon2012-05-15-22/+22
| | | | wombleton:feature/440_sparkly_admin_css)
* Internationalize short_date:Seb Bacon2012-05-02-1/+3
| | | | | * By default, use built-in Rails locales for date format * Allow this to be overridden in theme-specific locale
* Simplify search logic so it doesn't depend on sessions. Also fixes #338Seb Bacon2012-01-25-13/+14
|
* Don't choke on unescaped characters in URIs. Fixes #335.Seb Bacon2012-01-11-4/+8
|
* Don't generate endlessly recursive URLs from request pages where the URL has ↵Seb Bacon2011-12-21-2/+9
| | | | a query string. Fixes #311.
* Make HTML ids unique even with multiple localesRobin Houston2011-09-08-2/+6
| | | | | | In situations where a block of HTML is generated for each enabled locale, we need to include the locale name in generated ids otherwise the id will not be unique within the document, resulting in invalid HTML.
* Merge branch 'develop' of github.com:sebbacon/alaveteli into developDavid Cabo2011-09-03-0/+15
|\
| * Some i18n strings for homepage, and fix up more HTML parsing test failuresSeb Bacon2011-09-01-0/+15
| |
* | Merge branch 'asktheeu-new-design' into develop (update New Request workflow ↵David Cabo2011-09-01-0/+4
|\ \ | |/ |/| | | to match new wireframes)
| * Add sign-in at beginning of New Request process (configurable)David Cabo2011-08-23-0/+4
| |
| * Extend "new public body" form to support multiple locales (closes #142)David Cabo2011-08-17-1/+1
| |
* | Further work in progress on better search functionalitySeb Bacon2011-08-29-8/+13
| |
* | more work in progress on search formsSeb Bacon2011-08-29-1/+1
| |
* | Extend "new public body" form to support multiple locales (closes #142)David Cabo2011-08-23-1/+1
| |
* | Use rails localisation function to return date. Fixes #152.Seb Bacon2011-08-22-1/+1
|/
* I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable ↵David Cabo2011-08-11-1/+9
| | | | substitution in gettext strings.
* Add the ADMIN_BASE_URL variable to general.yml-example, and make the codeRobin Houston2011-07-26-1/+2
| | | | | treat an empty value the same as if the variable were absent (i.e. to use the default admin path).
* Use the ADMIN_BASE_URL config variable if present, rather than ignoring itRobin Houston2011-07-14-1/+1
|
* get language names from a comprehensive list, rather than just hard-code a ↵Seb Bacon2011-07-07-7/+6
| | | | handful
* undo hard-coded domainSeb Bacon2011-07-06-1/+1
|