aboutsummaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeLines
* Show Alaveteli version number on debug page (using last git tag in history)Seb Bacon2012-05-23-0/+3
|
* Add "admin" class to body when viewing pages as an adminSeb Bacon2012-05-23-2/+2
|
* Remove unwanted CSS class from locale switcherSeb Bacon2012-05-23-1/+1
|
* remove files that could easily live in a theme, so people can choose to ↵Seb Bacon2012-05-23-1169/+761
| | | | deploy it or not while it's still immature
* Rollback refactoring of event_type validation that broke various testsSeb Bacon2012-05-23-19/+24
|
* Merge from wombleton:feature/440_sparkly_admin_cssSeb Bacon2012-05-23-816/+1299
| | | | | | | Includes a couple of additional fixes: * Remember to HTML-quote things that could come from users * Fix form post action for editing users
* Merge branch 'develop' into feature/fix-404-in-themesSeb Bacon2012-05-15-394/+408
|\
| * Remove trailing whitespace (to make a cleaner forthcoming merge with ↵Seb Bacon2012-05-15-394/+394
| | | | | | | | wombleton:feature/440_sparkly_admin_css)
| * Merge remote-tracking branch 'wombleton/feature/google_analytics' into developSeb Bacon2012-05-15-0/+14
| |\ | | | | | | | | | | | | Conflicts: config/general.yml-example
| | * Add in google analytics code if it's configured.Rowan Crawford2012-04-30-0/+14
| | |
* | | Add a comment to explain why we're calling `set_view_paths` in the ↵Seb Bacon2012-05-15-2/+7
| | | | | | | | | | | | controller when the method doesn't exist in Alaveteli code. See [this comment](https://github.com/sebbacon/alaveteli/issues/320#issuecomment-5711523) for discussion.
* | | Allow themes to effect the design of error pagesSeb Bacon2012-05-15-0/+7
|/ /
* | Centre the "emergency user" login message.Seb Bacon2012-05-14-4/+4
| |
* | Improve administrative user account support:Seb Bacon2012-05-14-14/+34
| | | | | | | | | | | | * Allow users with `super` admin level to use the administrative interface. * Allow bootstrapping these users with an Emergency User over HTTP Basic Auth * Introduce new `SKIP_ADMIN_AUTH` setting to allow all admin auth to be bypassed (used by mySociety)
* | Redirect people to more user-friendly search results page (where possible) ↵Seb Bacon2012-05-11-1/+17
| | | | | | | | after they've "followed" search results. Fixes #487
* | Correctly create tracks for searches that are filtered by variety:authority ↵Seb Bacon2012-05-11-1/+1
| | | | | | | | via the search UI
* | Always show tracking links even for things that currently have no resultsSeb Bacon2012-05-11-2/+1
| |
* | Improve handling of nil for public body notesDavid Cabo2012-05-08-1/+1
| |
* | I18n missing string in request view pageDavid Cabo2012-05-08-1/+3
| |
* | I18n heading on user sign up confirmation pageDavid Cabo2012-05-08-2/+2
| |
* | I18n some strings in user/showDavid Cabo2012-05-08-2/+2
| |
* | Don't cache results from pages with different locales using the same key. ↵Seb Bacon2012-05-04-1/+1
| | | | | | | | Fixes #454
* | Don't ever create more than one entry for each URL that we want Varnish to ↵Seb Bacon2012-05-04-3/+6
| | | | | | | | purge.
* | Empty the purge queue even for failed requests (otherwise we will be ↵Seb Bacon2012-05-04-3/+1
| | | | | | | | endlessly polling the Varnish server until its fixed). Administrators should check the logs for failed purges.
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into developRobin Houston2012-05-03-17/+81
|\ \
| * | Make sure the purge queue is cleared at least every 30 secondsSeb Bacon2012-05-02-1/+1
| | |
| * | Merge branch 'develop' of github.com:sebbacon/alaveteli into purge-requestsSeb Bacon2012-05-02-2/+4
| |\ \
| | * | 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
| * | | Another change to make track descriptions deterministic, so tests can work ↵Seb Bacon2012-05-02-3/+2
| | | | | | | | | | | | | | | | reliably
| * | | Don't set attachment size explicitly -- can result in race condition which ↵Seb Bacon2012-05-02-1/+0
| | | | | | | | | | | | | | | | incorrectly sets size to 0K, and is set when the attachment body is created anyway.
| * | | Ensure we always return a string of some kind when asking for the ↵Seb Bacon2012-05-02-1/+1
| | | | | | | | | | | | | | | | short_or_long_name of a public body
| * | | Make the order of words in a track_thing description deterministic, so the ↵Seb Bacon2012-05-02-0/+1
| | | | | | | | | | | | | | | | test always passes
| * | | Add a method to run the purge process in a continuous loopSeb Bacon2012-05-02-1/+15
| | | |
| * | | Use routing system to work out URL of request to purge, rather than hard ↵Seb Bacon2012-05-02-1/+5
| | | | | | | | | | | | | | | | coding it.
| * | | More changes and refactoring to make purges work.Seb Bacon2012-04-20-23/+36
| | | |
| * | | Merge branch 'develop' into purge-requestsSeb Bacon2012-04-19-15/+21
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb
| * | | | first stab at sending PURGE requests to upstream varnish for request pages. ↵Seb Bacon2012-03-13-1/+33
| | | | | | | | | | | | | | | | | | | | Next step: making it asynchronous, e.g. with a queue of things to purge via a cron job.
| * | | | Don't add http when https is presentHenare Degan2012-03-13-1/+1
| | | | |
| * | | | Don't add extra www characters to web addresses that have been explicitly ↵Henare Degan2012-03-13-1/+1
| | | | | | | | | | | | | | | | | | | | defined
| * | | | Refactor methodHenare Degan2012-03-13-17/+4
| | | | |
| * | | | Make public authority home page links work. Fixes #271Henare Degan2012-03-13-1/+6
| | | | |
| * | | | Set a "Content-Disposition: attachment" header when downloading files. ↵Seb Bacon2012-03-13-1/+2
| | | | | | | | | | | | | | | | | | | | Closes #428
| * | | | Trailing whitespaceRobin Houston2012-03-13-1/+1
| | | | |
| * | | | Make /similar/request/NONESUCH a 404 not 500 errorRobin Houston2012-03-13-1/+3
| | |_|/ | |/| | | | | | | | | | Fixes #421.
* | | | Filter public body tracks by event typeRobin Houston2012-05-03-25/+37
| |_|/ |/| | | | | | | | | | | Add the facility to filter the public body feed by event type using a query string parameter, e.g. event_type=sent.
* | | Missing i18n string on user pageSeb Bacon2012-04-23-1/+1
| |/ |/|
* | use Rails.root, not RAILS_ROOTJames McKinney2012-04-02-2/+2
| |
* | Merge branch 'wdtk' into developRobin Houston2012-03-20-10/+11
|\ \
| * | Fix the "log in as" functionRobin Houston2012-03-20-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the "log in as" function after 3b6e5a692b852a88f55b21a7210f60a6f7cfc24b would attempt to log the admin user out before issuing the redirect. Unfortunately this approach does not work on WhatDoTheyKnow, where the admin pages are served via a different domain (secure.mysociety.org) and so do not share session information with the rest of the site. This commit changes it to mark the PostRedirect with circumstance == "login_as", which signals the user controller to log out the previous user even if they are an admin. In other words, the user is logged out on the main site rather than the admin site, skirting this problem. Closes #450.
| * | No code changesRobin Houston2012-03-13-3/+5
| | | | | | | | | | | | Just trailing whitespace & one comment.