aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeLines
* Rebuild .pot file after I18n changes and fix syntax at request_controllerFaton Selishta2011-08-22-1/+1
|
* changed hard coded information about how overdueFaton Selishta2011-08-22-1/+1
|
* Add test for generation of HTML versions of attachments. As a side-effect, ↵Seb Bacon2011-08-17-16/+21
| | | | make some of the HTML more valid. Prerequisite for addressing issue #108.
* When displaying information about how overdue something is, use values from ↵Seb Bacon2011-08-12-1/+1
| | | | the config file, rather than hard coded ones. Fixes #130.
* Create public bodies in multiple locales when importing from CSVDavid Cabo2011-08-11-3/+3
|
* I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable ↵David Cabo2011-08-11-17/+22
| | | | substitution in gettext strings.
* Show the rejected reason for the incoming message in question, not the most ↵Seb Bacon2011-08-11-1/+1
| | | | recent rejected reason for the info request in question. Fixes #129.
* allow admin to redeliver emails to closed requests. Fixes #116Seb Bacon2011-08-08-1/+1
|
* Introduce config setting to ignore browser language settingsSeb Bacon2011-08-08-1/+5
|
* Ensure we use sensible fallbacks for setting the default / initial locale ↵Seb Bacon2011-08-08-1/+1
| | | | for a user. (Partially) fixes #114
* Guess holding pen emails based on having a correct hash and an incorrect id. ↵Seb Bacon2011-08-08-9/+1
| | | | Closes #117
* Log the reason why an incoming mail is routed to the holding pen, and ↵Seb Bacon2011-08-03-1/+4
| | | | display it to administrators. Closes #107.
* Force a trailing slash on the end of the administrators' index page. Fixes #106Seb Bacon2011-08-03-0/+7
|
* Fail silently if there's no user matching one referenced in the current ↵Seb Bacon2011-08-03-1/+5
| | | | session. Fixes #105
* Use only one kind of variable interpolation on gettext strings (mixing them ↵Seb Bacon2011-08-01-1/+1
| | | | is dangerous as we don't escape translations). Fixes #99.
* Cause the final step in the "new request" workflow to have a unique URL (so ↵Seb Bacon2011-07-28-1/+1
| | | | we can distinguish it in Google Analytics). Fixes #96
* Don't treat CSRF tokens as optional session data for administrators (they're ↵Seb Bacon2011-07-27-0/+3
| | | | | | needed to allow them to edit anything! Fixes #95 (Also change wording of test namess to match usual rspec convention)
* Authentication should only apply to admin interface when *both* email *and* ↵Seb Bacon2011-07-27-1/+1
| | | | password are unset
* Add cache headers to various pages (in three categories: short, medium, and ↵Seb Bacon2011-07-25-3/+37
| | | | long).
* Rescue NameErrors when attempting to load custom states (for the case where ↵Seb Bacon2011-07-25-1/+1
| | | | the file exists, but it's empty)
* Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-07-25-1/+1
|\
| * catch MissingSourceFile instead of NameError when including custom states, ↵David Cabo2011-07-23-1/+1
| | | | | | | | in order to handle the case when file is not present
* | Add a flag to turn off logging memory usage, as (a) this is a debug setting, ↵Seb Bacon2011-07-25-6/+11
|/ | | | and (b) it's not cross-platform anyway (causes issues for people developing on OS X)
* Fix bug that meant plugin custom states weren't being loadedSeb Bacon2011-07-13-1/+2
|
* Refactor custom states loading (use class methods where appropriate, ↵Seb Bacon2011-07-12-16/+4
| | | | simplify main code at the cost (small) of test legibility)
* ensure we don't load custom states from plugins when running testsSeb Bacon2011-07-12-1/+7
|
* Improve factoring out of custom states code (refactor a little, add tests)Seb Bacon2011-07-12-3/+19
|
* As a first attempt, in a dumb way, factor out jurisdiction-specific states ↵Seb Bacon2011-07-07-8/+6
| | | | to themes
* tidy up "blog" page; use twitter widget to display tweets; get feed ↵Seb Bacon2011-07-07-17/+12
| | | | locations from config file
* Move various hard-coded strings to config fileSeb Bacon2011-07-07-2/+1
|
* Changes required to get selishta (Kosovo) fork merges to pass tests. ↵Seb Bacon2011-07-06-5/+6
| | | | Includes new "REPLY_LATE_AFTER_DAYS" config option.
* fix up basic auth for admin settings: get credentials from config, cause ↵Seb Bacon2011-07-06-5/+8
| | | | default (where no config) to skip authorization completely, add tests for these
* initial merge of Kosovan branch; still need to get tests passing, factor out ↵Seb Bacon2011-07-06-148/+177
|\ | | | | | | Kosovan-specific code
| * I18n string for controllersFaton Selishta2011-06-30-103/+105
| |
| * I18n fixFaton Selishta2011-06-02-9/+20
| |
| * Specific code for our requirements (kosovo law, our request etc..)Faton Selishta2011-06-02-2/+15
| |
| * added i18n strings in controller's templateFaton Selishta2011-04-26-3/+3
| |
* | Remove trailing whitespaceRobin Houston2011-06-24-1/+1
| |
* | Correct an operator precendence bug in request_controller, and add a test ↵Robin Houston2011-06-21-2/+2
| | | | | | | | for it.
* | - Refactor models/incoming_message.rb to get rid of the hideousRobin Houston2011-06-21-3/+4
| | | | | | | | | | | | | | global variables and methods. Move the MIME type stuff into lib/alaveteli_file_types.rb. - Correct the spelling of the word extensions (not extentions).
* | allow search and publicbody examples to be provided in config file, falling ↵Seb Bacon2011-06-14-1/+15
| | | | | | | | back to a vaguely sensible default based on existing data if not present. Note that the fallback is a slow query on a large database!
* | ensure all with_locale calls end with explicit renderSeb Bacon2011-06-13-43/+50
| |
* | Make sure the template rendering happens within the scope ofSeb Bacon2011-06-13-5/+8
| | | | | | | | | | with_locale, so it's rendered using the correct locale. (+ test for this)
* | Don't store passwords in post_params.Louise Crow2011-05-16-3/+12
|/
* further test fixageSeb Bacon2011-04-01-114/+141
|
* fix bad merges from rebase with masterSeb Bacon2011-03-10-1/+1
|
* add a "custom_css" template, so we can easily overlay it from pluginsSeb Bacon2011-03-10-0/+6
|
* move locale-setting logic locally (are likely to want to override it)Seb Bacon2011-03-10-11/+18
|
* new i18n tests for controllers and associated fixesSeb Bacon2011-03-10-47/+56
|
* make site_name a globally available helperSeb Bacon2011-03-10-0/+10
|