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

Merge upstream changes #16

Merged
merged 24 commits into from
Apr 6, 2024
Merged

Merge upstream changes #16

merged 24 commits into from
Apr 6, 2024

Conversation

ripps818
Copy link
Owner

@ripps818 ripps818 commented Apr 6, 2024

Update fixes for new version, rest api, updated rcon times, backup settings, etc.

actions-user and others added 24 commits March 4, 2024 16:53
fix(typo): security thread -> security threat
This incorporates the ideas from jammsen#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 jammsen#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.
update workflow action cosign
@ripps818 ripps818 self-assigned this Apr 6, 2024
@ripps818 ripps818 merged commit 096a276 into master Apr 6, 2024
2 checks 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.

5 participants