Commit Graph

227 Commits

Author SHA1 Message Date
2e4e2c50e8 Update MapTiler URL 2019-04-02 20:35:05 +02:00
87cbe8ae72 Add extra checks for OpenData works importer 2019-02-11 09:01:46 +01:00
276297dcc0 Center the map on position on first display 2019-01-22 11:58:31 +01:00
98f13a3bbb Rename Cyclassist to Cygnal 2019-01-22 11:49:36 +01:00
cdd6533466 Bump translations 2019-01-21 14:32:40 +01:00
450d9575d4 Update Seine-Saint-Denis works opendata URL 2019-01-18 10:09:58 +01:00
c8813a0f29 Use realtime Bordeaux traffic source 2019-01-18 10:00:35 +01:00
368c799933 Fix report fetching and closest report emphasis 2019-01-18 08:25:48 +01:00
a8f99cbaeb Fix an issue with trimester computation 2019-01-14 20:56:13 +01:00
d5b9d9f0fc Fix a bug in NoSleep 0.9.0 and Firefox for Android, https://github.com/richtr/NoSleep.js/issues/63 2019-01-13 17:00:59 +01:00
cadd8869aa Fix icons in modals 2019-01-06 17:16:20 +01:00
cecf1fd8a5 Rework caching expiration handling
Check expiration of cached items when serving them instead of computing
an expiration date when first caching them. If the user changes the
caching duration after a request was cached, the new setting will be
used now.
2019-01-05 15:52:12 +01:00
07ab80542d Cache tiles locally within the ServiceWorker. Fix #40. 2019-01-04 14:23:50 +01:00
76f54932bf Migrate to localforage to support asyncStorage mode 2019-01-04 14:23:39 +01:00
068bcdbfc6 Frontend part of the tiles caching 2019-01-01 20:13:23 +01:00
07edf2bd02 Bump dependencies 2019-01-01 20:12:48 +01:00
0914e18a66 Add an importer for traffic OpenData (from Bordeaux) 2018-12-14 16:31:27 +01:00
5e5a25e59e Bump NoSleep.js version 2018-12-04 14:03:23 +01:00
3e53146013 Improve available tiles
* Add MapTiler Streets tiles, fix
https://framagit.org/phyks/cyclassist/issues/55.
* Add proper attributions for tiles.
* Sort tiles by name in settings.
2018-11-30 15:02:01 +01:00
fc513cddac Use prefetch for MapView chunk 2018-11-30 12:53:50 +01:00
e824404b69 Fix a propType error with icons 2018-11-30 12:53:43 +01:00
49e1d70891 Create a sprite for the report icons, to ensure they are all loaded at the same time 2018-11-29 23:04:16 +01:00
0d5e04860e Use @mdi/fonts instead of material-design font to avoid flashing the icon text if loading of the font is too long 2018-11-29 20:26:34 +01:00
e3132c4298 Move from UglifyJS to Terser
Since uglify-es is no longer maintained, terser should be used instead.
2018-11-29 17:33:06 +01:00
57a7761330 Set up Gitlab CI 2018-11-29 17:25:13 +01:00
b097387825 Don't cache requests from SW in dev mode 2018-11-29 16:35:21 +01:00
b786ba9f4e Remove outdated TODOs comment 2018-11-29 16:22:29 +01:00
15321d3405 Add unittests for dates tools 2018-11-29 14:48:20 +01:00
2c741cfb5c Add proper unittests 2018-11-29 14:13:58 +01:00
82e414a63d Better handling of works in OpenData without date 2018-11-29 12:06:26 +01:00
9ce1e4c6a4 Add a default value for source in Report model 2018-11-29 11:07:22 +01:00
947039658b Fix ES6 minification issues 2018-11-29 10:04:56 +01:00
46f18b2e84 Bump dependencies 2018-11-29 09:33:11 +01:00
09e5a2d4e2 Show nearest reports, handling the area of the report (not only as a
point, but polygon as well)
2018-11-29 09:31:52 +01:00
aed7497d57 Bump dependencies 2018-11-25 17:43:54 +01:00
fc2f349eb6 Refactor handling of positions in OpenData works 2018-11-25 12:52:51 +01:00
85031a5462 Fix typo in OpenData script logging 2018-11-25 12:17:27 +01:00
ce58f5f601 Use cheap-ruler rather than Haversine formula 2018-11-21 12:02:59 +01:00
ff1b987463 Use a better earth radius 2018-11-18 15:22:31 +01:00
dcfa5c5897 Remove useless i18n strings and restore the fetching info alert 2018-11-08 23:37:20 +01:00
14e28694e0 Use dismissible alerts instead of dialogs to notify about errors 2018-11-07 23:18:45 +01:00
22c68454ec Rework the way Map is initialized 2018-11-07 22:25:31 +01:00
944b9842cb Add a search modal, fix for #52 2018-11-07 20:04:00 +01:00
b5e54b0b90 Bump dependencies versions 2018-11-07 20:00:29 +01:00
f2e6091402 Add support for work Opendata in Hauts-de-Seine 2018-11-05 20:07:24 +01:00
f6cb9a3bc0 No caching in SW in development mode 2018-11-01 19:25:59 +01:00
c5b64cfc72 Rework opendata import script
* Homogeneize the handling of opendata files.
* Use a clear distinction between geometry (the position of the report)
and geo_shape (the shape of the report area).
* Keep track of OpenData sources, fix #51.
* Keep track of the area covered by a given report.
2018-11-01 18:04:48 +01:00
20dd75b152 Add a source field to keep track of the source of the reports 2018-11-01 15:43:34 +01:00
903ad14bbc Add a service worker and cache assets
Assets are served from the local cache preferably. They are fetched from
the network if not available. This new addition also enables the "Add to
homescreen" in Chrome/Chromium.

Fix #22.
2018-10-26 14:15:56 +02:00
80b650c2a9 Delete reports when downvoting them 2018-10-25 11:27:54 +02:00