| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
| |
Fixes #786.
|
|
|
|
|
|
|
|
|
| |
The body-based alert only works if the body ID matches the MapIt ID.
This fixes #959. Further work needs to be done to enable proper
body-based alerts that work properly in all circumstances.
Consequently, factor out fixed body IDs from many tests.
Also fix a couple of tests not overriding geocoder correctly.
|
|
|
|
| |
Fixes #753 and #935.
|
| |
|
|
|
|
| |
Also remove some unused variables.
|
| |
|
|
|
|
|
| |
This text was being imported encoded, which led to double-encoding when
used in templates. Fixes #960 and #961.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this, email sending within a cobrand will get the right main
email template (submit.txt) for the email - because it uses the
cobrand inside get_template - but it doesn't use the cobrand for
things like the email signature, because you have to pass it into
send_email_cron manually to make it cobrand-aware.
This probably hasn't been noticed before because most cobrands are
called Something FixMyStreet, but Collideoscope is different and hence
it caused a problem there.
Closes mysociety/FixMyStreet-Commercial#621.
|
|\ |
|
| |
| |
| |
| | |
The non-js view positioned the map badly (over the issue text).
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ESCC advised us of concerns that users:
* were unaware of how much of their report/update would be visible
on the site
- make "public" text more visible.
- label is presented as fairly flat, with the cursor suppressed (to
avoid it looking like a button) but with an explanatory tooltip.
The intent is for it to be highly visible, but not too startling.
- https://github.com/mysociety/FixMyStreet-Commercial/issues/642
* often comment on an existing report when instead creating a new
report would be more appropriate.
- Present two buttons, one to create a new report in the same
location, another to open the comment box.
- (this functionality degrades without Javascript, by simply showing
the comment box by default.)
- https://github.com/mysociety/FixMyStreet-Commercial/issues/641
Most templates have been split into partials, to avoid long-term
forking, however update-form.html is still forked from fixmystreet,
which would ideally be fixed in a future commit.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
So don't request '...services.xml?jurisdiction_id=' as that can lead to
an error from an Open311 server that expects either no parameter at all
or a stated jurisdiction_id.
|
| |
| |
| |
| |
| |
| |
| |
| | |
If an Open311 server responded with e.g. '<services></services>', you
got a strange hash error as the code treated it as one undef service.
Spot this at the same point we check anything was returned.
Also remove a couple of warnings due to lc of a maybe-undef variable.
|
|/ |
|
|
|
|
| |
To match shift of styles in bb07940.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
|/
|
|
| |
Fixes #929. Also move admin hint CSS to base CSS, not just layout.
|
|
|
|
|
| |
Also apply to UK council cobrands.
Fixes #926, more food for #344.
|
|
|
|
| |
For #344 and #935.
|
|
|
|
|
|
| |
Fixes #357.
Also consolidate almost-identical fill_in_details.html template
(for #344).
|
|
|
|
|
| |
Only show "select..." if more than one body, and only mention greyed out
lines if there are any. Fixes #869.
|
|
|
|
|
|
| |
Easier if the default shared styles stick with the sprite for
everything, then you can just change that sprite rather than having to
override CSS as well.
|
|
|
|
| |
This look works well on the default styling also.
|
| |
|
|
|
|
| |
Move UK specific text to fixmystreet.com template.
|
|\ |
|
| |
| |
| |
| |
| | |
This crashes at least one mobile browser; not sure why, but we can do
without it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #932, which is caused by HTML5 validation firing for hidden
elements, by setting #mapForm to novalidate by default, and reverting
this in fixmystreet.js.
Note that the 'novalidate' attribute, which is honoured by the browsers'
HTML5 validation, isn't to be confused with the class (class="validate")
which is picked up by fixmystreet.js, and therefore not problematic for
the no-js case.
|
| |
| |
| |
| | |
For starters, it actually appears on focus.
|
|/
|
|
|
|
| |
Error handling and changes to the base template were added in f0621930,
so an error would cause the form to reshow in the cobrand, but not
display the errors.
|
| |
|
| |
|
|
|
|
|
| |
After the changes in b3c664b, these two lines need to be called with the
cron-wrapper.
|
|
|
|
|
| |
With reference to #922, to see if the more 'businessy' phrase makes any
difference.
|
|
|
|
|
|
| |
This means they access the database the same way all the other scripts
do, preventing any issues due to different setups. Also tidy up state
grouping in graph, add Norway start date.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This puts back any missing snapshot modules removed in
1708bc30af7176f95f0ec5718289d3a633daf32b, as they are required for
installation on squeeze, which misses or does not have the required
version of these.
|
| |
| |
| |
| |
| | |
Also, s///r isn't present in 5.10, and FixMyStreet should still install
on squeeze.
|
| |
| |
| |
| |
| |
| | |
Try and save other people the potential pain of installing SOAP::Lite;
only UK FixMyStreet and Zurich geocoder use it, so set it as an optional
feature in the cpanfile instead.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Switching to bundler saves confusion about gem paths when running
sass/compass to compile the CSS.
Trusty can use precisely the same packages as precise, with a few tweaks
to generalise the contents.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The #map_box div wasn't clickable, so we had to reset its z-index from the
broken -1 to 0. IE7 doesn't like setting z-index to 0 in javascript (as it's a
falsy value) so instead we set the z-index of parent and sibling elements (body
and site-header) to 1 to make sure they are visible.
position:relative in base.scss is to make sure that the header is now
shown (similar to @6296cb33)
See https://github.com/mysociety/FixMyStreet-Commercial/issues/639
|
|
|
|
| |
At Noel's request.
|
|
|
|
| |
fixmystreet/com -> fixmystreet.com
|
|
|
|
| |
In case it contains an ampersand or somesuch.
|