Commit graph

137 commits

Author SHA1 Message Date
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
Edward Betts 238fbeef05 Avoid matching tram stops with buildings 2021-06-28 11:50:37 +02:00
Edward Betts ed113d8d71 Add Key:highway as extra tag for thoroughfare (Q83620) 2021-06-28 11:48:39 +02:00
Edward Betts 1fc822c152 Bug fix lat/lon order 2021-06-28 11:48:02 +02:00
Edward Betts 08684fd9c4 Ignore Key:lit to get better matches for streetlamps 2021-06-25 15:04:33 +02:00
Edward Betts 3f18ea2816 Key:lit should not match lit=no 2021-06-25 14:59:48 +02:00
Edward Betts 34b2d0fa05 Split API logic out of web_view.py 2021-06-25 14:52:42 +02:00
Edward Betts e25aaa5ec6 Admin page for checking skip IsA list 2021-06-25 14:52:06 +02:00
Edward Betts a91790b66d Move skip_isa into database 2021-06-25 13:00:41 +02:00
Edward Betts 2fc233401e API to show details of user location 2021-06-25 11:12:50 +02:00
Edward Betts 81f8f7d426 Move location of GeoIP data to config file 2021-06-25 11:10:25 +02:00
Edward Betts 8f3f40e569 Simply code for OSM name 2021-06-25 11:08:02 +02:00
Edward Betts eb37e0bf7c New function to return JSON with CORS header 2021-06-25 11:07:38 +02:00
Edward Betts 11afda8d83 Add ISA counts API 2021-06-24 18:42:33 +02:00
Edward Betts 991ee391b0 Update API base URL 2021-06-24 18:41:23 +02:00
Edward Betts 2c88e5402c Add code for uploading, mocked for now. 2021-06-24 18:40:59 +02:00
Edward Betts b03ae32a9e Add EditSession table 2021-06-24 18:39:23 +02:00
Edward Betts c563d440fc Fix typo in commented out code 2021-06-24 18:39:09 +02:00
Edward Betts 7ca1229380 Switch type from Geography to Geometry
Use Geometry type for item location. Improves performance.
2021-06-24 18:37:23 +02:00
Edward Betts 3413787a05 Fix login link 2021-06-24 18:36:54 +02:00
Edward Betts 7aaa18cf24 Add Changeset class 2021-06-20 15:01:23 +02:00
Edward Betts ae7d68462f Show Wikidata API reply on JSON parse fail 2021-06-20 14:47:04 +02:00
Edward Betts a4f7c09138 Show dark green marker for item with edit 2021-06-20 14:46:33 +02:00
Edward Betts 0f10d4c3ca Clear OSM highlight 2021-06-20 14:45:10 +02:00
Edward Betts 7cb7df8e2b Restore missing marker type 2021-06-20 14:44:35 +02:00
Edward Betts 801be6d547 Support more preset translations 2021-06-20 14:42:43 +02:00
Edward Betts 37b954739c show more OSM candidate matches 2021-06-20 14:38:33 +02:00
Edward Betts 9f7cd9bbb7 Adjust current OSM highlight 2021-06-19 16:47:01 +02:00
Edward Betts 98bca5229c No need to show street address a second time 2021-06-18 21:37:55 +02:00