Commit graph

9 commits

Author SHA1 Message Date
Chris
8ea491fde8
Decrease size (#597) 2025-11-27 12:09:27 +02:00
Antonis
c7220c3060
Fix #291 (#444)
* Fix password validation on container restart

Only validate password for new users, not when updating existing users.
This prevents container crashes when TUDUDI_USER_PASSWORD is set but
doesn't meet current validation requirements for existing users.

* Fix entrypoint crash when app user doesn't exist

Check if app user exists before getting UID/GID to prevent
'id: unknown user app' error on restart. Fall back to build-time
defaults (APP_UID/APP_GID) if user is missing.

---------

Co-authored-by: antanst <>
2025-10-23 21:41:21 +03:00
antanst
a43e1c29fe Fix Docker segfault 2025-08-17 17:10:07 +03:00
Antonis Anastasiadis
4051824e7a
Configurable upload path. (#191)
* Add necessary migrations for project model.

* Add a few tests for project model new columns.

* make upload location into a configurable

* fix uploadDir path

* use config in app.js

* Change upload env var naming

* Add upload env var to Docker files

---------

Co-authored-by: antanst <>
Co-authored-by: vhsdream <punk.sand7393@fastmail.com>
2025-07-22 15:23:03 +03:00
antanst
fd5fc20460 Bug fix when setting docker perms 2025-07-21 23:16:50 +03:00
Chris Veleris
98f3627a32 Fix db chmod issue on init 2025-07-16 22:46:51 +03:00
Antonis Anastasiadis
a62d46a96d
Fix parallel test race condition (#168)
* Fix potential test race condition

* Fix setting Docker perms when user exists

---------

Co-authored-by: antanst <>
2025-07-16 14:57:14 +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