11 Commits

Author SHA1 Message Date
a75e6d6b95 chore: add warning coverage for cyclic includes (#2407)
All checks were successful
Build / build (push) Successful in 51s
Build Docker image / docker-amd64 (push) Successful in 52s
Build Docker image / docker-arm64 (push) Successful in 47s
and some initial refactoring to avoid it where possible

Reviewed-on: #2407
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-07-04 16:49:25 -07:00
2fa6dcc7ed feat(webui): handle auth via websocket (#2226)
All checks were successful
Build / build (push) Successful in 48s
Build Docker image / docker-amd64 (push) Successful in 1m19s
Build Docker image / docker-arm64 (push) Successful in 1m1s
Now when logging in and out of the game, the webui is notified so it can refresh the nonce, removing the need for constant login requests to revalidate it.

Closes #2223

Reviewed-on: #2226
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-21 07:26:43 -07:00
fd93f34538 chore: simplify logoutController (#1342)
All checks were successful
Build / build (20) (push) Successful in 45s
Build / build (18) (push) Successful in 1m14s
Build / build (22) (push) Successful in 1m23s
Build Docker image / docker (push) Successful in 1m9s
Reducing 3-4 MongoDB operations to only 1.

Reviewed-on: #1342
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-27 03:33:39 -07:00
2ec2b0278a chore: use model.findById where possible (#1315)
All checks were successful
Build / build (20) (push) Successful in 51s
Build / build (18) (push) Successful in 1m14s
Build / build (22) (push) Successful in 1m24s
Build Docker image / docker (push) Successful in 41s
Reviewed-on: #1315
2025-03-24 11:32:08 -07:00
987b05a334
chore: update express to v5 (#599) 2024-12-22 15:42:24 +01:00
722a9aba5b
improve: suppress no-misued-promises when declaring RequestHandler (#332) 2024-06-20 11:47:21 +02:00
e3f543d9be
improve: ensure 'npm run lint' passes without errors (#249) 2024-06-01 13:03:27 +02:00
6294a315a8
feat: properly implement nonce (#220) 2024-05-28 13:45:06 +02:00
AKCore
52a8ad6bd0
basic session management completed (#11) 2023-06-04 04:24:57 +02:00
Ângelo Tadeucci
108d2c621d
Use non-relative imports (#8) 2023-06-02 00:20:49 -03:00
AKCore
a79ec62c94 Add missing api routes. 2023-06-01 17:08:05 -07:00