Commit graph

128 commits

Author SHA1 Message Date
Edward Betts 476db3ca9c Add missing image report. 2019-11-07 10:20:23 +00:00
Edward Betts 9dcae3138b Don't error on existing edit, ignore instead. 2019-10-23 08:43:25 +01:00
Edward Betts 1855a88c5d bug fix 2019-10-15 16:41:23 +01:00
Edward Betts a89a947be5 Add debugging method. 2019-10-15 16:32:13 +01:00
Edward Betts ded4b913da Add navigation bar 2019-10-15 12:21:05 +01:00
Edward Betts 1a7872b136 really fix. 2019-10-14 20:04:04 +01:00
Edward Betts 94398524b1 Pass URL to catalog page. 2019-10-14 14:42:36 +01:00
Edward Betts 19185bdb08 New features for depicts lookup JSON 2019-10-14 13:09:42 +01:00
Edward Betts 545311112b Create missing depicts items. 2019-10-10 21:05:17 +01:00
Edward Betts 1ef188fa06 Switch to bootstrap cards for catalog page 2019-10-10 21:00:13 +01:00
Edward Betts e2c78d813d Show more detail on catalog page. 2019-10-10 20:52:11 +01:00
Edward Betts 66cbf3b670 Don't crash when there is no image. 2019-10-10 19:52:51 +01:00
Edward Betts 2a819fb8b1 ideas for catalog page 2019-10-10 17:44:21 +01:00
Edward Betts d1ac75583b Refactor: move catalog code again 2019-10-10 10:58:42 +01:00
Edward Betts bd6d13bc36 Move another function into a dedicated module 2019-10-10 09:42:16 +01:00
Edward Betts 581409dcd6 Skip some paintings and avoid refresh after random 2019-10-09 16:25:41 +01:00
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
Edward Betts 46babe1a44 WIP: save depicts to paintings 2019-09-27 16:07:37 +01:00
Edward Betts 8fa23e5e19 Fix browse index. 2019-09-27 15:35:26 +01:00
Edward Betts f7f29ad1fb Redirect to browse index after oauth. 2019-09-27 14:25:27 +01:00
Edward Betts d7df704327 Switch to random image as start page. 2019-09-27 14:13:28 +01:00
Edward Betts 3efeedb7ba Use config file. 2019-09-27 13:22:32 +01:00
Edward Betts 14b93fb7de more detail from catalogs 2019-09-27 11:02:24 +01:00
Edward Betts 0a575b7b69 Improvements to the item page. 2019-09-25 13:40:15 +01:00
Edward Betts a909b50329 Refactor
Split up code
Add depicts guessing
Redirect for random image
2019-09-16 08:59:53 +01:00
Edward Betts 0719f441c7 refactor
* remove unused code
* move some functions to depicts.utils
2019-09-14 13:46:53 +01:00
Edward Betts a20666f9d4 Improve property page
Allow sorting property values by name
Use label from different language if English label is missing
2019-09-14 13:26:16 +01:00
Edward Betts 0a6ea8b416 More features. 2019-09-13 17:16:16 +01:00
Edward Betts 1a7b1dab4c initial commit 2019-09-12 19:51:05 +01:00