81 Commits

Author SHA1 Message Date
Evan Goode
c3cb43885f Add PlayerUUIDGeneration option 2025-07-27 11:49:08 -04:00
Evan Goode
e520fc4498 i18n player.tmpl 2025-07-26 12:31:22 -04:00
Evan Goode
fd4e629d4b i18n user.tmpl 2025-07-26 12:31:22 -04:00
Evan Goode
dfab4da016 i18n admin.tmpl, safer HTML interpolation 2025-07-26 12:31:22 -04:00
Evan Goode
0117ad3c95 i18n challenge.tmpl 2025-07-26 12:31:22 -04:00
Evan Goode
ed3cf48a6b i18n complete-registration.tmpl 2025-07-26 12:31:22 -04:00
Evan Goode
f49086f5ae i18n registration.tmpl 2025-07-26 12:31:22 -04:00
Evan Goode
95ca36950e i18n root, footer 2025-07-26 12:31:22 -04:00
Evan Goode
e95280c8fd i18n header 2025-07-26 12:31:22 -04:00
Evan Goode
38d533581b Initial i18n support 2025-07-26 12:31:22 -04:00
cat
ecd485cc1d Update OnlineModeFix command
only -Dminecraft.api.session.host is necessary, there's no need to
clutter the example launch command.

Signed-off-by: cat <cat@plan9.rocks>
2025-06-22 22:30:44 -04:00
Evan Goode
dd346df889 Misc CSS fixes 2025-04-16 03:04:33 +00:00
Evan Goode
415bff18c0 fix: AllowChoosingUUID belongs under CreateNewPlayer, not RegistrationNewPlayer 2025-04-13 20:21:54 +00:00
Evan Goode
03ee17c40b EnableBackgroundEffect = false should not disable 3d skin preview 2025-04-04 19:58:11 -04:00
Evan Goode
99b8540295 Rename AllowCreatingDeletingPlayers to AllowAddingDeletingPlayers 2025-03-30 12:15:00 -04:00
Evan Goode
3ade4ca277 Use ImportExistingPlayer,CreateNewPlayer in user.tmpl 2025-03-30 11:17:03 -04:00
Evan Goode
a5c06f8827 Add AllowCreatingDeletingPlayers 2025-03-29 18:29:56 -04:00
Evan Goode
258abe0df2 Update root.tmpl with new usage docs 2025-03-23 20:42:13 -04:00
Evan Goode
5252317a53 Lots of API cleanup, link to Swagger API docs 2025-03-22 23:05:38 -04:00
Evan Goode
32b8546276 Don't link to tinytengu/minecraft-authlib 2025-03-22 19:02:43 -04:00
Evan Goode
1f4b46b11a Release notes for 3.0.0 2025-03-22 18:51:33 -04:00
Evan Goode
8ccb3babeb Fix player faces on admin page 2025-03-22 17:43:56 -04:00
Evan Goode
5c1f6c1cfa
Implement SSO via OIDC (#127)
Resolves https://github.com/unmojang/drasl/issues/39

* Use __Host- cookie prefix instead of setting Domain

See https://stackoverflow.com/a/64735551

* Unlinking OIDC accounts

* AllowPasswordLogin, OIDC docs, cleanup

* YggdrasilError

* Migrate existing password users without login

* API query/create/delete user OIDC identities

* test APICreateOIDCIdentity

* test APIDeleteeOIDCIdentity

* API Create users with OIDC identities

* OIDC: PKCE

* Use YggdrasilError in authlib-injector routes

* OIDC: AllowChoosingPlayerName

* recipes.md: Update for OIDC and deprecated config options

* OIDC: fix APICreateUser without password, validate oidcIdentities

* OIDC: error at complete-registration if no preferred player name

* Proper error pages

* MC_ prefix for Minecraft Tokens
2025-03-22 16:40:26 -04:00
Evan Goode
4b91ecd154 Always show tiny texture previews
So users can download their current skin/cape
2025-01-19 19:43:56 -05:00
Evan Goode
a558401784 noscript skin viewer fallback
Resolves https://github.com/unmojang/drasl/issues/30
2025-01-19 19:25:04 -05:00
Evan Goode
f562e8b058 Update documentation for multiple players 2024-12-28 21:07:32 -05:00
Evan Goode
0865865cd3 Player API routes, API tests/fixes 2024-12-28 21:07:32 -05:00
Evan Goode
d6d29b2274 Allow setting max player count on edit user page 2024-12-28 21:07:32 -05:00
Evan Goode
1da3ac2601 Allow setting user's max player count in admin panel 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
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
cat
9bdbcedbfc Specify username in admin account deletion dialog 2024-08-22 19:28:00 -04:00
Evan Goode
8f1a87aa1a More API routes and refactoring 2024-08-15 12:33:59 -04:00
Evan Goode
f7ad78d8e9 refactor: CreateUser 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
cat
2adf099190 Add EnableFooter 2024-07-08 23:52:22 -04:00
Evan Goode
b578c50978 Recommend Fjord Launcher instead of PollyMC 2024-06-27 09:15:34 -04:00
Evan Goode
722eb80f00 Use accent-color, not feColorMatrix 2024-06-23 22:19:33 -04:00
Fridtjof_DE
db66a01169 made admins able to bypass AllowChangingPlayerName, AllowSkins and AllowCapes 2023-12-29 20:43:05 -05:00
Evan Goode
276f36c0e2 Default skins and capes, usage.md
Resolves https://github.com/unmojang/drasl/issues/27
2023-11-22 21:30:02 -05:00
Evan Goode
5f19e79ffc No <p> inside fieldset 2023-09-19 23:26:16 -04:00
Evan Goode
188370448f README, whitespace tweaks 2023-09-19 22:48:29 -04:00
Evan Goode
3d54b131c8 Linting, formatting 2023-09-18 21:46:53 -04:00
Evan Goode
3bb87e6b30 lint HTML 2023-09-18 20:58:04 -04:00
Evan Goode
de43a8068b Update usage on home page, add footer 2023-09-17 00:21:09 -04:00
Evan Goode
f68e2308c0 Icon 2023-09-17 00:21:05 -04:00
Evan Goode
d750dacdbb Config validation/cleaning, cleanup 2023-08-29 00:26:21 -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