aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/Update.pm
Commit message (Collapse)AuthorAgeLines
* Remove from_body requirement from User::has_permission_toDave Arter2016-09-20-3/+3
|
* Feature to create report as body/other user.Zarino Zappia2016-08-10-5/+34
| | | | | | | | | | | | This allows users who have the correct permissions to add reports on behalf of the body or another user. We enable editing of the email box by default, so that if JavaScript isn't available, someone can still change the email for the 'another user' option. For mysociety/fixmystreetforcouncils#10 and mysociety/fixmystreetforcouncils#11
* Improve CSRF tokens and add to more forms.Matthew Somerville2016-06-20-0/+1
|
* Handle reports/updates by logged in abuse entries.Matthew Somerville2016-05-27-0/+5
|
* Add Twitter social login.Matthew Somerville2016-04-08-0/+2
|
* Rename process_extras to process_open311_extras.Matthew Somerville2016-03-08-2/+2
| | | | | It is currently only used for processing extra fields (the list, not the metadata hash) which is really only of relevance to Open311.
* Add login by Facebook when updating.Matthew Somerville2016-01-22-38/+128
| | | | Makes the flow more like new reporting.
* Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-1/+1
| | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
* Alter token logging in and timeout behaviour.Matthew Somerville2015-07-10-2/+2
| | | | | | | Restrict email_sign_in token to one day, unused confirmation tokens to one month. Used tokens will redirect to the created thing but not log in; don't log in with alert links (unsubscribe link never expires, reply link will still show "reopen" tickbox).
* Factor out all uses of param()/params.Matthew Somerville2015-07-07-22/+22
| | | | | | | 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.
* Always show confirmation page for reports/updates.Matthew Somerville2015-02-19-5/+2
| | | | | Rather than redirecting to the report if they're already logged in. Fixes #1003.
* Show logged in message as success, not error.Matthew Somerville2014-11-18-1/+2
| | | | | | Fixes #357. Also consolidate almost-identical fill_in_details.html template (for #344).
* Allow comments to be confirmed with no confirmationStruan Donald2014-04-08-1/+9
| | | | | | | | Add never_confirm_updates setting to cobrand that, when set to 0 means that comments are confirmed with no confirmation step. Essentially behaves as it would if the user was logged in. Also add a flag to the flash that indicates the comment was accepted to you can display a message on the report page if required
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/open311-populate-service-list bin/send-comments bin/update-all-reports conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/App/Controller/Reports.pm perllib/FixMyStreet/Cobrand/Default.pm perllib/FixMyStreet/Cobrand/LichfieldDC.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/Result/Problem.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/FixMyStreet/SendReport.pm perllib/FixMyStreet/SendReport/Email.pm perllib/FixMyStreet/SendReport/Open311.pm perllib/Open311/GetServiceRequestUpdates.pm perllib/Open311/PopulateServiceList.pm t/app/controller/report_new.t t/app/controller/rss.t templates/web/bromley/report/display.html templates/web/default/admin/council_contacts.html templates/web/default/common_header_tags.html templates/web/default/dashboard/index.html templates/web/default/front/stats.html templates/web/default/report/_main.html templates/web/default/report/update-form.html templates/web/emptyhomes/index.html templates/web/emptyhomes/report/display.html templates/web/emptyhomes/report/new/councils_text_all.html templates/web/emptyhomes/reports/body.html templates/web/emptyhomes/reports/index.html templates/web/fixmystreet/report/new/fill_in_details_form.html templates/web/fixmystreet/report/update-form.html web/cobrands/fixmystreet/fixmystreet.js web/js/fixmystreet.js
| * Rename council column to bodies_str, and all the related code.Matthew Somerville2012-12-15-3/+3
| |
| * Rename from_council to from_body, and small related changes.Matthew Somerville2012-12-15-3/+3
| |
* | Merge branch 'bromley-new-statuses'Struan Donald2013-01-16-1/+17
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/send-comments conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/Open311.pm t/app/controller/report_updates.t t/open311.t templates/web/default/report/display.html templates/web/default/report/updates.html templates/web/fixmystreet/report/display.html
| * If we are sending updates to an external system we need to recordStruan Donald2012-11-22-0/+15
| | | | | | | | | | | | | | the state the update left the problem in so we can send the correct status with the update. If we don't do this then it's possible that we get an update that marks the problem as fixed as fixed and another that marks it as open and we send both with a status of open.
| * change update form to use new statusesStruan Donald2012-10-01-1/+2
| |
* | Fix other part of race conditionStruan Donald2012-08-29-1/+1
| |
* | adding text from a message manager message increments supporter countStruan Donald2012-08-24-0/+4
| |
* | allow adding of message manager messages as updates rather than as issuesStruan Donald2012-08-23-0/+1
|/
* 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-1/+1
|
* Only create alert if actual parameters differ, not just cobrand/lang.Matthew Somerville2012-06-21-8/+14
|
* Call process_extras() from updates too, so that error checking runs.Matthew Somerville2012-06-21-2/+5
|
* Fix spelling of this variable.Matthew Somerville2012-06-21-1/+1
|
* Merge branch 'master' into bromleyMatthew Somerville2012-05-22-1/+1
|\ | | | | | | | | | | Conflicts: bin/send-reports perllib/FixMyStreet/App/Controller/Report/New.pm
| * Move photo processing functions to the photo controller.Matthew Somerville2012-05-22-1/+1
| |
* | Fixes and improvements for tests.Matthew Somerville2012-05-16-2/+4
| |
* | store title in users table so we can persist it for bromleyStruan Donald2012-05-01-1/+7
| |
* | add in first and last name to updatesStruan Donald2012-03-30-0/+20
| |
* | save extra comment details for bromleyStruan Donald2012-03-23-0/+7
|/
* Update error message (missed from previous).Matthew Somerville2012-03-14-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).
* If password field left blank when reporting/updating, ignore that for ↵Matthew Somerville2012-01-20-1/+2
| | | | | | password setting. This is so if someone temporarily forgets their password, and uses email confirmation to confirm without setting a new password, their old password isn't lost.
* Stop warnings if org is not provided.Matthew Somerville2011-10-10-0/+8
|
* allow council user to update state on problem sent to multiple councilsStruan Donald2011-07-27-3/+2
|
* Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-07-26-2/+12
|\ | | | | | | | | | | | | | | | | | | 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
| * Carry through name/phone/password updates through report/update creation via ↵Matthew Somerville2011-07-04-0/+10
| | | | | | | | token. Only store encrypted password, and override EncodedColumn to prevent double encrypting.
| * Update error message.Matthew Somerville2011-07-01-1/+1
| |
| * Assume if they've filled in one side of the password form, they're ↵Matthew Somerville2011-07-01-1/+1
| | | | | | | | submitting that side.
* | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-06-28-21/+46
|\| | | | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/App/Controller/Report/Update.pm templates/web/default/report/display.html
| * Allow a problem creator to reopen a fixed report when logged in (fixes #125).Matthew Somerville2011-06-28-1/+8
| |
| * Allow people to sign in (or not) as they make an update.Matthew Somerville2011-06-28-21/+39
| |
* | store correct old state in questionnaire when creator marks problem as fixedStruan Donald2011-06-28-0/+4
| |
* | council users should be able to set state to confirmedStruan Donald2011-06-27-1/+1
| |
* | change to use from_council in users table and store the council id inStruan Donald2011-06-27-2/+3
| | | | | | | | | | there so we can check that the problem is for the council the user is from
* | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-06-27-19/+14
|\| | | | | | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/DB/Result/Comment.pm perllib/FixMyStreet/DB/Result/User.pm web/css/core.css
| * Don't show email field on reporting if logged in.Matthew Somerville2011-06-24-19/+14
| |