Commit Graph

315 Commits

Author SHA1 Message Date
Edward Betts 589751de2b State can be empty 2021-07-16 11:59:28 +02:00
Edward Betts 98a0792a82 Update map after closing save panel 2021-07-16 11:59:07 +02:00
Edward Betts 5137acabfe Store item.osm as object instead of array 2021-07-16 11:58:37 +02:00
Edward Betts 4c684b7b74 Don't restore IsA via onpopstate 2021-07-16 11:57:25 +02:00
Edward Betts 5b378c7bff Fix size of map 2021-07-16 11:49:15 +02:00
Edward Betts e08b2cec5a Warn when navigating away from page if there are edits 2021-07-16 11:48:44 +02:00
Edward Betts 80cdff7024 Add alert-link class to link in alert box 2021-07-16 11:47:53 +02:00
Edward Betts fb22e70803 Remove debugging output from save edits panel 2021-07-16 11:47:31 +02:00
Edward Betts 15a96bd732 Convert tabs to spaces 2021-07-16 11:47:15 +02:00
Edward Betts ed3e0cf86a Add icons to alert boxes 2021-07-16 11:27:19 +02:00
Edward Betts a56387c4d9 Add get_osm method to Line class 2021-07-16 11:14:49 +02:00
Edward Betts 66904c061a Add per user mock upload toggle with warnings 2021-07-16 11:14:05 +02:00
Edward Betts 0beeff9acf Change navbar brand to OWL 2021-07-16 11:11:56 +02:00
Edward Betts b738be0261 Link to OSM user page from navbar when logged in 2021-07-16 11:11:41 +02:00
Edward Betts 3e5dc908fa Adjust distance and limit for nearby OSM 2021-07-16 11:10:37 +02:00
Edward Betts dfed99a8bc Include centroids in nearby OSM list 2021-07-16 11:09:59 +02:00
Edward Betts 6d4a416f5a no need to include OSM URL in OSM with wikidata tag API reply 2021-07-16 11:09:52 +02:00
Edward Betts 9090e67bad Add more extra tags 2021-07-16 09:59:06 +02:00
Edward Betts 76e1008e84 More hints on the item detail panel 2021-07-14 16:01:07 +02:00
Edward Betts c7f09a9584 Update API debug option 2021-07-14 15:59:57 +02:00
Edward Betts f88ba6750f Prevent default for tag/key toggle 2021-07-14 15:58:53 +02:00
Edward Betts d3aa045645 Update introduction 2021-07-14 15:57:51 +02:00
Edward Betts 7649afa526 Add a documentation page 2021-07-14 15:57:21 +02:00
Edward Betts 5a42e100c7 Improve OSM search 2021-07-11 17:19:21 +02:00
Edward Betts 7c075227d7 Don't visit index after login or logout 2021-07-11 17:17:29 +02:00
Edward Betts d4eb60fe33 No need to drop geotext from search output 2021-07-11 17:16:54 +02:00
Edward Betts 072e5167db Increase nominatim search limit 2021-07-11 17:15:27 +02:00
Edward Betts df2e514b02 More detail for part_of, not just name 2021-07-11 17:14:50 +02:00
Edward Betts fd76bcaa37 Include candidate OSM type and ID in nearby search 2021-07-11 17:14:31 +02:00
Edward Betts cb1864059a Add extra tags for matching 2021-07-11 17:13:35 +02:00
Edward Betts 31431ecdcb Remove old unused code 2021-07-08 15:05:32 +02:00
Edward Betts 1777bac20d Navbar across whole page. 2021-07-08 14:56:24 +02:00
Edward Betts 838de8212e Add logout link 2021-07-08 14:53:43 +02:00
Edward Betts c4f284031c Improve search API output 2021-07-08 14:35:32 +02:00
Edward Betts 4ebe992919 Bug fix for redirect after logout 2021-07-08 14:34:55 +02:00
Edward Betts 43e11cdfba Add code that was missing from repo 2021-07-08 14:33:32 +02:00
Edward Betts 6b413ef553 Add extra tags for natural watercourse (Q55659167) 2021-07-08 14:33:11 +02:00
Edward Betts 0658976246 Handle items with no label 2021-07-06 17:24:57 +02:00
Edward Betts f60aa70472 Switch to maxminddb for user location. 2021-07-06 17:24:14 +02:00
Edward Betts 792bfa176d stream (Q4022) can match Key:waterway 2021-07-05 15:26:07 +02:00
Edward Betts 9e5236c387 New API method to get details of single item 2021-07-03 13:40:26 +02:00
Edward Betts 22cfe64896 Include more detail in OSM tags API call 2021-07-03 13:39:37 +02:00
Edward Betts c404c9a752 New check_is_street_number_first function 2021-07-03 13:38:37 +02:00
Edward Betts 1ab09a2864 Consider more Wikidata properties when looking for OSM tags 2021-07-03 13:37:30 +02:00
Edward Betts e62dd4d1d6 Improve OSM name handling 2021-07-02 11:14:37 +02:00
Edward Betts 906bdb7256 Add extra tags for museum and medical organization 2021-07-02 11:09:31 +02:00
Edward Betts 0aa2bfc4b7 Show date close date (P3999) in item detail 2021-07-02 11:08:53 +02:00
Edward Betts 72c32f38ce Also skip Key:addr and Key:lit 2021-07-02 11:04:43 +02:00
Edward Betts f906cb65c5 Trigger refresh when the map moves 2021-06-28 11:51:41 +02:00
Edward Betts f76ace2a98 Switch from Geography to Geometry meant distances were wrong. 2021-06-28 11:51:11 +02:00