aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Version 2.0.3.v2.0.3Matthew Somerville2017-03-31-3/+7
|
* [SeeSomething] Remove cobrand.Matthew Somerville2017-03-31-811/+2
|
* Merge branch 'dominican-republic-improvements'Matthew Somerville2017-03-31-7148/+18920
|\
| * Update translationsDave Arter2017-03-30-6812/+18220
| | | | | | | | | | This commit updates the contents of the es_DO translation, and adds new strings ready for translation to the other translation files.
| * Improve translatability of various pages.Dave Arter2017-03-30-320/+652
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the following parts of the site translatable: - Social login buttons - Moderation UI - Offline glitch page & offline caching UI - Dashboard It also fixes a bug in the nget parser, stops some Oxfordshire bits being translated for the moment, and brings the translation file up to date.
| * Use lat/lon on inspection form if local coordinates aren’t availableDave Arter2017-03-30-3/+13
| |
| * Use Google Maps JS API key, if present.Dave Arter2017-03-30-1/+6
| | | | | | | | | | This appends the GOOGLE_MAPS_API_KEY to the Google Maps JavaScript URL as a `key` parameter.
| * Set `background-color`, not `background` on nav linksZarino Zappia2017-03-30-11/+11
| | | | | | | | This makes it easier for cobrands to override nav link styles.
| * Ignore CuidoMiCiudad cobrand symlinksDave Arter2017-03-30-0/+1
| |
| * Add ability to override Google Maps road style.Dave Arter2017-03-30-1/+17
| |
* | Merge branch 'issues/commercial/828-use-osm-for-bristol'pezholio2017-03-30-0/+4
|\ \
| * | Use OSM geocoder for Bristolpezholio2017-03-30-0/+4
| | |
* | | Forward on all bounces as bounces.Matthew Somerville2017-03-30-5/+4
|/ /
* | Add GA tracking URL parameters to links to WriteToThemNick Jackson2017-03-30-5/+5
| |
* | Bring changelog up to date.Matthew Somerville2017-03-28-0/+22
|/
* Merge branch '1639-email-ascender'Matthew Somerville2017-03-28-210/+662
|\
| * Upgrade to using Email::Sender.Matthew Somerville2017-03-28-210/+662
| | | | | | | | | | | | | | | | | | | | Email::Send is long deprecated and uses submodules that no longer work correctly (e.g. Net::SMTP::TLS breaks with recent IO::Socket::SSL). We create an Email::Sender subclass to perform the same functionality and this also simplifies the email code with simpler envelope handling. Bundle Email::Sender::Transport::SMTP to include fix from https://github.com/rjbs/Email-Sender/issues/46
* | Merge branch 'offline-tests'Matthew Somerville2017-03-28-165/+191
|\ \
| * | Fix bug if test run c. 55 hours before BST starts.Matthew Somerville2017-03-23-2/+2
| | | | | | | | | | | | | | | | | | The code was adding two days and seven/eight hours to a floating DateTime, which from 5-7pm on 23rd March 2017 created a DateTime between 1-2am on 26th March which does not exist in e.g. the UK.
| * | Make sure all MapIt tests can run offline.Matthew Somerville2017-03-23-134/+183
| | |
| * | Always include MapIt mock handler in all tests.Matthew Somerville2017-03-23-28/+5
| |/
| * Fix warning, use correct user object in delete logMatthew Somerville2017-03-17-1/+1
| |
* | Add customisable defect types.Dave Arter2017-03-23-40/+593
|/ | | | | | | | | Problems can have an associated defect type, that can be assigned during an inspection. Include an admin interface for managing these types, that can also be assigned on a per-category basis, currently available to the Oxfordshire cobrand. (Also include 'TM' in traffic management Exor RDI output.)
* [fixmystreet.com] Fix WestBerkshire cobrand.Matthew Somerville2017-03-17-1/+1
|
* Show loading indicator when loading pinspezholio2017-03-17-12/+28
|
* Merge branch 'fix-open311-json-output'Matthew Somerville2017-03-17-35/+26
|\
| * Remove superfluous lists from Open311 JSON output.Matthew Somerville2017-03-17-35/+26
| | | | | | | | | | | | | | The Open311 JSON output was wrapping each request parameter in a list. This was presumably to prevent the XML output including the parameters as attributes rather than children. A better way to fix this is to use the NoAttr parameter to XMLout which forces them to be children.
* | Merge branch 'reduce-the-stats-more'Matthew Somerville2017-03-17-9/+9
|\ \ | |/ |/|
| * Do upload_dir check on start up, not each report.Matthew Somerville2017-03-15-9/+9
| | | | | | | | | | If we're chugging through a list of reports, this save on a lot of pointless statting of the upload directory which we know is there.
* | Fix invisible segmented controls in old Webkit.Matthew Somerville2017-03-16-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I can't put it better than https://roland.codes/blog/legacy-flexbox-invisible-float-bug/ : "Webkit’s implementation of legacy Flexbox has an strange bug that makes flex items become invisible when they’re floated. What makes it strange is that the flex items will still take up space in the DOM, as if they have visibility: hidden applied. Usually you wouldn’t use float on flex items (the spec even says that float has no effect on them). But it’s useful for providing a fallback layout when Flexbox isn’t supported. Luckily I chanced on a hack that fixes the bug. All you have to do is give the floated flex items a position, like position: relative, and they’ll (strangely) become visible again. Another option is to use Modernizr to only apply the float when Flexbox isn’t supported. This bug affects legacy Flexbox in all Webkit browsers. Which includes Chrome 20-, Safari 6-, iOS 6.1- and Android 4.3-."
* | [fixmystreet.com] Remove friendly A/B test.Matthew Somerville2017-03-16-288/+0
|/ | | | This has been running for a year, added in e17eb20.
* Merge branch '1660-moderating-influence'Matthew Somerville2017-03-14-5/+29
|\
| * Use name at time of moderation, include superusersMatthew Somerville2017-03-14-4/+27
| | | | | | | | This works better if e.g. a user stops being associated with a body.
| * Store user object when deleting report.Matthew Somerville2017-03-14-1/+2
| |
* | Use sender in From if From and To domains match.Matthew Somerville2017-03-14-11/+36
| | | | | | | | | | | | To deal with a recipient mail server not allowing inbound email using the same domain as an internal domain, e.g. https://community.mimecast.com/docs/DOC-1419
* | Remove duplicate <> around envelope senders.Matthew Somerville2017-03-14-9/+6
|/
* Be clearer if no states selected is not all statesMatthew Somerville2017-03-10-2/+7
| | | | As with 1115f106, a default might not be everything.
* Allow superuser to leave update when inspecting.Matthew Somerville2017-03-10-1/+2
|
* Set up correct environment in cobrand PO script.Matthew Somerville2017-03-10-3/+11
| | | | Uses the same environment as gettext-extract.
* Add is_in_progress Problem helper.Matthew Somerville2017-03-10-4/+28
|
* Merge branch 'issues/forcouncils/171-filter-dropdown-all'Matthew Somerville2017-03-10-3/+5
|\
| * Specify options in 'all' status filter.Matthew Somerville2017-03-09-3/+5
| | | | | | | | | | A cobrand may have a blank default that isn't everything, so the "All reports" option must specify all the possible options.
* | Move staff-only JavaScript to separate file.Matthew Somerville2017-03-10-346/+362
| |
* | Merge branch 'issues/forcouncils/174-dupe-user-tweaks'Matthew Somerville2017-03-09-18/+22
|\ \
| * | Check cobrand users list when admin merging users.Matthew Somerville2017-03-09-1/+8
| | |
| * | Make sure emails are lowercased in admin.Matthew Somerville2017-03-09-17/+14
| |/
* | Add submit buttons to admin index search forms.Matthew Somerville2017-03-09-0/+17
| | | | | | | | Also slightly tidy up display.
* | Reduce unneeded admin CSS specificity.Matthew Somerville2017-03-09-47/+52
| |
* | Make sure report Ajax call is not cached by IE11.Matthew Somerville2017-03-09-1/+1
| | | | | | | | | | IE11 caches this Ajax call, not calling out to the server at all if it is made again (e.g. after an update has been made). Fixes #1638.
* | Refactor SendReport::Open311 to use cobrand hooks.Matthew Somerville2017-03-09-80/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.