Commit graph

36 commits

Author SHA1 Message Date
5268db4833
fix: no longer need to store whole cliargs 2023-05-09 02:14:24 +02:00
ftbsc
c200a0c3a8 fix: unneeded mod 2023-05-09 02:12:00 +02:00
dd8c945a26
feat: added command to backfill skins 2023-05-09 02:11:17 +02:00
28b32c8135
feat!: improved CLI: separated actions from backend 2023-05-09 02:11:00 +02:00
5c5e878cea
fix: small delay during registration, send profile 2023-05-09 01:45:41 +02:00
ftbsc
751921e25a Merge branch 'dev' of fantabos.co:yggdrasil into dev 2023-05-09 01:30:54 +02:00
ftbsc
8f33686a76 fix!: selectedProfile is not guaranteed, fallback
this could possibly allow to claim any username? registration flow needs
to be rechecked!
2023-05-09 01:29:25 +02:00
2c3cc97317
feat: distinction between duration and lifetime 2023-03-10 00:30:58 +01:00
c09f67ec55
feat: purge expired tokens on startup 2023-03-07 16:29:55 +01:00
b40775c165
fix: exclude some unnecessary fields 2023-03-06 23:36:38 +01:00
0408dc8593
feat: make sure tokens are not expired
token lifetime is configured per-session serverside
2023-03-06 18:52:47 +01:00
fc22ed413f
feat: improved access token security (JWT sorta) 2023-03-06 18:52:23 +01:00
3a815d8536
feat[migration]!: added persistence table 2023-03-06 18:50:21 +01:00
dev@ftbsc
5f8780ce2f fix: uuid and dashes... 2023-01-23 04:19:53 +01:00
dev@ftbsc
e89a9b4495 fix!: added email field, check pwd against email 2023-01-23 02:59:47 +01:00
dev@ftbsc
576397d5a9 fix: username != user name, uuid != user id, ... 2023-01-23 02:48:08 +01:00
dev@ftbsc
fb03d27b41 chore: version bump, removed unwraps 2023-01-23 01:44:38 +01:00
dev@ftbsc
a67add7f74 fix: fetch skins on endpoints, some error handling 2023-01-23 01:34:42 +01:00
dev@ftbsc
a090e6f1aa feat: added capes table and fetch upon registration
Co-authored-by: zaaarf <zaaarf@proton.me>
2023-01-23 01:33:22 +01:00
dev@ftbsc
98446959bc feat: added route for registering unmigrated accs
Pass a valid mojang token to the bakend to have it refreshed. If it's
valid, a new account will be created with previous uuid, name (email)
and given password.

Co-authored-by: zaaarf <zaaarf@proton.me>
2023-01-23 00:07:19 +01:00
dev@ftbsc
373eae1b72 chore: better error type prototype 2023-01-22 22:35:47 +01:00
dev@ftbsc
80675338af chore: added logging to MS fallback 2023-01-22 20:25:29 +01:00
be1ac67d16
feat: super cheap hack to fallback to microsoft 2023-01-22 19:41:07 +01:00
dev@ftbsc
87e87811b3 fix: insert new token, serve a default skin, log 2023-01-22 19:03:03 +01:00
dev@ftbsc
0b19c94acf fix: join request sends just the uuid 2023-01-22 19:01:48 +01:00
dev@ftbsc
7e9cafa110 fix: add stdout layer 2023-01-22 19:00:30 +01:00
3b7951154f
fix: attempt at making logging less spammy 2023-01-22 17:03:33 +01:00
374765bd19
fix: don't attempt to change client token on auth 2023-01-22 16:55:32 +01:00
3fadbbba3d
feat: added profile session route 2023-01-22 16:27:03 +01:00
430342ac74
chore: moved routes under dedicated mod 2023-01-22 16:06:42 +01:00
dev@ftbsc
2cf80d2eaf fix: add tracing, fix proto, small tweaks
Co-authored-by: zaaarf <zaaarf@proton.me>
2023-01-21 12:09:42 +01:00
9a062cc7a8
fix: small changes 2023-01-20 16:38:33 +01:00
dev@ftbsc
600d23e580 docs: link to winter repo 2023-01-20 00:41:59 +01:00
dev@ftbsc
611bf35f89 added tokens table and db queries, implemented most routes 2023-01-20 00:37:13 +01:00
0f95fe2536
initial work, pieces on the table but much plumbing to do 2023-01-19 01:41:34 +01:00
2095d11c94
initial commit 2023-01-18 23:05:14 +01:00