Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Make handle-mail-replies tests pass again | Robin Houston | 2012-06-07 | -3/+3 |
| | ||||
* | 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. | |||
* | Add missing </p> | Robin Houston | 2012-06-07 | -1/+1 |
| | ||||
* | Renumber clashing migration | Robin Houston | 2012-06-07 | -0/+0 |
| | ||||
* | Remove duplicate from Gemfile.lock | Robin Houston | 2012-06-07 | -1/+0 |
| | | | | I think this was a bad merge during the recent rebase of this branch (feature/public-body-api) | |||
* | Don’t try to send alerts to external users | Robin Houston | 2012-06-06 | -1/+6 |
| | ||||
* | Non-logged-in users can create requests | Robin Houston | 2012-06-06 | -3/+3 |
| | | | | | Make the info_request validation a bit more forgiving, so that non- logged-in users may create requests. | |||
* | Fix user links for external users | Robin Houston | 2012-06-06 | -4/+11 |
| | ||||
* | Fix indexing of info_request_events | Robin Houston | 2012-06-06 | -1/+14 |
| | | | | | Even external requests need to be indexed, for which we need a slug representing the user. | |||
* | PublicBodyVersion doesn’t have api_key either | Robin Houston | 2012-06-06 | -1/+1 |
| | ||||
* | Handle external users | Robin Houston | 2012-06-06 | -1/+9 |
| | | | | Requests may now have been made by an external user. | |||
* | Initialise API key in the model | Robin Houston | 2012-06-06 | -2/+6 |
| | ||||
* | Use our xapian-full from rubygems | Robin Houston | 2012-06-06 | -7/+1 |
| | | | | As in the develop branch. | |||
* | WIP attachment uploading via API | Robin Houston | 2012-06-06 | -5/+41 |
| | ||||
* | 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/+39 |
| | ||||
* | Fix typo in fixture yaml | Robin Houston | 2012-06-06 | -2/+2 |
| | | | | | I’m sure created_at should not have been there twice. Presumably the second one was supposed to be updated_at. | |||
* | API: Some testing of show_request | Robin Houston | 2012-06-06 | -0/+14 |
| | ||||
* | 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 | -1/+150 |
| | ||||
* | Fail less bafflingly | Robin Houston | 2012-06-06 | -1/+9 |
| | | | | | | Fail in a less baffling way if the raw email is associated with an incoming message or an info request that has not yet been saved to the database. | |||
* | Remove obsolete comment | Robin Houston | 2012-06-06 | -5/+0 |
| | | | | That comment makes precisely no sense whatever, any more. | |||
* | more comments | Robin Houston | 2012-06-06 | -0/+3 |
| | ||||
* | Just include all the error messages | Robin Houston | 2012-06-06 | -5/+1 |
| | | | | I can’t see any way the error could be triggered by the caller, anyway. | |||
* | Improve explanation | Robin Houston | 2012-06-06 | -2/+4 |
| | | | | | I struggled to understand this comment. I hope the new wording is clearer. | |||
* | API create_request method is working | Robin Houston | 2012-06-06 | -21/+44 |
| | | | | | | "when using the API", it "should create a new request from a POST", AND IT DOES! | |||
* | Work in progress on getting new APIController test to pass. They don't, yet! | Seb Bacon | 2012-06-06 | -1/+21 |
| | ||||
* | Fix test and fixtures so they only fail due to missing business logic ↵ | Seb Bacon | 2012-06-06 | -4/+11 |
| | | | | (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! | |||
* | Reorder methods | Robin Houston | 2012-06-06 | -4/+4 |
| | ||||
* | Authenticated API | Robin Houston | 2012-06-06 | -0/+54 |
| | | | | | | An authenticated API for public bodies. So far just one method is implemented, which gives the details of a request in JSON format. | |||
* | Redirect numeric request URLs in JSON mode too | Robin Houston | 2012-06-06 | -1/+1 |
| | | | | | | URLs such as http://localhost:3000/en/request/106.json should be redirected to the corresponding named URL, including the .json on the end. | |||
* | External requests | Robin Houston | 2012-06-06 | -1/+39 |
| | | | | | Add data model support for “external” requests, i.e. requests added via the API rather than made using the site. | |||
* | Correct syntax for making column NOT NULL | Robin Houston | 2012-06-06 | -1/+1 |
| | ||||
* | Generate an API key for each public body | Robin Houston | 2012-06-06 | -1/+20 |
| | ||||
* | Add the annotate gem | Robin Houston | 2012-06-06 | -2/+8 |
| | ||||
* | Remove gem spec from environment | Robin Houston | 2012-06-06 | -2/+0 |
| | | | | This was causing me strange errors, and we think is not needed. | |||
* | Switch to robinhouston/xapian-full temporarily | Robin Houston | 2012-06-06 | -1/+7 |
| | | | | | It just has a small fix for Mac compatibility. This can be reverted when Seb has merged the fix back to his fork. | |||
* | Merge branch 'wdtk' into develop | Robin Houston | 2012-06-05 | -9/+13 |
|\ | ||||
| * | Multi-theme support for custom routes | Robin Houston | 2012-06-05 | -2/+8 |
| | | | | | | | | | | A simple mechanism for allowing multiple themes to register custom routes. | |||
| * | Let everyone know, not just us | Robin Houston | 2012-06-05 | -1/+1 |
| | | ||||
| * | Silly syntax bug | Robin Houston | 2012-06-04 | -2/+2 |
| | | | | | | | | | | | | Backslashes are interpreted twice inside backticks, once by Ruby and a second time by the shell, so you need twice as many as you think you do. | |||
| * | Fix admin debug method | Robin Houston | 2012-06-04 | -6/+4 |
| | | | | | | | | | | | | | | | | | | | | | | > 10) admin debug (https://secure.mysociety.org/admin/foi/debug) - "you > are" - sentence that isn't finished > > 11) admin debug (https://secure.mysociety.org/admin/foi/debug) - > versioning incorrect & URLs to github malformed: > Alaveteli version: 0.5.2-297-g4ec7f6e > Alaveteli branch: (no > Alaveteli commit: 4ec7f6edbf2c00abc8464eafc889047f43533f90 | |||
* | | Remove WDTK-specific config variables | Robin Houston | 2012-06-04 | -5/+0 |
|/ | ||||
* | Log an event when a request is hidden | Robin Houston | 2012-06-04 | -1/+12 |
| | ||||
* | trailing whitespace | Robin Houston | 2012-06-03 | -1/+1 |
| | ||||
* | Copy the admin team on messages sent to users | Robin Houston | 2012-06-03 | -0/+1 |
| | | | | | When a user is notified of a request having been hidden, BCC the site admin team. |