| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
As discussed at https://github.com/mysociety/fixmystreet/pull/2460 the
cpanfile no longer needs to list File::Slurp as a dependency.
|
| |
|
|
|
|
|
| |
Upgrade a couple of modules, deal with '.' not present in @INC,
captures returning undef rather than '', and a test.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
And create default cobrand class without all of Moose.
|
|
|
|
| |
Required by Zurich for mysociety/FixMyStreet-Commercial#675
|
| |
|
|
|
|
|
| |
I thought this was already pulled in by e.g. Email::Valid, but on
precise it does not appear to be.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
As that's what it does; and use it in Travis.
|