Commit graph

573 commits

Author SHA1 Message Date
Lucas Nicodemus
74e178e119 Version tick: 4.5.10 2021-11-25 21:47:35 -08:00
Lucas Nicodemus
996229b9af Force shutdown server if SIGINT is received twice
Previously, I updated the SIGINT handler so that it would safely shut
down. This is because I'm an idiot and like most people like me, I use
CTRL + C as my exclusive way to close all programs in the command line
environment. This poses a risk because it doesn't save the world and
shuts down improperly.

However, I forgot that Terraria has interactive menus that you can't
exit from. So, in these menus, the only way out was CTRL + C. @Onusai
reported this, so this changes the behavior a second time.

Now, when passing SIGINT, you can pass it twice. This will cause the
program to actually exit on the second time, such as when you're stuck
at a menu. Hooray.
2021-11-25 11:26:09 -08:00
Lucas Nicodemus
8cf7d164cb Version tick: 4.5.9
This commit also bumps the submodule for TSAPI to support Terraria
1.4.3.2.
2021-11-24 18:57:41 -08:00
Lucas Nicodemus
984a3ca460 Update changelog 2021-11-23 22:53:46 -08:00
Lucas Nicodemus
e714f8ea58 Verison tick: 4.5.8 2021-11-23 18:31:55 -08:00
Lucas Nicodemus
50821e7e89 Fix changelog location for GHSA-6w5v-hxr3-m2wx 2021-11-23 18:29:57 -08:00
Arthri
a1eaf285cd Merge remote-tracking branch 'parent/general-devel' into fix-invalid-place-style 2021-11-24 09:21:40 +08:00
Arthri
c5eeae8590 Add changelog entry 2021-11-23 17:23:44 +08:00
Lucas Nicodemus
e303071dce Fix firework command failing without color
After updates to the firework command, a guard was lost, allowing the
switch statement that selected the color to execute on a parameter that
was empty. A guard was added to prevent falling into the switch
statement without enough arguments to match a color.

The default type of firework was manually set to a red firework.

Fixes #2507
2021-11-22 22:16:56 -08:00
Lucas Nicodemus
a01b48ead5 Remove dead code: DBTools.cs 2021-11-22 19:27:40 -08:00
Lucas Nicodemus
320bbad051 Version tick: 4.5.7 2021-11-22 18:07:30 -08:00
Lucas Nicodemus
ce8623e84e Add support for 1.4.3.1 via submodule update 2021-11-22 18:02:40 -08:00
Lucas Nicodemus
9416e8f1e2 Remove DIY password hashing crypto
The old system for hashing passwords and permitting users to select
their algorithm has been deprecated and phased out since 2015. This
removes the remaining functions for hashing passwords to clear the way
for .NET5/6 and for OTAPI 3.

In 211b70ca37, I allowed blank passwords
to upgrade to bcrypt hashes. However, the minimum password length has
been 4 historically for a long time. So I don't actually assume a lot of
users have blank passwords, so I think there are very few, if any of the
old hashes laying around.

So therefore, I think this is pretty much safe to merge.
2021-11-22 10:26:57 -08:00
Lucas Nicodemus
614211d7a1 Fix respawning players from the server console 2021-11-21 16:35:47 -08:00
Lucas Nicodemus
211b70ca37 Upgrade blank passwords to bcrypt hashes
Previously, blank passwords were not upgraded to bcrypt hashes. This is
annoying and problematic because it makes it difficult to remove the old
password hashing system because those passwords might still be checked
against non-bcrypt hashes.
2021-11-21 14:44:53 -08:00
Lucas Nicodemus
b17c4cfc13 Add support for disabling IP bans by default
Some proxy users find it irritating when their proxy IP is banned by the
ban command. This helps those users find justice in the world.
2021-11-21 14:30:59 -08:00
Lucas Nicodemus
70d4bb9503 Update submodule for PacketTypes updates 2021-11-20 23:50:15 -08:00
Lucas Nicodemus
1aa9956e45 Report correct god mode status to target player
The previous version of the code always told the player having their god
mode toggled the state of the player that issued the command, rather
than their own god mode state. This fixes that issue, and now returns
the correct player's state to the correct player.
2021-11-20 20:02:23 -08:00
Lucas Nicodemus
f523d38300 Check RegionProtectGemLocks before enforcing perms
Fixes #2485. Bouncer now checks to ensure that RegionProtectGemLocks is
enabled before attempting to reject changes from gem locks from players
that don't have build permissions.
2021-11-20 18:19:47 -08:00
Lucas Nicodemus
6bcd9753c7 Add even more formatting to changelog 2021-11-20 12:11:28 -08:00
Lucas Nicodemus
16a31e6677 Update changelog to fix formatting 2021-11-20 12:10:54 -08:00
Lucas Nicodemus
96b260532f Fix GHSA-6w5v-hxr3-m2wx via changelog update 2021-11-20 12:08:16 -08:00
Lucas Nicodemus
abb12629ad Add Deerclops to spawnboss command
Fixes #2500
2021-11-20 12:04:55 -08:00
Lucas Nicodemus
b44d72056c Update TSAPI submodule for OTAPI 2.0.0.45 (Terraria 1.4.3.0) 2021-11-19 22:48:41 -08:00
Lucas Nicodemus
42ca83e6b5 Update version codename and changelog for 1.4.3 2021-11-19 22:39:45 -08:00
Lucas Nicodemus
4fff15580b
Merge branch 'general-devel' into general-devel 2021-11-19 22:24:47 -08:00
Lucas Nicodemus
b48b1a1eda
Merge branch 'general-devel' into moisterrific-patch-1-config-respawntime 2021-11-19 22:19:52 -08:00
Nezbednik
5bf36fd799
Update CHANGELOG.md 2021-11-13 08:46:14 +01:00
stacey
8ce61c1e01
Add RespawnSeconds change to changelog 2021-09-13 10:04:06 -04:00
stacey
2b50cbc7b9
Merge branch 'general-devel' into general-devel 2021-09-13 09:52:46 -04:00
Armano den Boef
bc1a548edf
Following up on changelog entry suggestion;
Co-authored-by: Chris <2648373+QuiCM@users.noreply.github.com>
2021-08-25 13:10:54 +02:00
Armano den Boef
b60d62fb74
Properly clarifying issue + fix; 2021-08-25 12:41:28 +02:00
Armano den Boef
1329813f59
Merge branch 'Pryaxis:general-devel' into patch-1 2021-08-25 12:39:04 +02:00
Chris
09a2947cf4
Merge branch 'general-devel' into fix-invalid-groups 2021-08-25 19:16:57 +09:30
Armano den Boef
ea09286483
Update CHANGELOG.md 2021-08-23 23:07:12 +02:00
Armano den Boef
1eae9dbeca
Update CHANGELOG.md 2021-08-23 23:00:35 +02:00
Lucas Nicodemus
988c36e3ac
Added warning about SSC config wipe in 4.5.3 land 2021-08-17 13:05:17 -07:00
Lucas Nicodemus
16de180d52 Move changelog entry to upcoming section 2021-08-16 16:11:29 -07:00
Lucas Nicodemus
7b4042bf77 Merge branch 'general-devel' into fix-invalid-place-style 2021-08-16 16:10:41 -07:00
Armano den Boef
491c3ebb76
Update CHANGELOG.md 2021-08-09 01:33:11 +02:00
stacey
815fb9f3f8
Update CHANGELOG.md 2021-08-06 15:11:53 -04:00
Chris
1ccc5ced8e
Merge branch 'general-devel' into patch-35 2021-08-03 00:46:52 +09:30
stacey
f4c2ab80c9
Merge branch 'general-devel' into patch-35 2021-08-02 10:59:33 -04:00
stacey
0ace9fb091
Merge branch 'general-devel' into patch-30 2021-08-02 10:58:03 -04:00
Chris
c3a074336d
Merge branch 'general-devel' into feature/force-character-gamemodes 2021-08-02 20:05:59 +09:30
Chris
54380fcd9a
Merge branch 'general-devel' into patch-29 2021-08-02 19:09:25 +09:30
Chris
2709af6168
Merge branch 'general-devel' into patch-33 2021-08-02 19:06:17 +09:30
Chris
b766b478fa
Merge branch 'general-devel' into patch-31 2021-08-02 18:58:04 +09:30
stacey
f53ba43093
Add respawn command to changelog 2021-07-31 14:05:59 -04:00
quake1337
91376ae087
Merge branch 'general-devel' into fix-invalid-groups 2021-07-31 16:38:12 +02:00