- only Postgres is supported from now on to reduce maintenance
- enables building main upda server application for all platforms
- instead of using ORM auto migrate for database schema creation, switch to proper migration framework utilizing flexible steps and plain sql files
- library updates
Reviewed-on: #52
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
- Switched to enforce JSON as Content-Type for all incoming requests
- Switched to properly respond with JSON on page not found or method not allowed
- Renamed CORS_ALLOW_ORIGIN to CORS_ALLOW_ORIGINS
- Added CORS_ALLOW_CREDENTIALS which defaults to true
- Added CORS_EXPOSE_HEADERS which defaults to *
- Overhauled package visibility for server module
- Disable cleaning up stale updates and events by default
- Change Prometheus exporter behavior
- Return -1 for deleted updates in Prometheus which are evicted on next application restart
- Ignore PROMETHEUS_METRICS_PATH (defaults to /metrics) in application metrics
- Improve template Grafana Dashboard
- Add locking for background task in non-distributed environments to avoid overlaps