aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
Commit message (Collapse)AuthorAgeLines
* 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
|
* initial merge of Kosovan branch; still need to get tests passing, factor out ↵Seb Bacon2011-07-06-3/+9
|\ | | | | | | Kosovan-specific code
| * I18n string for modelsFaton Selishta2011-06-30-1/+7
| |
| * change an harcodet linkFaton Selishta2011-06-14-1/+1
| |
| * I18n fixFaton Selishta2011-06-02-1/+1
| |
* | The error messages are clearly designed to be used *without* theRobin Houston2011-06-23-10/+17
|/ | | | | | field name being prepended, so change the ApplicationHelper::foi_error_messages_for method to not prepend the field name, and add the field name back to the two messages from which we previously removed it.
* add global locale switcherSeb Bacon2011-03-10-0/+6
|
* .json form for RSS feedsFrancis Irving2010-10-09-1/+1
|
* Serve CSS from secure URL for adminFrancis Irving2010-09-16-6/+0
|
* Remove old commented parts.Francis Irving2010-09-06-3/+0
|
* Change the foi_cache to be explicit everywhere, so Interlock can use theFrancis Irving2010-09-06-2/+19
| | | | rails cache
* Use our algorithm for view cache fragments tooFrancis Irving2010-05-19-0/+6
|
* Table showing event history.Francis Irving2010-01-20-0/+4
|
* Show times on timeline, not just dates.Francis Irving2009-10-31-0/+4
|
* Remove some uses of gsub!, which might be clobbering other versions of stringsfrancis2009-04-08-2/+2
| | | | which are really members of some other class
* Allowing extra parameters to be passed to request_urllouise2009-04-03-3/+8
|