32 Commits

Author SHA1 Message Date
Maria Lisina
efba9839ac Reuse the same image for all list-profile-picture subclasses 2025-12-21 01:36:35 +00:00
Maria Lisina
6d3f9cd3e4 Fix missing player skin head preview outer layer 2025-12-21 01:36:35 +00:00
Evan Goode
dfab4da016 i18n admin.tmpl, safer HTML interpolation 2025-07-26 12:31:22 -04:00
Evan Goode
f49086f5ae i18n registration.tmpl 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
Evan Goode
dd346df889 Misc CSS fixes 2025-04-16 03:04:33 +00:00
cat
abc8d1e9b8 CSS: Use font-family variable, apply font-family to h1 tag 2025-04-13 23:51:45 +00: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
0865865cd3 Player API routes, API tests/fixes 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
722eb80f00 Use accent-color, not feColorMatrix 2024-06-23 22:19:33 -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
f99ba88487 better buttons 2023-09-17 00:21:09 -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
57f9096205 add trefoil logo 2023-07-08 22:40:40 -04:00
Evan Goode
43f9c324cf front: make content view a bit wider 2023-07-07 17:41:19 -04:00
Evan Goode
576aff30be honeypot to stop pesky 2009-era form bots 2023-07-07 16:30:48 -04: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
22d5f3525d initial work on invites, admin page 2023-07-06 02:38:03 +00:00
Evan Goode
50fe5338af working skin challenge 2023-01-23 22:15:33 -05:00
Evan Goode
dc3e3d2a48 style tweaks 2022-10-03 19:45:00 -04: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