Commit Graph

130 Commits

Author SHA1 Message Date
Eric van der Vlist 91916fca88 Debouncing updates from the worker to the main thread (this was crashing the app during heavy syncs). 2022-12-28 18:50:09 +01:00
Eric van der Vlist ad9b70173f First working version with the account dialog. 2022-12-26 18:04:01 +01:00
Eric van der Vlist 8a4396fb20 Still working on the account dialog. 2022-12-26 17:31:05 +01:00
Eric van der Vlist 5dbf080190 Progressing into the implementation of the Account dialog. 2022-12-25 22:09:52 +01:00
Eric van der Vlist 5ca12b6780 Adding a mechanism to postpone DB access before the DB is ready. 2022-12-25 21:37:59 +01:00
Eric van der Vlist a36c8a28a4 Implementing an 'account' dialog (WIP) 2022-12-25 16:30:47 +01:00
Eric van der Vlist 0e2ffb0cf2 Creating a second PouchDB database for local (non sync'ed) documents such as state. 2022-12-24 16:39:55 +01:00
Eric van der Vlist cef7431012 Cosmetic bug in GPX import. 2022-12-23 16:30:24 +01:00
Eric van der Vlist 55164ef2a3 Testing CouchDB sync. 2022-12-23 15:41:03 +01:00
Eric van der Vlist 040122189c Dirty hack to store the app state and restore it at app startup. 2022-12-13 22:26:17 +01:00
Eric van der Vlist acc1d7cc1e (Re)Adding background geolocation. 2022-12-13 20:59:39 +01:00
Eric van der Vlist 3d2db84235 Converting tracks without timestamps to routes during import. 2022-12-13 15:17:50 +01:00
Eric van der Vlist 90fb0e6944 First version of the new importer (stiil needs to convert non timed tracks into routes). 2022-12-13 12:41:13 +01:00
Eric van der Vlist daed8e5dc1 GpxDialog (working). 2022-12-12 20:57:25 +01:00
Eric van der Vlist 6da10713a0 GpxDialog (looking good). 2022-12-12 18:55:14 +01:00
Eric van der Vlist 59faede004 Begining to implement a GPX Dialog component 2022-12-12 11:41:09 +01:00
Eric van der Vlist 31bec02496 Starting to implement a proper UI for GPX import. 2022-12-11 16:20:34 +01:00
Eric van der Vlist 3a5f5260c8 Replacing PouchDB indexes (used only to get the list of Gpxes by a custom implementation. 2022-12-11 10:45:08 +01:00
Eric van der Vlist 882e5545fd Allowing multiple Gpx files import 2022-12-10 21:25:15 +01:00
Eric van der Vlist 86a8c823f1 Changing Gpx and Trkpt indexes so that GPX are sorted by datetime desc and Trkpt use their timestamp as indexes. 2022-12-10 18:31:51 +01:00
Eric van der Vlist be72adce05 Modifying pouchdb index. 2022-12-10 16:52:52 +01:00
Eric van der Vlist da053dcb50 Displaying routes. 2022-12-09 17:31:56 +01:00
Eric van der Vlist f84c82bc32 Relying on the change handler for Gpx, Trk and Trkseg too. 2022-12-09 15:18:14 +01:00
Eric van der Vlist c2d6f6f285 Relying on the change handler for AllGpxes and FPX import. 2022-12-09 14:57:54 +01:00
Eric van der Vlist 38224d73da Adding minZoom extension property for Wpts 2022-12-07 15:09:08 +01:00
Eric van der Vlist 156fefae3b Working on Wpt save after edition. 2022-12-06 21:27:25 +01:00
Eric van der Vlist 5829f93c91 Refactoring to watch WPT updates. 2022-12-06 14:36:50 +01:00
Eric van der Vlist 6465a371cb Testingpouchdb change handler 2022-12-05 18:49:36 +01:00
Eric van der Vlist 3e191dbf38 Adding `<Suspense>` wrappers to start rendering Gpxes before they have all been fetched and removed auto compaction and compact db at init time. 2022-11-30 11:15:53 +01:00
Eric van der Vlist 6121df68bf Adding `<Wpt>` 2022-11-28 11:52:50 +01:00
Eric van der Vlist 37fd31a040 Displaying trksegs through geojson. 2022-11-27 17:12:25 +01:00
Eric van der Vlist ab7374f360 `<Trkseg>` component 2022-11-27 16:18:50 +01:00
Eric van der Vlist 54f2ab06d9 `<Trk>` component 2022-11-27 16:09:08 +01:00
Eric van der Vlist 79fb39100f `<Gpx>` component 2022-11-27 15:50:08 +01:00
Eric van der Vlist 346b9a1186 Creating a `<AllGpxes>` component. 2022-11-27 14:32:21 +01:00
Eric van der Vlist 5de30283b1 Reintroducing WebWorkers (pfeeew, Vite makes it tough !) 2022-11-26 19:36:55 +01:00
Eric van der Vlist e75b2f670c Starting again... 2022-11-22 08:19:52 +01:00
Eric van der Vlist 2733906196 Bug fix. 2022-11-17 22:13:07 +01:00
Eric van der Vlist ef3759079c Displaying GPX tracks (1st attempt) 2022-11-17 12:55:00 +01:00
Eric van der Vlist d86d63ca61 Starting to implement GPX visualization. 2022-11-15 20:19:14 +01:00
Eric van der Vlist cd9ee67fed Removing unused indexes. 2022-11-15 16:03:36 +01:00
Eric van der Vlist 9b23bcec5c Computing bounding boxes when saving GPX files. 2022-11-15 15:24:21 +01:00
Eric van der Vlist 947f4dff3a Adding a new URI for GPX technical data and changing the index of wpt, rte and trk. 2022-11-15 14:39:52 +01:00
Eric van der Vlist 5fdd63103e Reimplementing GPX imports. 2022-11-14 18:35:04 +01:00
Eric van der Vlist 68ebdbdbf6 Using plainnumbers instead of BigInts for GPXids. 2022-11-14 11:39:37 +01:00
Eric van der Vlist 00ad6285d0 Updating pouchdb keys based on an updated version of docuri. 2022-11-13 20:02:11 +01:00
Eric van der Vlist 12f0a8a10d Using full ISO dates as Gpx ids to support a wider range of dates. 2022-11-09 10:32:06 +01:00
Eric van der Vlist 441c623999 Rtept 2022-11-08 22:14:29 +01:00
Eric van der Vlist 2245c1ff00 Routes 2022-11-08 22:02:06 +01:00
Eric van der Vlist 1b9c7fc261 Waypoints 2022-11-08 21:51:26 +01:00
Eric van der Vlist 16ca39a160 Track points 2022-11-08 21:09:33 +01:00
Eric van der Vlist b0f767721a Track segments 2022-11-08 20:21:34 +01:00
Eric van der Vlist b79599a350 More tests 2022-11-08 20:04:21 +01:00
Eric van der Vlist 9cc4c404b0 Adding more tests. 2022-11-08 18:57:37 +01:00
Eric van der Vlist a53c0210ea Going on with tracks. 2022-11-08 14:16:23 +01:00
Eric van der Vlist 26486b65b9 Cleanup and starting to implements tracks. 2022-11-07 22:12:50 +01:00
Eric van der Vlist 36a3199b36 Code restructuring for db updates. 2022-11-07 18:20:01 +01:00
Eric van der Vlist 2f362916da Trying to save a simple GPX. 2022-11-07 17:04:02 +01:00
Eric van der Vlist 510736a33a Starting to reimplement GPX db functions. 2022-11-07 16:38:44 +01:00
Eric van der Vlist ebf4f39331 More fun with web workers... 2022-11-07 11:44:35 +01:00
Eric van der Vlist 84e1ece691 PouchDB init 2022-11-03 17:27:02 +01:00
Eric van der Vlist a4bd11aab0 Restarting from scratch 2022-10-17 10:08:00 +02:00
Eric van der Vlist 330b4bb721 Cleanup. 2022-10-04 11:18:22 +02:00
Eric van der Vlist c0015a7cfa Creating a mechanism to store settings both in the database and in redux. 2022-10-03 21:08:27 +02:00
Eric van der Vlist 3b23094de5 Restoring JSON sample 2022-10-03 15:37:43 +02:00
Eric van der Vlist ca28d767c0 Hybrid implementation for GPXexport (#9) using the capacitor FileSystem plugin when needed. The export is done in the Documents/Download folder and there is no notification (yet). 2022-10-02 16:37:06 +02:00
Eric van der Vlist cb4a257003 First version with a GPX export (#9) that works in a browser but, unfortunately, doesn't wotk on Adroid ! 2022-10-02 12:45:08 +02:00
Eric van der Vlist 2fe7452811 Adding the possibility to delete tracks, moving the import button into the track browser, changing the background geolocation precision to 5m and adding a couple of calls to db.compact() and db.viewCleanup(). 2022-09-28 09:46:57 +02:00
Eric van der Vlist 3235d9ae70 Basic dialog to start/pause/stop and clear track recording. 2022-09-27 21:53:52 +02:00
Eric van der Vlist 6e9fc21830 Storing track points independently from their tracks (#3). Also adding some basic tests for gpx database operations. 2022-09-26 21:48:46 +02:00
Eric van der Vlist e1da4a1e4a Cleanup indexes at start time and waith till the cleanup is done before rendering the whiteboard. 2022-09-26 11:51:27 +02:00
Eric van der Vlist fafde7b831 Starting to refactor to store track points independently from their tracks (WIP) (#3) 2022-09-26 01:46:19 +02:00
Eric van der Vlist aea83fac5d Testing error status on db.get(). 2022-09-25 18:54:13 +02:00
Eric van der Vlist b7e1a318a8 Adding error log messages. 2022-09-25 18:47:37 +02:00
Eric van der Vlist 20ae635d3f Storing the current track in pouchdb. 2022-09-25 08:46:05 +02:00
Eric van der Vlist 82997cd53f Re-implementing the background geolocation (not yet stored in a track) 2022-09-24 18:56:41 +02:00
Eric van der Vlist eae6296c2a Using pouchdb instead of redux to store tracks. 2022-09-24 17:08:53 +02:00
Eric van der Vlist 52ca7e3fe7 Removing localforage and friends. 2022-09-24 10:31:40 +02:00
Eric van der Vlist 548d4a43cb Using CordovaSQLiteDriver whenever possible. 2022-09-23 23:39:53 +02:00
Eric van der Vlist d0bac1c509 Storing imported tracks in local "forage". 2022-09-23 22:34:59 +02:00