This commit is contained in:
ed
2026-01-19 01:26:37 +00:00
parent e752005543
commit cab9feb225
6 changed files with 51 additions and 5 deletions

View File

@@ -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)

View File

@@ -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 = []

View File

@@ -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;