aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Comment.pm
Commit message (Collapse)AuthorAgeLines
* Fix crash on reports with empty bodies_strDave Arter2017-02-07-1/+4
|
* [Greenwich] Add a badge to official status updatesrbg-joe2017-02-06-0/+2
| | | | | | | | | Adding an official badge to Greenwich updates so as to avoid exchanges in which public contributions are mistaken for official ones. As per the Bromley version e.g. https://fix.bromley.gov.uk/report/973784 - this helps to avoid situations where public contributions are mistaken for official ones.
* Show ‘unable to fix’ state as ‘no further action’.Dave Arter2017-02-02-4/+2
| | | | Bromley had this already in its update state change messages.
* Allow users with permission to see update usernamepezholio2017-01-17-1/+5
|
* Refactor updates metadata output into modelpezholio2017-01-17-1/+83
|
* Fix invalid SQL being generated by moderation lookupDave Arter2016-08-15-1/+1
|
* Move photoset stuff to new Role.Matthew Somerville2016-08-01-21/+2
|
* Add PNG image support.Matthew Somerville2016-04-08-4/+4
| | | | | | | 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.
* Show right body user form value for fixed reports.Matthew Somerville2016-03-31-2/+2
| | | | | The form element contains 'fixed', so we need to strip the user/council part of the actual state. Fixes #1369.
* Only load images from disk when needed.Matthew Somerville2016-02-23-1/+1
| | | | Fixes #1337.
* Factor multiple photo details into nicer function.Matthew Somerville2016-01-12-5/+33
| | | | | Remove get_photo_params, which only looked at the first photo, make explicit when we're doing that using `.first`.
* Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-4/+1
| | | | And create default cobrand class without all of Moose.
* Move get_photo_params to Utils::Photo.Matthew Somerville2015-12-02-2/+2
|
* Updates to schema from DBIx::Class loader.Matthew Somerville2015-08-19-2/+3
|
* Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-2/+2
| | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
* Create timezone objects only once at startup.Matthew Somerville2015-02-13-9/+1
| | | | | | Cache a DateTime::TimeZone::Local object, so that in an environment where /etc/localtime is a copy of a timezone file, we don't repeatedly walk all the timezone files to find the matching one.
* Tests for moderationHakim Cassimally2014-08-14-1/+3
|
* Report moderationHakim Cassimally2014-08-13-2/+46
| | | | | | | | | | | - 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
* [Bromley] Reduce update character limit to 1750.Matthew Somerville2014-01-30-2/+3
| | | | Following on from f117167 (and fixing comment from that commit).
* Merge branch 'rabx-column-refactor'Chris Mytton2013-09-12-21/+2
|\
| * Use RABXColumn in remaining models that serialize some columnsEdmund von der Burg2013-09-10-21/+2
| |
* | Update DB/Result/* with latest DBIx::Class::Schema::LoaderChris Mytton2013-09-10-8/+8
|/ | | | | | | | | Version 0.07027 of DBIx::Class::Schema::Loader introduced some changes to the way it generates schemas. > PostgreSQL WARNING: the default for on_delete/on_update attributes for > belongs_to relationships is now 'NO ACTION' not 'CASCADE! The default > for is_deferrable is now 0 not 1.
* Spell out all "marked as %s" strings.Matthew Somerville2013-09-05-6/+2
| | | | | As doing interpolation from a database state field is not great for translation. Fixes #391.
* Remove *_local tz functions, set timezone on fetching original columns from ↵Matthew Somerville2013-02-14-17/+15
| | | | database.
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Make sure serialized string is UTF-8 encoded.Matthew Somerville2012-12-21-0/+1
| |
* | Merge branch 'bromley-new-statuses'Struan Donald2013-01-16-0/+9
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * limit comment and description length to 2000 characters for bromleyStruan Donald2012-10-03-0/+5
| |
| * improve the problem state update meta wording on displayStruan Donald2012-10-02-0/+4
| |
* | added Message Manager ID (mm_msg_id) column and used itDave Whiteland2012-07-11-6/+6
|/
* Merge branch 'master' into bromleyMatthew Somerville2012-05-16-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/send-reports conf/crontab.ugly conf/general.yml-example db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/DB/Result/Comment.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/Result/Problem.pm perllib/FixMyStreet/DB/Result/User.pm templates/web/default/js/validation_strings.html templates/web/fixmystreet/auth/sign_out.html templates/web/fixmystreet/report/new/councils_text_all.html web/cobrands/fixmystreet/_base.scss
| * now using open311config all send-reports webservices, not just open311Dave Whiteland2012-03-23-13/+13
| |
* | when_sent -> whensent for consistencyStruan Donald2012-03-26-3/+3
| |
* | DB changes for comment sendingStruan Donald2012-03-26-2/+10
| |
* | save extra comment details for bromleyStruan Donald2012-03-23-2/+25
| |
* | add external id to comments tableStruan Donald2012-03-19-9/+11
|/
* Store full size photos that are uploaded on filesystem, put hash in ↵Matthew Somerville2012-03-08-10/+1
| | | | database. Fixes #9, basics for #209 (needs light box adding).
* Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-06-28-0/+3
|\ | | | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/App/Controller/Report/Update.pm templates/web/default/report/display.html
| * Allow people to sign in (or not) as they make an update.Matthew Somerville2011-06-28-0/+3
| |
* | change to use from_council in users table and store the council id inStruan Donald2011-06-27-2/+2
| | | | | | | | | | 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-1/+1
|\| | | | | | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/DB/Result/Comment.pm perllib/FixMyStreet/DB/Result/User.pm web/css/core.css
| * Use bcrypt.Matthew Somerville2011-06-24-3/+3
| |
* | indicate changes state in update meta informationStruan Donald2011-06-23-0/+16
| |
* | add problem state_column to commentStruan Donald2011-06-23-2/+4
|/
* Remove fake_q and most of now-unused Page.pm.Matthew Somerville2011-06-07-0/+1
|
* check for uninflated/null dates before trying to set the timezonedStruan Donald2011-05-27-4/+8
|
* Photo URL fix, and pass through photo ID for updates as it does for ↵Matthew Somerville2011-05-26-1/+1
| | | | problems/questionnaires.
* use moose role for is_from_abuser methodStruan Donald2011-05-26-23/+7
|
* check confirmed has been set before trying to set its timezoneStruan Donald2011-05-26-1/+7
|
* Create some _local functions to return the right DateTimes.Matthew Somerville2011-05-24-0/+10
|