copyparty/tests
ed 6c94a63f1c add hook side-effects; closes #86
hooks can now interrupt or redirect actions, and initiate
related actions, by printing json on stdout with commands

mainly to mitigate limitations such as sharex/sharex#3992

xbr/xau can redirect uploads to other destinations with `reloc`
and most hooks can initiate indexing or deletion of additional
files by giving a list of vpaths in json-keys `idx` or `del`

there are limitations;
* xbu/xau effects don't apply to ftp, tftp, smb
* xau will intentionally fail if a reloc destination exists
* xau effects do not apply to up2k

also provides more details for hooks:
* xbu/xau: basic-uploader vpath with filename
* xbr/xar: add client ip
2024-08-11 14:52:32 +00:00
..
res/idp idp: precise expansion of ${u} (fixes #79); 2024-03-21 20:10:27 +00:00
__init__.py fix write-only volumes + add regression test 2021-04-24 02:48:41 +02:00
ptrav.py make linters happier 2023-11-30 17:33:07 +00:00
run.py make linters happier 2023-11-30 17:33:07 +00:00
test_dots.py make thumbnails compatible with dirkeys/filekeys 2024-06-16 21:35:43 +02:00
test_dxml.py make linters happier 2023-11-30 17:33:07 +00:00
test_hooks.py add hook side-effects; closes #86 2024-08-11 14:52:32 +00:00
test_httpcli.py make it 5% faster 2024-07-31 17:51:53 +00:00
test_idp.py fix tests on windows 2024-04-25 22:25:38 +00:00
test_vfs.py cleanup: strip trailing whitespace 2024-07-26 19:33:56 +00:00
util.py add hook side-effects; closes #86 2024-08-11 14:52:32 +00:00