Commit Graph

3 Commits

Author SHA1 Message Date
4669418af1 fix(packs): serialize same-pack upload/delete; clipboard fallback on http dashboard
- per (domain, type) lock held from the Nextcloud PUT/DELETE through the packs.json write,
  so two concurrent replaces can't leave the file and its SHA1 out of sync
- navigator.clipboard is missing on http://<LAN-IP>; fall back to execCommand('copy')
  and tell the user to copy by hand if that fails too

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:55:11 +09:00
03ab32f8ab feat(packs): pack types (resourcepack/datapack/modpack), URL /pack/<type>.zip?domain=<domain>
Files move to <NEXTCLOUD_DIR>/<domain>/<type>.zip; packs.json is {domain: {type: meta}}.
Only resourcepack shows the server.properties snippet; datapack/modpack show the URL.
modpack skips the pack.mcmeta check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:51:52 +09:00
5474dc2fca feat(packs): per-domain resource packs stored on Nextcloud, served at /pack/<domain>.zip
- api: /api/packs upload/list/delete (zip + pack.mcmeta check, SHA1), files go to
  Nextcloud WebDAV; public GET /pack/<domain>.zip streams from Nextcloud
- nginx: unlimited body for /api/packs/, separate :81 server that only serves /pack/
- frontend: 리소스팩 page with upload progress and server.properties snippet
- compose: NEXTCLOUD_* env from .env, 8081:81 mapping

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:46:05 +09:00