307 Commits

Author SHA1 Message Date
Evan Goode
1f48320a2f api: don't allow revoke admin status of DefaultAdmins 2025-02-02 22:29:23 -05:00
хлифи
c16361c6bc
Add disabling frontend (#137)
* Add disabling frontend

* fixes requested in review

* Document EnableWebFrontEnd in configuration.md
2025-02-02 22:16:32 -05:00
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
Evan Goode
cda9c270f9
Merge pull request #134 from evan-goode/evan-goode/fix-unlimited-max-player-count
config: allow unlimited max player count (-1)
2025-01-19 23:00:00 -05:00
Evan Goode
25c0404514 config: allow unlimited max player count (-1) 2025-01-19 22:55:37 -05:00
Evan Goode
0282b27fc5
Merge pull request #133 from evan-goode/evan-goode/noscript-skin-view
noscript skin viewer fallback
2025-01-19 19:46:10 -05: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
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
141db389ea Update wiki.vg links to minecraft.wiki 2024-12-28 23:23:20 -05:00
Evan Goode
32840a628e Set default data, state, config paths via env vars
Resolves https://github.com/unmojang/drasl/issues/119.

May be useful for some containerized deployments.
2024-12-28 23:23:13 -05:00
Evan Goode
f562e8b058 Update documentation for multiple players 2024-12-28 21:07:32 -05:00
Evan Goode
c37cfa39f9 db: Generate new user UUIDs for 3->4 migration 2024-12-28 21:07:32 -05:00
Evan Goode
39ea78a5eb auth: respect requestUser even if no selectedProfile 2024-12-28 21:07:32 -05:00
Evan Goode
d8ec0bc56a db: fix 3->4 migration of empty DB 2024-12-28 21:07:32 -05:00
Evan Goode
4a48ef6ed3 Disable unreliable cache test 2024-12-28 21:07:32 -05:00
Evan Goode
5a58d24156 Automatic pre-migration DB backups 2024-12-28 21:07:32 -05:00
Evan Goode
aa159ac453 Test username in use as the name of another user's player 2024-12-28 21:07:32 -05:00
Evan Goode
00a56daac1 Test player name in use as another user's username 2024-12-28 21:07:32 -05:00
Evan Goode
43f9d3d815 Test /web/create-player 2024-12-28 21:07:32 -05:00
Evan Goode
568aab84f6 Test authentication multiple profiles 2024-12-28 21:07:32 -05:00
Evan Goode
4fca7cc8e4 Add deprecation message to /drasl/api/v1/* routes 2024-12-28 21:07:32 -05:00
Evan Goode
ca081f8519 Run tests in parallel 2024-12-28 21:07:32 -05:00
Evan Goode
e286356cd7 Lint 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
f045b9a57e Bump version to 3.0.0 2024-12-28 21:07:32 -05:00
Evan Goode
2dab34440b Fix 3->4 DB migration, DB migration tests 2024-12-28 21:07:32 -05:00
Evan Goode
b034fd5a51 availableProfiles, selectedProfile 2024-12-28 21:07:32 -05:00
Evan Goode
aa6f8d314b Tests passing 2024-12-28 21:07:32 -05:00
Evan Goode
faec464a4e Most Front tests passing 2024-12-28 21:07:32 -05:00
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