veloren/network
Joshua Yanovski e7587c4d9d Added non-admin moderators and timed bans.
The security model has been updated to reflect this change (for example,
moderators cannot revert a ban by an administrator).  Ban history is
also now recorded in the ban file, and much more information about the
ban is stored (whitelists and administrators also have extra
information).

To support the new information without losing important information,
this commit also introduces a new migration path for editable settings
(both from legacy to the new format, and between versions).  Examples
of how to do this correctly, and migrate to new versions of a settings
file, are in the settings/ subdirectory.

As part of this effort, editable settings have been revamped to
guarantee atomic saves (due to the increased amount of information in
each file), some latent bugs in networking were fixed, and server-cli
has been updated to go through StructOpt for both calls through TUI
and argv, greatly simplifying parsing logic.
2021-05-09 21:19:16 -07:00
..
benches protocoladdr change for listen and connect 2021-04-29 15:58:34 +02:00
examples protocoladdr change for listen and connect 2021-04-29 15:58:34 +02:00
protocol switch network/protocol to hashbrown (5% perf increase) 2021-04-29 19:12:57 +02:00
src Added non-admin moderators and timed bans. 2021-05-09 21:19:16 -07:00
tests extract protocol specific listen code from scheduler and move it to channel.rs 2021-04-29 17:51:52 +02:00
Cargo.toml fix error handling in networking and switch to hashbrown, fixing #1118 2021-05-04 15:29:42 +02:00