aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | | Use wheezy packages now that FMS's server has been upgradedIan Chard2014-02-26-1/+1
| | | |
* | | | Make sure bodies returned in consistent order.Matthew Somerville2014-02-25-3/+6
|/ / /
* | | Make alert_type.t test more robust.Matthew Somerville2014-02-24-4/+8
| | | | | | | | | | | | | | | | | | Put alerts in default cobrand, so changes to other cobrand email templates don't affect the test; and clean up at the end of the test so that it can be rerun without issue.
* | | Add links to user survey to emails, front page and confirmation pagesStruan Donald2014-02-18-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | Use the cross sell function to put an 'advert' for the survey on the various confirmation pages Create new alert email templates for fixmystreet co-brand so we can include the survey link on those alone All as one commit for ease of reverting when the survey is done.
* | | Update graph creation to spot other fixed states.Matthew Somerville2014-02-06-4/+4
| | |
* | | Fix FAQ sidebar link clickability.Matthew Somerville2014-02-04-0/+6
| | | | | | | | | | | | | | | Restoring the z-index:1 removed in 7c9e4b1a only on pages like the FAQ, so as to maintain the fix of that commit where needed.
* | | Correct subtest variable name, fix uninitialized value warning.Matthew Somerville2014-01-30-3/+3
| | |
* | | Send staging reports to reporter, not contact address.Matthew Somerville2014-01-30-1/+1
| | | | | | | | | | | | Fixes #653.
* | | Don't update problem state from service request if currently hidden.Matthew Somerville2014-01-30-19/+16
| | |
* | | [Bromley] Reduce update character limit to 1750.Matthew Somerville2014-01-30-4/+6
| | | | | | | | | | | | Following on from f117167 (and fixing comment from that commit).
* | | update footer-mobileapps CSDave Whiteland2014-01-27-58/+14
| | | | | | | | | | | | | | | | | | Remove ul, li styling because we're not using it any more: replaced the li with a paragraph, because I believe it's simpler. Paragraph mimics existing footer styles (which use li p).
* | | update FAQ textDave Whiteland2014-01-27-32/+27
| | |
* | | allow wide container in fixmindelo admin styleDave Whiteland2014-01-17-2/+8
| | |
* | | Default lastname of '-' if none found.Matthew Somerville2014-01-14-0/+1
| | |
* | | [Bromley] Reduce detail field character limit to 1750Chris Mytton2014-01-14-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | "The length of 2000 characters is causing some issues in the underline back office application." Updated to include a comment making it (hopefully) clearer which council this is for - thanks @davewhiteland!
* | | Merge branch 'issues/commercial/464-zurich-email-templates-for-evaluation'Hakim Cassimally2014-01-13-0/+4
|\ \ \
| * | | [Zurich] email templates point to surveysHakim Cassimally2014-01-13-0/+4
|/ / / | | | | | | | | | | | | | | | Fixes https://github.com/mysociety/FixMyStreet-Commercial/issues/464 Also requires mysociety-servers.git@45e3a5d3 for the /umfrage redirect.
* | | Fix test breakageHakim Cassimally2013-12-23-6/+23
| | | | | | | | | | | | for Zurich tests, count how many reports already exist as a baseline.
* | | [Zurich] don't hardcode division ID in cleanup()Hakim Cassimally2013-12-23-8/+9
| | |
* | | Merge branch 'issues/commercial/462-zurich-overdue-row-colour'Hakim Cassimally2013-12-20-4/+41
|\ \ \
| * | | [Zurich] admin template to respect closed_overdueHakim Cassimally2013-12-20-4/+41
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This value is now cached, but the template calls the function, calculating it anew, so for old reports (closed within SLA) the problem_row.html template showed these as overdue. Instead, we point the template at a function which first checks the cached value. (Attempting to roll this functionality into the .overdue() method itself caused a fair amount of collateral test breakage, and it seems safest to extract the caching function for now.) Closes https://github.com/mysociety/FixMyStreet-Commercial/issues/462
* | | .gitignore for conf/crontabHakim Cassimally2013-12-17-0/+2
| | | | | | | | | | | | | | | | | | This is required after changes in 59eb44959e9cb8ccd21e9be813e4d1c8baaa1dcc for mySociety internal deployment toolchain.
* | | Merge branch 'issues/commercial/461-zurich-export-hidden-stats'Hakim Cassimally2013-12-17-12/+20
|\ \ \
| * | | [Zurich] stats export include 'hidden'Hakim Cassimally2013-12-17-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/mysociety/FixMyStreet-Commercial/issues/461 Again, we just need to substitute the %params line (which elides hidden reports) for the less restrictive %date_params. This commit includes very basic tests for the previously untested ?export=1 functionality.
* | | | Merge branch 'issues/commercial/460-trailing-slashes-on-base-url'Hakim Cassimally2013-12-17-5/+21
|\ \ \ \ | |/ / / |/| | |
| * | | Test for admin_base_url in RS::ProblemHakim Cassimally2013-12-17-1/+17
| | | | | | | | | | | | | | | | | | | | Test that the slash is added in correct place (the base URL should not have its own trailing slash).
| * | | Rationalise trailing slashes from admin_base_urlHakim Cassimally2013-12-11-5/+5
|/ / / | | | | | | | | | | | | | | | Remove from admin_base_url (which wraps config vars like {ADMIN_,}BASE_URL) and add to places in code which aren't expecting it.
* | | Update path with new crontab location.Matthew Somerville2013-12-11-1/+1
| | |
* | | Merge branch 'crontab-move'Hakim Cassimally2013-12-10-0/+0
|\ \ \
| * | | Rename crontab-exampleHakim Cassimally2013-12-10-0/+0
| | | | | | | | | | | | | | | | (for mysoc internal processing of .ugly file)
* | | | Merge branch 'crontab-move'Hakim Cassimally2013-12-10-83/+0
|\| | |
| * | | Remove crontab.uglyHakim Cassimally2013-12-10-83/+0
| | | | | | | | | | | | | | | | | | | | This is a mySociety internal deployment detail, and should be handled elsewhere.
* | | | Merge branch 'zurich-problem-status-stats'Hakim Cassimally2013-12-10-57/+136
|\ \ \ \ | |/ / / |/| | |
| * | | [Zurich] testing - create superuser earlierHakim Cassimally2013-12-10-2/+7
| | | | | | | | | | | | | | | | So that tests pass on clean dataset such as travis...
| * | | [Zurich] also allow hidden reports for closed_overdueHakim Cassimally2013-12-10-3/+3
| | | |
| * | | [Zurich] fix moderated statistics to include hiddenHakim Cassimally2013-12-10-54/+128
| | | | | | | | | | | | | | | | | | | | | | | | As per comments after testing mysociety/FixMyStreet-Commercial#459, the business logic of the actual state changes is fine, but the stats do also then need to include hidden records.
* | | | Merge branch 'zurich-problem-status-stats'Hakim Cassimally2013-12-09-29/+174
|\| | |
| * | | [Zurich] log admin changesHakim Cassimally2013-12-09-6/+23
| | | | | | | | | | | | | | | | | | | | To allow us to infer additional stats changes requirements such as in mysociety/FixMyStreet-Commercial#459 better in future.
| * | | remove action check on admin_logHakim Cassimally2013-12-09-4/+15
| | | | | | | | | | | | | | | | to allow a wider range of action logging.
| * | | [Zurich] move mech test into override_config stanzaHakim Cassimally2013-12-09-2/+2
| | | | | | | | | | | | | | | | | | | | This was causing previous test failures when config != Zurich, due to expected logic not getting triggered.
| * | | [Zurich] test factor out cleanup() routineHakim Cassimally2013-12-09-4/+9
| | | |
| * | | [Zurich] test /admin/statsHakim Cassimally2013-12-09-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | First test that this page is only available to superuser. Then test that the moderated and fixed stats are doing something that is (hopefully) the spec in mysociety/FixMyStreet-Commercial#459
| * | | [Zurich] log details for closed_overdueHakim Cassimally2013-12-09-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | see mysociety/FixMyStreet-Commercial#459 the new requirement is for "Innerhalb von fübeitstagen abgeschlossen" - a report is dealt with (abgeschlossen) as soon as the public state is Beantwortet (db: fixed - council or closed) or Unsichtbar (en: Invisible, db: hidden). Have added this as {closed_overdue} but have retained the logic for {subdiv_overdue} logged in the %extra hash for now, in case it is needed. Note: as per Matthew "as with confirmed/in progress this should be 6 - it's five days from moderation so is most simply just done as being six since creation"
| * | | [Zurich] quash undef warning on date-checkHakim Cassimally2013-12-09-1/+1
| | | |
| * | | [Zurich] test moderated_overdueHakim Cassimally2013-12-09-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | - is set to 0 on state change within time-limit - is set to 1 on state change after time-limit - only marks overdue on first time
| * | | [Zurich] report is moderated on first status changeHakim Cassimally2013-12-09-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mysociety/FixMyStreet-Commercial#459 - we move "confirmed" to being a moderated-but-not-complete state, and run the check for ->overdue also on changing status from 'unconfirmed' (but only the first time, so only if $extra->{moderated_overdue} isn't already set.
| * | | Suppress 'once' warningHakim Cassimally2013-12-09-2/+5
| | | |
| * | | [Zurich] moderation cron only checks 'unconfirmed'Hakim Cassimally2013-12-09-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | see mysociety/FixMyStreet-Commercial#459 - "a report is moderated as soon as its state has changed for the first time from Erfasst (en: Submitted / db: unconfirmed) to any other state." Thus we move 'confirmed' problems from the 1-day moderation SLA, to a 5-day one, with $include_parent unset (e.g. as with 'planned' it is with the DM, so doesn't need to be sent to the parent body also.)
* | | Actually include the image, doh.Matthew Somerville2013-11-20-0/+0
| | |
* | | Add OpenGraph meta elements (for #613).Matthew Somerville2013-11-20-0/+10
| | |