Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Allow cobrands to disable moderation emails | Dave Arter | 2017-11-22 | -11/+59 | |
| | | | | | | | This adds a new send_moderation_notifications method which can be overridden by cobrands to prevent “your report has been moderated” emails from being sent. Fixes mysociety/fixmystreet-commercial#936 | ||||
* | Switch to minified jQuery multi-select library. | Matthew Somerville | 2017-11-22 | -339/+11 | |
| | | | | And fix reference to it in the front page prefetch list. | ||||
* | Fix update-all-reports for all bodies generation. | Matthew Somerville | 2017-11-21 | -1/+2 | |
| | | | | | Only works on bodies with an associated area, and requires the object to be passed in, not just its ID. | ||||
* | Move jquery.multi-select.js into vendor directory | Zarino Zappia | 2017-11-20 | -1/+1 | |
| | | | | | The multi-select plugin is a separate project, and should be treated as a vendor file. | ||||
* | Upgrade to latest version of jquery.multi-select.js | Dave Arter | 2017-11-20 | -35/+38 | |
| | | | | | | | In particular, this lets us ensure only one multiselect can be open at a time – for example in the "Show [X] reports about [Y]" list filters. Fixes mysociety/fixmystreetforcouncils#247. | ||||
* | Prevent multiple 'Expand map' links appearing. | Matthew Somerville | 2017-11-16 | -2/+3 | |
| | | | | | | | On mobile, if you e.g. selected one report and then another, you'd get another "Expand map" appearing. Check that one is needed before adding it, and also make sure the handler is only attached once to prevent it conflicting with itself (and so cancelling itself out). | ||||
* | Treat dashboard end date as that given, inclusive. | Matthew Somerville | 2017-11-16 | -3/+4 | |
| | | | | | If someone selects 15-16th November, they want reports from both those dates, not just the 15th. | ||||
* | Hide update form for inspectors in HTML. | Matthew Somerville | 2017-11-16 | -11/+18 | |
| | | | | | This prevents the form scroll going to the wrong place when the form was being hidden later on. | ||||
* | Merge branch '1901-js-deferring' | Matthew Somerville | 2017-11-15 | -1790/+397 | |
|\ | | | | | | | Updated geolocation.js with concurrent changes. | ||||
| * | Have front page load minimal JS necessary. | Matthew Somerville | 2017-11-15 | -4/+31 | |
| | | | | | | | | | | | | By creating a small file with only what is needed (focus, js flagging), we can drop loading jQuery and all the application JavaScript on the front page, prefetching them instead. | ||||
| * | [fixmystreet.com] Factor out front-page-only JavaScript. | Matthew Somerville | 2017-11-15 | -31/+53 | |
| | | |||||
| * | Factor out geolocation to pages that need it. | Matthew Somerville | 2017-11-15 | -51/+79 | |
| | | |||||
| * | Use modern prefetch. | Matthew Somerville | 2017-11-15 | -58/+89 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the yepnope library, instead using <link rel="prefetch"> with a polyfill (the polyfill will work on Safari but reload cached script on the front page each time). We prefetch map-related JavaScript (and other libraries only used on map pages, such as Dropzone and Fancybox) on non-map pages, and don't bother loading the validate plugin on the front page. Now the map JavaScript list is available everywhere, we can use that in the prefetch rather a hardcoded list. | ||||
| * | Make sure map/front bodyclass available throughout page. | Matthew Somerville | 2017-11-15 | -11/+14 | |
| | | |||||
| * | Move map JS to code, to be used on all pages. | Matthew Somerville | 2017-11-15 | -110/+122 | |
| | | |||||
| * | Only include offline JavaScript if needed. | Matthew Somerville | 2017-11-15 | -6/+6 | |
| | | |||||
| * | Factor all make_multi together. | Matthew Somerville | 2017-11-14 | -4/+1 | |
| | | |||||
| * | [fixmystreet.com] Move line to better template. | Matthew Somerville | 2017-11-14 | -5/+4 | |
| | | |||||
| * | [fixmystreet.com] Remove unused code. | Matthew Somerville | 2017-11-14 | -1499/+0 | |
| | | |||||
| * | [fixmystreet.com] Remove jQuery cookie plugin. | Matthew Somerville | 2017-11-13 | -16/+3 | |
| | | |||||
| * | [fixmystreet.com] Reduce filesize of tile-y.jpg. | Matthew Somerville | 2017-11-13 | -0/+0 | |
| | | | | | | | | Ran it through convert -sampling-factor 4:2:0 -quality 85 -strip. | ||||
* | | Changelog | Zarino Zappia | 2017-11-15 | -0/+1 | |
| | | |||||
* | | Remove unused cross-white.* images | Zarino Zappia | 2017-11-15 | -1/+0 | |
| | | |||||
* | | Remove sprite.png | Zarino Zappia | 2017-11-15 | -2/+0 | |
| | | |||||
* | | Problem status "banner" no longer uses sprite.png | Zarino Zappia | 2017-11-15 | -22/+25 | |
| | | |||||
* | | Collect button icons into a single sprite | Zarino Zappia | 2017-11-15 | -69/+47 | |
| | | | | | | | | | | | | Replace `.button-fwd` and `.button-back` with `button--*` classes to match the existing button styles. And combine the various button icons into a single sprite file. | ||||
* | | Use report-tools sprite for mobile "back to map" tab | Zarino Zappia | 2017-11-15 | -3/+12 | |
| | | |||||
* | | Pseudo-element icons for #key-tools | Zarino Zappia | 2017-11-15 | -138/+138 | |
| | | | | | | | | | | | | | | | | Buttons in #key-tools now get their icons from a single sprite, and have less overpowered selectors. Moving to a pseudo-element approach meant we could cut out some complex padding/background stuff, but also meant we needed to switch to <button> elements rather than <input> elements for the "Remove from site" action. | ||||
* | | Move sub_map_links icons out of sprite.png | Zarino Zappia | 2017-11-15 | -86/+95 | |
| | | |||||
* | | Move fancybox magnify icon out of sprite.png | Zarino Zappia | 2017-11-15 | -9/+15 | |
| | | |||||
* | | Move pan/zoom controls out of sprite.png | Zarino Zappia | 2017-11-15 | -11/+15 | |
| | | |||||
* | | Move default site logo out of sprite.png | Zarino Zappia | 2017-11-15 | -2/+5 | |
| | | |||||
* | | Remove IE6 sprite GIFs | Zarino Zappia | 2017-11-15 | -10/+0 | |
| | | |||||
* | | Remove sprite.png from FixaMinGata and FiksGataMi | Zarino Zappia | 2017-11-15 | -6/+6 | |
| | | | | | | | | | | | | | | Move the logos for FixaMinGata and FiksGataMi into their own files (like most cobrands do) so we can remove their forked copies of `sprite.png`. Part of #1888. | ||||
* | | Round geolocated co-ordinates to 6 decimal places. | Matthew Somerville | 2017-11-15 | -2/+2 | |
| | | |||||
* | | Fix front page geolocation function. | Matthew Somerville | 2017-11-15 | -1/+2 | |
| | | | | | | | | | | The changes in 6c6ae623 meant that the link was now being caught by the `js=1` filter and the redirect failed with two `?`. | ||||
* | | Merge branch '1905-fix-broken-geocoder-results' | Matthew Somerville | 2017-11-15 | -5/+9 | |
|\ \ | |||||
| * | | Make sure returned geocoder data is UTF-8 decoded. | Matthew Somerville | 2017-11-15 | -4/+8 | |
| | | | | | | | | | | | | | | | | | | It turns out that HTTP::Message (as used by LWP::Simple::get) only decodes text/* and 'XML', not application/json, as used by all the geocoders. Work around this, hopefully in a future-proof way. | ||||
| * | | Sort geocoder query parameters in URL. | Matthew Somerville | 2017-11-15 | -1/+1 | |
| |/ | | | | | | | This means there should only be one cache entry per request. | ||||
* | | Merge branch 'issues/forcouncils/246-dashboard-date-range' | Matthew Somerville | 2017-11-15 | -28/+101 | |
|\ \ | |||||
| * | | Improve styling of filters on council dashboard page | Zarino Zappia | 2017-11-14 | -35/+40 | |
| | | | |||||
| * | | add date range options to council dashboard | Struan Donald | 2017-11-14 | -1/+69 | |
| |/ | |||||
* / | [Borsetshire] Homepage login hint banner | Zarino Zappia | 2017-11-15 | -0/+58 | |
|/ | | | | Fixes mysociety/fixmystreet-commercial#927. | ||||
* | Make sure large-width base CSS is after preload. | Matthew Somerville | 2017-11-08 | -1/+1 | |
| | | | | | | If it is before, then it is loaded, the onload event doesn't fire, and the base styling is lost if the browser is resized from large to small width. | ||||
* | Remove unused inline JavaScript. | Matthew Somerville | 2017-11-08 | -4/+0 | |
| | | | | Left in by mistake. | ||||
* | Merge branch 'critical-css' | Matthew Somerville | 2017-11-08 | -342/+69 | |
|\ | |||||
| * | [UK] Possible inlining critical CSS on front page. | Matthew Somerville | 2017-11-08 | -2/+40 | |
| | | |||||
| * | Factor out CSS header lines to separate template. | Matthew Somerville | 2017-11-07 | -60/+19 | |
| | | |||||
| * | Show geolocate link more by default. | Matthew Somerville | 2017-11-07 | -9/+8 | |
| | | |||||
| * | Remove unused nicetable/promo CSS/JS. | Matthew Somerville | 2017-11-06 | -180/+0 | |
| | |