321 Commits

Author SHA1 Message Date
Evan Goode
1a8d312797 Tests passing except Front 2024-12-28 21:07:32 -05:00
Evan Goode
738d80538f Make multiple profiles usable from web front end 2024-12-28 21:07:32 -05:00
Evan Goode
f58ce99eae Initial changes to support multiple players per user 2024-12-28 21:07:32 -05:00
Evan Goode
2fe1fd2895 GHA: use docker/setup-qemu-action to install qemu 2024-12-28 21:07:32 -05:00
Evan Goode
d5fc1b2bd0 GHA: use docker/setup-qemu-action to install qemu 2024-12-21 12:00:19 -05:00
Evan Goode
9cbfc41b36 Bump version to 2.1.0 2024-11-26 14:56:59 -05:00
Evan Goode
73aeed39cb Document AllowTextureFromURL 2024-11-26 14:56:59 -05:00
Evan Goode
60b6414a50 Test for AllowTextureFromURL 2024-11-26 14:56:59 -05:00
Evan Goode
1b6fdf2341 Add AllowTextureFromURL option, default false
Adds the `AllowTextureFromURL` config option and makes it false by
default. Admins can still set skins and capes by URL, via the front end
or the API, regardless of this setting. Allowing users to specify
textures via URL is a possible security concern and doesn't really
improve the UX that much, so we should make it opt-in.

For https://github.com/unmojang/drasl/issues/116.
2024-11-26 14:56:59 -05:00
Evan Goode
30d3612409 Java Proxy Fix 2024-11-20 18:21:07 -05:00
Evan Goode
0b1e90dee0 mitmproxy doesn't work for Minecraft server 2024-10-31 13:29:06 -04:00
misuzu
833c6ebe03 Switch to nixos-unstable & remove outdated patch
Also update supportedSystems to include darwin

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9d29cd266cebf80234c98dd0b87256b6be0af44e' (2024-05-25)
  → 'github:NixOS/nixpkgs/2768c7d042a37de65bb1b5b3268fc987e534c49d' (2024-10-23)
2024-10-25 11:30:24 -04:00
Evan Goode
69117ad899 Add troubleshooting.md 2024-10-21 00:43:34 +00:00
Evan Goode
688aec4b3d README: Add FAQ section to
Resolves https://github.com/unmojang/drasl/issues/106
2024-10-21 00:43:34 +00:00
Evan Goode
f85fb8195b Bump version to 2.0.2 v2.0.2 2024-09-05 22:26:32 -04:00
Evan Goode
c040bae3f6 Try to optimize background shader
- Don't animate if WebGL fails on failIfMajorPerformanceCaveat (if
  browser is using a software renderer)
- Remove array access
- Reduce texture lookups from 16 to 8
2024-09-05 22:26:32 -04:00
Evan Goode
745d3d5738 cleanup 2024-08-29 18:38:48 -04:00
Evan Goode
9e0a830be8 Test joinserver.jsp, checkserver.jsp 2024-08-29 18:38:48 -04:00
Evan Goode
12b9618168 Fix extraneous 'Additional error while handling an error' 2024-08-29 18:38:48 -04:00
Evan Goode
91232dfea3 Always use POST /profiles/minecraft for fallbackAPIServers, fix tests 2024-08-29 18:38:48 -04:00
Evan Goode
e4819f621d Rework POST /profiles/minecraft
The authlib-injector spec only requires /profiles/minecraft to be
implemented, not necessarily /users/profiles/minecraft/:playerName, so
the /profiles/minecraft at least should query fallback API servers at
/profiles/minecraft.

Also fixes potential DoS by introducing a limit of 10 players per
request (also which prevents fallback API servers from being spammed)
2024-08-29 18:38:48 -04:00
Evan Goode
d833185b2b Implement joinserver.jsp and checkserver.jsp 2024-08-29 18:38:48 -04:00
cat
9bdbcedbfc Specify username in admin account deletion dialog 2024-08-22 19:28:00 -04:00
Evan Goode
71983605f8 Bump to 2.0.1 v2.0.1 2024-08-21 20:36:14 -04:00
Evan Goode
23c6b3ba9a Allow hyphens in /session/minecraft/profile/<uuid>
Resolves https://github.com/unmojang/drasl/issues/102
2024-08-21 20:29:04 -04:00
Evan Goode
a249e96940 Mention swag in build dependencies 2024-08-15 12:59:45 -04:00
Evan Goode
e8aebbdad6 README: disclaim unstable-ish API v2.0.0 2024-08-15 12:33:59 -04:00
Evan Goode
9ff90d3df9 Bump to 2.0.0 2024-08-15 12:33:59 -04:00
Evan Goode
6d6c5ecc79 Fix make clean 2024-08-15 12:33:59 -04:00
Evan Goode
92ea085e12 Add uuid params to API doc 2024-08-15 12:33:59 -04:00
Evan Goode
9384e51ea7 Fixups, invite tests 2024-08-15 12:33:59 -04:00
Evan Goode
3e11390c04 Link to API docs from README 2024-08-15 12:33:59 -04:00
Evan Goode
f02e4370a5 Rework error handling 2024-08-15 12:33:59 -04:00
Evan Goode
f27e0d75fb API descriptions 2024-08-15 12:33:59 -04:00
Evan Goode
5c1b0f7f8f fix fallbackplayer 2024-08-15 12:33:59 -04:00
Evan Goode
6292cf089a Vendor hash 2024-08-15 12:33:59 -04:00
Evan Goode
140ec8bd2e Don't host swag docs 2024-08-15 12:33:59 -04:00
Evan Goode
db14f9340d APIGetChallengeSkin, cleanup 2024-08-15 12:33:59 -04:00
Evan Goode
65a5c5aff8 API Delete user 2024-08-15 12:33:59 -04:00
Evan Goode
8f1a87aa1a More API routes and refactoring 2024-08-15 12:33:59 -04:00
Evan Goode
7d8aef7737 APICreateUser 2024-08-15 12:33:59 -04:00
Evan Goode
a1eb8046a3 fix go-swag on Nix 2024-08-15 12:33:59 -04:00
Evan Goode
f7ad78d8e9 refactor: CreateUser 2024-08-15 12:33:59 -04:00
Evan Goode
b17b1e3dbf Fix nix recipe 2024-08-15 12:33:59 -04:00
Evan Goode
c70e266d57 Start implementing Drasl API 2024-08-15 12:33:59 -04:00
cat
3441839905 Add ApplicationName, use generic URLs in web UI 2024-08-15 12:33:59 -04:00
Evan Goode
d516e568c7 Copy /privileges route to /services/privileges 2024-07-28 23:05:53 -04:00
Daniel Burzmiński
9fbcdc5958 Add legacy endpoint for 1.16.5 and its derivates. 2024-07-28 23:05:53 -04:00
Evan Goode
ba607a13c9 No CacheTTLSeconds in RegistrationExistingPlayer recipe 2024-07-09 00:17:49 -04:00
cat
2adf099190 Add EnableFooter 2024-07-08 23:52:22 -04:00