Commit graph

221 commits

Author SHA1 Message Date
Edward Betts 3191ae51b0 Bug fix saam parser 2020-06-30 09:05:22 +01:00
Edward Betts dc9989157c Refactor 2020-06-30 09:01:57 +01:00
Edward Betts 9299909e2f Better image filename handling 2020-06-30 09:00:58 +01:00
Edward Betts 97e4501427 Proper display of save errors. 2020-04-22 17:13:03 +01:00
Edward Betts fce288dcee Catch save errors and report to admin. 2020-04-22 16:45:59 +01:00
Edward Betts 6194874380 Allow edit via proxy to avoid global IP block 2020-04-22 16:44:04 +01:00
Edward Betts e903c4092f Add the ability to mail admin. 2020-04-22 16:43:51 +01:00
Edward Betts 3d113a593c Add SHOW_BLOCK_ALERT config option. 2020-04-22 16:30:44 +01:00
Edward Betts 95d69ef302 Add block list report to show active blocks 2020-04-22 15:03:22 +01:00
Edward Betts 3bbb25226b The image associated with an item can change. 2020-03-04 09:07:11 +00:00
Edward Betts 5868810ddc Refactor. 2020-03-04 09:06:54 +00:00
Edward Betts 5c51341e7f No need to enumerate chunks. 2020-03-04 09:05:56 +00:00
Edward Betts 3999817cc9 Handle missing institution labels. 2020-03-04 09:05:35 +00:00
Edward Betts 3e551d89d9 Don't try to set label for new item during save. 2020-03-03 15:20:04 +00:00
Edward Betts 0aac0e46be Increase timeout for error mails. 2020-03-03 15:17:21 +00:00
Edward Betts 97ca0aaa34 Remove some unused code. 2020-01-16 14:01:43 +00:00
Edward Betts 93df781115 Better handling of read timeout from APIs 2020-01-08 15:39:25 +00:00
Edward Betts 9bbbb45fbb Show last non library frame on error page 2020-01-08 15:38:59 +00:00
Edward Betts 6ba4fc7e35 Correct URL for commons API. 2020-01-08 15:38:35 +00:00
Edward Betts c2ba2c988c Use last_frame for function_name 2020-01-08 15:38:16 +00:00
Edward Betts 0ff8545641 Stop catalog page from throwing errors. 2020-01-07 22:03:31 +00:00
Edward Betts d63e6b1218 Reverse get_image_detail_with_cache() bug fix 2020-01-07 21:59:20 +00:00
Edward Betts 76f6e3f994 Bug fix get_image_detail_with_cache() 2020-01-07 21:57:05 +00:00
Edward Betts 8eecad0f9e Add more detail to error mails. 2020-01-07 21:29:31 +00:00
Edward Betts 50dc706b32 identifier can be 'no value', example: Q26754456 2020-01-07 17:39:39 +00:00
Edward Betts d0ddcc96eb A human item replaced with a redirect causes confusion. 2020-01-07 15:10:59 +00:00
Edward Betts b77ba57b74 Adjust formatting of error page. 2020-01-07 14:44:20 +00:00
Edward Betts 849aa57780 Show locals in last frame during traceback. 2020-01-07 14:40:15 +00:00
Edward Betts 19c4a7d221 Remove debugging output. 2020-01-07 14:32:04 +00:00
Edward Betts 31cecb5c90 Show arguments of last function during error. 2020-01-07 14:29:52 +00:00
Edward Betts 412d4e1a18 Update exception.css from werkzeug 2020-01-07 14:29:14 +00:00
Edward Betts 3d3e66fb35 Drop unused import. 2020-01-01 14:24:29 +00:00
Edward Betts c201535d21 Drop unused import. 2020-01-01 14:23:30 +00:00
Edward Betts 7a6a2c9d5e Add LICENSE file: GPL-3
Closes: #15
2020-01-01 11:23:46 +00:00
Edward Betts 63f8d0f580 Add missing changes for catching non-artwork. 2019-12-31 09:01:20 +00:00
Edward Betts 63392b63bf Warn for non-artwork items. 2019-12-31 08:58:37 +00:00
Edward Betts 54b94923e6 Add pager to recent changes. 2019-12-30 16:11:19 +00:00
Edward Betts f1264c8333 Remove unused fields for depicts. 2019-12-30 09:20:53 +00:00
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 cacafb1d52 Add 'get history' mediawiki API call 2019-12-29 11:22:46 +00:00
Edward Betts 3e445a3133 Add a foreign key to the triple table. 2019-12-22 10:22:46 +00:00
Edward Betts 1814b23b46 Only show items with an image. 2019-12-18 19:13:23 +00:00
Edward Betts c8d6e0e9d6 Avoid crash when imageinfo is missing. 2019-12-18 19:07:32 +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 8645121e82 Hide account button during development. 2019-12-18 18:57:18 +00:00
Edward Betts 44b26b94eb Redirect start to browse page 2019-12-18 18:54:44 +00:00
Edward Betts a1f72f4620 Not using nltk 2019-12-18 18:52:26 +00:00
Edward Betts 8e606499c9 Add pager to property page 2019-12-18 18:49:15 +00:00
Edward Betts 19c6d3b81c Fix display of item without title. 2019-12-18 18:48:14 +00:00