| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
- Adds support for additional variables intended to control when to
install postfix and postgres.
- Skips nginx setup and integration when performing a docker build.
- Don't print usage during docker build
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
This sets the default box to be `mysociety/fixmystreet` and provides
an optional argument, `--base-box`, that can be used to override this.
When using the `mysociety/fixmystreet` box, the Perl modules are
prebuilt in `/usr/share/fixmystreet/local` and are bind-mounted into
`/home/vagrant/fixmystreet/local`. This ensures that these are
compatible with the guest machine and speeds up an initial launch.
The `mysociety/fixmystreet` box is also based on Debian Stretch so is
a closer match to our current production environment.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
Use a HashRefInflator wherever all_sorted is used, with consequential
changes to deal with it now not being an object (e.g. add some with_*
functions for manual fetching of extra data).
|
| | |
|
| | |
|
|/
|
|
| |
For mysociety/fixmystreet-freshdesk#16.
|
|
|
|
|
|
|
| |
Previously we assumed that any memcache instance would be running on
the local loopback interface. This commit makes this configurable with
a `MEMCACHED_HOST` option. If left unset, this will default to
`127.0.0.1`.
|
|
|
|
|
| |
If an admin with the user_edit permission but not user_assign_body
edited a user with from_body set, the from_body field was lost.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the "Report a problem" link in the nav bar links, more often
than not, to the reporting form rather than the homepage, it could be
challenging to actually start a new report in a location *other* than
the one currently on screen.
Rather than adding a link to the homepage, this change hopefully adds
a link right at the moment the user expects it – right on the "Report
a problem" form.
It also gave us an opportunity to reword the "Wrong location" message
and give it an icon more suitable for high-dpi displays.
Fixes #2238.
|
|
|
|
|
|
|
| |
Works for both the "Report" button shown in the mobile header,
and the "Report a problem" span on the desktop site.
Thanks to Louise for suggesting this in mysociety/collideoscope#42!
|
|
|
|
|
|
|
|
| |
Some cobrands (like Collideoscope) don’t have a .report-a-problem-btn
in their mobile nav menu, so .querySelector() would raise an exception
when we tried to attach an event listener to it.
Now we check that the element exists before attaching the listener.
|
| |
|
| |
|
|
|
|
| |
Fixes #2235.
|
|\ |
|
| | |
|
|/
|
|
|
| |
Provides a template override for cobrands to show if updates aren't
allowed on the problem.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
We needed this for Collideoscope, where we’re displaying small bar
charts on the Statistics page, and the default bar height of 30px
was much too small when the chart was reduced in size.
|
| |
| |
| |
| |
| |
| |
| |
| | |
if a web parameter is passed to /import then display the email
confirmation sent page rather than a SUCCESS message. Enables this page
to be used for creating partial reports from a web page.
For mysociety/collideoscope#17
|
|/ |
|
|
|
|
| |
Couple of texts have newlines in them, and may change anyway.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
So we can use this in collideoscope
|
| |
| |
| |
| |
| | |
So we can use it for collideoscope which does not use a fixed end
period.
|
| |
| |
| |
| |
| | |
Collideoscope doesn't have fixed reports so only add a line for fixed
reports if there is data.
|
| |
| |
| |
| | |
Enables this to be used in cobrand hooks for reports data
|
| |
| |
| |
| |
| | |
Avoid a JS error if a line graph has no points. This is mostly useful
for collideoscope where we only want to show one line.
|
| |
| |
| |
| | |
remove hard coded report page behaviour
|
|/ |
|
| |
|
|
|
|
|
|
| |
Sending to Bucks reports made on non-Bucks roads was only disabled if
Bucks was the only body concerned; flytipping is a concern of both
tiers, but reports on non-Bucks roads should still not be sent to Bucks.
|
|
|
|
| |
GeoJSON is used by the /reports page now, not KML.
|
| |
|
|
|
|
| |
Arguments in TT functions are passed as a hashref.
|
|
|
|
|
| |
This prevents leaking of user account phone
number on a failed login attempt.
|
|
|
|
|
|
| |
Previously it would only check the first matching entry, which could
miss out on information if two bodies had the same category and only
the second one looked at had metadata, or was marked as non-public.
|
|\ |
|
| | |
|