Commit graph

266 commits

Author SHA1 Message Date
Edward Betts a81cedaae0 Sometimes the address->country field is missing 2022-04-17 17:06:46 +01:00
Edward Betts 82b0405ab7 Add missing templates 2022-04-08 10:46:59 +01:00
Edward Betts 377d7f7af7 Fixes for loading Vue app 2022-04-08 10:45:42 +01:00
Edward Betts 82f270c146 Use unpkg.com for JS imports 2022-04-08 10:45:03 +01:00
Edward Betts e07af0b2a4 Various improvements 2022-04-08 10:44:39 +01:00
Edward Betts 3b9ea473e4 Various improvements 2022-04-08 10:42:02 +01:00
Edward Betts d0ddd5204c Various improvements 2022-04-08 10:41:18 +01:00
Edward Betts 697fdf1d6d Remove unused code 2022-04-08 10:37:59 +01:00
Edward Betts 40effe4548 Various improvements 2022-04-08 10:37:43 +01:00
Edward Betts 59e058c78f Show flash message on IsA page 2022-04-08 10:35:37 +01:00
Edward Betts c1e53c727f Improve date formatting 2022-04-08 10:35:21 +01:00
Edward Betts 79111a25de Update JS package versions 2022-04-08 10:34:24 +01:00
Edward Betts d4625fafa1 Update some versions 2021-12-18 15:43:58 +00:00
Edward Betts 47e1280269 Include more dates in item detail 2021-11-19 15:44:16 +00:00
Edward Betts 37ba36432b Highlight name matches 2021-11-19 15:43:51 +00:00
Edward Betts 4645133247 Include more dates in item detail 2021-11-19 15:43:18 +00:00
Edward Betts f60b938dc1 Avoid name match crash for OSM objects with no name 2021-11-19 15:43:04 +00:00
Edward Betts c2cc7ba5b1 Bug fix slow get_part_of for items with multiple markers 2021-11-19 15:40:11 +00:00
Edward Betts e3d825c48f Fix user location crash 2021-11-16 12:22:17 +00:00
Edward Betts cfa912102c Add name_match to nearby OSM candidates API call. 2021-11-14 09:47:55 +00:00
Edward Betts 4f6f0ed086 Remove unused code 2021-11-14 08:01:19 +00:00
Edward Betts 5693bc6265 Code formatting 2021-11-14 07:58:40 +00:00
Edward Betts caed12c325 Don't crash when item isn't found. 2021-11-13 20:21:16 +00:00
Edward Betts 9a841921f4 Include labels for ISA items in item detail. 2021-11-13 20:19:04 +00:00
Edward Betts 84a2cfa5ad Add API method to return osm2pgsql polygon as geojson. 2021-11-13 16:43:30 +00:00
Edward Betts 7c5253b15b Include tags for IsA item page. 2021-11-13 16:42:46 +00:00
Edward Betts 1771f19f56 Alert admin about unsupported time precision 2021-11-13 16:41:15 +00:00
Edward Betts 7b181cd1b3 Better output for centuries in format_wikibase_time + tests. 2021-11-13 16:27:46 +00:00
Edward Betts fd5829f8d2 Accept precision=7 (century) for time format 2021-11-13 10:45:46 +00:00
Edward Betts b22d4058fd Add new get_tags_for_isa_item function 2021-11-13 10:44:56 +00:00
Edward Betts ed56bdc767 Add industrial park (Q329683) to stop list. 2021-11-12 12:18:53 +00:00
Edward Betts 734dd4025c Make skip_tags global. 2021-11-12 12:17:59 +00:00
Edward Betts 66f214a51b Don't call session.commit in get_item function. 2021-11-12 12:17:15 +00:00
Edward Betts 45ce752458 Hide debugging info. Explain extra tags/keys. 2021-11-12 12:15:47 +00:00
Edward Betts 87fae39c63 Show house number for OSM candidates without street name 2021-11-12 12:15:07 +00:00
Edward Betts b18162fb1a Track which map bounds are already done 2021-10-22 12:06:10 +01:00
Edward Betts 74f82ecbb0 Show brand:wikidata in candidates list 2021-10-22 11:59:11 +01:00
Edward Betts 43cf62e997 Move 'no name' in candidates list 2021-10-22 11:58:34 +01:00
Edward Betts 463e05b856 Remove unused code 2021-10-22 11:58:03 +01:00
Edward Betts b5773b9df3 Update API base URL 2021-10-22 11:55:05 +01:00
Edward Betts cb1acfd50d Show detailed source of tags when no candidates are found 2021-10-22 11:52:21 +01:00
Edward Betts d37a177d38 Handle updating OSM object wikidata tag 2021-10-22 11:50:25 +01:00
Edward Betts fd496be2ff API changes 2021-10-22 11:43:27 +01:00
Edward Betts 20a95c73f2 Catch and report API errors to user 2021-10-22 11:40:10 +01:00
Edward Betts e7f8884b7b Add support for changing Wikidata tag on OSM object 2021-10-22 11:32:26 +01:00
Edward Betts e8b1b411e5 Watercouses are also linear features 2021-10-22 11:31:34 +01:00
Edward Betts 2c8ac7259c Look for more variations of street names 2021-10-22 11:30:27 +01:00
Edward Betts badef91b97 No need for user object. Grab item if needed. 2021-10-22 11:27:50 +01:00
Edward Betts bd9323006b Start work on IsA page 2021-10-22 10:02:52 +01:00
Edward Betts 14abffe79c Avoid crash when searching for USA 2021-10-22 10:01:46 +01:00