Commit graph

5350 commits

Author SHA1 Message Date
Luke
dbad25894e Remove build.yml + try and implement chmod in otapi3 ci 2021-12-03 08:06:07 +10:00
Luke
2c44f71043 CI upload artifacts + set tshock version to beta 2021-12-03 07:47:45 +10:00
Luke
f54c4eb0a1 Publish launcher only 2021-12-03 07:35:43 +10:00
Luke
ab676d5bc9
Correct ci matrix
Nothing to see here...
2021-12-03 00:28:14 +10:00
Luke
a9f0aa1219
Add recursive checkout option to ci 2021-12-03 00:20:51 +10:00
Luke
2c36dacfd2 Single file publish support, test project and simple build CI
This also adds remote raspberry pi debugging with default install details. More testing is required as MonoMod may not be working for arm64 still

CI might not work yet either
2021-12-03 00:07:11 +10:00
Luke
c159f2b388 Add newline to TShock.sh + add linux-arm64 to launcher release 2021-12-02 15:55:26 +10:00
Luke
9a2aa5e825 Add ubuntu runtime identifier 2021-12-01 21:14:34 +10:00
Luke
63eda6771c Correct windows launching in debug mode, and dont move the TShock.sh in osx 2021-12-01 09:27:15 +10:00
Luke
6a34fb71e0 Improve OSX non self contained mode wrt name/folder clashing 2021-12-01 09:13:17 +10:00
Luke
2b4b6353c2 Add TShock Launcher project (TShock.exe) with ./bin folder for dependencies
+ submodule update
TODO: retest on osx and see if we can include file permissions
2021-12-01 08:26:06 +10:00
Luke
404520c789 Update submodule for ./bin folder changes
This should move most dlls from the root to a ./bin folder.
2021-11-27 22:49:11 +10:00
Luke
19fd47c8e2 Update company/copyright + add new lines to .vscode files 2021-11-27 17:58:38 +10:00
Luke
e75e0e8bab Switch to .net6 2021-11-27 17:57:19 +10:00
Luke
cec53c780f Merge branch 'general-devel' into otapi3 2021-11-27 17:53:28 +10:00
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
58bc876eab Remove quake from funding file
Apparently there's a hard limit on 4 people. So what we'll do is just
swap people in and out as they contribute I guess?
2021-11-24 20:42:07 -08:00
Lucas Nicodemus
6e58173f8b Add DeathCradle to funding file
Yo why are you not funding DeathCradle?
2021-11-24 20:39:02 -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
Luke
c70a9bc88b VS+Code launch profile improvements 2021-11-24 21:32:22 +10:00
Luke
f48dda3ae3 Improve native resolutions 2021-11-24 21:32:11 +10:00
Lucas Nicodemus
984a3ca460 Update changelog 2021-11-23 22:53:46 -08:00
Zoom L1
f98df0e4a3
Merge pull request #2447 from AgaSpace/patch-1
Add the ability to change the player's pvp mode
2021-11-23 22:52:47 -08:00
Lucas Nicodemus
01aa4b5732
Merge pull request from GHSA-6w5v-hxr3-m2wx
Fix invalid place style exploit
2021-11-23 20:52:50 -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
Lucas Nicodemus
462b03e306
Merge pull request #2508 from Arthri/fix-bad-xml
Fix invalid xml
2021-11-23 17:13:40 -08:00
Luke
d439b3db1c Correct nuget package to GPL-3.0-or-later 2021-11-24 07:51:44 +10:00
Luke
a5a75e3f50 Implement System.Data.SQLite
TODO: determine if we can do something better than a resolver
2021-11-24 07:49:03 +10:00
Luke
8edd0393e5 Initial OTAPI3 port
TODO: sqlite
2021-11-23 20:49:41 +10:00
Arthri
c5eeae8590 Add changelog entry 2021-11-23 17:23:44 +08:00
Arthri
350d76c315 Fix bad XML(unescaped ampersand) 2021-11-23 17:13:02 +08:00
Arthri
aa5cb13247 Fix bad XML(no opening <summary) 2021-11-23 17:12:49 +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
6cd69324c7
Merge pull request #2504 from Pryaxis/h/hashing
Remove DIY password hashing crypto
2021-11-22 17:17:15 -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
35db1cc372 Version tick: 4.5.6 2021-11-21 16:13:32 -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