| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
v2.8 of the FB API is due to turn off in April 2019, let's upgrade well
in advance.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Upgrade Test::PostgreSQL, which fixes a bug delaying the end
of test running, and introduces a nicer setup mechanism.
|
| |
|
|\ |
|
| | |
|
|\ \ |
|
| |/ |
|
|/
|
|
|
| |
This brings in my new format_for_country function which allows
for nicer display of phone numbers to people.
|
|
|
|
|
| |
This prevents FixMyStreet cookies from being sent from third-party
<img>s and the like, in supporting browsers.
|
|
|
|
|
|
|
| |
This should fix #1886, which was caused by the update of Module::Build
as part of f97088d6 removing Module::Build::ModuleInfo which was still
being required by Module::ScanDeps. This was passing on Travis because
Module::ScanDeps was already installed.
|
|
|
|
| |
These will be used to help with phone-based authentication.
|
| |
|
|
|
|
|
| |
Use a small subclass of (our) P::M::D::Template to
have better display of our template path names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If debug is enabled, using the CATALYST_DEBUG/FIXMYSTREET_APP_DEBUG
environment variables, add a debug toolbar to the output, including
request/response details and a database query log.
This uses Plack middleware, so works by switching our dev server to
use Starman with plack directly, rather than via the script runner.
We remove the GZip compression as this interferes, and take a local
copy of the QueryLog::AdoptPlack trait as it needs a tweak to work.
Make sure the CSP header is not output in debug mode, as that would
prevent the toolbar JavaScript from running.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Both uses can be covered by existing modules.
This means we can drop FCGI also.
|
|
|
|
| |
This means we can drop Crypt::SSLeay and a few others.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Class::Std, Class::Std::Fast and TermReadyKey were installed for use
by SOAP::WSDL, which was removed in 4d077406. Return::Value was used
by Email::Send, removed in b26da0da.
The remainder are core modules that now have a minimal version which
is higher than what we require.
Other things that look to be removed but shouldn't:
* CGI and Module::Pluggable need to be packaged as these are removed
from core in 5.22 and 5.20 respectively;
* MooseX::NonMoose is still needed for system Mac perl installation;
* Cpanel::JSON::XS/ Devel::GlobalDestruction::XS might be installed;
* CPAN::Meta::YAML, I'm not sure about but it seems to think that it
already has a higher version installed than it does.
|
|
|
|
|
|
| |
Given a MapIt area ID, the script will create a body and categories,
users with different levels of permissions, and some random problems
and updates. It can optionally empty out the database first.
|
|
|
|
|
|
|
|
|
|
| |
0.09 was communicating with v2.2 of the Facebook API which was switched off
on 25th March 2017, so Facebook logins were no longer working.
Mock::Facebook was updated to correctly return JSON from /oauth/access_token,
to match the behaviour expected since v2.3 of the FB API.
Fixes #1681
|
|
|
|
|
|
|
|
|
|
| |
Email::Send is long deprecated and uses submodules that no longer work
correctly (e.g. Net::SMTP::TLS breaks with recent IO::Socket::SSL). We
create an Email::Sender subclass to perform the same functionality and
this also simplifies the email code with simpler envelope handling.
Bundle Email::Sender::Transport::SMTP to include fix from
https://github.com/rjbs/Email-Sender/issues/46
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Move to using libsass via CSS::Sass, and stop using compass, supplying
any used mixins directly. This removes the need for any ruby/gem based
installation, and greatly increases the speed of compilation. make_css
is also enhanced, bringing in the file monitoring previously done by a
separate script and improving its dependency monitoring.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following modules had bugs that have been fixed for working in
recent perls:
* List::MoreUtils
* Guard
* PadWalker
* aliased
* URI
* Convert::NLS_DATE_FORMAT
The CGI module was removed from core in 5.20, so include it in the
snapshot (I don't think it's actually used, but is a dependency).
"{" needs to be escaped in regular expressions, and ~~ should not be
used.
Fix some tests that expect e.g. a certain hash ordering, to use sorted
output or better comparisons.
|
|
|
|
|
| |
Version 1.01 of Net::SMTP::SSL does not work with perl 5.22 (with
Net::SMTP > 2.34). https://rt.cpan.org/Public/Bug/Display.html?id=99454
|
|
|
|
|
|
| |
Travis has Cpanel::JSON::XS preinstalled, which means that the build
would fail there, as JSON::MaybeXS would try and upgrade JSON::XS to
version 3 which the snapshot did not contain.
|
| |
|
|
|
|
|
| |
Template::Plugin::Number::Format works internationally, whilst
Template::Plugin::Comma does not.
|
|
|
|
|
| |
It looks like some packages only brought in as part of testing are now
spotted and no longer included.
|
| |
|
|
|
|
| |
And create default cobrand class without all of Moose.
|
|
|
|
|
|
|
|
|
| |
Module::Pluggable is marked as deprecated in Perl 5.18, to be removed
from core in a later version. cpanminus, which is called from carton,
ignores core modules that have been deprecated - running a deployment
install under 5.18 therefore caused a warning to be shown saying that
it could not find Module::Pluggable as no version was included in the
snapshot.
|
|
|
|
| |
Required by Zurich for mysociety/FixMyStreet-Commercial#675
|
|
|
|
|
| |
This fixes a potential Unicode issue with the setting of encoded
columns.
|
|
|
|
|
|
|
| |
This works around a couple of issues installing using either MacPorts or
Homebrew, making sure the version of ExtUtils::MakeMaker in the snapshot
is installed early in the process, and that MooseX::NonMoose is present
in the snapshot.
|
| |
|
|
|
|
| |
Fixes #786.
|
|
|
|
|
|
|
| |
This puts back any missing snapshot modules removed in
1708bc30af7176f95f0ec5718289d3a633daf32b, as they are required for
installation on squeeze, which misses or does not have the required
version of these.
|
|
|
|
|
| |
Uses LWP::Protocol::PSGI to avoid having to spawn external processes
in order to test these end to end.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Subsystems include
* ::Spark encoding conventions for xml/json
* ::Schema using Rx to validate form of inputs and outputs,
including validation for, e.g., dates and CSV as part of Open311
Handles following paths:
* Open311 attributes for Service Definition
http://wiki.open311.org/GeoReport_v2#GET_Service_Definition
* POST service request
* GET Service Requests
* GET Service Request
Objects:
* ::Service
* ::Service::Request
|
|
|
|
|
|
| |
Fixes #406. Include Perl modules necessary for Email::Send::SMTP to
handle TLS/SSL, and upgrade Dir::Self due to
https://rt.cpan.org/Public/Bug/Display.html?id=88393
|
|
|
|
|
|
|
| |
Fixes #365 (how appropriate) by mocking datetime to allow the
dashboard test's assumptions (that we're not so near beginning
of year that a report from X days ago isn't still in same year)
to hold.
|