Commit graph

99 commits

Author SHA1 Message Date
Edward Betts 28a03212f5 Use database to pick random artwork
Now we store details of artworks in the local database, we don't need to
use the Wikidata query service to pick a random artwork.
2019-12-30 09:16:18 +00:00
Edward Betts 1814b23b46 Only show items with an image. 2019-12-18 19:13:23 +00:00
Edward Betts 6f66e85b1e Increase facet limit. 2019-12-18 19:03:54 +00:00
Edward Betts 1354743ded Increase property page size. 2019-12-18 19:00:26 +00:00
Edward Betts 44b26b94eb Redirect start to browse page 2019-12-18 18:54:44 +00:00
Edward Betts 8e606499c9 Add pager to property page 2019-12-18 18:49:15 +00:00
Edward Betts b952213b23 Switch to using database for browse pages. 2019-12-18 15:06:24 +00:00
Edward Betts 7313df54f7 Rename ArtworkItem to Item and add more fields 2019-12-17 16:10:45 +00:00
Edward Betts f1d1542d3d Bug fix for 'file name too long' error 2019-12-12 15:25:43 +00:00
Edward Betts 24d44be4b7 Fix tool name 2019-12-10 15:45:14 +00:00
Edward Betts ae9cb514ca Add toolinfo.json
This is so WADE will appear in the Tools Directory.
2019-12-10 15:40:55 +00:00
Edward Betts 19e82a34cd Optimize browse page facet query 2019-11-27 12:42:07 +00:00
Edward Betts b894188f1a Record page title and endpoint with query 2019-11-27 10:00:00 +00:00
Edward Betts d94d1bb170 Save query template name 2019-11-26 17:21:58 +00:00
Edward Betts e849f18660 Move WDQS report and add a heading. 2019-11-26 16:07:57 +00:00
Edward Betts 0ef6eced13 Show more than just paintings on property page 2019-11-26 16:01:02 +00:00
Edward Betts c649179caf Record WQDS details and show report. 2019-11-26 14:01:14 +00:00
Edward Betts 75257632ba Show more than just paintings during browse 2019-11-25 13:46:25 +00:00
Edward Betts 036a4be5ed Expand focus from paintings to more artworks
Replace all references to 'painting' with 'artwork'
2019-11-25 11:49:34 +00:00
Edward Betts df8ff30b64 Catch missing image detail and trigger cache refresh. 2019-11-25 10:04:23 +00:00
Edward Betts 6dd860cfb6 Username from g.user 2019-11-07 10:21:13 +00:00
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