Add Pushover support and avatar uploads directory setup

Introduces Pushover as a notification channel with validation and form handling in the group edit view. Also updates the bootstrap script to create and set permissions for the avatar uploads directory.
This commit is contained in:
Hosteroid
2025-11-18 18:34:05 +02:00
parent 2b4035dd29
commit e2be1ef33c
3 changed files with 52 additions and 0 deletions

View File

@@ -114,6 +114,18 @@ for d in logs storage cache tmp runtime; do
fi
done
# Create and set permissions for avatar uploads directory
UPLOADS_DIR="$APP_DIR/public/assets/uploads/avatars"
if [ ! -d "$UPLOADS_DIR" ]; then
echo " - Creating avatar uploads directory"
mkdir -p "$UPLOADS_DIR" || true
fi
if [ -d "$APP_DIR/public/assets/uploads" ]; then
echo " - Making uploads directory writable by ${WWW_UID}:${WWW_GID}"
chown -R ${WWW_UID}:${WWW_GID} "$APP_DIR/public/assets/uploads" || true
chmod -R 775 "$APP_DIR/public/assets/uploads" || true
fi
# Allow installer to create .installed at project root
chmod 775 "$APP_DIR"