Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Allow comma-separated contact emails in the admin | Dave Arter | 2017-04-10 | -2/+13 |
| | | | | | | | The report-sending code has allowed multiple emails for a long time, but the admin wouldn't allow you to enter multiple emails for each contact. Fixes mysociety/FixMyStreet-Commercial#835 | |||
* | Make sure all MapIt tests can run offline. | Matthew Somerville | 2017-03-23 | -2/+1 |
| | ||||
* | Always include MapIt mock handler in all tests. | Matthew Somerville | 2017-03-23 | -3/+0 |
| | ||||
* | Add permision to view contributor details | pezholio | 2017-01-17 | -0/+1 |
| | ||||
* | Error if logged-in user visits admin without permission. | Matthew Somerville | 2016-10-26 | -12/+6 |
| | | | | | This is less confusing than redirecting to /auth and then to /my (as they're logged in). Fixes #1566. | |||
* | Resend report if changing category changes body. | Dave Arter | 2016-10-26 | -10/+44 |
| | ||||
* | Add ‘description’ field to ResponsePriority model | Dave Arter | 2016-10-19 | -0/+2 |
| | | | | Used internally to provide more details about when a priority is applicable. | |||
* | Add ‘trusted’ flag allowing users to make reports directly | Dave Arter | 2016-09-20 | -0/+1 |
| | | | | | When a trusted user makes a report in a category that requires inspection, it'll be sent immediately (i.e. without being inspected first). | |||
* | Add new category_edit restriction for viewing body admin. | Matthew Somerville | 2016-09-09 | -120/+27 |
| | ||||
* | Refactor problem response priority into its own model | Dave Arter | 2016-09-09 | -0/+73 |
| | | | | | | | This moves the response priority values from a cobrand-specific method to a full DB model, and includes management screens in the admin for administering them. For mysociety/fixmystreetforcouncils#66 | |||
* | Extend response templates to work across all cobrands | Dave Arter | 2016-09-08 | -4/+40 |
| | | | | | | | | | | | This builds on the response templates in the Zürich cobrand: - Allow response templates to be assigned to categories - Also adds a auto_response flag, which will be used to automatically create updates when reports are made. - Include response templates select box on update form For mysociety/fixmystreetforcouncils#31 | |||
* | Allow user to have an area assigned in admin | Dave Arter | 2016-08-22 | -239/+253 |
| | ||||
* | Allow user permissions to be granted/revoked in admin | Dave Arter | 2016-08-17 | -45/+122 |
| | ||||
* | Restrict user editing in admin | Dave Arter | 2016-08-17 | -0/+24 |
| | | | | | | | | The 'user_edit' permission is required to edit users. The admin pages on UK council cobrands only allow editing of users whose from_body is the same as the logged-in user, or who have sent reports or updates to the council. | |||
* | Require 'report_edit' permission for editing reports in admin | Dave Arter | 2016-08-17 | -0/+47 |
| | ||||
* | Use improved TestMech::create_user_ok instead of User::find_or_create | Dave Arter | 2016-07-19 | -26/+10 |
| | | | | | This improves create_user_ok to work more like create_body_ok where extra params can be passed in and set on the model. | |||
* | [UK Councils] Council users can only see their own council's admin | Dave Arter | 2016-07-19 | -9/+43 |
| | ||||
* | Use normal user authentication to control access to /admin | Matthew Somerville | 2016-07-19 | -0/+80 |
| | | | | | | | | | - Adds is_superuser flag to User - Logged-in user must be a superuser or have from_body set in order to access anything within /admin - has_permission_to on a superuser will always return true - Only superusers can create/grant superusers - New `createsuperuser` command for creating superusers | |||
* | Allow editing of category on admin report edit. | Matthew Somerville | 2016-07-15 | -1/+2 |
| | | | | This also updates the body column to match the category. | |||
* | Make sure map JS works through an admin proxy. | Matthew Somerville | 2016-07-04 | -1/+1 |
| | | | | | Tidy up use of absolute URLs when in the admin. Have the 404 handler spot static files in admin as a fallback. | |||
* | Add external field editing to admin report edit. | Matthew Somerville | 2016-06-29 | -20/+12 |
| | | | | Show bodies for which details are missing, and any send method used. | |||
* | Allow admin to edit user's phone number. | Matthew Somerville | 2016-06-22 | -0/+5 |
| | ||||
* | Update tests for cobrand/template changes. | Matthew Somerville | 2016-04-20 | -5/+5 |
| | ||||
* | Default new category creation to confirmed. | Matthew Somerville | 2016-03-29 | -0/+1 |
| | | | | Fixes #1266. | |||
* | Exclude update alerts from summary alert counts. | Matthew Somerville | 2016-02-09 | -2/+2 |
| | | | | | | There might be the odd update alert we are interested in (those not auto-signed up for as part of report or update creation), but they will be rare. | |||
* | Handle multiple photo rotation/removal in admin. | Matthew Somerville | 2016-01-08 | -1/+2 |
| | ||||
* | Secret always created as part of test run setup. | Matthew Somerville | 2015-12-15 | -8/+0 |
| | ||||
* | Move main bin scripts to separate packages. | Matthew Somerville | 2015-12-02 | -3/+1 |
| | | | | Maintain old location wrappers. | |||
* | Remove ms_current_timestamp() override function. | Matthew Somerville | 2015-08-13 | -1/+1 |
| | | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning. | |||
* | 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 |
| | ||||
* | 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 |
| | ||||
* | By default, use area-based alerts. | Matthew Somerville | 2014-12-12 | -29/+31 |
| | | | | | | | | | 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. | |||
* | 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. | |||
* | Some tweaks for Travis timeout errors. | Matthew Somerville | 2014-07-29 | -4/+9 |
| | | | | | | 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. | |||
* | Test for admin_base_url in RS::Problem | Hakim Cassimally | 2013-12-17 | -0/+11 |
| | | | | | Test that the slash is added in correct place (the base URL should not have its own trailing slash). | |||
* | Add more admin external link icons. | Matthew Somerville | 2013-11-07 | -6/+6 |
| | | | | Use a relative URL in the CSS in case it's proxied. | |||
* | Merge branch '389-report-search-ref' of ↵ | Matthew Somerville | 2013-11-04 | -0/+7 |
|\ | | | | | | | https://github.com/andylolz/fixmystreet into andylolz-389-report-search-ref | |||
| * | One more external id-related test | Andy Lulham | 2013-10-26 | -0/+3 |
| | | ||||
| * | Add a test for the external_id admin report search | Andy Lulham | 2013-10-26 | -0/+4 |
| | | ||||
* | | Set confirmed timestamp on any admin unconfirmed state change. | Matthew Somerville | 2013-10-25 | -1/+10 |
| | | | | | | | | This fixes #527. | |||
* | | Fix test suite to run regardless of config setup. | Matthew Somerville | 2013-10-24 | -10/+17 |
|/ | ||||
* | Only append cobrand_data to URI if present. | Matthew Somerville | 2013-06-05 | -4/+4 |
| | ||||
* | Update test to match change in HTML. | Matthew Somerville | 2013-02-21 | -1/+1 |
| | ||||
* | Improve test to not be so fragile around newlines. | Matthew Somerville | 2013-01-18 | -1/+1 |
| | ||||
* | Correct text now body name given on page. | Matthew Somerville | 2012-12-20 | -1/+1 |
| | ||||
* | Area IDs come in as an arrayref, and body may not have an area ID. | Matthew Somerville | 2012-12-19 | -10/+2 |
| | ||||
* | Allow bodies to span multiple area IDs, and areas can be covered by more ↵ | Matthew Somerville | 2012-12-19 | -2/+2 |
| | | | | than one body. |