211 Commits

Author SHA1 Message Date
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
Evan Goode
ba607a13c9 No CacheTTLSeconds in RegistrationExistingPlayer recipe 2024-07-09 00:17:49 -04:00
cat
2adf099190 Add EnableFooter 2024-07-08 23:52:22 -04:00
Evan Goode
01809e968a Update to v1.1.1 2024-06-27 12:56:17 -04:00
Evan Goode
c4384759dc Have InvalidateUser take a transaction 2024-06-27 12:47:18 -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
pre-commit-ci[bot]
19d2b00288 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.6.0)
- [github.com/kamadorueda/alejandra: 2.0.0 → 3.0.0](https://github.com/kamadorueda/alejandra/compare/2.0.0...3.0.0)
- [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.8)
2024-06-23 22:19:18 -04:00
Evan Goode
fddbebfed5 doc: EnableBackgroundEffect 2024-06-23 12:05:50 -04:00
Evan Goode
f37e9a5b2b Update to v1.1.0
SQLite database schema has been updated and the Docker build system has
been radically changed, I think this warrants a semver minor version
bump.
v1.1.0
2024-05-23 16:58:38 -04:00
Evan Goode
0a991837df Build and cross-build Docker images using Nix 2024-05-23 16:58:38 -04:00
Evan Goode
39e700a3f0 Allow duplicate client tokens 2024-05-23 16:57:49 -04:00
Evan Goode
d017879daa Add ValidPlayerNameRegex option
By default, Drasl should check to make sure player names don't contain
special characters.

For https://github.com/unmojang/drasl/issues/73
2024-05-23 16:57:38 -04:00