Commit Graph

128 Commits

Author SHA1 Message Date
Eric van der Vlist bb763435ef Don't compact trksegs if you don't own them 2023-03-07 18:41:05 +01:00
Eric van der Vlist e620db5c7b Change origin format in put() 2023-03-06 21:38:50 +01:00
Eric van der Vlist adbbb3e356 First version of notes, also allowing to delete wpts 2023-03-06 16:45:20 +01:00
Eric van der Vlist 5404a6e5ad Implementing notes (WIP) 2023-03-06 09:24:39 +01:00
Eric van der Vlist c8644c8817 Replacing URLs by user ids in origins 2023-03-04 16:07:22 +01:00
Eric van der Vlist f07bf07c3f Replacing shared by to 2023-03-04 15:13:27 +01:00
Eric van der Vlist a32faaa837 Saving the new account 2023-03-04 11:59:34 +01:00
Eric van der Vlist 1406e88ad6 console.log's 2023-02-15 10:43:29 +01:00
Eric van der Vlist c4b2fa175d Bug fix (trkpts were deleted during compaction) 2023-02-14 20:55:20 +01:00
Eric van der Vlist 1d5d158f8c Bug fix when creating the first gpx. 2023-02-13 20:57:30 +01:00
Eric van der Vlist 51ab7c38e0 Store the current gpx id in account docs 2023-02-13 18:30:01 +01:00
Eric van der Vlist 8d32fa253a Bug fix 2023-02-13 15:59:41 +01:00
Eric van der Vlist 6dfe98b655 Refactoring the worker / db init flow. 2023-02-13 15:44:02 +01:00
Eric van der Vlist df42a684c3 Updating GPX import to use parent's shared. 2023-02-13 11:23:17 +01:00
Eric van der Vlist e445a7e1af db put should take parent's shared by default. 2023-02-13 10:56:48 +01:00
Eric van der Vlist cbd5eb1e04 Adding documents origin. 2023-02-12 21:23:30 +01:00
Eric van der Vlist 9dacad9af3 Adding a "shared" property to gpxes and family. 2023-02-12 18:14:14 +01:00
Eric van der Vlist 4502162a36 Removing a few console.log... 2023-02-12 14:10:56 +01:00
Eric van der Vlist 89689c5ed6 Porting db health to single worker mode. 2023-02-12 10:46:26 +01:00
Eric van der Vlist 0d86b789c1 Moving sync back in the first worker (sync doesn't see updates done in other workers!) 2023-02-11 20:23:18 +01:00
Eric van der Vlist 79fed3cc28 Simplification 2023-02-11 16:08:07 +01:00
Eric van der Vlist 0e714ac361 Searching a new balance between the two web workers... 2023-02-11 15:55:49 +01:00
Eric van der Vlist 4a4ebdff50 Upgrading to the PouchDb indexedDb adapter while testing signals in web workers... 2023-02-11 11:31:32 +01:00
Eric van der Vlist b30af4c3ac Applying the same update to trkpt 2023-02-10 15:30:45 +01:00
Eric van der Vlist d8d15d9d83 More tests 2023-02-10 08:09:13 +01:00
Eric van der Vlist 31669d8aac Adapting the address fetcher for rtes. 2023-02-10 06:35:10 +01:00
Eric van der Vlist 796147e4a9 One more test (and bug fix). 2023-02-09 21:11:17 +01:00
Eric van der Vlist c30ceecbb1 More tests and debugging putRtept 2023-02-09 21:07:09 +01:00
Eric van der Vlist 3f5bb1633c More tests 2023-02-09 16:37:46 +01:00
Eric van der Vlist a04fcab25d Adding more tests. 2023-02-09 14:36:14 +01:00
Eric van der Vlist e8a3d8c62e Re implementing a basic test for db/gpx.ts 2023-02-09 14:25:13 +01:00
Eric van der Vlist 2387b1a4e9 Stting up vitest. 2023-02-09 13:57:14 +01:00
Eric van der Vlist e2ef46b612 More updates related to the previous changes. 2023-02-08 22:39:04 +01:00
Eric van der Vlist 92ffe42ab9 Major update: storing trkpt and rtept inside trkseg and rte instead of independent documents. 2023-02-08 20:44:28 +01:00
Eric van der Vlist 03c0476f46 Removing tests which hadn't been updated since React (shame on me). 2023-02-07 16:47:26 +01:00
Eric van der Vlist e528db9fad Bug fix (was raising an error when no rows were returned) 2023-02-05 17:41:33 +01:00
Eric van der Vlist db337892c4 More robust id handling in imports and rte delete. 2023-02-03 14:57:40 +01:00
Eric van der Vlist 5658cc0556 Bug fix. 2023-02-03 11:59:40 +01:00
Eric van der Vlist ccbcd12f96 Workaround for a pouchdb/chrome bug. 2023-02-02 22:19:31 +01:00
Eric van der Vlist 55830251e0 Wpt editor: we can add waypoints (at last !) 2023-02-02 16:10:20 +01:00
Eric van der Vlist 8ddbe1bdee Adding a basic mechanism to choose overlays (not operational yet) 2023-01-21 17:13:25 +01:00
Eric van der Vlist 9ade878deb Don't use useGeographic anymore since it doesn't work with clusters. 2023-01-20 21:11:18 +01:00
Eric van der Vlist 9931887f03 Still working on trk delete. 2023-01-09 14:23:41 +01:00
Eric van der Vlist 45f7c797e7 Implementing a delete method for tracks. 2023-01-08 22:05:08 +01:00
Eric van der Vlist 1f2979b28b Improving TrkSegViewer 2023-01-07 18:46:14 +01:00
Eric van der Vlist e7b27cda4e Adding adresses to rtept rather than rte. 2023-01-07 15:41:16 +01:00
Eric van der Vlist 2ca519a53c Using peekCachedSignal to speedup GpxDialog 2023-01-07 15:14:44 +01:00
Eric van der Vlist 97f11239e8 Adding buttons to reverse geocode routes. 2023-01-05 18:27:20 +01:00
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