From 855b93dcf6cb2b147d856b04b0a8ad329b185c21 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 20 Jun 2021 18:53:58 +0200 Subject: [PATCH] v0.11.20 --- README.md | 5 ++++- copyparty/__version__.py | 4 ++-- copyparty/util.py | 4 ++-- copyparty/web/browser.css | 3 +++ 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 84346f03..dbc54050 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,9 @@ summary: all planned features work! now please enjoy the bloatening ## not my bugs +* Windows: folders cannot be accessed if the name ends with `.` + * python or windows bug + * Windows: msys2-python 3.8.6 occasionally throws "RuntimeError: release unlocked lock" when leaving a scoped mutex in up2k * this is an msys2 bug, the regular windows edition of python is fine @@ -439,7 +442,7 @@ quick summary of more eccentric web-browsers trying to view a directory index: copyparty returns a truncated sha512sum of your PUT/POST as base64; you can generate the same checksum locally to verify uplaods: - b512(){ printf "$((sha512sum||shasum -a512)|sed -E 's/ .*//;s/(..)/\\x\1/g')"|base64|head -c44;} + b512(){ printf "$((sha512sum||shasum -a512)|sed -E 's/ .*//;s/(..)/\\x\1/g')"|base64|tr '+/' '-_'|head -c44;} b512 2 and path[2] != "/": return path return "{}:\\{}".format(path[1], path[3:]) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 04642cea..57bc310e 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -969,6 +969,9 @@ html.light #treeul a.hl { background: #07a; color: #fff; } +html.light #treeul a.hl:hover { + background: #059; +} html.light #tree li { border-color: #f7f7f7 #fff #ddd #fff; }