Commit graph

372 commits

Author SHA1 Message Date
Edward Betts 468d1e49c7 Better fix for get_item_street_addresses 2024-06-19 14:34:16 +01:00
Edward Betts ba22e8e9df Bug fix get_item_street_addresses 2024-06-19 14:32:51 +01:00
Edward Betts 938f79ba19 Bug fix refresh_item 2024-06-19 14:23:20 +01:00
Edward Betts 4863eb59d5 Improve tests
Closes: #1
2024-06-19 14:00:28 +01:00
Edward Betts a04106ce1f Bug fix format_wikibase_time centuries 2024-06-19 13:59:52 +01:00
Edward Betts 13ecf4526d Catch MediaWiki database timeout errors and retry 2024-06-06 13:50:16 +00:00
Edward Betts 269c6bce54 Need to use BigInteger for lastrevid 2024-06-06 13:50:16 +00:00
Edward Betts 4d32f62dfb Upgrade to OAuth 2 2024-06-06 14:43:44 +01:00
Edward Betts fc34c2bdcf Pass User-Agent header when calling nominatim 2024-05-04 08:51:15 +00:00
Edward Betts b8b42b1440 Correct code location in user agent string 2024-05-04 08:50:19 +00:00
Edward Betts 6b558086c1 Fix error handling 2024-05-04 11:44:44 +03:00
Edward Betts 3a6556bd76 Don't run test api error in production 2024-05-04 11:16:50 +03:00
Edward Betts d64774a70e Various improvements 2024-05-04 11:13:49 +03:00
Edward Betts d7dd9ec17c Code formatting 2024-05-04 11:13:05 +03:00
Edward Betts 7e6ea04f53 Fix frontend code location 2024-05-04 11:12:41 +03:00
Edward Betts 69aa945a26 Handle another time precision 2024-05-04 07:06:55 +00:00
Edward Betts b052156460 Merge branch 'main' of https://git.4angle.com/edward/owl-map 2024-05-04 10:06:01 +03:00
Edward Betts f39d2dd680 nominatim hit extratags can be null 2024-05-04 07:05:55 +00:00
Edward Betts b8ed31e201 package.json: Add eslint as devDependencies 2024-05-04 07:03:47 +00:00
Edward Betts eb6631ab05 Increase timeout 2024-05-04 07:03:00 +00:00
Edward Betts 88409852cf Bug fix 2024-05-04 07:02:30 +00:00
Edward Betts 0008d3c751 Add .eslintrc.js 2024-05-04 09:57:32 +03:00
Edward Betts 2302809364 Add types and docstrings 2024-05-04 06:48:22 +00:00
Edward Betts 848737742c Highlight disused candidates in candidate list
Closes: #4
2024-05-03 18:52:54 +00:00
Edward Betts b0a53645e6 Switch from snowpack to vite for frontend tooling
Closes: #3
2024-05-03 18:51:30 +00:00
Edward Betts 030e0af610 Add support for decades to format_wikibase_time 2023-11-02 15:18:57 +00:00
Edward Betts 7f96126d7e Link leaflet map attribution to OSM copyright page 2023-11-02 12:46:47 +00:00
Edward Betts 768556d1a9 Add attribution to leaflet (thanks danieldegroot2) 2023-11-02 12:28:08 +00:00
Edward Betts a09fcb6dd5 Merge branch 'main' of https://git.4angle.com/edward/owl-map 2023-11-02 10:13:12 +00:00
Edward Betts 81e3ac8e0e Remove unused variable 2023-11-02 10:13:08 +00:00
Edward Betts 6ada61e09b Update code to work with SQLAlchemy 2 2023-11-02 09:19:36 +00:00
Edward Betts 7603b33b2b Fix some bugs 2023-11-02 09:11:11 +00:00
Edward Betts f0677e2468 Use session instead of database.session in update.py 2023-11-02 07:46:36 +00:00
Edward Betts eaca7a93bc Use preferred tile.openstreetmap.org URL 2023-11-01 20:58:44 +00:00
Edward Betts 5e8d1a99b0 Add types and docstrings + upgrade to SQLAlchmey 2 2023-11-01 20:54:19 +00:00
Edward Betts 82671959bb Cast Point to Geography 2023-10-31 15:35:18 +00:00
Edward Betts d8cc6c7480 Merge branch 'main' of https://git.4angle.com/edward/owl-map 2023-10-31 15:05:59 +00:00
Edward Betts ff4e8f63aa Add statement timeout 2023-10-31 15:05:40 +00:00
Edward Betts 099c87d42a Add gitignore 2023-10-31 14:47:01 +00:00
Edward Betts 91cdb955e9 Rename example config 2023-10-31 14:46:07 +00:00
Edward Betts 28323b128d Add types and docstrings 2023-10-31 14:41:59 +00:00
Edward Betts 6168c0eb4e Remove commented out debugging code 2023-10-31 14:41:15 +00:00
Edward Betts 2e9ea504f0 Add types and docstrings 2023-10-31 14:40:55 +00:00
Edward Betts 2229605672 Avoid making queries with 100s of parameters 2023-10-31 14:40:07 +00:00
Edward Betts bf98eb71dc Add a note 2023-10-31 14:38:56 +00:00
Edward Betts 5449564318 Remove debugging output. 2023-05-20 06:37:16 +00:00
Edward Betts 1a43996180 Bug fix. 2023-05-20 06:36:59 +00:00
Edward Betts 757f9822b7 Type hints and a docstring. 2023-05-20 06:35:48 +00:00
Edward Betts d4350cd888 Types 2023-05-19 06:56:21 +00:00
Edward Betts b8ed296f78 Type hints and docstrings. 2023-05-17 16:28:44 +00:00