Commit graph

360 commits

Author SHA1 Message Date
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
Edward Betts 6567a554d6 Various improvements and bug fixes 2021-06-15 00:09:05 +02:00
Edward Betts d407224f35 Add two methods to Item class 2021-06-15 00:08:24 +02:00
Edward Betts 503401ff57 Rewrite frontend using Vue 2021-06-15 00:08:07 +02:00
Edward Betts 48ee6f9bd5 Show OSM/Wikidata link status 2021-05-15 16:07:29 +02:00
Edward Betts 3c19d06b1b Remove unused code 2021-05-15 15:28:09 +02:00
Edward Betts e8a2ac4c39 Update map path after item detail close 2021-05-15 14:16:21 +02:00
Edward Betts f11b440b3f Bug fix for 'no value' in P31 2021-05-15 14:08:24 +02:00
Edward Betts 0cb60ee604 Street address ordering 2021-05-15 14:05:44 +02:00
Edward Betts 77c7d520cd WIP 2021-05-15 14:05:21 +02:00