aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeLines
...
* Make the logic that tells you about other countries' Alavetelis prefer the ↵Seb Bacon2012-05-30-3/+5
| | | | browser language; and make the tests pass.
* Test for user turning email alerts off. Also includes a fix not to rely on ↵Seb Bacon2012-05-30-0/+14
| | | | HTTP_REFERER for subsequent redirect.
* Make it possible to view other people's activities on their own walls.Seb Bacon2012-05-30-0/+6
|
* Test to ensure users who have opted out of alert emails don't get anySeb Bacon2012-05-30-0/+7
|
* Test for the user's wall.Seb Bacon2012-05-30-0/+20
|
* Fix tests that broke as result of new flag to control if email alerts should ↵Seb Bacon2012-05-30-0/+4
| | | | be sent
* Allow messages to be redelivered to more than one request. Closes #442Seb Bacon2012-05-29-0/+21
|
* Support easy hiding of requests for admins. Currently not exposed in core ↵Seb Bacon2012-05-25-0/+22
| | | | admin interface (requires adminbootstraptheme).
* Test for reporting functionalitySeb Bacon2012-05-24-0/+41
|
* Fix test breakage introduced in 8d78cb8844549dc901cd901371be6ec604fb7f68Seb Bacon2012-05-15-17/+11
|
* Improve administrative user account support:Seb Bacon2012-05-14-14/+27
| | | | | | * 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-2/+10
| | | | after they've "followed" search results. Fixes #487
* Fix typo (introduced in commit cc023c67) that broke a testSeb Bacon2012-05-11-1/+1
|
* Correctly create tracks for searches that are filtered by variety:authority ↵Seb Bacon2012-05-11-0/+5
| | | | via the search UI
* Always show tracking links even for things that currently have no resultsSeb Bacon2012-05-11-0/+5
|
* Ensure we redirect to the URL-based version of a search, when specified as a ↵Seb Bacon2012-05-04-0/+7
| | | | query string, even when the variety of search is "all". Fixes #448
* Don't cache results from pages with different locales using the same key. ↵Seb Bacon2012-05-04-1/+9
| | | | Fixes #454
* Don't ever create more than one entry for each URL that we want Varnish to ↵Seb Bacon2012-05-04-0/+10
| | | | purge.
* Empty the purge queue even for failed requests (otherwise we will be ↵Seb Bacon2012-05-04-1/+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-2/+112
|\
| * Merge branch 'develop' of github.com:sebbacon/alaveteli into purge-requestsSeb Bacon2012-05-02-0/+693
| |\
| * | Modify InfoRequest stubs so they work with tests that iterate over the ↵Seb Bacon2012-05-02-0/+4
| | | | | | | | | | | | collection (e.g. `@user.info_requests.each`)
| * | Make the order of words in a track_thing description deterministic, so the ↵Seb Bacon2012-05-02-1/+1
| | | | | | | | | | | | test always passes
| * | More changes and refactoring to make purges work.Seb Bacon2012-04-20-15/+42
| | |
| * | Merge branch 'develop' into purge-requestsSeb Bacon2012-04-19-27/+81
| |\ \ | | | | | | | | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb
| * | | first stab at sending PURGE requests to upstream varnish for request pages. ↵Seb Bacon2012-03-13-1/+79
| | | | | | | | | | | | | | | | 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-0/+6
| | | |
| * | | Don't add extra www characters to web addresses that have been explicitly ↵Henare Degan2012-03-13-1/+1
| | | | | | | | | | | | | | | | defined
| * | | Make public authority home page links work. Fixes #271Henare Degan2012-03-13-0/+6
| | | |
| * | | Add some tests for the public body home page calculationHenare Degan2012-03-13-0/+22
| | | |
| * | | Set a "Content-Disposition: attachment" header when downloading files. ↵Seb Bacon2012-03-13-1/+9
| | | | | | | | | | | | | | | | Closes #428
| * | | Make /similar/request/NONESUCH a 404 not 500 errorRobin Houston2012-03-13-0/+24
| | | | | | | | | | | | | | | | Fixes #421.
* | | | Filter public body tracks by event typeRobin Houston2012-05-03-0/+29
| |_|/ |/| | | | | | | | | | | Add the facility to filter the public body feed by event type using a query string parameter, e.g. event_type=sent.
* | | Handle yet another style of bounceRobin Houston2012-05-01-0/+174
| | |
* | | Recognise another variety of bounce messageRobin Houston2012-04-30-0/+519
| |/ |/|
* | Merge pull request #464 from jpmckinney/small-fixesRobin Houston2012-04-03-3/+3
|\ \ | | | | | | Small fixes
| * | use Rails.root, not RAILS_ROOTJames McKinney2012-04-02-3/+3
| | |
* | | Remove cache/zips/ before running tests that write to thereMark Longair2012-04-02-0/+1
|/ /
* | Fixes to integration/admin_specRobin Houston2012-03-20-2/+1
| | | | | | | | | | | | 1. Remove useless call to spec_helper’s basic_auth_login method 2. Use Base64.encode64, rather than b64encode which also prints the encoded string to standard output.
* | Merge branch 'wdtk' into developRobin Houston2012-03-20-8/+26
|\ \
| * | Fix the "log in as" functionRobin Houston2012-03-20-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Admin users clicking confirmation linksRobin Houston2012-03-13-1/+45
| |/ | | | | | | Fixes #446. See issue for details.
* | Fix broken testRobin Houston2012-03-13-5/+5
| |
* | Correct bad nestingRobin Houston2012-03-13-3/+2
| |
* | Admin users clicking confirmation linksRobin Houston2012-03-13-1/+45
| | | | | | | | Fixes #446. See issue for details.
* | Merge branch 'merged-bundler' into developSeb Bacon2012-03-12-8/+0
|\ \
| * | Merge jpmckinney/bundlerSeb Bacon2012-02-15-8/+0
| | |
* | | Don't add http when https is presentHenare Degan2012-02-17-0/+6
| | |
* | | Don't add extra www characters to web addresses that have been explicitly ↵Henare Degan2012-02-16-1/+1
| | | | | | | | | | | | defined
* | | Make public authority home page links work. Fixes #271Henare Degan2012-02-16-0/+6
| | |