Skip to content

Commit

Permalink
v1.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Oct 6, 2023
1 parent 0dc3c23 commit fcc3336
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/u2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ def main():
raise

if ar.cls:
eprint("\x1b\x5b\x48\x1b\x5b\x32\x4a\x1b\x5b\x33\x4a", end="")
eprint("\033[H\033[2J\033[3J", end="")

ctl = Ctl(ar)

Expand Down
2 changes: 2 additions & 0 deletions contrib/windows/copyparty-ctmp.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rem run copyparty.exe on machines with busted environment variables
cmd /v /c "set TMP=\tmp && copyparty.exe"
4 changes: 2 additions & 2 deletions copyparty/__version__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# coding: utf-8

VERSION = (1, 9, 7)
VERSION = (1, 9, 8)
CODENAME = "prometheable"
BUILD_DT = (2023, 9, 30)
BUILD_DT = (2023, 10, 6)

S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
Expand Down
18 changes: 18 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# 2023-0930-2332 `v1.9.7` better column hider

## new features
* column hiding on phones is much more intuitive
* since you usually want to hide multiple columns, the hiding mode must now be manually disengaged
* click-handler now covers the entire header cell, preventing a misclick from accidentally sorting the table instead

## bugfixes
* #51 running copyparty with an invalid value for `--lang` made it crash with a confusing error message
* also makes it more compatible with other localStorage-using webservices running on the same domain

## other changes
* CVE-2023-5217, a vulnerability in libvpx, was fixed by alpine recently and no longer present in the docker images
* unlike the fix in v1.9.6, this is irrelevant since it was impossible to reach in all conceivable setups, but still nice



▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# 2023-0923-1215 `v1.9.6` configurable x-forwarded-for

Expand Down
4 changes: 2 additions & 2 deletions scripts/make-sfx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ necho() {
mv {markupsafe,jinja2} j2/

necho collecting pyftpdlib
f="../build/pyftpdlib-1.5.7.tar.gz"
f="../build/pyftpdlib-1.5.8.tar.gz"
[ -e "$f" ] ||
(url=https://github.com/giampaolo/pyftpdlib/archive/refs/tags/release-1.5.7.tar.gz;
(url=https://github.com/giampaolo/pyftpdlib/archive/refs/tags/release-1.5.8.tar.gz;
wget -O$f "$url" || curl -L "$url" >$f)

tar -zxf $f
Expand Down
4 changes: 4 additions & 0 deletions scripts/pyinstaller/depchk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ ckpypi() {
pyinstaller
pyinstaller-hooks-contrib
pywin32-ctypes
certifi
charset_normalizer
idna
Jinja2
MarkupSafe
mutagen
Pillow
requests
)
for dep in "${deps[@]}"; do
k=
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ python3 ../scripts/strip_hints/a.py

pids=()
for py in python{2,3}; do
[ ${1:0:6} = python ] && [ $1 != $py ] && continue
[ "${1:0:6}" = python ] && [ "$1" != $py ] && continue

PYTHONPATH=
[ $py = python2 ] && PYTHONPATH=../scripts/py2:../sfx/py37
Expand Down
5 changes: 4 additions & 1 deletion scripts/uncomment.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ def main():
except Exception as ex:
print("\nnon-mp fallback due to {}\n".format(ex))
for f in sys.argv[1:]:
uncomment(f)
try:
uncomment(f)
except Exception as ex:
print("uncomment failed: [%s] %s" % (f, repr(ex)))

print("k")

Expand Down

0 comments on commit fcc3336

Please sign in to comment.