5 Commits

Author SHA1 Message Date
74a7b9a63b chore: verify that httpsPort has actually been bound by us
All checks were successful
Build / build (pull_request) Successful in 51s
I'm not the biggest fan of this, but it's a semi-regular problem and this should help affected users quickly discover it.
2025-06-21 23:19:14 +02:00
6cdd103c3d chore(dev): improve bulk change handling (#2234)
All checks were successful
Build / build (push) Successful in 49s
Build Docker image / docker-amd64 (push) Successful in 53s
Build Docker image / docker-arm64 (push) Successful in 1m0s
Fixed abandoned build processes sometimes still triggering a start (causing double-starts) made it more robust in regards to webui changes being intermixed: making the fetch a fire-and-forget to avoid errors, and waiting for the websocket connection to be re-established to avoid the browser attempting to reload when the server may not be up for a few seconds.

Reviewed-on: #2234
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-21 11:33:59 -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
4cb0f8b167 feat(webui): initial websocket integration to be more responsive (#2221)
All checks were successful
Build / build (push) Successful in 1m22s
Build Docker image / docker-arm64 (push) Successful in 1m1s
Build Docker image / docker-amd64 (push) Successful in 54s
For now just handles changes to config.json but in the future might keep the inventory tabs up-to-date with in-game actions.

Reviewed-on: #2221
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-20 14:00:55 -07:00
d41e4f7f56 chore: restart web server when ports in config have changed (#2100)
Some checks failed
Build Docker image / docker (push) Waiting to run
Build / build (push) Has been cancelled
Reviewed-on: #2100
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-05-24 01:48:25 -07:00