25 Commits

Author SHA1 Message Date
73c74cd37e Start to rework tests 2022-12-05 22:04:40 +10:30
3497bfd194 Add state reasons 2022-12-05 22:01:52 +10:30
ada43b176b Refactor image processing for more flexibility. Add support for resizing images if they exceed the discord 8Mb limit. 2022-11-01 13:06:16 +10:30
df0c6d090d Fix race condition causing multiple uploads 2022-05-08 11:38:07 +09:30
ba7ae21248 Refactor how logs are handled. 2022-04-04 19:10:07 +09:30
111a33bc8a I guess not every image is pikachu 2021-12-29 21:58:23 +10:30
2f5bb2ff36 Cleanup temp files and return to upload page after editing. 2021-12-29 21:55:29 +10:30
563de29fcf Allow for marked up file thumbnails to be shown and uploaded. 2021-12-29 21:47:57 +10:30
4118866f7b Be able to push marked up image back to the server. 2021-12-28 11:27:37 +10:30
ced209a7db Add "Hold Uploads" option to configuration 2021-11-07 13:43:25 +10:30
2042c7520d Add image thumbnail previews to the uploads page. 2021-11-07 13:25:18 +10:30
42fb7a2003 Continue changes to allow uploads to be "pending" so a decision can be made to either upload or skip them (and ultimately, edit as well). 2021-11-06 22:56:27 +10:30
5adf81fcf6 Fix typo 2021-11-02 22:10:47 +10:30
726ae9a5aa Use states on Uploads 2021-11-02 22:10:19 +10:30
6fa6c34ccb Add new function to generate files that can be resized. Add states for upcoming queue changes. 2021-11-01 20:59:01 +10:30
460fcf5523 Add test for the too big upload fail 2021-10-19 22:40:29 +10:30
672fd83f27 Properly fail an upload when it is too large. 2021-10-19 22:39:27 +10:30
2c4c9fdde6 Handle "entity too large" errors immediately instead of retrying. 2021-10-11 22:48:49 +10:30
b9cacf6d33 Fix problem with uploads rest endpoint 2021-10-11 22:47:43 +10:30
7670a0c5b7 Mark completely failed uploads as failed so we don't keep retrying them 2021-10-11 20:55:35 +10:30
2a3f4ea21a Add the ability to mock the http client and a test. 2021-10-11 20:25:53 +10:30
ec8b2453cd Clean up logging 2021-10-10 14:54:08 +10:30
6ece881a52 Fix upload logs 2021-10-10 14:44:12 +10:30
f9614ffc48 Remove some system-specific testdata 2021-10-10 11:52:19 +10:30
8483fe7db9 Big refactor to allow for multiple watchers, v2 configuration file with migration and new UI for configuration 2021-10-06 23:12:43 +10:30