aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Questionnaire.pm
Commit message (Collapse)AuthorAgeLines
* Return 400/500 for some client/server errors.Matthew Somerville2016-12-16-5/+4
|
* Remove some unused cobrands.Matthew Somerville2016-04-20-13/+0
|
* Process update left as part of questionnaire.Matthew Somerville2015-09-28-0/+2
| | | | | | | Treat an update left during a questionnaire the same as one left on a report page, ie. pass it through cleanup_text. This will also make sure updates left that are wholly whitespace are errored, or replaced with the default text.
* Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-6/+6
| | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
* Factor out all uses of param()/params.Matthew Somerville2015-07-07-8/+8
| | | | | | | 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.
* Add URLs for easy looking at confirmation pages.Matthew Somerville2015-02-19-2/+9
|
* Always show confirmation page for reports/updates.Matthew Somerville2015-02-19-0/+1
| | | | | Rather than redirecting to the report if they're already logged in. Fixes #1003.
* Make sure all co-ordinates are stringified.Matthew Somerville2015-02-13-4/+0
| | | | | | | This includes MapIt postcode lookups, geocoding, query parameters, tile clicks. Stringifying truncates them to six decimal places, which means we no longer need any "short" versions anywhere, and the JSON response will always uses a decimal point regardless of locale.
* Allow closed->fixed transition in questionnaire, and spot closed problems in ↵Matthew Somerville2012-10-03-0/+2
| | | | response text (fix #269).
* Remove unused extra_* functions.Matthew Somerville2012-08-16-1/+1
|
* Couple more URLs to right site (e.g. already answered questionnaire).Matthew Somerville2012-07-18-11/+11
|
* Fetch updates as report page does, so they're displayed.Matthew Somerville2012-07-18-2/+2
|
* Pins yellow on /my for Bromley.Matthew Somerville2012-05-22-1/+1
|
* Move photo processing functions to the photo controller.Matthew Somerville2012-05-22-1/+1
|
* Store full size photos that are uploaded on filesystem, put hash in ↵Matthew Somerville2012-03-08-4/+1
| | | | database. Fixes #9, basics for #209 (needs light box adding).
* few more static statesStruan Donald2011-08-18-1/+1
|
* remove hard coded references to fixedStruan Donald2011-08-18-1/+1
|
* Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-08-17-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | into new_statuses Conflicts: db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/DB/Result/User.pm t/app/controller/admin.t templates/web/default/admin/update_edit.html web/css/core.css
| * Rename questionnaire index function so GET doesn't find it.Matthew Somerville2011-08-05-1/+1
| |
* | Merge branch 'new_statuses' of ↵Struan Donald2011-07-27-1/+1
|\ \ | | | | | | | | | ssh://git.mysociety.org/data/git/public/fixmystreet into new_statuses
| * | Couple of typos in bits of code.Matthew Somerville2011-07-19-1/+1
| | |
* | | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-07-26-0/+1
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/JSON.pm perllib/FixMyStreet/Map/Tilma/Original.pm web/css/core.css
| * Allow pin moving without reload of page (at last).Matthew Somerville2011-07-21-0/+1
| |
* | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-06-30-15/+8
|\| | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/App/Controller/Reports.pm
| * Log someone in following questionnaire link.Matthew Somerville2011-06-29-15/+8
| |
* | correctly set mark_open/fixed in questionnaire generates updatesStruan Donald2011-06-28-1/+1
| |
* | store correct old state in questionnaire when creator marks problem as fixedStruan Donald2011-06-28-0/+6
| |
* | remove hard coded confirmeds from questionnaireStruan Donald2011-06-21-4/+6
| |
* | remove more hardcoded references to fixedStruan Donald2011-06-21-4/+5
|/
* Centralise UK location check to catch edge cases.Matthew Somerville2011-06-17-1/+1
|
* Generate /reports data on cron.Matthew Somerville2011-06-16-2/+2
|
* Fix some warnings and small bugs from scanning error logs.Matthew Somerville2011-06-13-0/+1
|
* Show error if no questionnaire found.Matthew Somerville2011-06-13-0/+2
|
* Switch to using c->cobrand->problems to return all problems for a cobrand ↵Matthew Somerville2011-06-08-2/+1
| | | | (so on Barnet only return Barnet problems).
* Remove questionnaire ported code, move another static page.Matthew Somerville2011-06-03-5/+6
|
* Questionnaire tests, and fixes due to those tests.Matthew Somerville2011-05-27-17/+21
|
* make sure you are allowed to answer the questionnaire asked when a problem ↵Struan Donald2011-05-27-3/+29
| | | | reporter marks the problem as fixed.
* Perl boolean false is '', which the DB doesn't like.Matthew Somerville2011-05-26-3/+3
|
* Questionnaire submission code.Matthew Somerville2011-05-26-126/+123
|
* consistency in how we set/check booleans from the databaseStruan Donald2011-05-26-1/+1
|
* Get header JS <script> out of code and into templates.Matthew Somerville2011-05-26-1/+0
|
* Tidy up map parmeters.Matthew Somerville2011-05-25-1/+1
|
* Merge branch 'migrate_to_catalyst' of ↵Struan Donald2011-05-25-1/+5
|\ | | | | | | ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
| * Get rid of pointless and hard-to-follow listrefs when referring to pins.Matthew Somerville2011-05-25-1/+5
| |
* | submission for questionnaire when problem owner marks it fixedStruan Donald2011-05-25-0/+55
|/
* Remove old CGI Q from Map calls.Matthew Somerville2011-05-25-1/+1
|
* Template original Tilma map and some more text, updates on questionnaire ↵Matthew Somerville2011-05-25-4/+7
| | | | page, bring in click pin fix from pre-london branch, other map types will be broken.
* if the person who created the problem is marking it as fixed showStruan Donald2011-05-24-0/+8
| | | | them a questionnaire directly ( no submission yet )
* Move lat/lon to templates and use shortened forms.Matthew Somerville2011-05-24-0/+4
|
* Start of questionnaire migration, displays mostly okay, submission not done, ↵Matthew Somerville2011-05-21-0/+228
nor problem display.