diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 3cf4fdda..91a7bdf6 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 13, 6) +VERSION = (1, 13, 8) CODENAME = "race the beam" -BUILD_DT = (2024, 7, 29) +BUILD_DT = (2024, 8, 13) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index ff21ef53..0eb2ad48 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -112,6 +112,9 @@ if TYPE_CHECKING: from .httpconn import HttpConn +if not hasattr(socket, "AF_UNIX"): + setattr(socket, "AF_UNIX", -9001) + _ = (argparse, threading) NO_CACHE = {"Cache-Control": "no-cache"} diff --git a/copyparty/httpsrv.py b/copyparty/httpsrv.py index 1b9cd869..62bc2210 100644 --- a/copyparty/httpsrv.py +++ b/copyparty/httpsrv.py @@ -87,6 +87,9 @@ if PY2: range = xrange # type: ignore +if not hasattr(socket, "AF_UNIX"): + setattr(socket, "AF_UNIX", -9001) + class HttpSrv(object): """ diff --git a/copyparty/tcpsrv.py b/copyparty/tcpsrv.py index ba5686c9..b18f4788 100644 --- a/copyparty/tcpsrv.py +++ b/copyparty/tcpsrv.py @@ -31,6 +31,9 @@ if TYPE_CHECKING: from .svchub import SvcHub +if not hasattr(socket, "AF_UNIX"): + setattr(socket, "AF_UNIX", -9001) + if not hasattr(socket, "IPPROTO_IPV6"): setattr(socket, "IPPROTO_IPV6", 41) diff --git a/docs/changelog.md b/docs/changelog.md index 57b2968f..db1adbf0 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,40 @@ +▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ +# 2024-0729-2028 `v1.13.6` not that big + +## new features + +* up2k.js: set clientside timeouts on http connections during upload 85e54980 + * some reverse-proxy setups could cause uploads to hang indefinitely by eating requests; should recover nicely now +* audio-player shows statustext while loading 662541c6 +* [bsod theme](https://github.com/9001/copyparty/tree/hovudstraum/contrib/themes) [(live demo)](https://cd.ocv.me/c/) 15ddcf53 + +## bugfixes + +* fix bugs in the [long-distance upload optimizations](https://github.com/9001/copyparty/releases/tag/v1.13.5) in the previous version: + * up2k.js didn't necessarily use the expected chunksize when stitching 225bd80e + * u2c (commandline uploader): 8916bce3 + * use the correct chunksize instead of overshooting like crazy + * could crash on exit if `-z` was enabled (so basically harmless) + * the "time spent uploading" statustext that was printed on exit could multiply by `-j` and exceed walltime +* misc ux 9bb6e0dc + * don't accept hotkeys until it's safe to do so + * improve messages regarding the [firefox crash](https://bugzilla.mozilla.org/show_bug.cgi?id=1790500) + * keep more console logs in memory (easier to debug) + * fix wordwrap in messageboxes on firefox a19a0fa9 + +## other changes + +* changed the `xm` / "on message" [hook examples](https://github.com/9001/copyparty/tree/hovudstraum/bin/hooks#on-message) to reject users without write-access 99edba4f +* docker images were rebuilt on 2024-08-02, 23:30 UTC with new optimizations: 98ffaadf + * 😃 RAM usage decreased by `5-6 MiB` for most flavors; `10 MiB` for dj/iv + * 😕 image size grew by `4 MiB` (min), `6 MiB` (ac/im/iv), `9 MiB` (dj) + * 😃 startup time reduced to about half + * and avoids a deadlock on IBM mainframes +* updated comparison to other software 6b54972e + * `hfs2` is dead, `hfs3` and `filebrowser` improved + + + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ # 2024-0722-2323 `v1.13.5` american sized