Commit graph

51 commits

Author SHA1 Message Date
f37ea4fbbb feat(api): Don't enforce JSON content type for GET and DELETE requests and enhance cross-module code sharing with a commons module
All checks were successful
/ build (push) Successful in 4m52s
2024-06-11 23:47:30 +02:00
20588b44bf Prepare next dev after hotfix
All checks were successful
/ build (push) Successful in 4m46s
2024-06-11 00:10:46 +02:00
4046695f1c hotfix(3.0.1): Fixed finding proper remaining Action invocations by their state
Some checks failed
/ build (push) Has been cancelled
/ release (push) Successful in 5m35s
2024-06-11 00:08:21 +02:00
abc78036d0 Prepare next dev
All checks were successful
/ build (push) Successful in 4m56s
2024-06-10 23:21:44 +02:00
9259299a56 Release 3.0.0 #release
All checks were successful
/ build (push) Successful in 4m47s
/ release (push) Successful in 5m41s
2024-06-10 22:31:56 +02:00
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
1d79258670 chore(deps): update go-redis to 9.5.3
All checks were successful
/ build (push) Successful in 5m26s
2024-06-08 10:36:31 +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
302d0b1ad4 Use capacity to avoid arr copying #noissue 2024-06-02 23:13:44 +02:00
d958f48717 Use recommended race option for testing #noissue 2024-06-02 23:11:12 +02:00
9679166d0a Adapt GOMAXPROCS automatically for k8s and docker deployments #noissue 2024-06-02 23:11:00 +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
04a3ef39fa Updated OCI image base to alpine 3.20 with Go 1.22 #noissue
All checks were successful
/ build (push) Successful in 3m38s
2024-05-24 01:17:51 +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
95074b2a86 chore(deps): update dependencies and move to gocron v2 (#33)
All checks were successful
/ build (push) Successful in 3m2s
Reviewed-on: #33
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-05-16 07:33:32 +00:00
19c367a5d8 chore(docker,deps): updates and change docker base (#31)
All checks were successful
/ build (push) Successful in 3m22s
- update gin/cors to 1.7.2
- change docker base to alpine 3.19 which requires an indirect dependency upgrade to sqlite3 as long as go-gorm/sqlite bundles the old version
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-05-01 20:45:35 +00:00
dce287d6a3 fix(release): prepare next dev cycle
All checks were successful
/ build (push) Successful in 3m9s
2024-05-01 12:22:31 +02:00
98b37ca289 fix(release,webhooks): Fixed retrieval of encrypted webhook token and prepare patch 2.0.1 release
All checks were successful
/ build (push) Successful in 3m21s
/ release (push) Successful in 4m21s
2024-05-01 12:20:51 +02:00
c1631a0588 fix(deps): update module github.com/go-playground/validator/v10 to v10.20.0 (#29)
All checks were successful
/ build (push) Successful in 3m14s
Co-authored-by: Renovate Bot <renovate@myservermanager.com>
Co-committed-by: Renovate Bot <renovate@myservermanager.com>
2024-05-01 09:01:54 +00:00
1406b53180 fix(deps): update module github.com/urfave/cli/v2 to v2.27.2 (#28)
All checks were successful
/ build (push) Successful in 3m16s
Co-authored-by: Renovate Bot <renovate@myservermanager.com>
Co-committed-by: Renovate Bot <renovate@myservermanager.com>
2024-05-01 07:04:20 +00:00
b20530941e Prepare next dev cycle #noissue
All checks were successful
/ build (push) Successful in 3m19s
2024-04-28 23:04:20 +02:00
52dfb5e21a Prepare release of 2.0.0 #noissue
All checks were successful
/ build (push) Successful in 3m37s
/ release (push) Successful in 3m59s
2024-04-28 22:57:39 +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
0277868c1b feat(auth): align CLI application with new auth mode wording 2024-04-28 22:27:34 +02:00
927bee30cf fix(locks): access to in-memory locks inside scheduled background tasks are now properly guarded 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
79c5da119a fix(actions): state not considered in test payload (#26)
Reviewed-on: #26
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
5d9fe621d8 fix(deps): update module gorm.io/gorm to v1.25.10 (#23)
gorm.io/gorm 	require 	patch 	v1.25.9 -> v1.25.10
Co-authored-by: Renovate Bot <renovate@myservermanager.com>
Co-committed-by: Renovate Bot <renovate@myservermanager.com>
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
6420e19a8d Change Renovate schedule 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
99c63fdb8d Minor method renaming 2024-04-28 22:27:34 +02:00
5acc136fe8 Update dependencies 2024-04-28 22:27:34 +02:00
0194429c80 Adapted logging which defaults to JSON encoding 2024-01-24 23:21:48 +01:00
feedfad99f Prepare next development cycle (1.1.0)
All checks were successful
/ build (push) Successful in 3m36s
2024-01-21 23:13:04 +01:00
720990672b Prepare release of 1.0.3
All checks were successful
/ build (push) Successful in 3m18s
/ release (push) Successful in 4m15s
2024-01-21 23:03:16 +01:00
677d077361 Update module github.com/go-playground/validator/v10 to v10.17.0 (#6)
All checks were successful
/ build (push) Successful in 3m15s
Co-authored-by: Renovate Bot <renovate@myservermanager.com>
Co-committed-by: Renovate Bot <renovate@myservermanager.com>
2024-01-14 16:31:50 +00:00
81f6a29f8c Update module github.com/redis/go-redis/v9 to v9.4.0 (#5)
All checks were successful
/ build (push) Successful in 3m36s
Co-authored-by: Renovate Bot <renovate@myservermanager.com>
Co-committed-by: Renovate Bot <renovate@myservermanager.com>
2024-01-10 22:09:51 +00:00
105d6db897 Update all minor dependencies (#4)
All checks were successful
/ build (push) Successful in 3m20s
github.com/go-resty/resty/v2 	require 	minor 	v2.10.0 -> v2.11.0
github.com/urfave/cli/v2 	require 	minor 	v2.26.0 -> v2.27.1
Co-authored-by: Renovate Bot <renovate@myservermanager.com>
Co-committed-by: Renovate Bot <renovate@myservermanager.com>
2024-01-05 13:06:29 +00:00
c6a577be52 Prepare next development cycle (1.0.3)
All checks were successful
/ build (push) Successful in 3m8s
2023-12-24 00:08:14 +01:00
66da3c00e0 Fix wrong event type being created for update state change and prepare 1.0.2 release
All checks were successful
/ build (push) Successful in 3m19s
/ release (push) Successful in 3m59s
2023-12-24 00:03:30 +01:00
0cd3278f96 Prepare next development cycle (1.0.2)
All checks were successful
/ build (push) Successful in 3m11s
2023-12-23 23:16:24 +01:00
0d80827cb4 Prepare 1.0.1
All checks were successful
/ build (push) Successful in 3m15s
/ release (push) Successful in 3m54s
2023-12-23 23:01:50 +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
98ed0c877b Prepare next development cycle (1.0.1)
All checks were successful
/ build (push) Successful in 3m29s
2023-12-21 17:48:05 +01:00
de65b2ce10 Release 1.0.0
All checks were successful
/ build (push) Successful in 3m17s
/ release (push) Successful in 3m55s
2023-12-21 17:16:57 +01:00