Commit graph

22 commits

Author SHA1 Message Date
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