aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB
Commit message (Collapse)AuthorAgeLines
* [Inactive] Add option to fully delete reports.Matthew Somerville2020-01-09-0/+11
|
* [fixmystreet.com] Fix not responsible state display.Matthew Somerville2019-12-11-1/+5
| | | | We need to check the body the report is sent to for special casing.
* [TfL] Do not say council in not responsible.Matthew Somerville2019-12-11-1/+3
|
* [fixmystreet.com] Limit TfL cobrand report displayMatthew Somerville2019-12-09-0/+2
| | | | | | | | | On fixmystreet.com, you cannot view reports made on the TfL cobrand, apart from on reporting seeing pins labelled with the report's category, linking through to the TfL cobrand. Output the pin's base URL if different from normal, so e.g. app can link appropriately.
* [TfL] Store password in separate location.Matthew Somerville2019-12-09-1/+13
|
* [TfL] Updates are sent to the body.Matthew Somerville2019-12-09-0/+2
|
* Add cobrand hook for overriding areas on /reports wardsDave Arter2019-12-09-5/+1
|
* [TfL] Only display TfL as the destination body when making reports.Dave Arter2019-12-09-0/+11
|
* Switch to default-escaped in templates.Matthew Somerville2019-12-09-12/+21
| | | | | | | This means any variable used in a template is automatically HTML-escaped, unless it is marked as safe either in code by using a SafeString, or in the template with the `mark_safe` function or the `safe` filter.
* Recheck cached front page details against databaseMatthew Somerville2019-11-18-4/+7
| | | | | It was only checking the cached details, so not spotting if a report had been hidden in the time since being cached.
* Add user admin log page.Matthew Somerville2019-11-08-0/+75
|
* Merge branch 'password-expiry'Matthew Somerville2019-11-05-0/+8
|\
| * Record time of password change.Matthew Somerville2019-11-04-0/+8
| |
* | Merge branch 'remove-extra-cat-heading'Matthew Somerville2019-10-31-0/+38
|\ \ | |/ |/|
| * Sort reporting categories in display order.Matthew Somerville2019-10-31-0/+38
| |
* | Allow non-superusers to store 2FA secrets.Matthew Somerville2019-10-28-1/+1
| |
* | Remove unused inspection required/reputation code.Matthew Somerville2019-10-28-11/+0
|/
* Allow cobrands to override category display.Matthew Somerville2019-10-25-2/+23
|
* [IsleOfWight] do not mention council in not responsibleStruan Donald2019-10-18-0/+1
| | | | | | Use Island Roads in place of council in not responsible message. Fixes mysociety/fixmystreet-freshdesk#93
* Stop empty Open311 group causing duplicate historyMatthew Somerville2019-10-03-0/+7
| | | | | | | | It arises that <group></group> now passes to the code as a one-element list containing undef, which compared differently to what was stored - the code assumed lists would contain things. A new changelog entry was created each time. Hopefully resolve this once and for all by treating groups more formally and making sure we always have lists to compare.
* Merge branch '2469-improve-admin-category-form'Matthew Somerville2019-09-30-2/+19
|\
| * Add top disable-form field to admin category form.Matthew Somerville2019-09-30-2/+19
| |
* | [IsleOfWight] display Island Roads for moderation userStruan Donald2019-09-27-1/+5
| |
* | [IsleOfWight] display external id as ref noStruan Donald2019-09-27-1/+1
| | | | | | | | Fixes mysociety/fixmystreet-commercial#1522
* | [IsleOfWight] Initial cobrand.Struan Donald2019-09-27-0/+2
|/ | | | | | | | | Co-authored-by: Matthew Somerville <matthew@mysociety.org> Configured to allow: - updates only from original reporter - close updates from fetch reports - use OSM geocoder
* Slightly simplify new report category handling.Matthew Somerville2019-09-05-7/+0
|
* [Oxfordshire] Change update state display name.Matthew Somerville2019-08-23-0/+3
|
* $user->latest_visible_problem() convenience methodZarino Zappia2019-08-23-0/+9
|
* DB changes to support OIDC authDave Arter2019-08-16-16/+36
|
* prevent including email address in report titleStruan Donald2019-08-02-0/+3
| | | | | | | | If autofill on Chrome is turned on and has saved the user's login it can autofill the user's email address in the report title, so add validation to make sure the title does not look like an email. Fixes #2570
* Merge branch '1456-do-not-store-display-only-attributes'Matthew Somerville2019-07-15-0/+10
|\
| * Do not store display-only extra fields on reports.Matthew Somerville2019-07-12-0/+10
| |
* | [Bexley] Include subcategory in dashboard export.Matthew Somerville2019-07-12-0/+9
|/
* Turn on quote_names.Matthew Somerville2019-06-26-20/+5
|
* [Hounslow] Show external ID on /report to staff.Matthew Somerville2019-06-11-1/+1
|
* [Hounslow] Couple more council references (RSS related).Matthew Somerville2019-06-10-0/+16
|
* [Hounslow] Use correct name on /reports & emails.M Somerville2019-06-07-0/+2
|
* Include role permissions when fetching user permissions.Matthew Somerville2019-05-28-4/+15
|
* Add way to pick role for a user.Matthew Somerville2019-05-28-0/+15
|
* Add Role adding/editing/deleting admin.Matthew Somerville2019-05-28-1/+2
|
* Add user roles tablesDave Arter2019-05-28-4/+119
|
* [fixmystreet.com] Fix Unicode in fixtures.Matthew Somerville2019-05-20-0/+1
|
* Merge in upgraded Catalyst branch.Matthew Somerville2019-05-14-9/+11
|\
| * Update a number of packages.Matthew Somerville2019-05-13-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update: * Catalyst * Specify Catalyst::DispatchType::Regex explicitly * Remove Catalyst::Plugin::Unicode::Encoding * Catalyst::Plugin::SmartURI * Specify URI::SmartURI explicitly * Catalyst::Plugin::Static::Simple * CGI * Class::Load * DateTime * DateTime::TimeZone * DBD::Pg * DBIx::Class * DBIx::Class::EncodedColumn. * Email::Address. * Email::MIME * ExtUtils::MakeMaker * ExtUtils::ParseXS (for Params::Classify upgrade) * File::ChangeNotify * Image::Size * IO::Socket::SSL * local::lib * Moo * Moose (and some related others due to deprecations) * namespace::autoclean * Net::Server * Net::SSLeay * Number::Phone * Plack * Starman * Template * Test::PostgreSQL * Test::WWW::Mechanize::Catalyst * Text::CSV * YAML carton install was run on a wheezy box, the oldest that is supported, to make sure the required minimal vesions of core modules weren't removed from the snapshot. Cpanel::JSON::XS, Devel::GlobalDestruction::XS, and MooseX::NonMoose were then put back in the snapshot, in case another system needs them (e.g. system Perl on Mac looks for MooseX::NonMoose).
* | Improve non_public photo handling.Matthew Somerville2019-05-07-1/+1
|/ | | | | | | Clear the photo cache if the non_public flag is switched on, do not cache non_public or LOGIN_REQUIRED photos, remove non_public photos from memcached recent lists, pass through any cookies on non_public reports/updates, and check the non_public flag on photo lookup.
* Rename DB::ReportExtraFields to ReportExtraField.Matthew Somerville2019-05-02-5/+9
| | | | It was not being caught by rerun_dbic_loader.pl otherwise.
* Use EncodedColumn subclass.Matthew Somerville2019-05-02-81/+81
|
* Refactor datetime inflation.Matthew Somerville2019-05-02-185/+247
|
* Merge branch '2435-admin-anonymous-report'Matthew Somerville2019-04-05-0/+5
|\
| * Fix superusers creating anonymous reports.Matthew Somerville2019-04-05-0/+5
| |