aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
...
* [Open311] Always mark fetched reports non_public for non_public contactsDave Arter2019-06-04-0/+38
| | | | | | This change ensures that a report fetched via Open311 for a non_public category will always be marked as non_public even if its Open311 XML doesn’t explicitly include the non_public tag.
* Don’t include non_public reports when searching by ref from front pageDave Arter2019-06-04-0/+10
|
* Mark Open311 contacts non_public according to service keywordsDave Arter2019-06-04-0/+101
| | | | | | | | | This allows the Open311 endpoint to include ‘private’ in the ‘keywords’ field of a service definition in order for it to be marked as non_public on FMS. NB existing categories may be updated to become non_public, but non_public categories will never have their non_public flag unset by PopulateServiceList. This is so any existing Open311 categories on FMS don’t suddenly become public.
* [Buckinghamshire] Include Car parking category.Matthew Somerville2019-05-30-0/+2
|
* Add role to users from admin user list page.Matthew Somerville2019-05-28-0/+8
|
* User import allowing roles.Matthew Somerville2019-05-28-0/+34
|
* Add role search to users page.Matthew Somerville2019-05-28-3/+21
|
* Include role permissions when fetching user permissions.Matthew Somerville2019-05-28-1/+8
|
* Add way to pick role for a user.Matthew Somerville2019-05-28-0/+29
|
* Add Role adding/editing/deleting admin.Matthew Somerville2019-05-28-0/+96
|
* Show field entries if error on add user formMatthew Somerville2019-05-28-0/+1
|
* Merge branch 'bexley'Matthew Somerville2019-05-28-59/+130
|\
| * [Bexley] Close updates if Open311 marks report closed/fixed.Matthew Somerville2019-05-28-59/+41
| |
| * [Bexley] Send email for burnt vehicles/dog foulingMatthew Somerville2019-05-28-0/+6
| |
| * [Bexley] Fallback server-side road lookup.Matthew Somerville2019-05-28-1/+27
| |
| * [Bexley] Initial cobrand.Matthew Somerville2019-05-28-0/+57
| |
* | Switch all Norwegian tests to Swedish.Dave Arter2019-05-28-39/+33
|/ | | | | | | | | | On Macs, the Norwegian locale is no_NO, whereas on Debian it is nb_NO: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=206474 This can cause issues running the Norwegian tests on Macs with certain setups (e.g. on my machine a Homebrew installation of perl and gettext fails, but MacPorts and system pass). As Swedish is sv_SE in both, the easiest solution is to switch the tests to Swedish.
* [UK] Move suggest_duplicates to configuration.Matthew Somerville2019-05-28-1/+5
|
* Add feature cobrand helper function.Matthew Somerville2019-05-28-0/+16
|
* [Northamptonshire] cobrand specific front end testsStruan Donald2019-05-28-0/+1
|
* [Northamptonshire] cobrand specific testsStruan Donald2019-05-28-1/+42
|
* [UK] Update 2019 local government handling.Matthew Somerville2019-05-23-2/+1
|
* [Buckinghamshire] use buckinghamshire map tilesStruan Donald2019-05-16-1/+1
| | | | | Add a WMTS config to use Buckinghamshire's own map tiles to display house numbers.
* Merge in upgraded Catalyst branch.Matthew Somerville2019-05-14-35/+53
|\
| * [Travis] Split coverage tests, fix coverage ignoreMatthew Somerville2019-05-13-2/+11
| |
| * Update a number of packages.Matthew Somerville2019-05-13-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * Fix some test warnings.Matthew Somerville2019-05-13-1/+5
| |
* | Merge branch 'template-same-name-spot'Matthew Somerville2019-05-09-0/+24
|\ \
| * | Prevent creation of two templates with same title.Matthew Somerville2019-05-07-0/+24
| |/
* | Improve non_public photo handling.Matthew Somerville2019-05-07-1/+70
| | | | | | | | | | | | | | 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.
* | Prevent previous commit issue ever happening again.Matthew Somerville2019-05-07-6/+14
|/
* Rename DB::ReportExtraFields to ReportExtraField.Matthew Somerville2019-05-02-4/+6
| | | | It was not being caught by rerun_dbic_loader.pl otherwise.
* Refactor datetime inflation.Matthew Somerville2019-05-02-220/+32
|
* Fix some incorrect timezone code.Matthew Somerville2019-05-02-8/+9
| | | | | | | | | Times in the database should be stored in the application server's local timezone, by e.g. using `current_timestamp`, or by setting that timezone explicitly before storage (the database columns are all without timezone so any timezone info is silently ignored). Reports & updates fetched via Open311 and offline updates were being put into the TIME_ZONE setting if present, meaning they were stored incorrectly for future usage.
* Stop warning in contact test.Matthew Somerville2019-05-02-0/+2
|
* [Open311] Ensures non_public/hidden reports aren’t visible at /open311Dave Arter2019-04-23-1/+40
|
* [Open311] handle bad FixMyStreet id in updatesStruan Donald2019-04-09-0/+35
| | | | | If an update has a fixmystreet id in it check that it looks like an integer and if not issue a warning and skip the update.
* [Northamptonshire] restrict title to 120 charactersStruan Donald2019-04-09-1/+28
| | | | | | Prevent people from using very long titles. Fixes mysociety/fixmystreet-commercial#1344
* Merge branch '2435-admin-anonymous-report'Matthew Somerville2019-04-05-6/+11
|\
| * Fix superusers creating anonymous reports.Matthew Somerville2019-04-05-6/+11
| |
* | [UK] Deal with 2019 local government changes.Matthew Somerville2019-04-04-4/+29
|/
* [UK] Council reference in .com confirm sent email.Matthew Somerville2019-03-27-9/+12
|
* [UK] Fix two-tier message in confirm sent email.Matthew Somerville2019-03-27-3/+4
|
* [Buckinghamshire] Send drainage reports via email as well as Open311Dave Arter2019-03-20-1/+16
| | | | Fixes mysociety/fixmystreet-commercial#1306
* Merge branch 'open311-hook-update-params'Matthew Somerville2019-03-12-29/+45
|\
| * [Open311] Use cobrand hook for extra update paramsMatthew Somerville2019-03-08-30/+45
| | | | | | | | | | The test has to now create a new comment object each time as `get_cobrand_logged` is cached on the object.
* | [open311] optionally use fixmystreet_id to match update to problemStruan Donald2019-03-12-0/+54
| | | | | | | | | | | | | | | | | | | | | | If an update has a fixmystreet_id field then use the contents of that in preference to the external_id field to match an update to a problem. This handles the case where a report in a third party system passes through different types (eg inspection and defect), resulting in the external id changing. In this case it is sometimes possible to include the fixmystreet id in each type and hence use that to match things up at the fixmystreet side.
* | Check better if extra question has values.Matthew Somerville2019-03-12-1/+2
| | | | | | | | | | If an Open311 server returned an empty set of values, it was possible for this template to then display a set of empty dropdown options.
* | [Open311] Proper bodies check for sending updates.Matthew Somerville2019-03-12-2/+2
| | | | | | | | | | Otherwise running on a site where one body ID is a substring of another, comments can get processed for the wrong body.
* | [UK Councils] Make sure server_set as appropriate.Matthew Somerville2019-03-12-1/+221
|/ | | | | After the change in 1cff2a0e, we need to make sure this is set so that the relevant fields are not shown in the front end.