Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2024-04-04.1 #256

Merged
merged 13 commits into from
Apr 5, 2024
Merged

Release 2024-04-04.1 #256

merged 13 commits into from
Apr 5, 2024

Conversation

jammsen
Copy link
Owner

@jammsen jammsen commented Apr 5, 2024

No description provided.

actions-user and others added 13 commits March 4, 2024 16:53
fix(typo): security thread -> security threat
chore(indenting): remove extra space
This incorporates the ideas from #243, but updates the existing `rconcli` script to perform the conversion to non-breaking spaces, instead of using a customised `rcon` command.

To make the implementation nicer, in `rconcli` the command and any additional values have been split into separate arguments. The first argument to the script is the desired command (e.g. `broadcast`), and any following arguments will be value (e.g. `Saving done`).

The result (from the `rcon` command's perspective) will be:

```
broadcast Saving<nbsp>done
```

The following changes are also included (some from the above PR):

* Convert all RCON broadcasts to use spaces, instead of dashes, and make them otherwise look nicer.
* Do not remove spaces from player names in broadcasts, as these are now handled correctly.
* Add timestamps to all RCON broadcasts, to make it easier to tell when a broadcast was made.
* When using the RCON `showplayers` command, redirect `stderr` to `/dev/null` to prevent log errors caused by players with special characters in their names.
* Fix typos.
* Remove trailing spaces on lines in some files.
This incorporates the ideas from #243, but updates the existing `rconcli` script to perform the conversion to non-breaking spaces, instead of using a customised `rcon` command.

To make the implementation nicer, in `rconcli` the command and any additional values have been split into separate arguments. The first argument to the script is the desired command (e.g. `broadcast`), and any following arguments will be value (e.g. `Saving done`).

The result (from the `rcon` command's perspective) will be:

```
broadcast Saving<nbsp>done
```

The following changes are also included (some from the above PR):

* Convert all RCON broadcasts to use spaces, instead of dashes, and make them otherwise look nicer.
* Do not remove spaces from player names in broadcasts, as these are now handled correctly.
* Add timestamps to all RCON broadcasts, to make it easier to tell when a broadcast was made.
* When using the RCON `showplayers` command, redirect `stderr` to `/dev/null` to prevent log errors caused by players with special characters in their names.
* Fix typos.
* Remove trailing spaces on lines in some files.
@jammsen jammsen merged commit 9793f78 into master Apr 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants