aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeLines
* catch MissingSourceFile instead of NameError when including custom states, ↵David Cabo2011-07-26-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
|
* top-level gettext functions already availableSeb Bacon2011-03-10-0/+3
|
* make site_name a globally available helperSeb Bacon2011-03-10-16/+9
|
* top-level gettext functions already availableSeb Bacon2011-03-10-1/+0
|
* initial, basic i18n support with gettextSeb Bacon2011-03-10-1/+1
|
* Add CSRF protection on state changing actions. Use default handler ↵Louise Crow2011-02-28-22/+34
| | | | handle_unverified_request which clears session.
* Adding CSRF protection for admin forms.Louise Crow2011-02-24-0/+5
|
* Updating validations so that none expect automatic interpolation of the ↵Louise Crow2011-02-24-0/+2
| | | | attribute.
* Scrub passwords from logs.Louise Crow2011-01-24-0/+2
|
* Make default value an empty string, not nil (which is assumed to be an unset ↵Seb Bacon2010-11-23-1/+1
| | | | value)
* Provide default value in order to make tests passSeb Bacon2010-11-22-1/+1
|
* Fix a bunch of broken links (thanks Alex)Francis Irving2010-10-27-1/+1
|
* Show more appropriate info about users/bodies everywhere in JSON.Francis Irving2010-10-20-28/+5
|
* Return more info in request JSON response.Francis Irving2010-10-20-38/+4
|
* Factor out some of the JSON generationFrancis Irving2010-10-20-28/+2
|
* Include snippet in results from search query JSON.Francis Irving2010-10-20-0/+2
|
* Note about sensitivity. Update todo.Francis Irving2010-10-09-1/+2
|
* Remove superfluous routes, make search query feeds work.Francis Irving2010-10-09-0/+7
|
* Link to Atom JSON equivalents in HTTP header. Document.Francis Irving2010-10-09-5/+5
|
* .json form for RSS feedsFrancis Irving2010-10-09-2/+25
|
* JSON for user pages.Francis Irving2010-10-09-0/+16
|
* Send basic info about public bodies.Francis Irving2010-10-09-0/+20
|