aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Contact.pm
Commit message (Collapse)AuthorAgeLines
* Add customisable defect types.Dave Arter2017-03-23-2/+9
| | | | | | | | | Problems can have an associated defect type, that can be assigned during an inspection. Include an admin interface for managing these types, that can also be assigned on a per-category basis, currently available to the Oxfordshire cobrand. (Also include 'TM' in traffic management Exor RDI output.)
* Add a 'closest_address' hidden Open311 attribute.Matthew Somerville2017-02-03-1/+1
| | | | This joins easting, northing and an external ID field.
* Improve display of category extra data in admin.Matthew Somerville2016-09-09-1/+9
| | | | Allow get_extra_metadata to return all the data with no argument.
* Refactor problem response priority into its own modelDave Arter2016-09-09-15/+22
| | | | | | | This moves the response priority values from a cobrand-specific method to a full DB model, and includes management screens in the admin for administering them. For mysociety/fixmystreetforcouncils#66
* Extend response templates to work across all cobrandsDave Arter2016-09-08-2/+10
| | | | | | | | | | | This builds on the response templates in the Zürich cobrand: - Allow response templates to be assigned to categories - Also adds a auto_response flag, which will be used to automatically create updates when reports are made. - Include response templates select box on update form For mysociety/fixmystreetforcouncils#31
* Automatically spot Open311 co-ord/ID attributes.Matthew Somerville2016-08-24-0/+11
|
* Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-4/+1
| | | | And create default cobrand class without all of Moose.
* Add Extra role to ease use of {extra} field.Hakim Cassimally2015-03-20-0/+8
| | | | | | | | | Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018.
* Merge branch 'rabx-column-refactor'Chris Mytton2013-09-12-20/+2
|\
| * Use RABXColumn in remaining models that serialize some columnsEdmund von der Burg2013-09-10-20/+2
| |
* | Update DB/Result/* with latest DBIx::Class::Schema::LoaderChris Mytton2013-09-10-3/+3
|/ | | | | | | | | 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.
* Make sure serialized string is UTF-8 encoded.Matthew Somerville2012-12-21-0/+1
|
* Rename area_id on Contacts table to body_id.Matthew Somerville2012-12-15-5/+11
| | | | Add foreign key constraint from contacts to body.
* Rename 'open311conf' database table to 'body'.Matthew Somerville2012-12-15-2/+2
|
* Merge branch 'fmb-read-only'Dave Whiteland2012-10-03-0/+8
|\ | | | | | | | | | | | | Conflicts: db/schema.sql perllib/FixMyStreet/DB/Result/Contact.pm perllib/FixMyStreet/DB/Result/Problem.pm
| * allow endpoints to be configured at a category levelStruan Donald2012-08-29-2/+10
| | | | | | | | | | default cobrand now checks for endpoint configuration and only extra fallbacks are in UK cobrand
* | add non-public fields to contacts and problemStruan Donald2012-08-31-2/+4
|/
* now using open311config all send-reports webservices, not just open311Dave Whiteland2012-03-23-3/+4
|
* put filter column after loader hashStruan Donald2011-10-19-3/+3
|
* add in extra field to contacts for storing open311 meta dataStruan Donald2011-08-01-2/+23
|
* Use bcrypt.Matthew Somerville2011-06-24-3/+3
|
* Add InflateColumn::DateTime to all models.Matthew Somerville2011-05-24-3/+3
|
* add comment table in to generated DB files and regenerateStruan Donald2011-05-17-27/+27
|
* Store tokens correctlyEdmund von der Burg2011-03-24-2/+3
|
* Add contacts table to DBIC schemaEdmund von der Burg2011-03-21-0/+44