Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | add private only report filter | Struan Donald | 2019-01-04 | -4/+50 |
| | ||||
* | add report_mark_private permission | Struan Donald | 2018-11-12 | -0/+41 |
| | | | | | | | | Allows user's to see the inspector panel to mark reports as Private, and also to view those non-public reports. Useful for call centre staff who want to record private reports but don't need to other permissions. Fixes mysociety/fixmystreet-commercial#1213 | |||
* | Have body.url work in hashref lookup. | Matthew Somerville | 2018-10-10 | -2/+13 |
| | | | | | | | body.url could still be in use by old-school /reports table index pages (though they were dropped in 2.1, so a cobrand would have to have overridden it since then) and the update to speed up body lists in #2248 broke it. This puts it back in minimal form. | |||
* | Add a test for duration_string. | Matthew Somerville | 2018-10-10 | -4/+4 |
| | ||||
* | [UK] Fix ward pages containing ampersands. | Matthew Somerville | 2018-10-03 | -7/+8 |
| | | | | | Map ward names on their short names, so any processing applies equally to URL and names returned by MapIt. | |||
* | Add a cobrand hook to table dashboard generation. | Matthew Somerville | 2018-04-23 | -0/+3 |
| | | | | This allows a cobrand to categorise the reports however it wishes. | |||
* | Allow testing override of /reports data. | Matthew Somerville | 2017-10-16 | -6/+13 |
| | ||||
* | Allow ward page to show multiple wards. | Matthew Somerville | 2017-10-06 | -0/+12 |
| | | | | | URLs have to be manually constructed, but specifying multiple ward names separated by "|" will show all those wards and their reports on the map. | |||
* | allow body users to filter on all problem categories | Struan Donald | 2017-08-17 | -0/+79 |
| | | | | | | Not just New/Fixed/Closed but the Investigating etc Fixes #1790 | |||
* | Set up translatable body name. | Matthew Somerville | 2017-08-09 | -0/+19 |
| | ||||
* | Fix update-all-reports when database empty. | Matthew Somerville | 2017-07-18 | -1/+4 |
| | ||||
* | Merge branch 'issues/forcouncils/192-unused-categories' | Matthew Somerville | 2017-07-14 | -1/+1 |
|\ | ||||
| * | Add inactive state to categories. | Matthew Somerville | 2017-07-14 | -1/+1 |
| | | | | | | | | | | A new 'state' column replaces confirmed and deleted, allowing categories to be unconfirmed, confirmed, deleted or inactive. | |||
* | | New version of /reports main page. | Matthew Somerville | 2017-07-14 | -43/+31 |
|/ | | | | | | | | | | | This is a much broader summary page, plus a body name autocomplete. This was originally implemented for fixmystreet.com in 8a6a4ccb7. It also adds '(no longer exists)' in the autocomplete next to bodies not covering any areas. You can supply the `--table` argument to `update-all-reports` to generate the old-style data. | |||
* | Run each test file in a transaction. | Matthew Somerville | 2017-06-20 | -5/+2 |
| | | | | This means that the tests can be run in parallel. | |||
* | Auto-add strict/warnings/Test::More with TestMech. | Matthew Somerville | 2017-05-31 | -3/+0 |
| | ||||
* | Fix test that would not run offline. | Matthew Somerville | 2017-05-25 | -1/+0 |
| | | | | | Switch it to use our mock MapIt. Also remove other unused overrides to external services. | |||
* | Make sure all MapIt tests can run offline. | Matthew Somerville | 2017-03-23 | -7/+7 |
| | ||||
* | Add shortlist filters | pezholio | 2017-02-07 | -1/+50 |
| | ||||
* | Allow multiple selections in report list filter. | Zarino Zappia | 2016-10-13 | -1/+1 |
| | | | | | | This lets people filter by multiple categories or states. It uses our jQuery multi-select plugin to turn the <select multiple>s into little overlay lists of checkboxes. HTML5 history is also supported. | |||
* | Update tests for cobrand/template changes. | Matthew Somerville | 2016-04-20 | -11/+0 |
| | ||||
* | Cope with a '/' in body name in body slug. | Matthew Somerville | 2016-04-20 | -0/+5 |
| | | | | Fixes #574. | |||
* | Exclude deleted categories from the all reports page filters | Steven Day | 2015-10-01 | -0/+23 |
| | ||||
* | 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. | |||
* | By default, use area-based alerts. | Matthew Somerville | 2014-12-12 | -11/+11 |
| | | | | | | | | | 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. | |||
* | 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 | |||
* | Fix test suite to run regardless of config setup. | Matthew Somerville | 2013-10-24 | -21/+35 |
| | ||||
* | Include other open states in all reports table. | Matthew Somerville | 2013-04-19 | -1/+9 |
| | ||||
* | Migrate Reports.pm to use bodies, not areas. | Matthew Somerville | 2012-12-15 | -0/+5 |
| | ||||
* | Rename council column to bodies_str, and all the related code. | Matthew Somerville | 2012-12-15 | -4/+4 |
| | ||||
* | move add and delete problem utility functions to test mech | Struan Donald | 2012-09-03 | -59/+4 |
| | | | | add in non public problem tests for front page | |||
* | do not display non public reports in reports list for a council | Struan Donald | 2012-09-03 | -2/+95 |
| | | | | do include non public reports in council stats | |||
* | Fix tests with new ALLOWED_COBRANDS structure, fix admin test to skip Barnet ↵ | Matthew Somerville | 2012-05-01 | -2/+2 |
| | | | | tests if not present. | |||
* | Generate /reports data on cron. | Matthew Somerville | 2011-06-16 | -0/+3 |
| | ||||
* | Check Norwegian version of /reports. | Matthew Somerville | 2011-05-19 | -8/+8 |
| | ||||
* | Starting tests for /reports, fix for warning. | Matthew Somerville | 2011-05-19 | -0/+34 |