223 Commits

Author SHA1 Message Date
Evan Goode
b431fc0b2d
Merge pull request #135 from evan-goode/evan-goode/fix-gha
Use docker/setup-qemu-action on docker-publish workflow
v2.1.1
2025-01-22 21:54:20 -05:00
Evan Goode
2b656c8269 Use docker/setup-qemu-action on docker-publish workflow 2025-01-22 21:52:32 -05:00
dependabot[bot]
13ed66f735
Bump golang.org/x/net from 0.23.0 to 0.33.0 (#129)
* Bump golang.org/x/net from 0.23.0 to 0.33.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update vendorHash

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Goode <mail@evangoo.de>
2025-01-16 01:42:42 +00:00
Evan Goode
c965be790f Bump to 2.1.1 2025-01-15 20:18:14 -05:00
SMagic
4ebea52c60
Bug fix: cannot set prefered language when creating new user via API (#128) 2025-01-16 01:16:36 +00:00
Evan Goode
43d5dca4c5 Replace Minecraft texture with our own
We should use our own homemade texture for the end-portal-inspired
background rather than using the texture from Minecraft.
2025-01-02 18:05:13 -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