aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Offline.pm
Commit message (Collapse)AuthorAgeLines
* Use ManifestTheme theme_colour for front page theme-color meta tagDave Arter2020-02-26-26/+36
|
* Cache available icons for front pageDave Arter2020-02-26-19/+36
| | | | This saves hammering the FS for every front page request
* Use cobrand manifest icons as iOS icons, if presentDave Arter2020-02-26-18/+27
|
* Remove appcache (breaking showing reports from localStorage cache).Matthew Somerville2020-02-14-28/+1
|
* Initial service worker.Matthew Somerville2020-02-14-0/+9
| | | | | | | | | | | | This basic service worker behaves identically to the existing appcache - some static scripts and CSS are cached, any HTML offline instead returns a static HTML page that knows how to show data on stored problems out of localStorage (stored there when /my/planned was visited online). Inspect form submissions will be captured and can be synced back when online. Once feature parity is established, we will then remove appcache, switch from using localStorage to the cache API, and hopefully move all offline support into the service worker.
* A basic web manifest starter.Matthew Somerville2020-02-14-2/+61
| | | | | Reads information from a theme object if present, and icons from a theme directory, with fallbacks.
* Ignore cache-busting keyword on appcache.Matthew Somerville2019-07-11-1/+1
| | | | | | `params` changed in Catalyst 5.90116 to always include a sole keyword parameter (ie. with no equals sign) as a key with an undefined value; the changelog entry is only "improved test cases for query keywork".
* Reinstate appcache_enabled staging flagDave Arter2017-11-24-1/+2
| | | | | This can optionally disable appcache for superusers which can be handy in development.
* Only include offline JavaScript if needed.Matthew Somerville2017-11-15-3/+1
|
* Only output appcache/manifest for shortlist users.Matthew Somerville2017-02-28-2/+8
| | | | The interception of 404s etc is too much of an inconvenience.
* Allow staging sites to turn off appcache.Matthew Somerville2017-01-10-0/+9
|
* Add offline support of static files/fallback page.Matthew Somerville2016-12-16-0/+32
Use a list to store JavaScript files, so it can be shared between the HTML footer and the appcache manifest.