Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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. | |||
* | Make from_body a foreign key. | Matthew Somerville | 2012-12-15 | -1/+4 |
| | ||||
* | Update admin code and tests to work with bodies. | Matthew Somerville | 2012-12-15 | -40/+43 |
| | ||||
* | Rename council column to bodies_str, and all the related code. | Matthew Somerville | 2012-12-15 | -5/+5 |
| | ||||
* | Rename area_id on Contacts table to body_id. | Matthew Somerville | 2012-12-15 | -2/+2 |
| | | | | Add foreign key constraint from contacts to body. | |||
* | Rename from_council to from_body, and small related changes. | Matthew Somerville | 2012-12-15 | -2/+2 |
| | ||||
* | Rename 'open311conf' database table to 'body'. | Matthew Somerville | 2012-12-15 | -3/+3 |
| | ||||
* | Consolidate user searching to one admin page. | Matthew Somerville | 2012-11-26 | -3/+2 |
| | ||||
* | add non public status editing of contacts to admin | Struan Donald | 2012-09-05 | -3/+26 |
| | ||||
* | add non_public status for report editing to admin | Struan Donald | 2012-09-05 | -146/+172 |
| | ||||
* | Fix tests with new ALLOWED_COBRANDS structure, fix admin test to skip Barnet ↵ | Matthew Somerville | 2012-05-01 | -20/+25 |
| | | | | tests if not present. | |||
* | bring tests up to date | Struan Donald | 2012-04-27 | -0/+4 |
| | ||||
* | make sure admin summary page handle new cobrand structure correctly | Struan Donald | 2012-02-02 | -0/+2 |
| | ||||
* | Fix bug in admin interface deleting a mark-fixed comment. | Matthew Somerville | 2012-01-11 | -1/+1 |
| | ||||
* | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵ | Struan Donald | 2011-09-08 | -0/+40 |
|\ | | | | | | | | | | | | | | | into open311-consumer Conflicts: web/css/core.css web/js/fixmystreet.js | |||
| * | display link to site for all visible states plus fix a few other hardcoded | Struan Donald | 2011-09-05 | -0/+6 |
| | | | | | | | | states. fixes #154 |