Rollback to upstream-obv (v0.1 effective)

Vier Customization-Iterationen (v0.2 bis v0.5.1) haben auf Mobile (iOS Safari)
und Chrome Desktop jeweils neue Probleme verursacht statt sie zu lösen.

Rollback entfernt:
- vault.html: Script-Tag für vault-custom.js entfernt (upstream-original)
- server.py: ?file= query-Patch entfernt (upstream-original)
- vault-custom.js: leerer Stub mit Comment (Customizations deaktiviert)
- hermes-custom.css: leerer Stub (CSS deaktiviert)

Was bleibt:
- Repo-Struktur (README, CHANGELOG, ARCHITECTURE, CUSTOMIZATIONS, scripts/)
- Documented history der Customization-Iterationen für späteres Re-Audit
- Backup-Dateien: *.lukas (alle Original-Patches vor diesem Commit)

Begründung: Lukas braucht ein verlässlich funktionierendes Wiki, nicht
endlose Problemlösungs-Schleifen. Basis muss stimmen, bevor neue Features
ausprobiert werden.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-18 04:02:08 +00:00
co-authored by Claude
parent 384281c747
commit 5394f7e9bf
8 changed files with 1364 additions and 716 deletions
+2 -11
View File
@@ -217,17 +217,8 @@ class VaultHandler(BaseHTTPRequestHandler):
params = urllib.parse.parse_qs(query_string)
q = params.get("q", [""])[0]
self._json({"results": _search(VAULT_DIR, q) if q else []})
elif path == "/api/vault/file" or path.startswith("/api/vault/file/"):
if path == "/api/vault/file":
rel = ""
else:
rel = unquote(path[len("/api/vault/file/"):])
# Lukas-add: also support ?file=<path> query for clean URL navigation
if not rel and query_string:
from urllib.parse import parse_qs
file_param = parse_qs(query_string).get("file", [None])[0]
if file_param:
rel = file_param
elif path.startswith("/api/vault/file/"):
rel = unquote(path[len("/api/vault/file/"):])
file_path = VAULT_DIR / rel
if not file_path.exists() or not str(file_path).startswith(str(VAULT_DIR)):
self._json({"error": "Not found"}, 404)