mirror of
https://github.com/9001/copyparty.git
synced 2026-04-02 22:08:38 +10:00
v1.20.2
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# coding: utf-8
|
||||
|
||||
VERSION = (1, 20, 1)
|
||||
VERSION = (1, 20, 2)
|
||||
CODENAME = "sftp is fine too"
|
||||
BUILD_DT = (2026, 1, 9)
|
||||
BUILD_DT = (2026, 1, 19)
|
||||
|
||||
S_VERSION = ".".join(map(str, VERSION))
|
||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||
|
||||
@@ -2117,15 +2117,23 @@ class AuthSrv(object):
|
||||
if errors:
|
||||
sys.exit(1)
|
||||
for vol in dropvols:
|
||||
vol.realpath = ""
|
||||
vol.axs = AXS()
|
||||
vol.uaxs = {}
|
||||
vfs.all_vols.pop(vol.vpath, None)
|
||||
vfs.all_nodes.pop(vol.vpath, None)
|
||||
for zv in vfs.all_nodes.values():
|
||||
try:
|
||||
zv.all_aps.remove(vol.realpath)
|
||||
zv.all_vps.remove(vol.vpath)
|
||||
# pointless but might as well:
|
||||
zv.all_vols.pop(vol.vpath)
|
||||
zv.all_nodes.pop(vol.vpath)
|
||||
except:
|
||||
pass
|
||||
zs = next((x for x, y in zv.nodes.items() if y == vol), "")
|
||||
if zs:
|
||||
zv.nodes.pop(zs)
|
||||
vol.realpath = ""
|
||||
|
||||
promote = []
|
||||
demote = []
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
var J_BRW = 1;
|
||||
|
||||
if (!window.drcm) alert('FATAL ERROR: receiving stale data from the server; this may be due to a broken reverse-proxy (stuck cache). Try restarting copyparty and press CTRL-SHIFT-R in the browser');
|
||||
|
||||
var XHR = XMLHttpRequest,
|
||||
img_re = /\.(a?png|avif|bmp|gif|heif|jpe?g|jfif|svg|webp|webm|mkv|mp4|m4v|mov)(\?|$)/i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user