Commit graph

260 commits

Author SHA1 Message Date
Joshua Barretto
3990d336a1 Redesigned clock logic to track real and game time independently 2026-06-15 20:16:09 +01:00
notafet
6f41da2385 Relax platform checks 2026-03-10 17:46:06 +00:00
Marcel Märtens
2211324b27 update some Cargo.toml dependencies 2026-01-25 12:40:30 +01:00
Youser Nayme
63c5d604d0
Tentatively remove package.authors fields from all manifests
Context: After much ado, in 2021 according to RFC 3052 the authors
field was made optional, with the possibility of deprecation being held
open for the future. After four years, it doesn't seem people have come
much back around to the feature; in pull #15068 on the cargo repository
from January of this year, it was finally marked as deprecated in the
documentation.
Most of these kinds of attributes are pretty pointless for us anyways,
since we don't publish to crates.io, and the reasons for making it
optional/deprecated mostly apply to us as well. It just doesn't seem
very useful.
2025-12-23 19:03:24 +00:00
Youser Nayme
08282418aa
Version display overhaul and other tenuously related changes
- Deduplicated and simplified version display methodologies, which had
  previously been strewn haphazardly across the codebase; time is always
  shown alongside date
- Voxygen main menu now only displays version once, at the top
- Build script now passes git commit timestamp instead of formatted
  date; this also lets us delete some nix code
- Server sends hash and timestamp to client as numbers instead of hash
  and date as strings; both are compared to determine compatibility
- Fixed a random typo
2025-12-20 21:02:44 +00:00
Youser Nayme
3bd2a247a3
Set license for workspace and all members 2025-12-20 21:02:44 +00:00
Youser Nayme
60e4931e24
Move version definition to workspace
Now, all workspace packages are set to the current supposed version of
Veloren (0.17.0), with the exception of `common/query_server`, `network`
and `network/protocol`, since these appear to be attempting to use
semver at least somewhat more sensibly.
2025-12-20 21:02:44 +00:00
Youser Nayme
dec3bc6783
Smarter workspace userdata dir; remove unused "no_workspace" variation 2025-12-20 21:02:43 +00:00
Youser Nayme
3a17ef1115
Tentatively unpin and update mimalloc
Apparently the person who originally found out that a newer version of
mimalloc was causing a memory leak can no longer reproduce the issue
with the latest mimalloc. Let's hope it's just fixed.
Also moved mimalloc to workspace dependency.
2025-11-22 19:28:49 +00:00
Youser Nayme
9829ef5be0
Use settings template for server-cli; never write to actual file 2025-11-05 13:17:13 +00:00
Marcel Märtens
4a65546454 run cargo fix after toolchain upgrade 2025-09-08 19:03:28 +02:00
Marcel Märtens
87c6316a81 define the edition in the workspace and reorder the Cargo.toml to be more similar 2025-09-06 01:47:17 +02:00
Marcel Märtens
74bf0cacdc update rust edition to 2024 and fix some final r#gen keyword renamings 2025-09-06 01:47:17 +02:00
Youser Nayme
ccbed630fb
Low-effort crate updates
- ordered-float from 4 to 5
- strum from 0.26 to 0.27
- profiling from 1.0.16 to 1.0.17 and tracing-tracy from 0.11.3 to 0.11.4
- toml from 0.8 to 0.9
- socket2 from 0.5 to 0.6
- indicatif from 0.17 to 0.18
- crossterm from 0.28 to 0.29
- fluent from 0.16 to 0.17, fluent-bundle from 0.15 to 0.16, and
  fluent-syntax from 0.11 to 0.12

Also moved criterion to workspace dependencies, and removed
assets_manager from voxygen since it doesn't appear to be used.
2025-09-05 10:58:25 +00:00
Marcel Märtens
2b3e8352b2 update rand to 0.9:
This contains a lot of renaming, in rand, thread_rng got changed to rng and gen got changed to random because of the upcomming rust2024 edition.
Additionally the traits are changing.
This is highly necessary for a toolchain update
2025-09-04 22:12:14 +02:00
Marcel Märtens
33e316af75 update the backtrace crate for the new debian trixie release. Hopefully this is the real one 2025-08-13 18:20:54 +02:00
Anyone
a1afe1a444 Specify reason for pinned mimalloc 2025-05-18 00:51:51 +02:00
Anyone
9da5029335 Downgrade mimalloc
Downgrade mimalloc to the latest working version to fix a memory leak on Windows
2025-05-17 18:23:41 +02:00
Marcel Märtens
ee03a00be9 improve Doc comments and replace a few comments with variable names 2025-04-22 17:55:13 +02:00
Imbris
1a91696b59 Show warning for server generated messages that are filtered out for
being sent as from a player and not being plain Content
2025-03-05 23:24:59 -05:00
Imbris
e2ed4e8be5 Add workspace lints table 2025-02-26 20:50:24 -05:00
Youser Nayme
e3749ab72b
Crate updates
Tried to run `cargo update`, but that broke things, see
https://github.com/rust-lang/hashbrown/issues/564.

Updated:
- itertools to 0.14
- kiddo to 5
- petgraph to 0.7
- notify to 8
- wasmtime and wasmtime-wasi to 29
  Note: this causes even bigger problems if one were to try to run
  `cargo update` since even if one were to add certain transitive
  dependencies to common/Cargo.toml and enable the necessary feature
  flags, a transitive dependency here also depends on allocator-api2 but
  without exposing the proper feature flag. A fix is underway, see
  https://github.com/bytecodealliance/regalloc2/issues/209
- axum to 0.8
- discord-sdk to 0.4
- minifb to 0.28
2025-01-24 14:44:37 -03:00
crabman
10f567a816
Replace #[allow(..)] with #[expect(..)] where possible 2025-01-23 13:01:23 +01:00
Isse
fae849e951
Toolchain update 2025-01-23 13:01:20 +01:00
Marcel Märtens
c7a2f55d1c Change the version number to 0.17 2024-12-28 12:29:45 +01:00
Youser Nayme
6c79ea3a89
Updated crossterm to 0.28 and ratatui to 0.29.0, in lockstep 2024-11-16 19:50:10 -03:00
coffee-compiler
5a69587c92 Use Content::Plain explicitly 2024-08-25 17:18:30 +00:00
Matthew Searle
b04ba00292 Fix ignore case for admin add command 2024-08-19 14:36:58 -06:00
Youser Nayme
d7c82ce534
Update ratatui 2024-06-29 17:05:29 -04:00
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
a2ea012f43
upgrade rustls 2024-05-28 12:56:18 +00:00
crabman
fea309c4ad
Add port 14006 to docker-compose (server info queries) 2024-05-02 17:59:16 +00:00
crabman
e6a9d4434f
fix test-server compile warnings 2024-04-21 09:48:35 +00:00
Marcel Märtens
35afd20b63 Change the version number to 0.16 2024-03-30 00:10:54 +01: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