aboutsummaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeLines
* Probably controversial but I think a full stop after a question mark looks ↵Henare Degan2012-09-27-1/+1
| | | | clumsy, don't you?.
* Allow translation of 'Upload FOI response'Louise Crow2012-09-26-1/+1
|
* Allow the descriptive strings for track types to be translated.Louise Crow2012-09-26-9/+9
|
* Add a couple of email subject lines to the translations.Louise Crow2012-09-26-2/+872
|
* Merge remote-tracking branch ↵Louise Crow2012-09-26-15/+5
|\ | | | | | | 'openaustralia_github/internationalise_contact_page' into develop
| * Internationalise the contact form by removing campaigning links and UK ↵Matthew Landauer2012-09-26-15/+5
| | | | | | | | references to data protection
* | Use new info_requests_count counter cache column on public body when ↵Louise Crow2012-09-26-6/+5
| | | | | | | | generating front page.
* | Make template finding for themes work with multipart mails. Fixes #628.Louise Crow2012-09-25-1/+122
|/
* Remove references to 20 from the comments, now that the code accepts a ↵Louise Crow2012-09-24-4/+4
| | | | working_days param.
* Merge remote-tracking branch 'openaustralia_github/calendar_days' into developLouise Crow2012-09-24-14/+46
|\
| * Make the way number of days are calculated (either by calendar or working ↵Matthew Landauer2012-09-24-4/+18
| | | | | | | | days) configurable
| * Fix: configuration for very late number of days wasn't being usedMatthew Landauer2012-09-24-2/+2
| |
| * Make HolidayController#due_date use configuration REPLY_LATE_AFTER_DAYSMatthew Landauer2012-09-24-1/+2
| |
| * Added a bit more of a comment to explain how the calendar days workMatthew Landauer2012-09-24-0/+2
| |
| * Rename methodMatthew Landauer2012-09-24-6/+7
| |
| * Handle times passed to Holiday.due_date_from_calendar_daysMatthew Landauer2012-09-24-0/+3
| |
| * Add due date calculation based on calendar days rather than working daysMatthew Landauer2012-09-24-0/+9
| |
| * Make things a little more conciseMatthew Landauer2012-09-24-4/+3
| |
| * Extract method for checking whether a date is a weekend or a holidayMatthew Landauer2012-09-24-5/+8
| |
* | Fix typo in translation function call.Louise Crow2012-09-21-4/+4
| |
* | Mark up "Unsubscribe" text for translation.Louise Crow2012-09-21-5/+5
| |
* | Add an option to disable comments on a requestRobin Houston2012-09-19-37/+56
|/ | | | Closes #30.
* Merge branch 'develop' of ssh://git.mysociety.org/data/git/public/alaveteli ↵Louise Crow2012-09-13-1/+1
|\ | | | | | | into develop
| * Merge branch 'develop' of git.mysociety.org:/data/git/public/alaveteli into ↵Robin Houston2012-09-13-68/+105
| |\ | | | | | | | | | develop
| * | Fix Atom version of api_body_request_eventsRobin Houston2012-09-13-1/+1
| | | | | | | | | | | | | | | Remove duplicate <created> element, and add an <updated> element to each entry.
* | | Paginate the timeline to allow it to render in a reasonable amount of time. ↵Louise Crow2012-09-13-20/+63
| |/ |/| | | | | 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.
* | Paginate the list of old unclassified requests.Louise Crow2012-09-13-2/+14
| |
* | Allow InfoRequest.find_old_unclassified to accept an offset param so it can ↵Louise Crow2012-09-13-2/+3
| | | | | | | | be used in conjunction with pagination.
* | Reformat for readability.Louise Crow2012-09-13-1/+3
| |
* | Add a counter cache for the number of info_requests associated with public ↵Louise Crow2012-09-12-2/+2
| | | | | | | | bodies.
* | Memoize the notes_without_html calculated value for the life of the model ↵Louise Crow2012-09-12-1/+2
| | | | | | | | instance - no need to keep applying the regex if called multiple times e.g. in a view.
* | Use faster csv for public body cvs generation, eagerly load tags and ↵Louise Crow2012-09-12-8/+7
| | | | | | | | translations.
* | Move default value setting for publication scheme to before_save callback ↵Louise Crow2012-09-12-2/+4
| | | | | | | | 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-14/+45
|\| | | | | | | into develop
| * Add a since_date parameter to the API feedRobin Houston2012-09-10-11/+35
| |
| * Merge branch 'develop' of github.com:mysociety/alaveteli into developRobin Houston2012-09-04-1/+1
| |\
| * | API errors should be JSONRobin Houston2012-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.
* | | Remove now unused league table method from InfoRequestEvent.Louise Crow2012-09-11-20/+2
| | |
* | | Use new, more efficient methods in request game page.Louise Crow2012-09-11-15/+10
| | |
* | | Record a status update by someone other than the request owner as a request ↵Louise Crow2012-09-11-6/+6
| | | | | | | | | | | | classification.
* | | Add some more efficient methods for getting old unclassified request counts, ↵Louise Crow2012-09-11-9/+36
| | | | | | | | | | | | and random sets of small numbers of old unclassified requests.
* | | Add a new model for request classifications so that we can access them more ↵Louise Crow2012-09-11-0/+16
| |/ |/| | | | | efficiently when creating league tables for the request classification game.
* | Quote name correctly in query. Fixes #598.Louise Crow2012-09-04-1/+1
|/
* Fix for the case where an external request has no user_nameLouise Crow2012-08-29-1/+1
|
* Fix basic admin interface in case where external request without username is ↵Louise Crow2012-08-29-11/+17
| | | | being displayed.
* Now that external request followups can't be made and status can't be ↵Louise Crow2012-08-23-6/+10
| | | | 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-3/+16
| | | | | | (they can still be changed from the admin interface). Final part of fix for #562.
* Don't show 'requester only' actions for an external request.Louise Crow2012-08-23-31/+32
| | | | Part of the fix for #562.
* Don't error on a request to followup an external request.Louise Crow2012-08-23-0/+10
| | | | Partial solution to #562.
* Handle the case where someone wants to add an annotation to a successful ↵Louise Crow2012-08-23-2/+2
| | | | | | external request. Fixes #563.