| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
|
|
|
|
|
|
| |
Constrain the map in a position:relative to give it its own stacking
context. This simplifies these z-indices and prevents the elements from
floating above the main header. Fixes #673.
|
| |
|
|
|
|
|
| |
Link is broken, and a variant of the text has been added to the
explanatory emails.
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
bin/update-schema --commit should now work
A downgrade is also provided. Run bin/update-schema --help for details
|
| |
|
|
|
|
|
|
|
|
|
| |
The feature to hide reports is still enabled, as it is used by other
`users_can_hide` bodies. As we want to roll out moderation to Bromley,
in this commit we hide the functionality *only* for Bromley. Of course
if we migrate those other users to this moderation method, then we will
need to make equivalent change to general template, and remove the
functionality from Report.pm.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Perhaps useful as we might be adding more stuff if the project expands,
e.g., geocoder disambiguation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The underlying problem here is the target area is currently too small
for the geocoder to be useful: we're not really getting anything useful
back from the OSM geocoder within Fonadhoo. So I've manually located
the three villages on the island and added them as buttons... this is
really for interface because although one button for the whole island
is probably OK, basically it was just replicating the <h1> and wasn't
obvious (or sensible) that the user needed to hit a button at all..
If the project expands to more areas of the Maldives we can either take
those out or revert to the geocoder.
The same too-small-area logic makes the "locate me automatically" a
bit silly, so that's been dropped from the front page too.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'from_council' was renamed to 'from_body' and turned into a relationship
in b2aa34b Feb 2013, and the seesomething code was missed.
Though the FMS::DB::Result::User object would (correctly) throw an error
if an invalid method is called, *Catalyst* idea of a user object wraps this
in a Catalyst::Authentication::Store::DBIx::Class which uses AUTOLOAD to
delegate methods and swallows the error. e.g. this code always returns
false, hence the code path is never run.
(I think this is a bug and have opened:
https://rt.cpan.org/Ticket/Display.html?id=97640 )
Added test case and (hopefully) corrected template, will need a check
against site running copy with recent data to check that nothing looks
squiffy. We also had to change the %council_details stash, which was
based on the old code, not sure if suggested fix matches original
intent, but looks plausible. (As discussed with @dracos @stevenday
this is slightly repeated, and should arguably use ->{bodies} but that's
a possible future FIXME)
|
| |
|
| |
|
|
|
|
|
|
| |
Hopefully this will reduce the chance of a timeout:
* Wrap admin body tests in MapIt override.
* Use full hostname to save a redirect each time.
|
|
|
|
|
|
|
|
|
|
| |
This street is on boundary of Bromley with Greenwich, so a simple
disambiguation of $town = "chislehurst" falls foul of UKCouncils->
area_check.
It may be worth overriding area_check in general, but in mean time,
setting a specific postcode (on the Bromley side of the administrative
boundary) allows the map to be seen.
|
|
|
|
|
|
|
| |
This makes it easier to set up, as you can do:
$ git clone --recursive https://github.com/mysociety/fixmystreet
$ cd fixmystreet
$ vagrant up --no-color
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes #406. Include Perl modules necessary for Email::Send::SMTP to
handle TLS/SSL, and upgrade Dir::Self due to
https://rt.cpan.org/Public/Bug/Display.html?id=88393
|
| |
|
|
|
|
| |
Make mySociety-internal file separate to keep its dual use.
|
|
|
|
|
|
|
|
| |
UK specific template was missed in move in 8f2c5942e3a
Also tidy up by removing Lichfield/Reading/Southampton and adding Hart.
(Incidentally fixes commercial ticket mysociety/FixMyStreet-Commercial#525 )
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As per mysociety/FixMyStreet-Commercial#524 to stem the flow of
people responding to verification emails by clicking the support
email at the bottom of Bromley's signature, we are instead redirecting
to the FAQ -- which is also updated to contain the support email
address, so the people can still find a contact if they need to.
Also tweaking moderation FAQ line, in preparation for moderation
trial.
|
|/
|
|
|
|
| |
Wrap around page in a div.tablewrapper
Fixes #831
|
| |
|
| |
|
|
|
|
| |
(as requested by Tobias)
|
| |
|
|
|
|
|
|
| |
Testing two things:
* Putting the email box above the Yes/No, or repeating it inside.
* Showing the contents of the Yes/No sections at first, or not.
|
| |
|
|
|
|
| |
Think it's needed for it to hang together.
|
| |
|
| |
|
|
|
|
|
| |
Most cobrands can just inherit from the Default function, with
only those needing an exception specified.
|