44 Commits

Author SHA1 Message Date
Evan Goode
d750dacdbb Config validation/cleaning, cleanup 2023-08-29 00:26:21 -04:00
Evan Goode
e1f0c3e7fe misc cleanup 2023-08-22 17:04:11 -04:00
Evan Goode
fa5cd70eda Make player names case-insensitive
Resolves https://github.com/unmojang/drasl/issues/29
2023-08-20 22:34:55 -04:00
Evan Goode
c5af033ca4 Fix AnonymousLogin, rename to TransientUsers 2023-08-20 02:15:04 +00:00
Evan Goode
3456e33085 Switch from 32-character hex accessTokens to JWTs 2023-08-20 02:15:04 +00:00
Evan Goode
fad4a8498c Print initial invite link if necessary 2023-07-09 01:01:26 -04:00
Evan Goode
eb907decfb withBrowserAdmin 2023-07-07 22:04:57 -04:00
Evan Goode
acbd22a011 DefaultAdmins, interface fixes 2023-07-07 20:39:19 -04:00
Evan Goode
57a1d4b879 skin bug: use profileUser, not user 2023-07-07 17:37:25 -04:00
Evan Goode
1d49f367f6 Add options to disable skins, capes 2023-07-07 16:52:09 -04:00
Evan Goode
f9c548bae1 rework setting skin/cape to hopefully avoid race conditions 2023-07-07 16:30:54 -04:00
Evan Goode
576aff30be honeypot to stop pesky 2009-era form bots 2023-07-07 16:30:48 -04:00
Evan Goode
63fe0a2be3 update-users, delete-user tests, cleanup 2023-07-06 02:38:03 +00:00
Evan Goode
42aed3bf61 Test create/delete invite, some admin stuff 2023-07-06 02:38:03 +00:00
Evan Goode
aca64b5acc invite existing player, mutex for setskin/setcape 2023-07-06 02:38:03 +00:00
Evan Goode
0d53fa95e7 add profile pic to admin view 2023-07-06 02:38:03 +00:00
Evan Goode
ca3821b2cd tests, allow viewing another profile as admin 2023-07-06 02:38:03 +00:00
Evan Goode
dab71ba89e Fix some returnURL issues 2023-07-06 02:38:03 +00:00
Evan Goode
22d5f3525d initial work on invites, admin page 2023-07-06 02:38:03 +00:00
Evan Goode
c4bc8aa6d2 browserToken bug: use Path: / everywhere 2023-06-29 23:55:17 -04:00
Evan Goode
393f0c24e2 front_test: fallback player 2023-06-25 15:32:24 -04:00
Evan Goode
a8bb8832dd s/SkinForwarding/ForwardSkins/, allow setting fallback player 2023-06-25 15:32:24 -04:00
Evan Goode
cd70c83be0 /publickeys for 1.20 2023-06-16 18:02:26 -04:00
Evan Goode
8ffa4e501c precompile templates 2023-06-14 00:10:56 -04:00
Evan Goode
4fdb587119 Go all in on the unified server design 2023-06-03 19:39:35 -04:00
Evan Goode
e99bbb51d6 rate limiting 2023-05-31 01:11:19 -04:00
Evan Goode
4ba8401460 cookie fixes 2023-05-28 01:27:15 -04:00
Evan Goode
0fdc6d916c More front-end tests, clean up tests 2023-05-28 00:38:51 -04:00
Evan Goode
956e34dd2e Nix flake 2023-05-21 01:02:18 -04:00
Evan Goode
955e42b1f3 Allow listening as one single server rather than five 2023-05-17 23:19:27 -04:00
Evan Goode
c9769328c6 Lots of front-end tests 2023-05-17 20:27:57 -04:00
Evan Goode
5476ea077a finish up the last of the miscellaneous API routes 2023-05-16 16:39:06 -04:00
Evan Goode
72176410e1 Name change 2023-05-16 01:39:41 -04:00
Evan Goode
de40a0cde0 Delete skin/cape 2023-05-16 00:24:55 -04:00
Evan Goode
1ac386f206 Skin forwarding from fallback API servers 2023-05-13 15:07:56 -04:00
Evan Goode
5690b7b40c account routes: test fallback API servers 2023-05-07 01:04:24 -04:00
Evan Goode
4a6c1bba11 Error handling cleanup 2023-04-06 00:28:29 -04:00
Evan Goode
5814a43caf A couple more tests 2023-04-06 00:08:24 -04:00
Evan Goode
5318882aef optionally sign public keys 2023-03-31 21:25:44 -04:00
Evan Goode
7f50a977ed Start writing tests 2023-03-19 23:00:37 -04:00
Evan Goode
6ba5367620 Configurable registration policy, anonymous login 2023-03-18 23:26:54 -04:00
Evan Goode
50fe5338af working skin challenge 2023-01-23 22:15:33 -05:00
Evan Goode
fb5f97afb2 WIP: "Skin challenge" system
Add a system for verifying that a user owns an account on another API
server (such as Mojang's). Drasl gives the user a skin to put on their
account, then checks that the account has the skin.

See `getChallenge` in `front.go`.
2022-09-21 19:16:11 -04:00
Evan Goode
8d56b40c8f MVP 2022-08-19 00:02:45 -04:00