Edward Betts
bd9323006b
Start work on IsA page
2021-10-22 10:02:52 +01:00
Edward Betts
7a3cb474ac
Improve error handling
...
* Report errors to admin by e-mail
* Return details of error in JSON for API calls
* Show error details page for non-API calls
2021-10-22 08:02:46 +01:00
Edward Betts
71ac793101
Include duration in api_missing_wikidata_items response
2021-10-06 18:42:44 +02:00
Edward Betts
a18528d2f9
Incldue max_distance in api_find_osm_candidates response
2021-10-06 18:42:06 +02:00
Edward Betts
c47590dd65
Switch save default from mock to live.
2021-08-05 08:43:15 +02:00
Edward Betts
9b7f6ee878
Add item type filter
2021-07-30 16:02:41 +02:00
Edward Betts
867e77ab7b
Switch to SQLAlchemy Core for OSM objects
...
osm2pgsql creates tables without primary keys. Some OSM objects are
split into multiple table rows to help with PostGIS index performance.
Adjust the code to be aware of this.
Also add name matching for streets.
2021-07-22 14:47:38 +02:00
Edward Betts
8b7ab45c73
Handle missing item in find nearby OSM API call
2021-07-22 09:49:24 +02:00
Edward Betts
19a9010aa7
Fix for OSM objects with multiple geometry
2021-07-19 22:07:41 +02:00
Edward Betts
6f30e1232a
rename function
2021-07-19 22:06:36 +02:00
Edward Betts
a87fe9eed2
Bug fix
2021-07-19 22:06:07 +02:00
Edward Betts
22c44aaced
Implement uploading to OSM database
2021-07-16 12:00:20 +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
31431ecdcb
Remove old unused code
2021-07-08 15:05:32 +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
f60aa70472
Switch to maxminddb for user location.
2021-07-06 17:24:14 +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
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
2c88e5402c
Add code for uploading, mocked for now.
2021-06-24 18:40:59 +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
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
735e833fc9
Add OSM login
2021-06-16 15:42:25 +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
503401ff57
Rewrite frontend using Vue
2021-06-15 00:08:07 +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
Edward Betts
809b92b656
Check inscription tag for a name
2021-05-14 21:48:45 +02:00