| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
Remove all existing hard-coded register_category calls, and have
a new way of implementing staff_ignore.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a small bug where the 'default_to_body' permission would
override the 'report anonymously' button when staff users were adding
reports to the site. The result of this was that the name of the
anonymous user record would be shown. No harm done, as that user's name
would likely be set to "Anonymous user" in config, but it resulted in
reports pages showing the slightly odd wording along the lines of:
Reported in the Bin bags category by Anonymous user at 14:57 today
This commit ensures the contributing_as_body flag is mutually exclusive
with the 'report_anonymously' request parameter.
|
|
|
|
|
| |
If an extra field on a category has a protected flag then do not
overwrite or remove it when populating categories.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a message is sent via the contact form, with a stated email address
matching a user in the database, the resulting email will now include
quick links to:
- Admin page for editing the user
- Admin page for viewing the user’s reports
And if the user has made at least one report, also:
- Admin page for the user’s most recent report
This should speed up admin email triage considerably.
|
| |
|
|
|
|
| |
Also tidies up the categories_restriction query for Northamptonshire.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
correctly
|
| |
|
| |
|
|
|
|
|
| |
Make it more like the staff-creation, with no
confirmation email, and no messing with the user.
|
| |
|
|
|
|
|
|
|
| |
If you come to /report/new with a part-filled report (say you've gone
via an OAuth flow), then the stash needs to get the category from the
report, not a query parameter, and report_meta needs initializing, as
that is what the template uses to fill in existing attribute answers.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This should make it easier to add browser tests as you won't have to
get the click precisely on the right pixel in order to have it match
the correct area.
|
|/ |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The group metadata of a contact can now be a comma separated list of
groups under which to display the category
For #2475
|
|
|
|
|
| |
Rather than have a method in the Cobrand module use the COBRAND_FEATURES
section of the config file.
|
| |
|
|
|
|
|
| |
This was previously done automatically,
but isn’t when you do file uploads.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This functionality allows a cobrand to replace the /contact form
with a form that creates hidden reports which are sent via Open311.
The form also allows file uploads in addition to photos.
This functionality is currently enabled for the Hounslow cobrand and
others cobrands can enable it by defining setup_general_enquiries_stash
which primarily sets up the appropriate categories and default values
for the report.
|
|
|
|
| |
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).
|