aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB
Commit message (Collapse)AuthorAgeLines
* [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
| |
* | Factor to common FixMyStreet::MapIt call.Matthew Somerville2019-04-04-6/+6
|/
* Make sure MapIt generation always used if given.Matthew Somerville2019-04-01-3/+5
|
* Show all Open311 extra fields in edit admin.Matthew Somerville2019-03-07-3/+0
| | | | Otherwise any such fields are lost upon a manual edit.
* Make sure raw RABX column is utf8-encoded.Matthew Somerville2019-03-06-4/+8
| | | | | | | | | | | | Without doing this, a call to e.g. $contact->set_extra_fields(@meta) in PopulateServiceList.pm, with an unchanged meta that contains some Unicode values, can write to the database (and cause an unneeded row in the history table), because the column from the database is UTF-8 decoded, whilst the new text is UTF-8 encoded. It looks like an attempt was made in filter_from_storage to fix this issue, but the column comparison for marking a column as dirty takes place without this being called.
* Refactor nearby() to use named parameters not listMatthew Somerville2019-02-25-12/+12
|
* Filters out hidden reports from top 5 list.Joe Siltberg2019-02-25-0/+1
|
* [FixaMinGata] Adds a cobrand hook (threshold for responsiveness top 5 list)Joe Siltberg2019-02-25-6/+10
| | | | Fixes #1957
* Allow user to be associated with multiple areas.Matthew Somerville2019-02-14-12/+27
| | | | | | Update database to store an array of IDs rather than only one; consequential changes to the admin and the dashboard to allow selection.
* Make front page cache time configurable.Matthew Somerville2019-02-04-4/+8
| | | | | Add a configuration variable to use for the front page stats/ recent list, plus the max-age of `/reports`.
* Don’t show creation diffs with old history entries.Matthew Somerville2019-01-17-0/+2
| | | | | Old moderation history entries will have blank category/co-ords, and we don’t want to say they’ve changed on appearance.
* Include moderation history in report updates.Matthew Somerville2019-01-16-0/+7
| | | | | | If the user has moderating permission, or a cobrand allows the viewing of moderation history, show moderation history within the updates on a report page.
* Only show extra items that diff in moderation.Matthew Somerville2019-01-15-1/+1
|
* Check cached reports have photos before showing.Matthew Somerville2019-01-10-1/+1
|
* add private only report filterStruan Donald2019-01-04-4/+13
|
* Show all questionnaire responses lacking updates.Matthew Somerville2018-12-20-0/+7
| | | | | | Since questionnaire responses were recorded on email link click, we should have been showing those that reopened or fixed reports, not just steady-state "Still open" ones.
* [fixmystreet.com] More categories in fixture.Matthew Somerville2018-12-08-2/+18
|
* Associate moderation history with admin log.Matthew Somerville2018-11-27-36/+22
|
* Show moderation history in report/update admin.Matthew Somerville2018-11-26-0/+130
|