67 Commits

Author SHA1 Message Date
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
Evan Goode
6f621d872e style tweaks, EnableBackgroundEffect 2023-08-04 22:37:04 -04:00
Evan Goode
fad4a8498c Print initial invite link if necessary 2023-07-09 01:01:26 -04:00
Evan Goode
57f9096205 add trefoil logo 2023-07-08 22:40:40 -04:00
Evan Goode
acbd22a011 DefaultAdmins, interface fixes 2023-07-07 20:39:19 -04:00
Evan Goode
1d49f367f6 Add options to disable skins, capes 2023-07-07 16:52:09 -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
0d53fa95e7 add profile pic to admin view 2023-07-06 02:38:03 +00:00
Evan Goode
2fd5a42f88 more style 2023-07-06 02:38:03 +00:00
Evan Goode
96a3b9eed6 stylize inputs a bit 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