Commit graph

15 commits

Author SHA1 Message Date
Chris
5a1f0650ae
Fix isEmail validation failure on valid emails during Docker setup (#835) 2026-02-11 15:42:11 +02:00
Chris
665cfc8a88
Fix DB_FILE issue (#738) 2025-12-28 08:25:50 +02:00
antanst
c232d00d9a Admin user management: backend API and frontend UI.
- Add admin-only users API: list/create/delete (prevent self-delete and last-admin deletion).
- Include is_admin in auth responses.
- Frontend: /admin/users page with table, selection, remove, Add User modal.
- Show “Manage users” in user menu for admins and optional sidebar link.
- Add i18n strings for admin UI.
- Enhance create user script to grant admin via optional third arg.
- Minor: set dev bootstrap user as admin in start script.
2025-09-22 15:20:46 +03:00
antanst
800d231a3a Hotfix start script 2025-08-07 15:18:19 +03:00
antanst
134f09e881 Better DB backups
The backup script has been updated with the new retention policy:
  1. Today's backups: Keeps maximum 4 backups
  2. Previous days (within a week): Keeps only the last backup for each day
  3. Older than one week: Deletes all backups
2025-08-06 19:49:27 +03:00
Chris Veleris
3599bc2b60 Add nanoid 2025-08-04 23:50:53 +03:00
antanst
5b531743db Move backend/start.sh to backend/cmd/start-dev.sh 2025-07-31 14:02:42 +03:00
antanst
044fc1db1a Rip out inline JS from start.sh and use existing code 2025-07-31 14:02:42 +03:00
antanst
8c2435c952 Disable internal SSL
Users should use a TLS terminator if necessary.
2025-07-23 12:22:27 +03:00
antanst
719f93bedf Backup database when starting up. 2025-07-21 23:02:37 +03:00
Antonis Anastasiadis
c24bff1882
Parallelize test running (#166)
* Allow specifying DB file explicitely.

* Export config getter/setter instead of object

Allows dynamically changing configuration

* Remove maxWorker Jest limit, parallelize tests

* Remove unnecessary slow step in Dockerfile.

* Correct error response during login

* Fix setting DB permissions in docker entrypoint

---------

Co-authored-by: antanst <>
2025-07-16 13:27:57 +03:00
Antonis Anastasiadis
dad0bd45ff
Facilitate custom UID/GID at runtime in Docker. (#161)
* Cleanup /scripts dir

* Facilitate custom UID/GID at Docker runtime.

Changes file permissions at runtime depending on UID/GID.

* Disable non-functional frontend tests for now.

---------

Co-authored-by: antanst <>
2025-07-15 21:25:06 +03:00
Chris
78db148150 Cleanup and add safe utility functions (#154)
* Cleanup and add safe utility functions

* Fix npm command

* Update version

* Fix an issue with dist builds caching

* Update version
2025-07-15 10:44:02 +03:00
Chris Veleris
e24d8518d6 Fix an issue with automatically running migrations 2025-07-15 10:44:02 +03:00
Antonis Anastasiadis
d79af0c468
Move startup script from Dockerfile to cmd/ (#136)
Co-authored-by: antanst <>
2025-07-11 10:57:59 +03:00