| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
| |
Not all cobrands have a council_name method.
|
|
|
|
|
|
|
| |
For some cobrands the display name of the council is not the same as the
body name so add a display_names map to the reporting data returned over
ajax.
Use that in the staff automatic generation of basic report details.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
|\ \ |
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|
|
|
| |
It was not being caught by rerun_dbic_loader.pl otherwise.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
Prevent people from using very long titles.
Fixes mysociety/fixmystreet-commercial#1344
|
|\ |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On some UK council cobrands, some reports listed might not have been sent
to that council, so links to those must go to the national site. However,
using absolute URLs for all these reports means that sometimes you change
domain when you don't need to (eg. if you’re on osm.fixmystreet.com or an
aliased version of the site), which can cause confusion. State when we’re
happy to use a relative link (ie. web-facing report links, not emails, or
share links) and do that when we can.
|
|/ |
|
|\ |
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
Unused right now, but will be soon, for the duplicate suggestion UI.
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
The “Get updates” flow on a report page, if logged in, was showing
an input label but no input field (because one is not needed), but
then on submission asking for your email address. Add missing name
on submit button to fix this.
|
|
|
|
|
|
| |
Update database to store an array of IDs rather than only one;
consequential changes to the admin and the dashboard to allow
selection.
|
|
|
|
|
|
|
| |
Similarly to 1f69e28c, we were previously only checking the first
matching entry, which led to confusing behaviour in places. Include
consequential amendments for e.g. one body being unresponsive, the
other not.
|
| |
|
|
|
|
|
|
| |
Remove the server-side zoom-in-url fix, instead use an ArgParser
subclass to default to the provided data if nothing in URL. Then
we can switch to using short lat/lon in geocoder URLs.
|
| |
|
|
|
|
|
| |
If someone tries to moderate after someone else has, re-show the
form and an error.
|
|\ |
|
| |
| |
| |
| |
| | |
If a state is passed in (on a cobrand), update problem state and add a
comment to record this (as state changes are updates not moderations).
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
| |
Add in validation to check names, email and phone numbers don't exceed
maximum lengths permitted by HIAMS.
Fixes mysociety/fixmystreet-commercial#1244
|