Commit graph

219 commits

Author SHA1 Message Date
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
Edward Betts fc26c906a1 Add edit preview 2021-06-18 19:28:56 +02:00
Edward Betts bfd0012eb5 Remove trailing space 2021-06-18 19:26:07 +02:00
Edward Betts f6f4612c61 Improve search results list 2021-06-18 19:24:50 +02:00
Edward Betts ba548c3513 Tidy code 2021-06-18 19:22:28 +02:00
Edward Betts 57d79b3aa2 Add global user variable 2021-06-17 19:17:28 +02:00
Edward Betts 478a145548 Drop way_area tag from OSM candidates 2021-06-17 19:17:07 +02:00
Edward Betts 53ca5b4ead Show street address for OSM candidates 2021-06-17 19:16:32 +02:00
Edward Betts f0cb54bf95 Auto load Wikidata items 2021-06-17 19:14:42 +02:00
Edward Betts 0c98ca921c Request larger image from Wikimedia Commons 2021-06-17 19:12:50 +02:00
Edward Betts 6cd2bfa6b0 Show username for logged in users 2021-06-17 19:12:07 +02:00
Edward Betts 4689323583 Use en-GB translations for the UK 2021-06-17 19:10:32 +02:00
Edward Betts b4a948e9ef shopping street (Q21000333) is a type of street 2021-06-16 17:51:47 +02:00
Edward Betts b460e9a848 Add enlarge image modal 2021-06-16 17:49:26 +02:00
Edward Betts e4b763b594 Add login link to index page 2021-06-16 15:43:03 +02:00
Edward Betts 735e833fc9 Add OSM login 2021-06-16 15:42:25 +02:00
Edward Betts b18c846af9 Open item from URL 2021-06-16 15:41:33 +02:00
Edward Betts 53ba0d7845 Show 'part of' in candidate list 2021-06-16 14:33:18 +02:00
Edward Betts 9457d423aa Validate input to missing items API 2021-06-16 14:31:58 +02:00