Commit Graph

570 Commits

Author SHA1 Message Date
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 9ea29b368f 1000 ! 2023-02-13 10:14:34 +01:00
Eric van der Vlist 05532a2a5f ... 2023-02-13 10:12:59 +01:00
Eric van der Vlist 01554e3383 Breaking after 1000 purges. 2023-02-13 10:11:46 +01:00
Eric van der Vlist 19aaaba3f8 Breaking after 10000 purges to give a chance to delete _local/purges. 2023-02-13 10:02:28 +01:00
Eric van der Vlist e1d6fea35c Removing _local/purges 2023-02-13 09:59:41 +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 8853ea4670 Decreasing delay between purges. 2023-02-12 15:20:41 +01:00
Eric van der Vlist c992782ab7 Firefox issue. 2023-02-12 14:47:03 +01:00
Eric van der Vlist 8a63cc07f4 Bug fix (forEech and promises...) 2023-02-12 14:41:19 +01:00
Eric van der Vlist 4502162a36 Removing a few console.log... 2023-02-12 14:10:56 +01:00
Eric van der Vlist 5a5931dbcd Implementing a mechanism to purge deleted docs. 2023-02-12 12:19:00 +01:00
Eric van der Vlist 534ec32312 Signals are very handy in web workers ! 2023-02-12 11:12:53 +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 51250c1880 Bug fix (bad promise magic!) 2023-02-11 18:21:25 +01:00
Eric van der Vlist 853b158dcf Bug fix 2023-02-11 17:52:11 +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 71bd820da9 Implementing a machanism to purge databases. 2023-02-11 12:02:22 +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 e73497265f Updating TrksegViewer as well. 2023-02-10 15:38:18 +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 8355ee4c1e Differentiating between web and non web platforms. 2023-02-06 18:52:14 +01:00
Eric van der Vlist a458b82dc1 Second attempt to better hide the popup overlay when not shown... 2023-02-06 14:56:39 +01:00
Eric van der Vlist 86427d5ff9 Hiding (through CSS) overlay popups when not shown (otherwise they are just located under the map and show up when the map is moved before tiles are loaded. 2023-02-06 09:24:57 +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 d47a5a7eb1 Working again on styles. 2023-02-04 21:33:34 +01:00
Eric van der Vlist ad6feb6f15 tyles (again) 2023-02-04 18:55:23 +01:00
Eric van der Vlist 38a6230565 Accepting GPX from osmand. 2023-02-04 18:22:05 +01:00
Eric van der Vlist fcaa3b95a0 Still playing with styles for ways 2023-02-04 15:07:50 +01:00
Eric van der Vlist adce285b0f Trying new styles for ways 2023-02-03 21:29:02 +01:00
Eric van der Vlist 1388f993ea <Infos> : displaying feature tags. 2023-02-03 18:37:54 +01:00
Eric van der Vlist 8e519dd862 Simplification of <Infos> 2023-02-03 18:07:18 +01:00
Eric van der Vlist 3daa2d11f9 Filter our multiple occurrences of OSM features in <Infos> 2023-02-03 17:46:56 +01:00
Eric van der Vlist b9d886db69 Slight style update 2023-02-03 17:31:20 +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 0af58ccb4f Call <Finder> on intent 2023-02-02 17:26:56 +01:00
Eric van der Vlist dec79c9c2d Refactoring to use the finder from en intent. 2023-02-02 16:58:23 +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 6451b110b9 Refactoring to avoid using an element Id for the popup. 2023-02-01 21:07:04 +01:00
Eric van der Vlist e3dc1fc083 Refactoring to facilitate creating new Wpts 2023-02-01 17:20:18 +01:00
Eric van der Vlist bd700d8782 <Finder> now supports UTM and lat lon. 2023-01-31 21:39:07 +01:00
Eric van der Vlist eec319b918 Still implementing <Finder> 2023-01-31 18:49:51 +01:00
Eric van der Vlist cc6ca0d718 Starting to implement a <Finder> component. 2023-01-31 17:32:19 +01:00
Eric van der Vlist 79bcf65f27 Differentiating international and national hiking routes 2023-01-31 12:30:28 +01:00
Eric van der Vlist fcc09e2ace Adding poi polygons. 2023-01-31 12:06:34 +01:00
Eric van der Vlist 92c2d37e3b Changing a few style thresholds 2023-01-31 11:56:06 +01:00
Eric van der Vlist 046c4e47d5 Starting to filter POIs points 2023-01-31 11:23:52 +01:00
Eric van der Vlist 1241802888 iInitial mbstyle for hiking (edited with maputnik) 2023-01-31 10:55:55 +01:00
Eric van der Vlist c08cf8bc3f Network is now a feature's attribute (no longer in tags' hstore) 2023-01-31 10:54:31 +01:00
Eric van der Vlist e7c9d0e7cb Relying on server side vector tile filtering 2023-01-30 21:07:23 +01:00
Eric van der Vlist c17f47bb67 Playing with URL hashes 2023-01-30 15:28:35 +01:00
Eric van der Vlist 27a04f8a5d Changing zoom level on intent 2023-01-29 20:44:53 +01:00
Eric van der Vlist a42c6d99a1 Calling <Infos/> when receiving location intent. 2023-01-28 21:51:28 +01:00
Eric van der Vlist 93d13b749a Bug fix in intent (lon/lat may be negative) 2023-01-28 21:29:13 +01:00
Eric van der Vlist 2d73eb0886 Minor enhancements 2023-01-28 19:05:39 +01:00
Eric van der Vlist 3e98f7f745 Using geo.dyomedea.com 2023-01-27 08:22:45 +01:00
Eric van der Vlist c7852ad727 Adaptation to geoserver 2023-01-26 16:48:59 +01:00
Eric van der Vlist 1b4e170690 Testing with geoserver 2023-01-25 22:13:34 +01:00
Eric van der Vlist b85c82b70e Basic interfacs to query OSM data. 2023-01-24 15:18:50 +01:00
Eric van der Vlist eda1270a3c Commenting console.log 2023-01-24 11:48:02 +01:00
Eric van der Vlist d85e72956c Adding missing icons 2023-01-24 11:46:23 +01:00
Eric van der Vlist 2081093ea4 Testing missing icons 2023-01-24 10:54:36 +01:00
Eric van der Vlist 10a5f2fb18 Huge and dirty refactoring of the vector tile stuff. 2023-01-24 10:37:03 +01:00
Eric van der Vlist 36337623ca Refactoring and implementing the actual selection of features to display. 2023-01-21 21:22:36 +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 82e38308a4 Styles... 2023-01-21 12:22:02 +01:00
Eric van der Vlist 6e64c8dd4c Working on styles. 2023-01-20 22:18:36 +01:00
Eric van der Vlist 81ffb65aaf Removing code that had been commented out. 2023-01-20 21:20:41 +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 6e796f88c7 Cosmetics 2023-01-20 18:56:53 +01:00
Eric van der Vlist 982cb722f7 Back to the proxy approach... 2023-01-20 12:58:56 +01:00
Eric van der Vlist 0722fca584 Re-trying the class extension approach. 2023-01-20 12:01:30 +01:00
Eric van der Vlist c70e7baa4b Still working on the cluster proxy 2023-01-19 21:39:52 +01:00
Eric van der Vlist 6f359b2e80 Testing clustering with a proxy. 2023-01-19 21:08:06 +01:00
Eric van der Vlist 420d75520c Adding a feature filter function 2023-01-19 14:04:32 +01:00
Eric van der Vlist 66fc287e5c Still working on clustering. 2023-01-18 22:10:23 +01:00
Eric van der Vlist fce0b54574 Clustering tileVectorSource... 2023-01-18 12:05:48 +01:00
Eric van der Vlist 370a4fa90c Trying clustering... 2023-01-17 17:34:36 +01:00
Eric van der Vlist 0ef74d94be Styling 2023-01-17 12:51:44 +01:00
Eric van der Vlist 12466d214c Moving vector tile layer's MVT to Feature (instead of RenederdFeature) to prepare for clustering. 2023-01-17 12:40:38 +01:00
Eric van der Vlist 4917d27c9c Textfield: rows without multiline doesn't work well on android (the area is 1row and not resizeable) 2023-01-17 11:49:19 +01:00
Eric van der Vlist 088c3c4e27 WPT editor 2023-01-16 22:55:08 +01:00
Eric van der Vlist bdb11a52bb Reimplementing a dialog to edit waypoints 2023-01-16 20:59:00 +01:00
Eric van der Vlist 3153ee308d Improving infos.tsx 2023-01-16 18:25:38 +01:00
Eric van der Vlist ee000862f8 Adding a button to open a POIsearch in a browser 2023-01-16 17:27:49 +01:00
Eric van der Vlist e011124dfe nom update 2023-01-16 16:55:30 +01:00
Eric van der Vlist 356c4b0eba Highlighting housing 2023-01-16 16:28:34 +01:00
Eric van der Vlist cb8e564270 Dirty display of vector tiles feature properties in Infos.tsx 2023-01-16 16:16:22 +01:00
Eric van der Vlist fa60f5229c Hiking trails styles 2023-01-16 09:28:57 +01:00
Eric van der Vlist 47a6159226 Vector tiles (adjusting styles) 2023-01-16 09:11:42 +01:00
Eric van der Vlist 944c8eee53 Still working on vector tiles 2023-01-15 21:35:08 +01:00
Eric van der Vlist b1e13e9306 Working on vector tiles 2023-01-15 19:29:09 +01:00
Eric van der Vlist 83f8d0d7c9 Playing around with vector tiles 2023-01-15 15:42:53 +01:00
Eric van der Vlist aa5dcbac3e Testing a transportation vector tile 2023-01-13 14:02:58 +01:00
Eric van der Vlist 6969b53618 Importing OSM routes, 2023-01-09 20:51:17 +01:00
Eric van der Vlist d6317ca8a4 i18n 2023-01-09 16:02:18 +01:00
Eric van der Vlist 1f1b57e4b4 Using a dialog for confirm delete alert. 2023-01-09 15:52:50 +01:00
Eric van der Vlist 1f3c1c750e Trak delete (again). 2023-01-09 14:40:37 +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 a2149f9a43 Styling 2023-01-08 20:04:08 +01:00
Eric van der Vlist f9a44b3b70 Bug fix 2023-01-07 19:18:25 +01:00
Eric van der Vlist 1f2979b28b Improving TrkSegViewer 2023-01-07 18:46:14 +01:00
Eric van der Vlist 7483d9f904 Refactoring 2023-01-07 18:00:35 +01:00
Eric van der Vlist b23e44b576 Adding Spanish IGN maps 2023-01-07 17:26:24 +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 516d09e3c6 Trick to force a vertical scrollbar in dialogs (needed when the virtual keyboard hides a field). 2023-01-06 16:41:11 +01:00
Eric van der Vlist 040c0271d7 Trying to be more robust to find the name of a locality with nominatim... 2023-01-05 23:02:40 +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 69148f6e1d Error handling when fetching addresses. 2023-01-03 18:43:40 +01:00
Eric van der Vlist 9e3915c6ce Minor bug fix. 2023-01-03 18:24:38 +01:00
Eric van der Vlist 44ce641d6a Improving RteViewer. 2023-01-03 18:17:12 +01:00
Eric van der Vlist c1fe37d0a6 TrkViewer and TrksegViewer skeletons. 2023-01-03 15:24:50 +01:00
Eric van der Vlist 09ff9ca829 RteViewer 2023-01-03 15:02:21 +01:00
Eric van der Vlist 62b2b5552a Displaying waypoints (and installing a plugin to import SVG files as components) 2023-01-03 13:12:16 +01:00
Eric van der Vlist 6b0b394d33 Adding a GPX icon 2023-01-03 12:07:23 +01:00
Eric van der Vlist d9c4837f82 Slight refactoring. 2023-01-03 11:39:17 +01:00
Eric van der Vlist adc37fef03 Refactoring to implement visualization and edition features. 2023-01-02 17:27:55 +01:00
Eric van der Vlist 67cfd16efb Bug fix... 2022-12-30 21:12:46 +01:00
Eric van der Vlist 73aad8f2a2 Progressing in implementing a tree representation of features. 2022-12-30 21:03:37 +01:00
Eric van der Vlist a57968924f Extracting a hierarchy from a list of features (`<Infos/>`) 2022-12-29 22:55:48 +01:00
Eric van der Vlist b14db11938 Adding context properties to OL features. 2022-12-29 08:14:43 +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
Eric van der Vlist 8a4396fb20 Still working on the account dialog. 2022-12-26 17:31:05 +01:00
Eric van der Vlist 1d6c3a858d Still progressing... 2022-12-25 22:24:00 +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 6702bf8dc4 Indentation ? 2022-12-21 18:54:56 +01:00