From ca7cd43de05620f372b55f49147eb6820d858fac Mon Sep 17 00:00:00 2001 From: Agando Date: Fri, 2 Oct 2026 21:21:15 +0200 Subject: newOS4 webdav path fix + WebX11 resilience package (2026-10-02) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root cause fixes (mindtech incident): - webdav.js: _normalizeRemotePath strips full URLs/space prefixes, applied to all request entry points + _absoluteUrl for MOVE/COPY Destinations - _ensureDir: __list__ existence fast-path (kills MKCOL 409 storms) - dashboard-files.js: updateFilesJson parses __list__ autoindex (no more '#' entries), ensureSpaceExists only re-inits on genuine 404 - 20-test regression suite: scripts/test-webdav-paths.mjs Resilience: - dav-auth-check.py: server-side WebDAV write auth microservice (nginx auth_request on 8904) — anonymous/wrong-token writes now 401 - fail2ban-telegram.py: ban alerts + auto-unban for known space users - backup-spaces.sh: daily hardlink snapshots, 14-day retention - space-health-check.py: junk dirs / myfiles.json / version drift / session sanity → Telegram alerts - dashboard-files.js: visible 503 error panel with Retry + auto-retry - v4.6.16: main.html + module-loader LATEST_VER aligned (was drifted) --- main.html | 6 +- modules/core/module-loader.js | 2 +- modules/ext/webdav.js | 111 ++++++++++++++++++++++++++-------- scripts/test-webdav-paths.mjs | 136 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 225 insertions(+), 30 deletions(-) create mode 100644 scripts/test-webdav-paths.mjs diff --git a/main.html b/main.html index 4b79775..3ec6a94 100644 --- a/main.html +++ b/main.html @@ -1345,13 +1345,13 @@ - + - + - +