Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
| * | Make emails requesting admin attention appear to come from the user who ↵ | Seb Bacon | 2012-06-12 | -0/+10 | |
| | | | | | | | | requested the attention, not the user who made the original request. | ||||
* | | API controller tests all pass | Robin Houston | 2012-06-18 | -3/+15 | |
| | | |||||
* | | Update tests to reflect code changes | Robin Houston | 2012-06-07 | -0/+23 | |
| | | | | | | | | | | Since users must now be logged-in to report requests, the tests need to reflect this. | ||||
* | | Update test for e3cfe550fe835c68b25d693abd40aedd954913b3 | Robin Houston | 2012-06-07 | -1/+1 | |
| | | | | | | | | | | The wording that was changed by e3cfe550fe835c68b25d693abd40aedd954913b3 turns out to be relied on by one of the tests. | ||||
* | | WIP attachment uploading via API | Robin Houston | 2012-06-06 | -4/+20 | |
| | | |||||
* | | Test for attaching a file via the API | Robin Houston | 2012-06-06 | -0/+36 | |
| | | | | | | | | Not yet implemented, so the test fails. | ||||
* | | Correct comment\ | Robin Houston | 2012-06-06 | -1/+1 | |
| | | |||||
* | | Use a fixture for the external request | Robin Houston | 2012-06-06 | -4/+8 | |
| | | |||||
* | | API: Some testing of show_request | Robin Houston | 2012-06-06 | -0/+13 | |
| | | |||||
* | | API: test also for refusal conditions | Robin Houston | 2012-06-06 | -0/+39 | |
| | | | | | | | | | | | | The API must not allow people to update requests that they shouldn’t, i.e. only requests that were created by the same public body, using the API, can be added to using the API. | ||||
* | | API: add followup to request | Robin Houston | 2012-06-06 | -13/+61 | |
| | | | | | | | | You can add a followup to a request using the API. | ||||
* | | API: we can add a response to a request | Robin Houston | 2012-06-06 | -0/+60 | |
| | | |||||
* | | API create_request method is working | Robin Houston | 2012-06-06 | -1/+2 | |
| | | | | | | | | | | | | "when using the API", it "should create a new request from a POST", AND IT DOES! | ||||
* | | Fix test and fixtures so they only fail due to missing business logic ↵ | Seb Bacon | 2012-06-06 | -4/+5 | |
| | | | | | | | | (corrected typo, added missing fixture data, etc) | ||||
* | | Test for creating a new request via the API | Robin Houston | 2012-06-06 | -0/+33 | |
|/ | | | | This is not yet implemented. Test first! | ||||
* | Make the logic that tells you about other countries' Alavetelis prefer the ↵ | Seb Bacon | 2012-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 Bacon | 2012-05-30 | -0/+9 | |
| | | | | HTTP_REFERER for subsequent redirect. | ||||
* | Make it possible to view other people's activities on their own walls. | Seb Bacon | 2012-05-30 | -0/+6 | |
| | |||||
* | Test for the user's wall. | Seb Bacon | 2012-05-30 | -0/+20 | |
| | |||||
* | Fix tests that broke as result of new flag to control if email alerts should ↵ | Seb Bacon | 2012-05-30 | -0/+2 | |
| | | | | be sent | ||||
* | Allow messages to be redelivered to more than one request. Closes #442 | Seb Bacon | 2012-05-29 | -0/+21 | |
| | |||||
* | Support easy hiding of requests for admins. Currently not exposed in core ↵ | Seb Bacon | 2012-05-25 | -0/+22 | |
| | | | | admin interface (requires adminbootstraptheme). | ||||
* | Test for reporting functionality | Seb Bacon | 2012-05-24 | -0/+41 | |
| | |||||
* | Fix test breakage introduced in 8d78cb8844549dc901cd901371be6ec604fb7f68 | Seb Bacon | 2012-05-15 | -17/+11 | |
| | |||||
* | Improve administrative user account support: | Seb Bacon | 2012-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 Bacon | 2012-05-11 | -2/+10 | |
| | | | | after they've "followed" search results. Fixes #487 | ||||
* | Fix typo (introduced in commit cc023c67) that broke a test | Seb Bacon | 2012-05-11 | -1/+1 | |
| | |||||
* | Always show tracking links even for things that currently have no results | Seb Bacon | 2012-05-11 | -0/+5 | |
| | |||||
* | Don't cache results from pages with different locales using the same key. ↵ | Seb Bacon | 2012-05-04 | -1/+9 | |
| | | | | Fixes #454 | ||||
* | Don't ever create more than one entry for each URL that we want Varnish to ↵ | Seb Bacon | 2012-05-04 | -0/+10 | |
| | | | | purge. | ||||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-05-03 | -1/+76 | |
|\ | |||||
| * | Modify InfoRequest stubs so they work with tests that iterate over the ↵ | Seb Bacon | 2012-05-02 | -0/+4 | |
| | | | | | | | | collection (e.g. `@user.info_requests.each`) | ||||
| * | More changes and refactoring to make purges work. | Seb Bacon | 2012-04-20 | -14/+9 | |
| | | |||||
| * | Merge branch 'develop' into purge-requests | Seb Bacon | 2012-04-19 | -25/+12 | |
| |\ | | | | | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | ||||
| * | | first stab at sending PURGE requests to upstream varnish for request pages. ↵ | Seb Bacon | 2012-03-13 | -1/+76 | |
| | | | | | | | | | | | | Next step: making it asynchronous, e.g. with a queue of things to purge via a cron job. | ||||
| * | | Set a "Content-Disposition: attachment" header when downloading files. ↵ | Seb Bacon | 2012-03-13 | -1/+9 | |
| | | | | | | | | | | | | Closes #428 | ||||
| * | | Make /similar/request/NONESUCH a 404 not 500 error | Robin Houston | 2012-03-13 | -0/+24 | |
| | | | | | | | | | | | | Fixes #421. | ||||
* | | | Filter public body tracks by event type | Robin Houston | 2012-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. | ||||
* | | Merge pull request #464 from jpmckinney/small-fixes | Robin Houston | 2012-04-03 | -1/+1 | |
|\ \ | | | | | | | Small fixes | ||||
| * | | use Rails.root, not RAILS_ROOT | James McKinney | 2012-04-02 | -1/+1 | |
| | | | |||||
* | | | Remove cache/zips/ before running tests that write to there | Mark Longair | 2012-04-02 | -0/+1 | |
|/ / | |||||
* | | Merge branch 'wdtk' into develop | Robin Houston | 2012-03-20 | -8/+2 | |
|\ \ | |||||
| * | | Fix the "log in as" function | Robin Houston | 2012-03-20 | -8/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 links | Robin Houston | 2012-03-13 | -1/+1 | |
| |/ | | | | | | | Fixes #446. See issue for details. | ||||
* | | Fix broken test | Robin Houston | 2012-03-13 | -5/+5 | |
| | | |||||
* | | Correct bad nesting | Robin Houston | 2012-03-13 | -3/+2 | |
| | | |||||
* | | Admin users clicking confirmation links | Robin Houston | 2012-03-13 | -1/+1 | |
| | | | | | | | | Fixes #446. See issue for details. | ||||
* | | Merge jpmckinney/bundler | Seb Bacon | 2012-02-15 | -8/+0 | |
| | | |||||
* | | Set a "Content-Disposition: attachment" header when downloading files. ↵ | Seb Bacon | 2012-02-15 | -1/+9 | |
| | | | | | | | | Closes #428 | ||||
* | | Make /similar/request/NONESUCH a 404 not 500 error | Robin Houston | 2012-02-10 | -0/+24 | |
|/ | | | | Fixes #421. |