aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* Merge branch 'master' into migrate_to_catalystEdmund von der Burg2011-04-04-354/+616
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore commonlib conf/packages perllib/FixMyStreet/Map.pm templates/website/cobrands/barnet/footer web/confirm.cgi web/css/core.css web/import.cgi web/index.cgi
| * Move midpoint code to Cobrand, as I missed it hidden in map code.Matthew Somerville2011-03-26-2/+12
| |
| * Southampton templating.Matthew Somerville2011-03-25-0/+113
| |
| * Merge branch 'master' of ↵Matthew Somerville2011-03-23-5/+17
| |\ | | | | | | | | | ssh://matthew@git.mysociety.org/data/git/public/fixmystreet
| | * Missing CGI var.Matthew Somerville2011-03-23-2/+2
| | |
| | * Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreetMatthew Somerville2011-03-23-262/+160
| | |\
| | * | Factor out email sending bit of confirmation sending function, and make ↵Matthew Somerville2011-03-23-5/+17
| | | | | | | | | | | | | | | | import.cgi use it.
| * | | Bing Maps key.Matthew Somerville2011-03-23-0/+2
| | |/ | |/|
| * | Allow map change in URL.Matthew Somerville2011-03-23-262/+160
| |/
| * Move RABX include to only place it's needed.Matthew Somerville2011-03-20-0/+1
| |
| * Fixes to other map types to work with lat/lon. Split OSM JavaScript into ↵Matthew Somerville2011-03-09-24/+74
| | | | | | | | core OpenLayers bits and OSM config bit.
| * Some minor URL improvements.Matthew Somerville2011-03-08-14/+12
| |
| * Store report ID on loop, as otherwise closure uses last value.Matthew Somerville2011-03-08-7/+8
| |
| * Don't check coordsyst as not set for Norway; always string truncate lat/lon.Matthew Somerville2011-03-05-0/+1
| |
| * Hopefully fix a couple of locale issues, one I just introduced, whoops.Matthew Somerville2011-03-05-2/+4
| |
| * Handle NO postcodes via mapit.Matthew Somerville2011-03-05-0/+8
| |
| * Allow lat/lon in query string to affect map location (for non-JS browsing of ↵Matthew Somerville2011-03-04-0/+4
| | | | | | | | map on report page).
| * Don't encode binary.Matthew Somerville2011-03-03-1/+1
| |
| * binmode is ignored by FastCGI. This didn't matter on lenny, where FCGI.pm ↵Matthew Somerville2011-03-03-2/+5
| | | | | | | | 0.67 happily prints out Unicode strings as UTF-8 (the internal encoding). This was reported as a bug (rt.cpan.org #52400), and FCGI.pm version 0.69 (and thus 0.71 as present on squeeze) changed to call downgrade() on incoming Unicode strings, meaning the output becomes either Latin-1 (or EBCDIC), or a croak due to a Unicode character not fitting into that. The old behaviour of FCGI seemed perfectly acceptable to me when it was given characters, not bytes, and I'm not sure why the change was made - certainly downgrade() seems a bad choice given it could be any Unicode string passed in, I'd have gone with encode() (which would be the old behaviour still). Anyway, we redirect STDOUT to a string, capture it, and then print out the Unicode string (everything internal should be Unicode strings) manually encoded to UTF-8. This should work in CGI, or pre/post 0.69 FastCGI.
| * Add category to RSS feed.Matthew Somerville2011-03-02-0/+1
| |
| * Compare to translated Other.Matthew Somerville2011-02-26-4/+4
| |
| * Output lon/lat fields in correct places.Matthew Somerville2011-02-26-0/+4
| |
| * Non-JS way of accessing OSM map, acts like OpenLayers but just with HTML.Matthew Somerville2011-02-26-5/+153
| |
| * Move compass function to Tilma code, pass Q through to click->latlon lookup.Matthew Somerville2011-02-26-31/+32
| |
| * Load in file manually, to decode_utf8 it.Matthew Somerville2011-02-25-1/+3
| |
| * No need for all pins yet (does nothing <6 months), hide pins using OL JS if ↵Matthew Somerville2011-02-24-2/+2
| | | | | | | | present; permalink.
| * Factor out address checking, so that single results are checked too (e.g. ↵Matthew Somerville2011-02-24-21/+25
| | | | | | | | for 0029 in Norway, returning SA).
| * Remove unneeded decodes, everything is already decoded by then, and fix for ↵Matthew Somerville2011-02-24-1/+0
| | | | | | | | passing decoded strings to MaPit.
* | Move logic into problemEdmund von der Burg2011-04-01-8/+25
| |
* | prefill user's details if logged inEdmund von der Burg2011-04-01-30/+44
| |
* | clean up some FIXMEsEdmund von der Burg2011-04-01-7/+3
| |
* | Prevent access to '/my' for users who are not logged inEdmund von der Burg2011-04-01-2/+7
| |
* | Add in map js to headersEdmund von der Burg2011-04-01-0/+17
| |
* | convert '/' to '/report/new' for 'Report a problem' linksEdmund von der Burg2011-04-01-1/+1
| |
* | Change '/reports/new' to '/report/new'Edmund von der Burg2011-04-01-6/+6
| | | | | | | | | | Fix broken links to '/reports/<<id>>' Get correct base under CGI and FastCGI
* | Ported import.cgi to catalystEdmund von der Burg2011-03-31-10/+232
| |
* | Test report creation for user who is logged inEdmund von der Burg2011-03-28-0/+47
| | | | | | | | also added methods to testmech
* | Handle problem confirmation tokens in catalyst and get all tests workingEdmund von der Burg2011-03-28-0/+132
| |
* | Add 'abuse' table and put abuse logic into problemEdmund von der Burg2011-03-28-0/+44
| |
* | Abstracted out some email testsEdmund von der Burg2011-03-25-0/+52
| |
* | Move login/out methods into TestMechEdmund von der Burg2011-03-25-2/+45
| |
* | More tests (and fixes to issues thrown up)Edmund von der Burg2011-03-25-13/+73
| |
* | Created FMS specific Test::WWW:Mech wrapperEdmund von der Burg2011-03-25-0/+87
| |
* | Store tokens correctlyEdmund von der Burg2011-03-24-37/+42
| |
* | Close off map correctlyEdmund von der Burg2011-03-24-1/+5
| |
* | Don't show field errors if map used to change locationEdmund von der Burg2011-03-24-2/+7
| |
* | added support for partialsEdmund von der Burg2011-03-24-73/+111
| |
* | auth related fixesEdmund von der Burg2011-03-24-2/+7
| |
* | Handle photo uploads - caching between requests if there are errorsEdmund von der Burg2011-03-24-41/+107
| |
* | Handle successful repor creation correctlyEdmund von der Burg2011-03-23-45/+50
| |