Commit graph

15 commits

Author SHA1 Message Date
1fc3818d3c feature(api,release): prepare for next major release and switch to requiring content-type set to JSON for all incoming requests and expose more CORS environment variables
All checks were successful
/ build (push) Successful in 5m3s
- 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
2024-06-10 20:03:25 +02:00
17592d4fad Minor refactor tackling typos, overhauling README, adding hints about useful resources to README, and avoid any panic/Fatalf from services and init calls #noissue
All checks were successful
/ build (push) Successful in 5m1s
2024-06-03 21:39:03 +02:00
47a48523a9 Introduce go vet and upgrades #noissue
All checks were successful
/ build (push) Successful in 3m12s
2024-06-02 17:22:43 +02:00
165b992629 feature(locking): add proper locking and overhaul existing locking service (#34)
All checks were successful
/ build (push) Successful in 3m11s
Reviewed-on: #34
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-05-24 00:54:35 +02:00
7c3545976b feat(docs,license): clean up documentation and add license
All checks were successful
/ build (push) Successful in 3m16s
2024-04-28 22:34:26 +02:00
c0928c4128 feat(actions): introduce an explicit event for changes of an update's version 2024-04-28 22:27:34 +02:00
10bc3a59bb feat(updates,events): Streamline update state changes into one event type only (#27)
Reviewed-on: #27
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-04-28 22:27:34 +02:00
faffad851c feat(auth): Add support for multiple basic auth credentials (#25)
Reviewed-on: #25
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-04-28 22:27:34 +02:00
f231e66e7c feat(actions): Add support for <VAR>STATE</VAR> (#24)
Reviewed-on: #24
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-04-28 22:27:34 +02:00
66800d26df feat(actions): Add actions and secrets (with proper asynchronous enqueue and dequeue mechanism) (#22)
Reviewed-on: #22
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-04-28 22:27:34 +02:00
e8dba980e1 Add file logging via LOGGING_DIRECTORY and add an example systemd service for native deployments 2024-04-28 22:27:34 +02:00
0194429c80 Adapted logging which defaults to JSON encoding 2024-01-24 23:21:48 +01:00
5763d77045 Added locking, improve prometheus handling and change to more reasonable configuration defaults for background tasks
All checks were successful
/ build (push) Successful in 3m37s
- 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
2023-12-23 22:51:51 +01:00
d68033037a Add examples for Grafana and alertmanager and fix documentation regarding DB_SQLITE_FILE and prometheus reverse proxy if scraped publicly #noissue
All checks were successful
/ build (push) Successful in 3m28s
2023-12-22 00:47:35 +01:00
d12db38a73 Initial commit
All checks were successful
/ build (push) Successful in 3m8s
2023-12-21 17:04:04 +01:00