aboutsummaryrefslogtreecommitdiffstats
path: root/cpanfile
Commit message (Collapse)AuthorAgeLines
* Add LWP panel to debug toolbar.Matthew Somerville2017-09-12-0/+1
|
* Add template debug panel.Matthew Somerville2017-09-01-0/+1
| | | | | Use a small subclass of (our) P::M::D::Template to have better display of our template path names.
* Add debug toolbar middleware.Matthew Somerville2017-08-29-0/+6
| | | | | | | | | | | | | | 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.
* Reinstate FCGI module for Plack FCGI handler usagev2.1Matthew Somerville2017-07-18-0/+1
|
* Reinstate MIME::Parser for HandleMail usage.Matthew Somerville2017-07-14-0/+1
|
* Upgrade Path::Tiny to fix warning in perl 5.24.Matthew Somerville2017-07-14-1/+1
|
* Stop using mySociety::Web and mySociety::Sundries.Matthew Somerville2017-07-06-1/+0
| | | | | Both uses can be covered by existing modules. This means we can drop FCGI also.
* Upgrade Net::Twitter::Lite and SOAP::Lite.Matthew Somerville2017-07-06-3/+3
| | | | This means we can drop Crypt::SSLeay and a few others.
* Upgrade Net::SSLeay.Matthew Somerville2017-07-04-0/+1
|
* [fixmystreet.com] Improve fixture loading script.Matthew Somerville2017-06-20-0/+1
| | | | | | 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.
* Upgrade Net::Facebook::Oauth2 to 0.10Dave Arter2017-04-03-1/+1
| | | | | | | | | | 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
* Upgrade to using Email::Sender.Matthew Somerville2017-03-28-4/+2
| | | | | | | | | | 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
* Update Net::Domain::TLD to 1.75.Matthew Somerville2016-11-03-1/+1
|
* Update Net::Domain::TLD.Matthew Somerville2016-09-05-1/+1
|
* Remove Open311 endpoint to separate repo.Matthew Somerville2016-08-23-9/+0
|
* Improve CSS compilation.Matthew Somerville2016-05-31-1/+2
| | | | | | | | 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.
* Merge remote-tracking branch 'mysociety/refactor-email'Matthew Somerville2016-03-31-1/+0
|\
| * Refactor email handling to use Email::MIME alone.Matthew Somerville2016-03-30-1/+0
| |
* | [Angus] SOAP interface/send method for Angus CRMDave Arter2016-03-29-1/+1
|/
* Updates to cpanfile and code for perl 5.20/5.22.Matthew Somerville2016-03-23-2/+8
| | | | | | | | | | | | | | | | | | | | 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.
* Upgrade Net::SMTP::SSL.Matthew Somerville2016-03-01-1/+1
| | | | | 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
* Note couple of modules used more widely.Matthew Somerville2016-02-09-5/+3
|
* Switch to JSON::MaybeXS, remove JSON::XS.Matthew Somerville2016-01-22-2/+1
| | | | | | 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.
* Prerequisites (new modules, db, config).Matthew Somerville2016-01-22-0/+3
|
* Switch template plugin for nice numbers.Matthew Somerville2015-12-09-1/+1
| | | | | Template::Plugin::Number::Format works internationally, whilst Template::Plugin::Comma does not.
* Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-0/+1
| | | | And create default cobrand class without all of Moose.
* Allow attachment of emails in email_sendHakim Cassimally2015-10-06-0/+1
| | | | Required by Zurich for mysociety/FixMyStreet-Commercial#675
* [fixmystreet.com] Remove unused Barnet code.Matthew Somerville2015-09-03-4/+1
|
* Add Net::DNS::Resolver to cpanfile.Matthew Somerville2015-08-20-0/+1
| | | | | I thought this was already pulled in by e.g. Email::Valid, but on precise it does not appear to be.
* Include new version in cpanfile so it upgrades.Matthew Somerville2015-07-07-0/+1
|
* Improvements for installing on Macs.Matthew Somerville2015-02-18-0/+53
| | | | | | | 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.
* Install Locale::gettext via cpanfile.Matthew Somerville2015-02-05-0/+1
|
* Rename test-wrapper to run-tests.Matthew Somerville2015-01-19-1/+1
| | | | As that's what it does; and use it in Travis.
* Add a script to always test on a clean db/config.Hakim Cassimally2014-12-12-0/+4
| | | | Fixes #786.
* Remove liberror-perl and libsoap-lite-perl.Matthew Somerville2014-11-05-9/+5
| | | | | | Try and save other people the potential pain of installing SOAP::Lite; only UK FixMyStreet and Zurich geocoder use it, so set it as an optional feature in the cpanfile instead.
* Open311: FMS <-> Open311 Endpoint End to end testsHakim Cassimally2014-10-16-0/+2
| | | | | Uses LWP::Protocol::PSGI to avoid having to spawn external processes in order to test these end to end.
* Open311 EndpointHakim Cassimally2014-10-16-0/+7
| | | | | | | | | | | | | | | | | | | | | 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
* Report moderationHakim Cassimally2014-08-13-0/+3
| | | | | | | | | | | - redaction marked with [...] - of report and comments - stores original data - uses a single form, on the report/_main view - requires additional permissions (user_body_permissions) - Hide report functionality - Moderation notification/contact form - Moderation writes to admin_log
* Add support for SMTP authentication and TLS.Matthew Somerville2014-07-14-0/+3
| | | | | | 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
* SOAP::WSDL can perhaps be removed; add note to this effectDave Arter2014-04-25-0/+1
|
* Mock a date for dashboard testsHakim Cassimally2014-04-07-0/+1
| | | | | | | 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.
* CSS watcherHakim Cassimally2014-03-13-0/+5
| | | | | | | | | | | Run with bin/make_css_watch This watches the .scss files in web/cobrands/* and runs the appropriate sass/compass commands (as per bin/make_css) on just those directories with changed files. As a special case, a change to the partials in web/cobrands/sass will cause a rebuild of all cobrands.
* Export reports as CSV on /dashboardHakim Cassimally2014-03-10-0/+1
| | | | | | | | | | | | | | | Provide a button to download the details and text of reports at the second "Look up" button on /dashboard. Provides acknowledged, fixed, closed dates by parsing updates. Fixes #692 (and mysociety/FixMyStreet-Commercial#399) Email is not shown, and name honours anonymous flag: as /dashboard is accessible to people who are from_body (who still do not see anon-users name and email in the FMS web app.) A basic test is provided as per Zurich's similar report.
* Move SOAP::WSDL requirement into UK cpanfile feature.Matthew Somerville2014-02-26-2/+15
| | | | Note how we'd like to do the same with SOAP::Lite.
* we need local::lib which wasn't previously includedStruan Donald2013-08-16-0/+1
|
* Fixes to module installation.Matthew Somerville2013-07-26-2/+2
| | | | | | | * Upgrade ExtUtils::MakeMaker, and remove old workaround. * DIME::Tools won't install without --force (needed by SOAP::Lite in travis). * Remove SOAP::WSDL from cpanfile, as it won't install and nothing needs it apart from Barnet (UK specific).
* Module needed by included module.Matthew Somerville2013-05-29-0/+1
| | | | | I guess it's mySociety::Web, which should probably stop being used, it's not really needed.
* Move to Digest::SHA, as ::SHA1 is no longer packaged in Debian.Matthew Somerville2013-05-08-1/+1
|
* Get some missing modules in the carton.lock file.Matthew Somerville2013-03-19-0/+1
|
* Move to cpanfile that current carton uses.Matthew Somerville2013-03-15-0/+91