Commit Graph

365 Commits

Author SHA1 Message Date
ErickSkrauch
4e9a145f74
Fixes #39. Merge branch 'otel' into v5 2024-03-05 15:30:16 +01:00
ErickSkrauch
b9a38dd947
Add autoconfiguration for OTEL and resolve TODOs for metrics 2024-03-05 15:14:10 +01:00
ErickSkrauch
7964281f06
Merge branch 'v5' into otel
# Conflicts:
#	go.sum
#	internal/cmd/serve.go
#	internal/http/http.go
2024-03-05 14:26:36 +01:00
ErickSkrauch
528b131309
Read multiline signing private key from the config and remove base64 encoding support 2024-03-05 13:55:31 +01:00
ErickSkrauch
436ff7c294
Implemented API endpoint to sign arbitrary data 2024-03-05 13:07:54 +01:00
ErickSkrauch
f037fb11e1
progress [skip ci] 2024-02-20 02:08:23 +01:00
ErickSkrauch
feb8e32069
Add otel setup 2024-02-14 00:56:48 +01:00
ErickSkrauch
f5bc474b4d
Go, Go Context! Added context transfer literally everywhere 2024-02-13 02:08:42 +01:00
ErickSkrauch
fdafbc4f0e
Simplify stop signal handling 2024-02-07 18:33:06 +01:00
ErickSkrauch
cecd07c113
Remove dispatcher and eventsubscribers modules, remove statsd integration, remove event bus usage. Overall cleanup before otel integration 2024-02-07 17:34:57 +01:00
ErickSkrauch
5d7a66311d
Cleanup cmd runner 2024-02-07 14:29:52 +01:00
ErickSkrauch
d363433c88
Cleanup server error handling 2024-02-07 14:24:41 +01:00
ErickSkrauch
bc4d714112
Make Mojang profiles provider cancellable 2024-02-07 01:36:18 +01:00
ErickSkrauch
10c11bc060
Rework security module, replace JWT library, invalidate JWT tokens signed for Chrly v4, generate RSA key in runtime when not provided via configuration 2024-02-01 12:11:39 +01:00
ErickSkrauch
11340289ad
Replace base module name from github.com/elyby/chrly to ely.by/chrly 2024-02-01 08:12:34 +01:00
ErickSkrauch
06afd17557
Fix build for CI 2024-02-01 08:03:38 +01:00
ErickSkrauch
c95ecc2491
Fix go get for CI 2024-02-01 08:01:29 +01:00
ErickSkrauch
77e466cc0d
Rework project's structure 2024-02-01 07:58:26 +01:00
ErickSkrauch
dac3ca9001
[BREAKING]
Introduce universal profile entity
Remove fs-based capes serving
Rework management API
Rework Redis storage schema
Reducing amount of the bus emitter usage
2024-01-30 09:05:04 +01:00
ErickSkrauch
dac5e4967f
Rewrite mojang textures provider module, cleanup its implementation of events emitter, statsd and etc. 2024-01-10 01:42:10 +01:00
ErickSkrauch
4cdc151ab3
Merge branch 'master' into v5 2023-12-29 07:51:28 +01:00
ErickSkrauch
ad31fdb709
Quick fix for production data inconsistency 2023-12-22 18:45:38 +01:00
ErickSkrauch
fa62d45d00
Update mojang api username filter 2023-12-22 02:00:31 +01:00
ErickSkrauch
cadb89f00a
Fixes #40. Allow to upload profile information without a skin
Remove skin file uploading stubs
2023-12-22 01:56:02 +01:00
ErickSkrauch
e568d4cf91
Remove worker mode 2023-12-15 03:42:38 +01:00
ErickSkrauch
20ba78953b
Handle absence of the additional reporters 2023-12-14 03:01:55 +01:00
ErickSkrauch
883a7bda3c
Fixes #8. Replace radix v2 with v4 2023-12-14 02:16:24 +01:00
ErickSkrauch
d678f61df7
Upgrade dependencies 2023-12-14 02:16:24 +01:00
ErickSkrauch
1543e98b87
Restore codecov export and update README badges 2023-12-13 17:09:46 +01:00
ErickSkrauch
0e0b41d6d7
Update LICENSE 2023-12-13 15:11:07 +01:00
ErickSkrauch
3cd12acc1b
Export profile requests metrics to statsd 2023-12-13 01:56:40 +01:00
ErickSkrauch
dac4ed0ac6
Update CHANGELOG 2023-12-13 01:51:22 +01:00
ErickSkrauch
11a779c670
Another version CI fix 2023-12-13 01:34:15 +01:00
ErickSkrauch
6cb5e1eb42
Fix version generation 2023-12-13 01:23:53 +01:00
ErickSkrauch
8959e53270
Generate version and commit refs for built docker image 2023-12-13 01:09:21 +01:00
ErickSkrauch
3526570dd3
Run release only when previous step succeeded 2023-12-12 02:37:52 +01:00
ErickSkrauch
4b7f1346f5
Add an edge tag for master releases 2023-12-12 02:30:27 +01:00
ErickSkrauch
e7721f9e5a
Enable pushing 2023-12-12 02:21:22 +01:00
ErickSkrauch
26bfbd1517
Read secrets from secrets 2023-12-12 02:13:19 +01:00
ErickSkrauch
ecbb06b83c
Fix release pipeline and upgrade Dockerfile 2023-12-12 02:06:00 +01:00
ErickSkrauch
6accffed45
Replace dep with go mod, migrate from travis to github-actions 2023-12-12 01:35:08 +01:00
ErickSkrauch
980c920ceb Prepare 4.6.0 release 2021-03-04 07:03:07 +01:00
ErickSkrauch
32a9fee3e6 Replace /signature-verification-key endpoint with extension-specific ones /signature-verification-key.{der|pem}.
Fix Content-Disposition header
2021-03-03 13:33:56 +01:00
ErickSkrauch
7cf5ae13be Update Changelog [skip ci] 2021-03-03 01:38:47 +01:00
ErickSkrauch
98d280240e Resolves #28. We didn't manage to catch this error during testing, so we're normalizing its handling and hope that this will not happen again 2021-03-03 01:32:38 +01:00
ErickSkrauch
26042037b6 Increase Mojang's API response timeout 2021-03-03 01:23:34 +01:00
ErickSkrauch
1e3307dcbe Fixes CHRLY-S. Don't return an error for an invalid username 2021-03-03 00:24:31 +01:00
ErickSkrauch
d1d2c7ee6e Merge branch 'sign_textures' 2021-02-27 02:40:13 +01:00
ErickSkrauch
2bc9f8eb57 Rename the signature key param.
Rename the signature verification key endpoint.
Update CHANGELOG and README files
2021-02-27 02:37:59 +01:00
ErickSkrauch
6f148a8791 Implemented /profile/{username} endpoint to get complete profile with signed by the current server textures.
Implemented /signing-key endpoint to get public key in der format, used to sign the textures.
Improved logging of errors from http package.
Changed behavior of the /cloaks endpoint
2021-02-26 02:45:45 +01:00