140 Commits
Author SHA1 Message Date
mbirth dab11521ec Fix missing tracker_id on import. 2018-10-09 01:48:00 +02:00
mbirth 3e78595917 Tidy up Gpx creation into own class. Make download work properly. 2018-10-09 01:21:14 +02:00
mbirth bf3c2a7d5a Throw exceptions on SQLite problems. 2018-10-09 00:24:10 +02:00
mbirth c0da94a4a9 Don't change map view when toggling markers. 2018-10-09 00:23:38 +02:00
mbirth 38588ae27d More date stuff fixes. 2018-10-09 00:22:51 +02:00
mbirth 1195938bd2 New "Export GPX" button which exports current view as GPX. 2018-10-08 02:06:51 +02:00
mbirth f2e7d8bfba Better date handling - should work in all timezones now. Also possible
to specify exact time to retrieve in URL.
2018-10-07 23:51:28 +02:00
mbirth 3e65e5ac5a Added SQL to convert existing datestrings to unixtime. 2018-10-07 02:21:11 +02:00
mbirth 5acbfedea1 Set default dt to unix timestamp instead of datestring. For more compact
storage.
2018-10-07 02:14:57 +02:00
mbirth e0adb411c7 Switched to offical FontAwesome5 (NPM-)package. 2018-10-05 22:28:50 +02:00
mbirth 6b81b63771 Switched from Bower to Yarn. 2018-10-03 21:49:20 +02:00
mbirth 652dbe8202 Added lots of new tile sources. Set Thunderforest API key in
ownmap.coffee and recompile.
2018-10-03 20:38:22 +02:00
mbirth b3df214cc2 Add day navigation map buttons. 2018-08-12 23:45:41 +02:00
mbirth 20713d79c9 DB Query returns Location objects. 2018-08-12 22:16:47 +02:00
mbirth 22598acfc9 Cleanup. 2018-08-12 21:58:43 +02:00
mbirth 6de9944236 Optimise record taking, prepare for other record types. 2018-08-12 17:46:43 +02:00
mbirth e0d7a45e37 Bugfix. 2018-08-12 15:55:52 +02:00
mbirth b7480fc03b Updated dependencies. 2018-08-12 14:50:04 +02:00
mbirth fad87cfdab Only report back people with location updates in the last 24 hours.
Also: small bugfix.
2018-06-23 16:47:56 +02:00
mbirth 4f76f94e11 Add MapSurfer layer. 2018-06-10 15:34:30 +02:00
mbirth 868323f2f6 Fix bug with wrong filter when no cookie is set. 2018-06-09 15:43:13 +02:00
mbirth c79d2cb79c Method to change map layer opacity. Might be implemented as a slider
some day.
2018-06-09 15:06:28 +02:00
mbirth c0381a1abc Prepare for time-based queries. 2018-06-09 15:05:38 +02:00
mbirth 5e163f3a2f Fix "Today" button for timezone differences. 2018-06-04 00:44:51 +02:00
mbirth 79c2cec956 Integrated reset_zoom as a map button. 2018-06-04 00:05:05 +02:00
mbirth e6ad834645 VSCode settings. 2018-06-04 00:04:30 +02:00
mbirth 6260fa09fa Add Leaflet.EasyButton and add show_markers toggle to map. 2018-06-03 23:35:14 +02:00
mbirth 6309dd7bfa Update CoffeeScript to 2.3.1. 2018-06-03 22:51:56 +02:00
mbirth 8db766dc9c Restore filter functionality in UI. 2018-06-03 20:45:57 +02:00
mbirth 476f532544 Use "gold" instead of "orange" for rainbow colour. 2018-06-03 19:21:06 +02:00
mbirth c3a794bee1 Rainbow colours for polyline. 2018-06-03 19:12:35 +02:00
mbirth fea51175dc Add tid filtering to MarkerMgr. Not yet implemented in UI code. 2018-06-03 19:05:05 +02:00
mbirth ed255663ec Add support for storing topic (sent by iOS app). 2018-06-03 17:08:55 +02:00
mbirth 86257709bc Fixed ShowHideMarkers persistency via Cookie. 2018-06-03 16:54:26 +02:00
mbirth 328005ac4a Brought back Show/Hide markers functionality. 2018-06-03 16:43:56 +02:00
mbirth 5b7d0eb12f Use getMarkers() instead of Array object directly. 2018-06-03 01:37:46 +02:00
mbirth 09188fa0e7 Move around a few lines. Remove showMarkers-toggle for later
reimplementation.
2018-06-03 00:54:20 +02:00
mbirth cd85618672 Moved marker/polyline code to MarkerMgr class. Use location_id instead
of epoch for operations.
2018-06-02 22:18:16 +02:00
mbirth aa5a9946b7 Fix removal of markers/polylines when switching days. 2018-05-26 00:42:45 +02:00
mbirth 0cced626bc Get tracker_id from RPC answer. 2018-05-25 00:50:09 +02:00
mbirth 64cad5adcb Enable foreign_keys for SQLite. Add unique location id to records. 2018-05-23 01:27:30 +02:00
mbirth 800e4d9b06 Start moving marker code to MarkerMgr class. 2018-05-23 00:52:29 +02:00
mbirth 00beaaa178 Adjust date range if e.g. dateFrom is after dateTo. 2018-05-20 22:31:18 +02:00
mbirth a8d2228e00 Add 2 more tile layers. 2018-05-18 00:34:17 +02:00
mbirth 4d857fc024 Moving around marker drawing code. 2018-05-11 18:35:09 +02:00
mbirth d7655cd767 Update FontAwesome to 5.0.13. 2018-05-11 18:34:32 +02:00
mbirth 617e502cf3 Fix issue with JavaScript and time zones. (Only occurred when UTC was on
a different date than local time.)
2018-05-09 01:37:32 +02:00
mbirth d14eb463f5 Rewrite fetching markers into Promise. Also renamed a few things. 2018-05-07 01:55:32 +02:00
mbirth f861b246a8 Sanitise date input (e.g. from GET variables). 2018-05-06 04:03:04 +02:00
mbirth 09e5ed9ce8 Update bootstrap and font-awesome version numbers. 2018-05-06 03:52:31 +02:00