Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Allow attachment of emails in email_send | Hakim Cassimally | 2015-10-06 | -9/+120 | |
| | | | | Required by Zurich for mysociety/FixMyStreet-Commercial#675 | ||||
* | Add support for multiple photos per report. | Hakim Cassimally | 2015-10-06 | -8/+160 | |
| | | | | | | | | For Zurich, see mysociety/FixMyStreet-Commercial#664. This commit includes a new PhotoSet class (NB: called Model:: though not really a model), should handle binary data (e.g. old style photos in database), fileids (40-char hash), and Catalyst::Upload objects. | ||||
* | Exclude deleted categories from the all reports page filters | Steven Day | 2015-10-01 | -0/+23 | |
| | |||||
* | Merge remote-tracking branch 'origin/blank-questionnaire-text' | Matthew Somerville | 2015-09-28 | -0/+10 | |
|\ | |||||
| * | Process update left as part of questionnaire. | Matthew Somerville | 2015-09-28 | -0/+10 | |
| | | | | | | | | | | | | | | Treat an update left during a questionnaire the same as one left on a report page, ie. pass it through cleanup_text. This will also make sure updates left that are wholly whitespace are errored, or replaced with the default text. | ||||
* | | Send altered confirmation email if not being sent. | Matthew Somerville | 2015-09-28 | -1/+10 | |
|/ | | | | Fixes #1210. | ||||
* | Merge branch '557-email-confirmation-pages' | Matthew Somerville | 2015-09-17 | -8/+8 | |
|\ | |||||
| * | Conciser text on the email confirmation pages. | Zarino Zappia | 2015-09-17 | -8/+8 | |
| | | | | | | | | | | It’s best if Zurich keeps the old text, so now they have their own overrides for those template files. | ||||
* | | Show report details more clearly on questionnaire page | Zarino Zappia | 2015-09-17 | -1/+1 | |
|/ | | | | Fixes #1104. | ||||
* | Mock MapIt postcode call to fix broken tests. | Matthew Somerville | 2015-09-15 | -16/+23 | |
| | | | | SW1A 1AA has moved, who'd have thought. | ||||
* | Use base URL in cobrand alert for no-body report. | Matthew Somerville | 2015-09-03 | -2/+5 | |
| | | | | | | If a cobrand has a body restriction, then a report without any body won't be shown on it, so we need to make sure links to the report (in email alerts and RSS) are to the base URL, not the cobrand. | ||||
* | Move "missing" handling to separate column. | Matthew Somerville | 2015-08-19 | -1/+3 | |
| | |||||
* | Remove ms_current_timestamp() override function. | Matthew Somerville | 2015-08-13 | -81/+25 | |
| | | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning. | ||||
* | Merge branch 'issues/#805-name-check-cobrand' | Matthew Somerville | 2015-07-31 | -24/+0 | |
|\ | |||||
| * | Move Latin-char-specific name check to cobrand. | Matthew Somerville | 2015-07-31 | -24/+0 | |
| | | | | | | | | | | Also move some UK-specific code in the same function. The specific code is still tested in report_new.t. | ||||
* | | Mark users who have moderate permission. | Matthew Somerville | 2015-07-30 | -1/+1 | |
| | | |||||
* | | Add mark as sent button to admin. | Matthew Somerville | 2015-07-30 | -1/+1 | |
|/ | |||||
* | [fixmystreet.com] Unresponsive bodies page/warning | Matthew Somerville | 2015-07-28 | -2/+100 | |
| | | | | | | | | | Add a special category email address used to show an unresponsive message and page when trying to report in that category. Add a "Refused" send method for setting a whole body to be unresponsive and show the message immediately, not on category selection. Factor out category template, and put at top where needed. | ||||
* | Alter token logging in and timeout behaviour. | Matthew Somerville | 2015-07-10 | -4/+6 | |
| | | | | | | | Restrict email_sign_in token to one day, unused confirmation tokens to one month. Used tokens will redirect to the created thing but not log in; don't log in with alert links (unsubscribe link never expires, reply link will still show "reopen" tickbox). | ||||
* | Rename map filtering GET param, remove unnecessary query | Steven Day | 2015-06-29 | -2/+2 | |
| | |||||
* | Add some tests for the category & status filtering on /ajax | Steven Day | 2015-06-29 | -0/+39 | |
| | |||||
* | Add hidden_states and updating functions. | Hakim Cassimally | 2015-06-16 | -0/+17 | |
| | | | | To allow visible/hidden states to be manipulated at runtime. | ||||
* | Use mocked Nominatim to deal with bad connections. | Matthew Somerville | 2015-05-13 | -2/+8 | |
| | |||||
* | Add Extra role to ease use of {extra} field. | Hakim Cassimally | 2015-03-20 | -3/+151 | |
| | | | | | | | | | Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018. | ||||
* | [fixmystreet.com] Remove special NI code. | Matthew Somerville | 2015-03-16 | -7/+12 | |
| | | | | | This is now handled by normal bodies in the admin. In order to remove references in send_reports, tidy up (unused) EmptyHomes code a bit. | ||||
* | [fixmystreet.com] Remove special Report-It code. | Matthew Somerville | 2015-03-13 | -1/+16 | |
| | |||||
* | Factor out test contact creation to function. | Matthew Somerville | 2015-03-13 | -98/+51 | |
| | |||||
* | Tweak wording of area local alert email. | Matthew Somerville | 2015-02-25 | -1/+1 | |
| | | | | Fixes #1011. | ||||
* | [UK] Output NI grid references to NI councils. | Matthew Somerville | 2015-02-20 | -2/+10 | |
| | |||||
* | Always show confirmation page for reports/updates. | Matthew Somerville | 2015-02-19 | -29/+25 | |
| | | | | | Rather than redirecting to the report if they're already logged in. Fixes #1003. | ||||
* | Simplifed "confirmation-header" for success pages. | Zarino Zappia | 2015-02-19 | -13/+13 | |
| | |||||
* | Add tests for admin message, cobrand email alert. | Matthew Somerville | 2015-01-20 | -2/+2 | |
| | |||||
* | Rename 'body_edit' admin endpoint to 'body'. | Matthew Somerville | 2015-01-20 | -6/+6 | |
| | |||||
* | Remove need for cron-wrapper with existing scripts | Matthew Somerville | 2015-01-19 | -1/+1 | |
| | | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it. | ||||
* | Use same handling for cron and non-cron email. | Matthew Somerville | 2015-01-13 | -3/+3 | |
| | | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988. | ||||
* | Version 1.5.2.v1.5.2 | Matthew Somerville | 2014-12-17 | -0/+12 | |
| | | | | | | | Includes: * [UK] Don't show topic form field when reporting abuse. * Use token in moderation response URL to prevent hidden report leak. * Make sure successful submission page is full width. | ||||
* | By default, use area-based alerts. | Matthew Somerville | 2014-12-12 | -146/+156 | |
| | | | | | | | | | The body-based alert only works if the body ID matches the MapIt ID. This fixes #959. Further work needs to be done to enable proper body-based alerts that work properly in all circumstances. Consequently, factor out fixed body IDs from many tests. Also fix a couple of tests not overriding geocoder correctly. | ||||
* | Don't generate unused special templates/po files. | Matthew Somerville | 2014-11-19 | -2/+2 | |
| | |||||
* | Show logged in message as success, not error. | Matthew Somerville | 2014-11-18 | -8/+7 | |
| | | | | | | Fixes #357. Also consolidate almost-identical fill_in_details.html template (for #344). | ||||
* | Prevent overhang of admin body categories table. | Matthew Somerville | 2014-10-08 | -7/+7 | |
| | | | | Group things together more simply. Fixes #738. | ||||
* | Validate category name/email/note in admin. | Matthew Somerville | 2014-10-08 | -0/+1 | |
| | | | | This prevents the creation of a category with a blank name. Fixes #556. | ||||
* | Couple of tests missing MapIt override. | Matthew Somerville | 2014-10-08 | -2/+10 | |
| | | | | Looks like Travis doesn't like connections back to itself. | ||||
* | Update test for changes in 6eff7846. | Matthew Somerville | 2014-09-11 | -2/+2 | |
| | |||||
* | Tests for moderation | Hakim Cassimally | 2014-08-14 | -0/+391 | |
| | |||||
* | Removal old Southampton/Reading/Lichfield cobrands. | Matthew Somerville | 2014-07-29 | -51/+51 | |
| | |||||
* | Some tweaks for Travis timeout errors. | Matthew Somerville | 2014-07-29 | -7/+12 | |
| | | | | | | Hopefully this will reduce the chance of a timeout: * Wrap admin body tests in MapIt override. * Use full hostname to save a redirect each time. | ||||
* | Switch test to use different working cobrand. | Matthew Somerville | 2014-07-14 | -8/+9 | |
| | |||||
* | Update GA code to use ecommerce ping. | Matthew Somerville | 2014-07-08 | -3/+7 | |
| | |||||
* | Merge branch 'mysociety/798-show-reports-subset' | Matthew Somerville | 2014-07-04 | -0/+118 | |
|\ | |||||
| * | Link through from all reports page to sub categories | Struan Donald | 2014-07-01 | -0/+118 | |
| | | | | | | | | | | | | | | | | Add a type parameter to the /reports/body page to restrict list by problem category. Only link to report categories that have entries. Fixes #798 |