Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | create_ is deprecated | Henare Degan | 2013-02-25 | -1/+1 |
| | ||||
* | Directly construct tmail object from body and attachments. Ugh. Because ↵ | Matthew Landauer | 2013-01-31 | -2/+22 |
| | | | | actionmailer uses mail under the hood | |||
* | Time doesn't need to be converted from string to time anymore | Matthew Landauer | 2013-01-28 | -7/+1 |
| | ||||
* | The absence of an API key in an API request should be a permission denied ↵ | Louise Crow | 2012-12-03 | -36/+36 |
| | | | | error, so that notification emails don't get sent. | |||
* | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -1/+1 |
| | ||||
* | Add a since_date parameter to the API feed | Robin Houston | 2012-09-10 | -11/+35 |
| | ||||
* | API errors should be JSON | Robin Houston | 2012-09-04 | -3/+10 |
| | | | | | | | | | | The API was returning Rails (HTML) errors for certain error conditions, which is inconvenient because it makes it difficult for the client to extract the error message. This patch changes add_correspondence to return JSON errors (still with suitable HTTP status codes) for two common exceptional conditions, and adds tests. | |||
* | Revert "Revert "Revert "In the API, when parsing posted responses, assume ↵ | Robin Houston | 2012-08-01 | -9/+2 |
| | | | | | | all multipart mail parts that are Tempfiles are attachments""" This reverts commit 49ff1a1c0304cd292d3eae80dc0b91b2f83727b9. | |||
* | Revert "Revert "In the API, when parsing posted responses, assume all ↵ | Seb Bacon | 2012-07-17 | -2/+9 |
| | | | | | | multipart mail parts that are Tempfiles are attachments"" This reverts commit d4a700da1760fc2ba09cf19613a995569e4965ea. | |||
* | Merge branch 'feature/public-body-api-2a' into develop | Robin Houston | 2012-07-16 | -2/+3 |
|\ | ||||
| * | Revert "In the API, when parsing posted responses, assume all multipart mail ↵ | Robin Houston | 2012-07-16 | -9/+2 |
| | | | | | | | | | | | | | | | | | | | | parts that are Tempfiles are attachments" This change makes the tests fail, I think, and doesn’t have (IMHO) a desperately strong rationale, so let’s try it without for now. This reverts commit 4490482cedf362390b25efe453232ac1b7dfce99. | |||
| * | In the API, when parsing posted responses, assume all multipart mail parts ↵ | Seb Bacon | 2012-07-11 | -2/+9 |
| | | | | | | | | that are Tempfiles are attachments | |||
| * | Calls to API that are expected to return JSON are always expected to return ↵ | Seb Bacon | 2012-07-09 | -2/+3 |
| | | | | | | | | something, even when there are no errors. | |||
* | | Include request_id as well as event_id in the JSON | Robin Houston | 2012-07-05 | -0/+1 |
|/ | ||||
* | JSON new events feed | Robin Houston | 2012-07-04 | -21/+48 |
| | ||||
* | Atom feed of request events | Robin Houston | 2012-07-04 | -5/+15 |
| | | | | | | | | | | We need not only new requests, but new outgoing correspondence of any sort. The idea is that this feed will contain any event that would have triggered an email to be sent to the public body, so can be used as an alternative, equivalent way to stay up-to-date with happenings on WDTK (or the Alaveteli installation of choice). | |||
* | Atom feed approximately working (?) | Robin Houston | 2012-07-04 | -1/+1 |
| | ||||
* | WIP new requests feed | Robin Houston | 2012-07-04 | -0/+14 |
| | ||||
* | API controller tests all pass | Robin Houston | 2012-06-18 | -3/+3 |
| | ||||
* | WIP API | Robin Houston | 2012-06-07 | -28/+8 |
| | ||||
* | WIP attachment uploading via API | Robin Houston | 2012-06-06 | -1/+21 |
| | ||||
* | API: Some testing of show_request | Robin Houston | 2012-06-06 | -0/+1 |
| | ||||
* | API: we can add a response to a request | Robin Houston | 2012-06-06 | -0/+81 |
| | ||||
* | 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. | |||
* | API create_request method is working | Robin Houston | 2012-06-06 | -18/+40 |
| | | | | | | "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 |
| | ||||
* | Reorder methods | Robin Houston | 2012-06-06 | -4/+4 |
| | ||||
* | Authenticated API | Robin Houston | 2012-06-06 | -0/+46 |
An authenticated API for public bodies. So far just one method is implemented, which gives the details of a request in JSON format. |