diff --git a/README.md b/README.md index c8697265..6e106587 100644 --- a/README.md +++ b/README.md @@ -1074,6 +1074,7 @@ below are some tweaks roughly ordered by usefulness: * `--http-only` or `--https-only` (unless you want to support both protocols) will reduce the delay before a new connection is established * `--hist` pointing to a fast location (ssd) will make directory listings and searches faster when `-e2d` or `-e2t` is set * `--no-hash .` when indexing a network-disk if you don't care about the actual filehashes and only want the names/tags searchable +* `--no-htp --hash-mt=0 --th-mt=1` minimizes the number of threads; can help in some eccentric environments (like the vscode debugger) * `-j` enables multiprocessing (actual multithreading) and can make copyparty perform better in cpu-intensive workloads, for example: * huge amount of short-lived connections * really heavy traffic (downloads/uploads) diff --git a/copyparty/__version__.py b/copyparty/__version__.py index e7ecd00d..383e6121 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 4, 2) +VERSION = (1, 4, 3) CODENAME = "mostly reliable" -BUILD_DT = (2022, 9, 25) +BUILD_DT = (2022, 9, 26) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/docs/changelog.md b/docs/changelog.md index 472cf6e4..5c16478a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,21 @@ +▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ +# 2022-0925-1236 `v1.4.2` fuhgeddaboudit + +* read-only demo server at https://a.ocv.me/pub/demo/ +* latest gzip edition of the sfx: [v1.0.14](https://github.com/9001/copyparty/releases/tag/v1.0.14#:~:text=release-specific%20notes) + +## new features +* forget incoming uploads by deleting the name-reservation + * (the zerobyte file with the actual filename, not the .PARTIAL) + * can take 5min to kick in + +## bugfixes +* zfs on ubuntu 20.04 would reject files with big unicode names such as `148. Профессор Лебединский, Виктор Бондарюк, Дмитрий Нагиев - Я её хой (Я танцую пьяный на столе) (feat. Виктор Бондарюк & Дмитрий Нагиев).mp3` + * usually not a problem since copyparty truncates names to fit filesystem limits, except zfs uses a nonstandard errorcode +* in the "print-message-to-serverlog" feature, a unicode message larger than one tcp-frame could decode incorrectly + + + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ # 2022-0924-1245 `v1.4.1` fix api compat diff --git a/scripts/make-sfx.sh b/scripts/make-sfx.sh index 3ea39ae2..8c1b2afd 100755 --- a/scripts/make-sfx.sh +++ b/scripts/make-sfx.sh @@ -224,7 +224,6 @@ tmpdir="$( # remove type hints before build instead (cd copyparty; "$pybin" ../../scripts/strip_hints/a.py; rm uh) -} f=../build/mit.txt [ -e $f ] || @@ -266,6 +265,8 @@ while IFS= read -r x; do printf "%${p}s\033[07m%s\033[0m\n" "" "$x" done > copyparty/res/COPYING.txt +} + ver= [ -z "$repack" ] && git describe --tags >/dev/null 2>/dev/null && {