aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand.pm
Commit message (Collapse)AuthorAgeLines
* Refactor SendReport::Open311 to use cobrand hooks.Matthew Somerville2017-03-09-0/+10
| | | | | | | | | | | | | | Avoid doing cobrand-specific logic within SendReport::Open311. The hooks defined are: open311_config: set extra fields open311_pre_send: set endpoints and munge data These are tested in the new t/app/sendreport/open311.t, which does not send any actual reports, but just checks that all the data is munged into the expected format. (tests under t/open311* should already test the actual sending) Remove unused Open311 special cases.
* Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-6/+7
| | | | And create default cobrand class without all of Moose.
* If only one cobrand given, always use it.Matthew Somerville2013-11-07-2/+13
| | | | | | | | | If the ALLOWED_COBRANDS configuration variable only contains one entry (and also work if it's a string rather than a list), always use that cobrand, no matter what the hostname is. The example Vagrantfile no longer needs the configuration changes at all.
* Allow cobrands to be given in ALLOWED_COBRANDS that don't have a Cobrand .pm ↵Matthew Somerville2012-08-17-6/+20
| | | | file. Just assume there would be a blank file with the right name that inherits from Default.pm.
* Factor out the SQL restriction from site_restriction, as it's only used in ↵Matthew Somerville2012-07-06-1/+1
| | | | one place.
* Fix tests with new ALLOWED_COBRANDS structure, fix admin test to skip Barnet ↵Matthew Somerville2012-05-01-0/+18
| | | | tests if not present.
* Improve cobrand mapping with ALLOWED_COBRANDS for #215.Matthew Somerville2012-02-06-10/+28
|
* Make FixMyStreet a cobrand, like the others.Matthew Somerville2012-01-30-0/+3
|
* Added overrides to staging servers to make testing/dev easierEdmund von der Burg2011-04-06-0/+20
|
* More work on the Cobrand and setting for requestEdmund von der Burg2011-02-23-18/+35
| | | | test to see welsh about us page
* Move the cobrand accross changing them to be OO and inheritEdmund von der Burg2011-02-23-0/+54