23 Commits

Author SHA1 Message Date
30361abdd9 VisibilityHandler (#3)
Create a VisibilityHandler

Co-authored-by: nenzen <stefan@nenzen.com>
Reviewed-on: #3
Reviewed-by: erth9960 <thuning@dsv.su.se>
Co-authored-by: Stefan Nenzén <nenzen@dsv.su.se>
Co-committed-by: Stefan Nenzén <nenzen@dsv.su.se>
2024-03-27 14:54:33 +01:00
Erik Thuning
6c11d5578f Added optional support for user-specified notification endpoints in packages 2024-03-26 15:47:39 +01:00
Erik Thuning
2ce11af099 Formatting 2023-11-23 15:43:38 +01:00
Erik Thuning
06eb7dc233 Error notifications no longer cause the entire job to be deleted.
Preparing for improved mid-job error handling and fixed a bug involving the temporary package copy's basedir not existing
2023-04-14 15:08:43 +02:00
Erik Thuning
8582e32f1d Finished updating docstrings to conform to convention. Also made abstract methods throw an exception if they get called. 2023-03-28 16:43:45 +02:00
Erik Thuning
a12fc96d67 asdict() call was missing from http notification function 2022-12-07 16:14:11 +01:00
Erik Thuning
cf92d2490c Logging in notifier 2022-12-07 16:13:53 +01:00
Erik Thuning
288d2665bf Flip-flopping on string quotes 2022-11-28 16:28:32 +01:00
Erik Thuning
a8ecc469dd The superclass already has self.logger 2022-11-28 16:15:26 +01:00
Erik Thuning
c42e4cb72e Added logging to notifier 2022-11-28 16:08:36 +01:00
Erik Thuning
ccead70ed3 Made string quotes consistent 2022-11-28 15:58:09 +01:00
Erik Thuning
905d7f2f01 Fixed various slop so tests pass 2022-10-31 14:16:04 +01:00
Erik Thuning
6291b66c86 Capitalized all sections in config
Implemented HTTP notification
2022-10-24 16:47:24 +02:00
Erik Thuning
0b06690a38 * Completed ThumbnailHandler
* Simplified writing Package to json
* Collector now accepts Handler objects instead of name strings
* Refactored Handler._handle() and its invocation from _process():
 - _handle() now returns apply_func
 - boilerplate moved into Handler._process()
 - Handlers can require other handlers to finish before them
2022-10-22 00:19:03 +02:00
Erik Thuning
eb9f0b7371 Renamed QueueThread._handle() to ._process()
Renamed Preprocessor._handle() to ._preprocess()
Consistency updates to all subclasses
2022-10-21 23:15:38 +02:00
Erik Thuning
ef6bd5831d Moving to dataclasses for complex queue items 2022-10-17 17:10:16 +02:00
Erik Thuning
398f59e66b Fixes 2022-10-17 13:56:54 +02:00
Erik Thuning
484b868870 Exceptions don't have a message field 2022-10-17 13:29:17 +02:00
Erik Thuning
31a291210d Prepare notifier for remote notifications,
only send necessary config
2022-10-17 13:19:36 +02:00
Erik Thuning
5c3ee40e85 made error notification calls consistent 2022-10-07 19:21:40 +02:00
Erik Thuning
889665941c The general flow works and passes tests! 2022-09-28 22:30:38 +02:00
Erik Thuning
949eb4f04f PRogress is being made! 2022-09-27 17:38:18 +02:00
Erik Thuning
b23597e75a Getting somewhere 2022-09-23 09:49:39 +02:00