From 4500c04edfd8d356cc81ce88f7692a478947f3a1 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 29 Dec 2022 04:44:15 +0000 Subject: [PATCH] v1.5.4 --- .vscode/launch.json | 1 + .vscode/settings.json | 3 +++ contrib/openrc/copyparty | 2 +- copyparty/__version__.py | 4 ++-- docs/changelog.md | 31 +++++++++++++++++++++++++++++++ scripts/deps-docker/Dockerfile | 4 ++-- 6 files changed, 40 insertions(+), 5 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 20edaa92..45f03dda 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,6 +8,7 @@ "module": "copyparty", "console": "integratedTerminal", "cwd": "${workspaceFolder}", + "justMyCode": false, "args": [ //"-nw", "-ed", diff --git a/.vscode/settings.json b/.vscode/settings.json index 5f97c7fc..e3cc1ebd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -52,9 +52,11 @@ "--disable=missing-module-docstring", "--disable=missing-class-docstring", "--disable=missing-function-docstring", + "--disable=import-outside-toplevel", "--disable=wrong-import-position", "--disable=raise-missing-from", "--disable=bare-except", + "--disable=broad-except", "--disable=invalid-name", "--disable=line-too-long", "--disable=consider-using-f-string" @@ -64,6 +66,7 @@ "editor.formatOnSave": true, "[html]": { "editor.formatOnSave": false, + "editor.autoIndent": "keep", }, "[css]": { "editor.formatOnSave": false, diff --git a/contrib/openrc/copyparty b/contrib/openrc/copyparty index db684821..d9e39b37 100644 --- a/contrib/openrc/copyparty +++ b/contrib/openrc/copyparty @@ -14,5 +14,5 @@ name="$SVCNAME" command_background=true pidfile="/var/run/$SVCNAME.pid" -command="/usr/bin/python /usr/local/bin/copyparty-sfx.py" +command="/usr/bin/python3 /usr/local/bin/copyparty-sfx.py" command_args="-q -v /mnt::rw" diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 54997cda..616f9e54 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 5, 3) +VERSION = (1, 5, 4) CODENAME = "babel" -BUILD_DT = (2022, 12, 13) +BUILD_DT = (2022, 12, 29) 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 ebb4dffc..0c0e8db8 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,34 @@ +▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ +# 2022-1213-1956 `v1.5.3` folder-sync + turbo-rust + +* read-only demo server at https://a.ocv.me/pub/demo/ + +## new features +* one-way folder sync (client to server) using [up2k.py](https://github.com/9001/copyparty/blob/hovudstraum/bin/README.md#up2kpy) `-z --dr` + * great rsync alternative when combined with `-e2ds --hardlink` deduplication on the server +* **50x faster** when uploading small files to HDD, especially SMR + * by switching sqlite to WAL which carries a small chance of temporarily forgetting the ~200 most recent uploads if you have a power outage or your OS crashes; see `--help-dbd` if you have `-mtp` plugins which produces metadata you can't afford to lose +* location-based [reverse-proxying](https://github.com/9001/copyparty/#reverse-proxy) (but it's still recommended to use a dedicated domain/subdomain instead) +* IPv6 link-local automatically enabled for TCP and zeroconf on NICs without a routable IPv6 +* zeroconf network filters now accept subnets too, for example `--z-on 192.168.0.0/16` +* `.hist` folders are hidden on windows +* ux: + * more accurate total ETA on upload + * sorting of batch-unpost links was unintuitive / dangerous + * hotkey `Y` turns files into download links if nothing's selected + * option to replace or disable the mediaplayer-toggle mouse cursor with `--mpmc` + +## bugfixes +* WAL probably/hopefully fixes #10 (we'll know in 6 months roughly) +* repair db inconsistencies (which can happen if terminated during startup) +* [davfs2](https://wiki.archlinux.org/title/Davfs2) did not approve of the authentication prompt +* the `connect` button on the control-panel didn't work on phones +* couldn't specify windows NICs in arguments `--z-on` / `--z-off` and friends +* ssdp xml escaping for `--zsl` URL +* no longer possible to accidentally launch multiple copyparty instances on the same port on windows + + + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ # 2022-1203-2048 `v1.5.1` babel diff --git a/scripts/deps-docker/Dockerfile b/scripts/deps-docker/Dockerfile index 7160f190..14fa6c66 100644 --- a/scripts/deps-docker/Dockerfile +++ b/scripts/deps-docker/Dockerfile @@ -3,9 +3,9 @@ FROM alpine:3.16 WORKDIR /z ENV ver_asmcrypto=c72492f4a66e17a0e5dd8ad7874de354f3ccdaa5 \ ver_hashwasm=4.9.0 \ - ver_marked=4.2.4 \ + ver_marked=4.2.5 \ ver_mde=2.18.0 \ - ver_codemirror=5.65.10 \ + ver_codemirror=5.65.11 \ ver_fontawesome=5.13.0 \ ver_zopfli=1.0.3