Commit graph

62 commits

Author SHA1 Message Date
Edward Betts 6a6b5ad373 Refactor: move more catalog code to module 2019-10-09 16:15:21 +01:00
Edward Betts 8cbd0f246f Refactor: move catalog parse code to module 2019-10-09 16:11:43 +01:00
Edward Betts a5e5fa20df Refactor: move some oauth code to module 2019-10-09 16:09:52 +01:00
Edward Betts 85329eab0d Refactor. New wikibase module. 2019-10-09 15:30:48 +01:00
Edward Betts b697be2306 Move three more queries into templates. 2019-10-09 15:27:35 +01:00
Edward Betts a5dfbd040a Move two queries into templates. 2019-10-09 14:38:10 +01:00
Edward Betts 76cd8cefba Include property name in the browse page title 2019-10-09 13:29:43 +01:00
Edward Betts 077cdcfeb2 Show people with the birth/death on item page 2019-10-08 11:11:15 +01:00
Edward Betts 96a03a0abe Search for wikibase for unused depicts. 2019-10-07 21:45:21 +01:00
Edward Betts 62aff85ae6 Show existing depicts on item page. 2019-10-07 14:12:30 +01:00
Edward Betts 35c6296210 Reverse order of edit list. 2019-10-07 12:23:13 +01:00
Edward Betts a4b10945ce Parse catalog HTML as bytes 2019-10-07 10:39:26 +01:00
Edward Betts 807353303e Catch and ignore ConnectionError for catalog page. 2019-10-07 10:39:15 +01:00
Edward Betts 9e8342b0ec Pick a new random painting
Make sure that a randomly chosen painting hasn't been shown before and
has no depicts statements.
2019-10-07 10:34:53 +01:00
Edward Betts ec4cb0e987 Fix broken save. 2019-10-04 17:00:25 +01:00
Edward Betts 0a6f6308c1 More checks before save. 2019-10-04 16:56:06 +01:00
Edward Betts 7ca90b2006 Basic user setting 2019-10-04 12:16:16 +01:00
Edward Betts 478d9c6806 Bug fix. 2019-10-04 12:05:27 +01:00
Edward Betts d8c279001e Create depicts object during save, if needed. 2019-10-04 12:02:45 +01:00
Edward Betts af4bdb956b Improvements to browse page 2019-09-30 14:23:19 +01:00
Edward Betts 47f31811f9 Only don't show empty catalog description 2019-09-30 12:57:16 +01:00
Edward Betts 0c0858c4ee Bug fix. 2019-09-30 12:52:53 +01:00
Edward Betts faf70a8811 Get description from catalog page. 2019-09-30 12:49:28 +01:00
Edward Betts 514c55cd6e Add language information to label on item page. 2019-09-30 10:19:12 +01:00
Edward Betts 6eb79ccfd5 add timeout to catalog pages 2019-09-29 21:46:39 +01:00
Edward Betts 3d63b6f9f6 bug fix 2019-09-29 21:37:17 +01:00
Edward Betts 42b78da7e3 Add timeouts + ignore anonymous artist. 2019-09-29 21:35:45 +01:00
Edward Betts 918a4a88c8 add error mail 2019-09-29 21:14:41 +01:00
Edward Betts c2727e6fc8 Add pager to browse page. 2019-09-29 20:19:40 +01:00
Edward Betts 146b79bde8 Bug fix missing datavalue. 2019-09-29 19:24:24 +01:00
Edward Betts 1ca46d0bf2 Show images on next page. 2019-09-29 19:00:59 +01:00
Edward Betts 9ba35cb414 Bug fix. 2019-09-29 13:17:36 +01:00
Edward Betts 07865fb5dd Create painting item during save, if needed. 2019-09-29 13:15:34 +01:00
Edward Betts 8e1de4a2a3 User pages. 2019-09-29 11:52:12 +01:00
Edward Betts 6317277c96 More detail on the list edits page. 2019-09-29 11:23:07 +01:00
Edward Betts 7547e6fbd4 Improve edit list. 2019-09-29 11:14:05 +01:00
Edward Betts ad39d8d1d5 bug fix 2019-09-29 11:08:29 +01:00
Edward Betts 2df8958a1f Create PaintingItem objects and save lastrevid 2019-09-29 11:07:34 +01:00
Edward Betts 123c9d8aa1 Show depicts labels in edit list. 2019-09-29 09:56:14 +01:00
Edward Betts 68cf86162b Add page to list edits. 2019-09-29 09:47:55 +01:00
Edward Betts 80303618fb Bug fix for when datavalue is missing. 2019-09-29 08:30:01 +01:00
Edward Betts 37e119f71d Improve error reporting. 2019-09-29 08:27:35 +01:00
Edward Betts 37af9ad1c0 Pass next URL to OAuth 2019-09-27 20:23:01 +01:00
Edward Betts 51c245d637 Add oauth disconnect for testing 2019-09-27 20:19:29 +01:00
Edward Betts d982f975cf Fix destination after OAuth. 2019-09-27 20:15:24 +01:00
Edward Betts 7b1c14b1ce redirect to the right page 2019-09-27 20:11:04 +01:00
Edward Betts 83b8792eaa Another bug fix 2019-09-27 20:08:54 +01:00
Edward Betts 57e2f46d77 Bug fix OAuth 2019-09-27 20:06:22 +01:00
Edward Betts f5efbf1d85 Ask user to connect to Wikidata account 2019-09-27 16:59:43 +01:00
Edward Betts 7a233021fd Saving to Wikidata is working. 2019-09-27 16:53:17 +01:00