Commit graph

40 commits

Author SHA1 Message Date
Edward Betts edfa0f8b0c Merge branch 'main' into one-at-a-time 2023-09-29 18:06:48 +01:00
Edward Betts 0ff82e1c05 Update error handling to work with werkzeug 2
Closes: #1
2023-09-29 18:03:39 +01:00
Edward Betts 1a479dacbc Add types and docstrings. 2023-09-29 17:52:06 +01:00
Edward Betts 06cf2e9f14 Merge branch 'main' into one-at-a-time 2023-09-29 14:18:47 +01:00
Edward Betts b6953cf52f WIP 2023-09-29 14:17:56 +01:00
Edward Betts 3d1ee54308 Fixes to README.md 2023-09-29 14:16:19 +01:00
Edward Betts 50f3e3de2c Add README.md and LICENSE 2023-09-29 14:14:45 +01:00
Edward Betts beb86af4a9 Add mypy_cache to gitignore 2023-09-29 14:10:04 +01:00
Edward Betts 7813d1a7f0 Rename save page to preview page 2022-08-21 11:31:21 +01:00
Edward Betts 16e776c058 Add code for mediawiki compare API 2022-08-21 11:30:02 +01:00
Edward Betts 0cc4f3ed7f WIP 2022-08-19 10:59:53 +01:00
Edward Betts daf2a25458 Include all occurances of dab links, not just the first. 2022-08-18 20:51:18 +01:00
Edward Betts 46fa6cc63e Add a global timeout value. 2022-08-18 20:49:22 +01:00
Edward Betts 5b0b720a45 Hide DAB html until selected. 2022-08-18 20:48:38 +01:00
Edward Betts 4d175c8733 Turn off app.debug so error pages works. 2022-08-17 20:06:36 +01:00
Edward Betts e85cefbc2f Make mediawiki API calls via OAuth
The API had a timeout problem. Maybe this fixes it.
2022-08-17 20:04:43 +01:00
Edward Betts b1f402e1f9 refactor 2022-08-17 14:48:20 +01:00
Edward Betts 5f8900a47a Add User-Agent to mediawiki API calls 2022-08-17 14:38:30 +01:00
Edward Betts 4e1ad4efbc add gitignore 2022-08-17 13:58:17 +01:00
Edward Betts c2b3d22e45 Add CSS for error page 2022-08-17 13:54:16 +01:00
Edward Betts 8268822181 Remove unused article list 2022-08-17 13:46:00 +01:00
Edward Betts 78de5cc139 Split code into another file 2022-08-17 13:35:26 +01:00
Edward Betts 8432632aae Show more articles on index page 2022-08-17 13:34:55 +01:00
Edward Betts 5ff4749512 Formatting for article list 2022-08-17 13:34:17 +01:00
Edward Betts d499c896b4 Show Articles With Multiple Dablinks report on index page. 2022-08-17 08:52:45 +01:00
Edward Betts 6f4a5ecc56 Add more CSS to improve article layout. 2022-08-17 08:51:05 +01:00
Edward Betts ad96704fbb Fixes for OAuth 2022-08-16 12:43:03 +01:00
Edward Betts d03cb855a1 Nabar username links to Wikipedia user page 2022-08-16 12:38:55 +01:00
Edward Betts a86f91b778 More code for talking to Wikipedia via OAuth. 2022-08-15 21:10:14 +01:00
Edward Betts 8b5dddca7e Add navbar to index page 2022-08-15 18:00:22 +01:00
Edward Betts ba0eccc8d6 Show software errors as web page 2022-08-15 17:56:21 +01:00
Edward Betts cf652200cd Read config 2022-08-15 13:11:29 +01:00
Edward Betts 5301190a2c Update examples 2022-08-15 12:19:34 +01:00
Edward Betts 807a39bed9 Update examples 2022-08-15 12:18:02 +01:00
Edward Betts fb1d5e4432 Start add OAuth 2022-08-15 11:43:22 +01:00
Edward Betts b12b9459ef Refactor 2022-08-15 11:43:12 +01:00
Edward Betts 53ec386477 WIP 2022-08-14 17:48:19 +01:00
Edward Betts 7afe78c1ae WIP 2022-08-14 17:44:07 +01:00
Edward Betts a4c533c626 WIP 2022-08-13 16:25:07 +01:00
Edward Betts c4af550929 Initial commit. 2022-08-13 13:16:49 +01:00