Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix failing test added in ad141d7 | Henare Degan | 2012-10-04 | -1/+1 |
| | ||||
* | Change the behaviour of admin_url to always return a full URL | Henare Degan | 2012-10-04 | -2/+2 |
| | ||||
* | Correct default value for ADMIN_BASE_URL | Henare Degan | 2012-10-04 | -2/+2 |
| | | | | Back in 008e64e7 it was changed so that you could just set a blank value instead of '/admin/', it looks like test.yml was never updated and somehow lib/configuration.rb started off with the old value too. | |||
* | Describe the current behavior of admin_url | Henare Degan | 2012-10-04 | -0/+25 |
| | ||||
* | Refactor tests | Henare Degan | 2012-10-04 | -18/+16 |
| | ||||
* | Add failing test for when ADMIN_BASE_URL is set | Henare Degan | 2012-10-04 | -0/+17 |
| | ||||
* | Requires admin attention emails should include a full URL to the admin page ↵ | Henare Degan | 2012-10-03 | -0/+15 |
| | | | | of the request so you can click it, not just a relative path | |||
* | Merge remote-tracking branch 'openaustralia_github/configuration_refactor' ↵ | Louise Crow | 2012-10-01 | -14/+10 |
|\ | | | | | | | | | | | | | into develop Conflicts: config/general.yml-example | |||
| * | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -14/+10 |
| | | ||||
* | | Make wording slightly more consistent by replacing 'public bodies' with ↵ | Matthew Landauer | 2012-09-29 | -6/+6 |
| | | | | | | | | 'public authorities' | |||
* | | Stub new method introduced by 7a9593a | Robin Houston | 2012-09-28 | -0/+1 |
| | | ||||
* | | Merge remote-tracking branch 'openaustralia/redirect_email_for_testing' into ↵ | Robin Houston | 2012-09-28 | -0/+8 |
|\ \ | | | | | | | | | | develop | |||
| * | | Extract method | Matthew Landauer | 2012-09-27 | -1/+1 |
| | | | ||||
| * | | Add option to override all public body request emails | Matthew Landauer | 2012-09-27 | -0/+8 |
| | | | ||||
* | | | Add spec fixtures for theme views, missing from ↵ | Louise Crow | 2012-09-27 | -0/+6 |
|/ / | | | | | | | 6b6e943ab17b53ef4b20e303a079e4f4f6a0c300. | |||
* | | Remove debug line. | Louise Crow | 2012-09-26 | -1/+0 |
| | | ||||
* | | Make template finding for themes work with multipart mails. Fixes #628. | Louise Crow | 2012-09-25 | -2/+155 |
| | | ||||
* | | Test for the presence of the explanatory text as well when checking the ↵ | Louise Crow | 2012-09-25 | -1/+4 |
|/ | | | | response to an email to a fully closed request. | |||
* | Merge remote-tracking branch 'openaustralia_github/calendar_days' into develop | Louise Crow | 2012-09-24 | -33/+70 |
|\ | ||||
| * | Rename method | Matthew Landauer | 2012-09-24 | -4/+4 |
| | | ||||
| * | Handle times passed to Holiday.due_date_from_calendar_days | Matthew Landauer | 2012-09-24 | -0/+4 |
| | | ||||
| * | Add due date calculation based on calendar days rather than working days | Matthew Landauer | 2012-09-24 | -30/+63 |
| | | ||||
* | | Updating spec for 550f143. | Louise Crow | 2012-09-20 | -35/+36 |
| | | ||||
* | | Add an option to disable comments on a request | Robin Houston | 2012-09-19 | -1/+37 |
| | | | | | | | | Closes #30. | |||
* | | Ensure non-nil publication_scheme in fixtures so that example data works | Matthew Landauer | 2012-09-18 | -0/+3 |
|/ | ||||
* | Paginate the timeline to allow it to render in a reasonable amount of time. ↵ | Louise Crow | 2012-09-13 | -12/+33 |
| | | | | In order to avoid sorting large numbers of objects in order to get the right order of combined events across the two model types, get the overall order first from the database and then populate the slice we're interested in. | |||
* | Allow InfoRequest.find_old_unclassified to accept an offset param so it can ↵ | Louise Crow | 2012-09-13 | -0/+8 |
| | | | | be used in conjunction with pagination. | |||
* | Add appropriate counter caches for public body fixtures. | Louise Crow | 2012-09-12 | -5/+9 |
| | ||||
* | Memoize the notes_without_html calculated value for the life of the model ↵ | Louise Crow | 2012-09-12 | -0/+14 |
| | | | | instance - no need to keep applying the regex if called multiple times e.g. in a view. | |||
* | Move default value setting for publication scheme to before_save callback ↵ | Louise Crow | 2012-09-12 | -5/+9 |
| | | | | rather than after_initialize - after_initialize accessing of the variable value was causing eager loading of public body translations to happen after the first attribute access, resulting in n+1 queries for translations. | |||
* | Merge branch 'develop' of ssh://git.mysociety.org/data/git/public/alaveteli ↵ | Louise Crow | 2012-09-11 | -20/+72 |
|\ | | | | | | | into develop | |||
| * | Add a since_date parameter to the API feed | Robin Houston | 2012-09-10 | -0/+15 |
| | | ||||
| * | Update other tests | Robin Houston | 2012-09-07 | -20/+25 |
| | | | | | | | | Update the other API tests to take account of the changed error behaviour. | |||
| * | Merge branch 'develop' of github.com:mysociety/alaveteli into develop | Robin Houston | 2012-09-04 | -0/+4 |
| |\ | ||||
| * | | API errors should be JSON | Robin Houston | 2012-09-04 | -0/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||
* | | | Bugfix in spec. | Louise Crow | 2012-09-11 | -1/+1 |
| | | | ||||
* | | | Ignore spacing differences when checking generated SQL, use caps for SQL ↵ | Louise Crow | 2012-09-11 | -9/+24 |
| | | | | | | | | | | | | reserved words. | |||
* | | | Record a status update by someone other than the request owner as a request ↵ | Louise Crow | 2012-09-11 | -2/+12 |
| | | | | | | | | | | | | classification. | |||
* | | | Add some more efficient methods for getting old unclassified request counts, ↵ | Louise Crow | 2012-09-11 | -11/+40 |
| |/ |/| | | | | | and random sets of small numbers of old unclassified requests. | |||
* | | Quote name correctly in query. Fixes #598. | Louise Crow | 2012-09-04 | -0/+4 |
|/ | ||||
* | Merge branch 'feature/repo-move' into develop | Louise Crow | 2012-08-30 | -46/+46 |
|\ | ||||
| * | Update references to point to the mySociety repo. | Louise Crow | 2012-08-29 | -46/+46 |
| | | ||||
* | | Give external request request event unique timestamp to fix spec failure ↵ | Louise Crow | 2012-08-29 | -1/+1 |
| | | | | | | | | caused by two requests with identical last event timestamps. | |||
* | | Update spec for previous commit. | Louise Crow | 2012-08-29 | -2/+2 |
| | | ||||
* | | Fix for the case where an external request has no user_name | Louise Crow | 2012-08-29 | -11/+21 |
| | | ||||
* | | Fix basic admin interface in case where external request without username is ↵ | Louise Crow | 2012-08-29 | -0/+5 |
| | | | | | | | | being displayed. | |||
* | | Add fixture for an external request without a username. | Louise Crow | 2012-08-29 | -12/+44 |
|/ | ||||
* | Add headings and by_heading accessors to PublicBodyCategories to allow ↵ | Louise Crow | 2012-08-28 | -0/+42 |
| | | | | easier access to headings and to tags associated with a particular heading. | |||
* | Now that external request followups can't be made and status can't be ↵ | Louise Crow | 2012-08-23 | -12/+104 |
| | | | | updated, don't show links or text that suggests they can. | |||
* | Don't allow status updates on external requests from the front end interface ↵ | Louise Crow | 2012-08-23 | -259/+331 |
| | | | | | | (they can still be changed from the admin interface). Final part of fix for #562. |