Commit Graph

155 Commits

Author SHA1 Message Date
Marcel Märtens
75f2e0800a Update hyper/axum and dependent crates.
note this removes an old rustls, due to the new one we require to initialize our CryptoProvider.
also removed a very verbose trace.
2024-06-04 14:31:36 +02:00
crabman
e6a9d4434f
fix test-server compile warnings 2024-04-21 09:48:35 +00:00
Marcel Märtens
9e2fdb1c88 add comments to warn devs of security impacts 2024-03-18 13:37:50 +01:00
Marcel Märtens
dc419e28c0 Disallow /ui when any Forwarded header is detected 2024-03-17 13:41:56 +01:00
Marcel Märtens
a35cc5b9c0 move msg handling to a loop to allow to handle multiple requests per tick 2024-03-17 12:58:30 +01:00
Marcel Märtens
0507ef58ed rename "world" to "global" not to cause confusion 2024-03-17 12:10:46 +01:00
Marcel Märtens
13fe329ef0 extract javascript, css and html in seperate files 2024-03-17 12:10:45 +01:00
Marcel Märtens
09f44646c5 provide a way to send messages 2024-03-17 12:10:45 +01:00
Marcel Märtens
794fd41df0 add webui for veloren-server with working players 2024-03-17 12:10:45 +01:00
crabman
ea2c690189
exclude non linux/macos targets from compiling ShutdownSignal 2024-02-14 21:55:12 +01:00
crabman
ae66f5db43
allow using other signals for graceful shutdown 2024-02-12 09:49:17 +01:00
Marcel Märtens
b0bef3ebbf update few dependencies 2024-02-06 19:11:10 +01:00
Marcel Märtens
be6a99acb4 replace tui with ratatui 2024-02-06 19:11:10 +01:00
Marcel Märtens
9e5bd1e463 add a log for each person accessing the chat api 2023-10-18 13:05:22 +02:00
Marcel Märtens
0baab58928 imbris though the Cow would get Cloned anyway, so we go directly for String for now. OnceCell might be a thing in the future, but not now.
Also logging errors in case metrics cannot be build
2023-10-18 10:50:58 +02:00
Marcel Märtens
adeab73876 move whole webserver to server-cli 2023-10-18 09:35:40 +02:00
Marcel Märtens
631f3ab8ee fix clippy issues, WITHOUT clippy::needless_pass_by_ref_mut as we are still unsure how to proceed with it. we want to keep the &mut ref where we are actually writing. maybe we need another method support 2023-10-05 23:23:27 +02:00
Marcel Märtens
882a8d104c Revert "extended clippy from quality.sh"
This reverts commit 30ebb7f2edcf299e4886aa7de6573ef54353a8dd.
2023-10-05 22:00:49 +02:00
Marcel Märtens
df03c92741 extended clippy from quality.sh 2023-10-05 22:00:49 +02:00
Maxicarlos08
7734b653e7
replace all uses of Arc<> with references 2023-10-02 16:52:41 +02:00
Maxicarlos08
9ababec625
fix UI issues & cleanup 2023-09-29 23:30:44 +02:00
Maxicarlos08
66f6b81575
singleplayer server initialization status 2023-09-29 23:30:14 +02:00
Imbris
cd29170bea Update todo about wildlife density option 2023-09-15 16:32:59 -04:00
Imbris
aabf67a72a Add server-cli bench command for profiling that automates loading a certain area, running for a specific time, and then exiting. 2023-09-15 16:32:59 -04:00
Isse
eed613a50f change other value parsers 2023-05-05 15:05:57 +02:00
Isse
a74ec7a1ad use correct macro 2023-05-05 14:49:14 +02:00
Marcel Märtens
d90ea8c1da get rid of structop and update clippy in common test, now only criterion is left with version 2 2023-05-05 09:46:46 +02:00
Marcel Märtens
4be1e82ba9 update further dependencies 2023-05-04 23:42:05 +02:00
Imbris
9dd1b6c785 Switch from ansi-parser to cansi, down to a single version of nom! 2023-04-05 02:38:58 -04:00
Sam
5c675fdbe2 Addressed review 2023-03-21 20:18:34 -04:00
Sam
c78c45ec73 Addressed review 2023-03-21 20:16:59 -04:00
Sam
e31668b188 Fixed dynlib features to not have UB when allocating. 2023-03-21 20:03:20 -04:00
Sam
4f26e37ae6 Addressed review 2023-01-09 20:18:31 -05:00
Sam
7d42c45fdd Site2 code is now hot-reloadable with 'hot-site2' feature. 2023-01-09 20:06:35 -05:00
Sam
525630c37a Moved some agent code into separate crate to facilitate hot reloading of that agent code. 2022-09-16 22:13:18 -04:00
Joshua Yanovski
986d104faa Update Rust toolchain. 2022-09-08 15:43:53 -07:00
tygyh
5e5698249b Remove unnecessarily qualified paths 2022-07-15 14:49:46 +02:00
Ben Wallis
af04843a20 Re-enabled mimalloc for non msvc builds 2022-07-10 14:50:35 +01:00
Isse
7e18384e1c Disable mimalloc for non msvc builds 2022-07-06 19:08:19 +02:00
IsseW
57d6b4a55f Switch to mimalloc on windows 2022-07-04 09:15:18 +02:00
Imbris
a366fc4512 Update tracy 2022-05-26 00:04:03 -04:00
Marcel Märtens
affdf3131f update a bunch of dependencies, including clap3 2022-04-04 11:43:29 +02:00
Imbris
d7d8d8d2da Small cleanup in server-cli/src/main.rs 2022-02-19 19:22:13 -05:00
Marcel Märtens
7ba45fa7e5 adjust tracing and remove unused coding 2022-02-05 13:04:16 +01:00
protheory8
7148737252 Remove quic_files server setting
(cherry picked from commit 38339d90ceb87008bbb0ce31ad4e28350213a401)
2022-02-05 13:04:16 +01:00
protheory8
89580eba8c Remove gameserver_address setting and add protocols_and_addresses setting
(cherry picked from commit a5e4575ad349aacb1f41a7e93e3d5ff9eeafc6ae)
2022-02-05 13:04:16 +01:00
Imbris
027f2f5719 Setup client binary that connects to the server with a group of clients positioned and moving in a few different patterns for profiling the server under network load. 2021-12-25 18:14:39 -05:00
João Capucho
8b89903d57
Bump tracing-subscriber to 0.3.2
We were pulling two versions of it. Causing some compilation errors
2021-11-26 17:41:51 +00:00
Ben Wallis
d256d09d28 Fixed server-cli command parsing failure on Windows 2021-09-05 16:46:20 +01:00
Imbris
172bddf731 Make admin add/remove command arguments positional again 2021-07-30 01:25:38 -04:00