Commit Graph

12 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
36a4635772 refactor: move config_path from root into install_methods
Migrated all 80 app JSON files to place config_path inside each
install_methods object instead of at the root level. This allows
different install methods (e.g. Debian vs Alpine) to have distinct
config paths.

Also updated AGENTS.md JSON structure example to reflect the change.
2026-04-14 14:51:01 +02:00
CanbiZ (MickLesk)
80147b4775 fix(ente): resolve merge conflict markers in install script and metadata 2026-04-08 08:06:18 +02:00
MickLesk
fcb8e932f1 fix(netboot-xyz): rename install script to match naming convention 2026-04-02 21:04:56 +02:00
MickLesk
81dcba7758 fix(postiz,ente,lobehub): address testing feedback
- postiz: add postiz-rebuild helper for env changes & social provider setup
- ente: rewrite ente-setup Step 4 to use direct SQL instead of flaky CLI
- ente: improve ente-upgrade-subscription to bypass interactive prompts
- lobehub: replace broken ParadeDB APT repo (402) with GitHub release .deb
2026-04-02 18:14:49 +02:00
CanbiZ (MickLesk)
022395a962 fix(ente): rewrite ente-setup to auto-extract OTT from logs
- Remove broken hardcoded-ott config (local-domain-suffix '@' never matches)
- ente-setup now guides through 4 steps: register, extract OTT from journalctl, admin whitelist, CLI+subscription
- Fallback: shows recent codes if auto-detect fails
- Update JSON notes to reference ente-setup instead of code 123456
2026-03-27 16:10:05 +01:00
CanbiZ (MickLesk)
d7bf4d51f1 feat(ente): automate first-start setup with ente-setup script
- Add hardcoded OTT (123456) for all emails in museum.yaml so users
  don't need to search logs for verification codes
- Replace separate helper scripts with single 'ente-setup' command
  that handles: admin whitelisting (user_id from DB), CLI account
  add, and subscription upgrade in one guided flow
- Simplify JSON notes to single first-start instruction
2026-03-27 15:44:00 +01:00
CanbiZ (MickLesk)
4fe1d95c81 fix(ente): auto-whitelist admin by user_id from database
The admin CLI requires the user to be whitelisted via their numeric
user_id in museum.yaml's internal.admin field. The helper script
ente-upgrade-subscription now:
1. Looks up user_id from PostgreSQL by email
2. Adds internal.admin to museum.yaml if not present
3. Restarts museum
4. Runs the subscription upgrade

This replaces the previous approach that incorrectly assumed the
first user was auto-admin (that fallback only works when internal
section is completely absent AND was unreliable).
2026-03-27 15:41:05 +01:00
CanbiZ (MickLesk)
dbabc9a1c2 fix(ente): remove explicit admins:[] from museum.yaml
The 'internal.admins' field expects user IDs, not emails. Setting it
to an empty array explicitly disables admin access. Without the field,
museum falls back to treating the first registered user as admin,
which is the correct behavior for self-hosted instances.
2026-03-27 15:38:07 +01:00
CanbiZ (MickLesk)
4b2c538ed9 fix(ente): add admin config section and fix CLI flags
- Add 'internal: admins: []' section to museum.yaml so admin CLI
  commands work after adding email to the list
- Fix --no-limit flag in helper script (requires 'True' argument)
- Add admin setup step to JSON first-start notes
2026-03-27 15:36:01 +01:00
CanbiZ (MickLesk)
8273987242 fix(ente): correct CLI steps in first-start notes
--no-limit requires 'True' argument (string, not bool flag).
Added missing 'ente account add' step before admin commands.
2026-03-27 15:33:50 +01:00
CanbiZ (MickLesk)
3a554e246b fix(ente): add first-start steps to JSON notes
Without these steps the setup cannot be completed:
1. Create account via web UI
2. Get verification code from museum logs
3. Remove subscription limit via CLI
2026-03-27 15:31:49 +01:00
CanbiZ (MickLesk)
c87e326387 refactor: move json/ to top-level, remove frontend/, update workflows
- Move frontend/public/json/ to json/ (top-level)
- Update all workflow path references to json/
- Delete frontend-cicd.yml workflow
- Delete frontend/ directory entirely
- Clean up .gitattributes (remove frontend entries)
2026-03-12 14:11:07 +01:00