mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
v0.11.20
This commit is contained in:
parent
89b79ba267
commit
855b93dcf6
|
@ -143,6 +143,9 @@ summary: all planned features work! now please enjoy the bloatening
|
||||||
|
|
||||||
## not my bugs
|
## 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
|
* 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
|
* 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:
|
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 <movie.mkv
|
b512 <movie.mkv
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (0, 11, 19)
|
VERSION = (0, 11, 20)
|
||||||
CODENAME = "the grid"
|
CODENAME = "the grid"
|
||||||
BUILD_DT = (2021, 6, 19)
|
BUILD_DT = (2021, 6, 20)
|
||||||
|
|
||||||
S_VERSION = ".".join(map(str, VERSION))
|
S_VERSION = ".".join(map(str, VERSION))
|
||||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||||
|
|
|
@ -649,10 +649,10 @@ def s2hms(s, optional_h=False):
|
||||||
|
|
||||||
|
|
||||||
def uncyg(path):
|
def uncyg(path):
|
||||||
if not path.startswith("/"):
|
if len(path) < 2 or not path.startswith("/"):
|
||||||
return path
|
return path
|
||||||
|
|
||||||
if len(path) < 3 and path[2] != "/":
|
if len(path) > 2 and path[2] != "/":
|
||||||
return path
|
return path
|
||||||
|
|
||||||
return "{}:\\{}".format(path[1], path[3:])
|
return "{}:\\{}".format(path[1], path[3:])
|
||||||
|
|
|
@ -969,6 +969,9 @@ html.light #treeul a.hl {
|
||||||
background: #07a;
|
background: #07a;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
html.light #treeul a.hl:hover {
|
||||||
|
background: #059;
|
||||||
|
}
|
||||||
html.light #tree li {
|
html.light #tree li {
|
||||||
border-color: #f7f7f7 #fff #ddd #fff;
|
border-color: #f7f7f7 #fff #ddd #fff;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue