Codebase cleanup: remove dead code, fix docker, update docs

app.py:
- Remove 'raw' field from export dict entries (only comment/blank
  kinds need raw; export entries are always reconstructed from
  path/rest/enabled when writing back)
- Remove extra blank line

shares.js:
- Remove unused pathJson variable in SMB row (was only needed for
  the quota button, which was removed)

docker-compose.yml:
- Deleted entirely: was missing templates/ and static/ mounts so the
  Flask app couldn't serve pages; SYS_ADMIN cap_add was only needed
  for quotas; deployment is systemd, not Docker

README.md:
- Remove quota package from apt install command
- Remove quota setup section (feature removed)
- Remove docker-compose from Dev section

CLAUDE.md / PLANNING.md:
- Remove docker-compose.yml references and quotas.js from file tree

.gitignore:
- Remove redundant micronas.env entry (already covered by *.env)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
marcandClaude Sonnet 4.6 committed 2026-06-19 23:11:41 +02:00
1 parent bf7daf1c2c
commit 96055e6375
7 files changed
+7 -73

No files matched your search

+1 -3
View File
@@ -44,11 +44,9 @@ MicroNAS/
│ ├── utils.js esc(), showToast(), apiFetch()
│ ├── dashboard.js loadDashboard()
│ ├── shares.js SMB/NFS CRUD + edit/delete/toggle
│ ├── quotas.js Quota modal
│ ├── users.js User CRUD + password modal
│ └── main.js Init + auto-refresh
│ └── main.js Init + auto-refresh countdown
├── micronas.service systemd unit
├── docker-compose.yml Dev/test sandbox only
├── README.md
└── PLANNING.md
```