From dacca18863571f4cdd322fd40686691b8b3edd7a Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 12 Jan 2023 05:15:30 +0000 Subject: [PATCH] v1.5.6 --- copyparty/__version__.py | 4 ++-- copyparty/web/up2k.js | 9 +++++++++ docs/changelog.md | 19 +++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 822f9a49..6718d386 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 5, 5) +VERSION = (1, 5, 6) CODENAME = "babel" -BUILD_DT = (2022, 12, 30) +BUILD_DT = (2023, 1, 12) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index 54e055c8..06a4618d 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -2381,8 +2381,17 @@ function up2k_init(subtle) { function can_upload_next() { var upt = st.todo.upload[0], upf = st.files[upt.nfile], + nhs = st.busy.handshake.length, + hs = nhs && st.busy.handshake[0], now = Date.now(); + if (nhs >= 16) + return false; + + if (hs && hs.t_uploaded && Date.now() - hs.t_busied > 10000) + // verification HS possibly held back by uploads + return false; + for (var a = 0, aa = st.busy.handshake.length; a < aa; a++) { var hs = st.busy.handshake[a]; if (hs.n < upt.nfile && hs.t_busied > now - 10 * 1000 && !st.files[hs.n].bytes_uploaded) diff --git a/docs/changelog.md b/docs/changelog.md index 0c0e8db8..3c23d689 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,22 @@ +▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ +# 2022-1230-0754 `v1.5.5` made in japan + +hello from tokyo +* read-only demo server at https://a.ocv.me/pub/demo/ + +## new features +* image viewer now supports heif, avif, apng, svg +* [partyfuse and up2k.py](https://github.com/9001/copyparty/tree/hovudstraum/bin): option to read password from textfile + +## bugfixes +* thumbnailing could fail if a primitive build of libvips is installed +* ssdp was wonky on dualstack ipv6 +* mdns could crash on networks with invalid routes +* support fat32 timestamp precisions + * fixes spurious file reindexing in volumes located on SD cards on android tablets which lie about timestamps until the next device reboot or filesystem remount + + + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ # 2022-1213-1956 `v1.5.3` folder-sync + turbo-rust