aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Comment.pm
Commit message (Collapse)AuthorAgeLines
* 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
|
* Add InflateColumn::DateTime to all models.Matthew Somerville2011-05-24-3/+3
|
* check if comment is from known abuserStruan Donald2011-05-20-0/+25
|
* Add DB::Questionnaire (and update schema.sql with schema changes).Matthew Somerville2011-05-20-3/+3
|
* upload and display update photosStruan Donald2011-05-19-0/+20
|
* add confirm convenience methodStruan Donald2011-05-19-0/+13
|
* redo validation and storage to be more in line with code in report/newStruan Donald2011-05-18-0/+11
|
* link comments table to users tableStruan Donald2011-05-18-4/+12
|
* add comment table in to generated DB files and regenerateStruan Donald2011-05-17-0/+68