aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeLines
* Fix failing test added in ad141d7Henare Degan2012-10-04-1/+1
|
* Change the behaviour of admin_url to always return a full URLHenare Degan2012-10-04-2/+2
|
* Correct default value for ADMIN_BASE_URLHenare Degan2012-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_urlHenare Degan2012-10-04-0/+25
|
* Refactor testsHenare Degan2012-10-04-18/+16
|
* Add failing test for when ADMIN_BASE_URL is setHenare Degan2012-10-04-0/+17
|
* Requires admin attention emails should include a full URL to the admin page ↵Henare Degan2012-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 Crow2012-10-01-14/+10
|\ | | | | | | | | | | | | into develop Conflicts: config/general.yml-example
| * Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-14/+10
| |
* | Make wording slightly more consistent by replacing 'public bodies' with ↵Matthew Landauer2012-09-29-6/+6
| | | | | | | | 'public authorities'
* | Stub new method introduced by 7a9593aRobin Houston2012-09-28-0/+1
| |
* | Merge remote-tracking branch 'openaustralia/redirect_email_for_testing' into ↵Robin Houston2012-09-28-0/+8
|\ \ | | | | | | | | | develop
| * | Extract methodMatthew Landauer2012-09-27-1/+1
| | |
| * | Add option to override all public body request emailsMatthew Landauer2012-09-27-0/+8
| | |
* | | Add spec fixtures for theme views, missing from ↵Louise Crow2012-09-27-0/+6
|/ / | | | | | | 6b6e943ab17b53ef4b20e303a079e4f4f6a0c300.
* | Remove debug line.Louise Crow2012-09-26-1/+0
| |
* | Make template finding for themes work with multipart mails. Fixes #628.Louise Crow2012-09-25-2/+155
| |
* | Test for the presence of the explanatory text as well when checking the ↵Louise Crow2012-09-25-1/+4
|/ | | | response to an email to a fully closed request.
* Merge remote-tracking branch 'openaustralia_github/calendar_days' into developLouise Crow2012-09-24-33/+70
|\
| * Rename methodMatthew Landauer2012-09-24-4/+4
| |
| * Handle times passed to Holiday.due_date_from_calendar_daysMatthew Landauer2012-09-24-0/+4
| |
| * Add due date calculation based on calendar days rather than working daysMatthew Landauer2012-09-24-30/+63
| |
* | Updating spec for 550f143.Louise Crow2012-09-20-35/+36
| |
* | Add an option to disable comments on a requestRobin Houston2012-09-19-1/+37
| | | | | | | | Closes #30.
* | Ensure non-nil publication_scheme in fixtures so that example data worksMatthew Landauer2012-09-18-0/+3
|/
* Paginate the timeline to allow it to render in a reasonable amount of time. ↵Louise Crow2012-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 Crow2012-09-13-0/+8
| | | | be used in conjunction with pagination.
* Add appropriate counter caches for public body fixtures.Louise Crow2012-09-12-5/+9
|
* Memoize the notes_without_html calculated value for the life of the model ↵Louise Crow2012-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 Crow2012-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 Crow2012-09-11-20/+72
|\ | | | | | | into develop
| * Add a since_date parameter to the API feedRobin Houston2012-09-10-0/+15
| |
| * Update other testsRobin Houston2012-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 developRobin Houston2012-09-04-0/+4
| |\
| * | API errors should be JSONRobin Houston2012-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 Crow2012-09-11-1/+1
| | |
* | | Ignore spacing differences when checking generated SQL, use caps for SQL ↵Louise Crow2012-09-11-9/+24
| | | | | | | | | | | | reserved words.
* | | Record a status update by someone other than the request owner as a request ↵Louise Crow2012-09-11-2/+12
| | | | | | | | | | | | classification.
* | | Add some more efficient methods for getting old unclassified request counts, ↵Louise Crow2012-09-11-11/+40
| |/ |/| | | | | and random sets of small numbers of old unclassified requests.
* | Quote name correctly in query. Fixes #598.Louise Crow2012-09-04-0/+4
|/
* Merge branch 'feature/repo-move' into developLouise Crow2012-08-30-46/+46
|\
| * Update references to point to the mySociety repo.Louise Crow2012-08-29-46/+46
| |
* | Give external request request event unique timestamp to fix spec failure ↵Louise Crow2012-08-29-1/+1
| | | | | | | | caused by two requests with identical last event timestamps.
* | Update spec for previous commit.Louise Crow2012-08-29-2/+2
| |
* | Fix for the case where an external request has no user_nameLouise Crow2012-08-29-11/+21
| |
* | Fix basic admin interface in case where external request without username is ↵Louise Crow2012-08-29-0/+5
| | | | | | | | being displayed.
* | Add fixture for an external request without a username.Louise Crow2012-08-29-12/+44
|/
* Add headings and by_heading accessors to PublicBodyCategories to allow ↵Louise Crow2012-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 Crow2012-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 Crow2012-08-23-259/+331
| | | | | | (they can still be changed from the admin interface). Final part of fix for #562.