| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
bin/update-schema --commit should now work
A downgrade is also provided. Run bin/update-schema --help for details
|
| |
|
| |
|
|
|
|
| |
This should reduce confusion with the Default cobrand and override order.
|
|
|
|
| |
Allow fetch-comments-24hs to be executed directly.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This moves the default away from search.cpan.org, which is currently
down. Have tested by rerunning bin/install_perl_modules, which runs
to completion, and starting Cat server.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A raw DateTime object was being passed as a parameter in an SQL
query, which was causing undefined behaviour and a warning
every time the Zurich overdue problems script was run.
The DateTime is now converted into a format suitable for use in
the query and the warning has gone.
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
Closes #703
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is to stop the main FixMyStreet .po file being filled up with
strings that only apply to a single Cobrand that are not relevant to
people running their own fairly vanilla version.
Restrict the list of templates that we pull strings out of by generating
a list of all the ones in currently translated cobrands for minimal
impact. Use that to create the FixMyStreet.po file in gettext-extract.
I've left the existing cobrands in but at some point we should split
these out.
Add a specific script for generating Cobrand .po files which extracts
strings from the Cobrand's templates. This is then translated and the
translated file place in the locale/$lang/LC_MESSAGES.
The the merge_cobrand_po script is run which will create an
autoCobrand.po file which has the Cobrand strings and the FixMyStreet
strings. This is then the domain used by the Cobrand.
Any cobrand specific strings from the Perl code are still in the
main FixMyStreet .po file but there should be relatively few of them so
it's less of an issue.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run bin/geocode -h for options.
Has:
* configurable cobrand / config-file / geocoder
* some diagnostics for missing cobrand
Minor fixes rebased into this commit:
* bin/geocode error if no --cobrand passed
* bin/geocode docs and accept GEOCODER as string
Notable TODOs remaining:
* reverse geocoding, to double check that latitude actually maps
somewhere useful (and is within Cobrand's boundaries)
* diagnosis of relevant CONFIG settings
* flag to disable caching
|
|
|
|
| |
Add some comments to the top of the open311 bin scripts.
|
| |
|
|
|
|
|
| |
This is very old, no-one seems to want/need it any more,
and more than one reuser does not want it. Fixes #715.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Run with bin/make_css_watch
This watches the .scss files in web/cobrands/* and runs the appropriate
sass/compass commands (as per bin/make_css) on just those directories
with changed files.
As a special case, a change to the partials in web/cobrands/sass will
cause a rebuild of all cobrands.
|
|/
|
|
|
| |
Include a one-off script that sets send_questionnaire to 0 for
all available cobrands that have send_questionnaires set to 0.
|
|
|
|
|
| |
Also add warning to Geocoder to pass on server error if you are running
in development.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
bin/update-schema
locale/sv_SE.UTF-8/LC_MESSAGES/FixMyStreet.po
perllib/FixMyStreet/DB/Result/Body.pm
|
| | |
|
| |
| |
| |
| |
| |
| | |
This commit reverses the "Remove unused Open311 GetUpdates code." commit.
FixaMinGata, the Swedish FixMyStreet cobrand, is still using
open311-update-reports.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Note how we'd like to do the same with SOAP::Lite.
|
| | |
| | |
| | |
| | | |
This keeps the dependencies of carton separate from those of FixMyStreet.
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| | |
to allow a wider range of action logging.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
see mysociety/FixMyStreet-Commercial#459 - "a report is moderated as
soon as its state has changed for the first time from Erfasst (en:
Submitted / db: unconfirmed) to any other state."
Thus we move 'confirmed' problems from the 1-day moderation SLA, to
a 5-day one, with $include_parent unset (e.g. as with 'planned' it
is with the DM, so doesn't need to be sent to the parent body also.)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This caused issues with the comment.problem_state column constraints
when running on the vhost as some problems were marked as hidden
(under normal circumstances you can't add a comment to a hidden
problem). Because this column is nullable we simply don't add it
to avoid this issue.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the development parameter is passed to the install-script, don't
install a crontab, don't set up nginx, don't force the repository
to a particular version, and don't set up an application server.
Also only create a general.yml file if one doesn't already exist,
and add some locales that the test suite assumes are present. And
run the db schema update script.
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
t/cobrand/zurich.t
|
| |/ |
|
|/
|
|
| |
comments
|
| |
|