Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [Zurich] Allow publishing of individual photos. | Matthew Somerville | 2018-01-18 | -3/+4 |
| | | | | | When more than one photo has been uploaded, allow each one to be published/not independently. | |||
* | In RSS, only escape the necessary five/ctrl chars. | Matthew Somerville | 2017-10-02 | -1/+5 |
| | | | | | | By default encode_entities uses named entities, which don't exist by default in XML. It seemed nicer to switch to only escaping the minimum rather than switching to numeric entities. | |||
* | Stop using mySociety::Web and mySociety::Sundries. | Matthew Somerville | 2017-07-06 | -12/+12 |
| | | | | | Both uses can be covered by existing modules. This means we can drop FCGI also. | |||
* | Tidy up find_closest* functions. | Matthew Somerville | 2017-05-02 | -1/+1 |
| | | | | | Allow find_closest to be called multiple times with only one lookup, and to return just its data, not a compiled string. | |||
* | Include CORS cross-origin header in RSS output. | Matthew Somerville | 2016-09-27 | -0/+1 |
| | ||||
* | Fallback if request to Gaze fails. | Matthew Somerville | 2016-05-18 | -5/+5 |
| | | | | Fixes #1286. | |||
* | Remove some unused cobrands. | Matthew Somerville | 2016-04-20 | -1/+0 |
| | ||||
* | Add PNG image support. | Matthew Somerville | 2016-04-08 | -1/+8 |
| | | | | | | | Store image type along with hash in photo column, and use that when outputting images / generating URLs. Make sure all public photo URL generation goes through appropriate functions, and change temp URLs so the filename can be output directly from the list. | |||
* | Updates to cpanfile and code for perl 5.20/5.22. | Matthew Somerville | 2016-03-23 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | 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. | |||
* | Remove many uses of mySociety::Config. | Matthew Somerville | 2015-12-02 | -1/+1 |
| | ||||
* | Use base URL in cobrand alert for no-body report. | Matthew Somerville | 2015-09-03 | -5/+1 |
| | | | | | | If a cobrand has a body restriction, then a report without any body won't be shown on it, so we need to make sure links to the report (in email alerts and RSS) are to the base URL, not the cobrand. | |||
* | Simplify/consolidate body restriction db code. | Matthew Somerville | 2015-08-19 | -2/+2 |
| | | | | | | | Make dashboard work properly in two-tier councils, showing reports sent to both. Create an index on the array of the bodies_str column to speed up performance, and use that throughout the code replacing all LIKE scans. This also enables a simplifying tidy of the restriction code. | |||
* | Factor out all uses of param()/params. | Matthew Somerville | 2015-07-07 | -1/+1 |
| | | | | | | | Use a central get_param and get_param_list functions dependent on whether we're after a scalar or a list (almost always a scalar). This prevents any possibility of confusion where param() could return a list, or params->{} an arrayref. | |||
* | Category should be escaped in RSS feeds. | Matthew Somerville | 2014-10-24 | -1/+1 |
| | | | | In case it contains an ampersand or somesuch. | |||
* | Consolidate photo display checking to one function. | Matthew Somerville | 2013-05-13 | -1/+1 |
| | ||||
* | Prettify created in RSS too. | Matthew Somerville | 2013-01-29 | -0/+9 |
| | ||||
* | Fix for a missed council column rename, and a test that would have caught it. | Matthew Somerville | 2012-12-15 | -1/+1 |
| | ||||
* | Rename council column to bodies_str, and all the related code. | Matthew Somerville | 2012-12-15 | -1/+1 |
| | ||||
* | Some fixes for when warnings are on during test run. | Matthew Somerville | 2012-11-09 | -2/+11 |
| | ||||
* | Remove outdated XSL. | Matthew Somerville | 2012-08-17 | -1/+0 |
| | ||||
* | Don't show postcode column in RSS/alert emails, may have no bearing on report. | Matthew Somerville | 2012-07-23 | -5/+0 |
| | ||||
* | Make RSS feeds act same as email alerts with links to main site. | Matthew Somerville | 2012-07-06 | -7/+9 |
| | ||||
* | Factor out the SQL restriction from site_restriction, as it's only used in ↵ | Matthew Somerville | 2012-07-06 | -3/+3 |
| | | | | one place. | |||
* | Store full size photos that are uploaded on filesystem, put hash in ↵ | Matthew Somerville | 2012-03-08 | -2/+2 |
| | | | | database. Fixes #9, basics for #209 (needs light box adding). | |||
* | Merge branch 'rss-addresses' | Struan Donald | 2011-11-30 | -2/+8 |
|\ | | | | | | | | | | | Conflicts: db/schema.sql perllib/FixMyStreet/DB/Result/Problem.pm | |||
| * | use format_postcode in rss feeds as well | Struan Donald | 2011-11-29 | -3/+1 |
| | | ||||
| * | canonicalise postcode for display in RSS titles | Struan Donald | 2011-11-29 | -1/+4 |
| | | ||||
| * | include nearest road data in rss feed if available, plus tests | Struan Donald | 2011-11-28 | -3/+2 |
| | | ||||
| * | add postcode to problem title in Rss feed | Struan Donald | 2011-11-28 | -1/+6 |
| | | ||||
| * | Merge remote branch 'origin/master' into rss-addresses | Struan Donald | 2011-09-20 | -2/+2 |
| |\ | ||||
| * | | sort of working rss address stuff with db caching and populate script | Struan Donald | 2011-09-09 | -2/+3 |
| | | | ||||
* | | | Remove RSS feeds from EHA. | Matthew Somerville | 2011-10-28 | -0/+1 |
| |/ |/| | ||||
* | | Hopefully fix issue with council reports pagination display, link in RSS ↵ | Matthew Somerville | 2011-09-12 | -2/+2 |
|/ | | | | feed, and nofollow map links. | |||
* | Disable address in RSS temporarily. | Matthew Somerville | 2011-09-02 | -2/+2 |
| | ||||
* | Add address information to description in RSS feeds | Struan Donald | 2011-08-29 | -0/+6 |
| | ||||
* | Get Open311 RSS working, whether it's given a ResultSet or a lower level ↵ | Matthew Somerville | 2011-08-04 | -5/+20 |
| | | | | statement handle. | |||
* | Try different approachh. | Petter Reinholdtsen | 2011-08-02 | -6/+4 |
| | ||||
* | Try to get Open311 GeoRSS output working. | Petter Reinholdtsen | 2011-08-01 | -2/+5 |
| | ||||
* | Don't use update name if marked as anonymous. | Matthew Somerville | 2011-07-16 | -1/+1 |
| | ||||
* | Fix a couple of uninitialized warnings. | Matthew Somerville | 2011-06-10 | -2/+4 |
| | ||||
* | Tidy up a couple of FIXMEs. | Matthew Somerville | 2011-06-10 | -11/+1 |
| | ||||
* | Switch to using c->cobrand->problems to return all problems for a cobrand ↵ | Matthew Somerville | 2011-06-08 | -1/+1 |
| | | | | (so on Barnet only return Barnet problems). | |||
* | Move RSS generation code into controller. | Matthew Somerville | 2011-06-03 | -2/+141 |
| | ||||
* | Migrate RSS feeds handling. | Matthew Somerville | 2011-05-19 | -0/+211 |