feat: implement settings synchronization with server, including encryption and API endpoints

This commit is contained in:
Linus Rath
2026-03-11 16:22:47 +01:00
parent cf5f271be2
commit a8a1ad1d54
7 changed files with 311 additions and 0 deletions
+22
View File
@@ -40,3 +40,25 @@ LOG_LEVEL=info
#
# Then run:
# docker compose up -d
# =============================================================================
# Session & Security
# =============================================================================
# Secret key for encrypting "Remember me" sessions and settings sync data
# Required for both "Remember me" and settings sync features
# Use a strong random string (e.g. openssl rand -base64 32)
# SESSION_SECRET=your-secret-key-here
# =============================================================================
# Settings Sync
# =============================================================================
# Enable server-side settings persistence (requires SESSION_SECRET)
# When enabled, user settings are encrypted and stored on the server,
# allowing them to sync across browsers and devices.
# SETTINGS_SYNC_ENABLED=true
# Directory for storing encrypted settings files (default: ./data/settings)
# For Docker, mount a persistent volume at this path.
# SETTINGS_DATA_DIR=./data/settings