Hussein Farran
7d323f253a
Merge pull request #1321 from DogooFalchion/ssc_join_inv
...
Enable user to upload their data from when they join as SSC
2016-10-23 20:58:40 -04:00
DogooFalchion
156df47777
Add mechanism to upload a specific PlayerData to a player.
2016-10-23 18:10:30 -04:00
Lucas Nicodemus
a0c4864567
Removed all obsolete methods from TShock
2016-10-23 06:09:17 -06:00
Lucas Nicodemus
b15dfbc1ec
Don't catch the exceptions we throw in SetUserGroup
...
For some reason, we were catching our own exceptions and then
throwing UesrManagerExceptions despite the fact that we explicitly
threw more specific exceptions.
Fixes #1315 .
2016-10-23 05:49:16 -06:00
Adilson Carvalho
ad03215986
Added GPL header on all code files when missing
2016-10-16 17:33:19 -02:00
Adilson Carvalho
49b4effe74
Changed year to 2016 on all GPL headers
2016-10-16 17:06:02 -02:00
ProfessorXZ
37d9e93e6c
Remove redundant region checks
2016-08-02 19:22:47 +02:00
White
b9046da5f4
Fixes #1239
2016-07-12 13:06:35 +09:30
Zt Wang
f15fd659e9
Add give permission to group trustedadmin
2016-06-21 13:38:11 +08:00
White
8bf58dedf4
Fixes #1169 on MySQL
2016-04-02 11:05:23 +10:30
White
7e59d4c07d
Fixes #1161
2016-02-19 18:10:34 +10:30
White
409327b54e
Fixes #1161
2016-02-19 18:10:32 +10:30
Tyler Watson
3d37f51290
Fixed bug in AddRegion failing to completely add regions
...
An invalid SQL query selecting the region ID from the newly inserted
region prevented the AddRegion method from completely adding a region,
even though it was inserted into the database correctly, leading to a
`false` result even though the region add was successful.
This fixes /region define, and HouseRegions.
2016-02-06 20:37:57 +10:00
White
f0bf0ad820
Added an ID property to Regions. Commented and simplified some RegionManager code
2016-02-01 12:14:36 +10:30
Enerdy
aa419283a9
Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible.
2016-01-11 14:37:02 +00:00
White
21f16e5908
Fixed female characters losing their femininity
2016-01-10 13:12:51 +10:30
White
be4d741f2b
Extra slot will now function correctly in SSC. Fixes #1036
2015-10-09 17:56:56 +10:30
Beau Hastings
943606c870
Fix #1082
...
Signed-off-by: Beau Hastings <beausy@gmail.com>
2015-10-09 00:01:57 -05:00
Beau Hastings
c0771556fc
Fixes #1116
...
Signed-off-by: Beau Hastings <beausy@gmail.com>
2015-10-07 11:42:20 -05:00
tysonstrange
d68fe61d21
Update CharacterManager.cs
2015-09-18 07:58:42 +10:00
tysonstrange
9c3d38e23d
Update CharacterManager.cs
2015-09-17 21:10:30 +10:00
White
2e5eaae0b3
Checking whether a point is in a region no longer requires to region to be protected.
...
Renamed some methods to conform to C# conventions.
2015-09-06 18:49:57 +09:30
Tyler Watson
01486f7ba9
Fixed an issue preventing bans being added when a ban already existed
...
Fixes #1094
2015-08-21 22:58:52 +10:00
White
23ab14df4f
Added backwards compatibility for SSC
2015-07-10 16:58:32 +09:30
White
e5cbee82e9
Backwards compatibility for databases with pre-existing SSC entries
2015-07-10 14:34:42 +09:30
Enerdy
0a51f208f5
Fixed /user group and any other method using TShock.Users.SetUserGroup()
2015-07-06 01:32:08 +01:00
Enerdy
0e23ffa1a6
Fixed issues with BitsByte. TShock should compile again.
2015-07-04 17:17:26 +01:00
White
da62f23c50
Fixed a typo that would have caused issues
2015-05-28 17:06:58 +09:30
White
4bc4b2a6eb
Fixed another bug with the BCrypt implementation
2015-05-28 16:44:34 +09:30
White
ec178f0c4a
Fixed the bug where updating the config WorkFactor would mean that users could not log into their accounts once their passwords were updated to the new WorkFactor
2015-05-28 11:51:29 +09:30
White
e33b6ebebc
Now targets NET 4.5, so the solution actually compiles.
...
Fixed an issue where /user password sets a blank string in the database
Fixed an issue where /password <old> <new> wouldn't update the user's password
2015-05-27 18:29:29 +09:30
MarioE
ad5ec1c252
Fix NetItem serialization/deserialization
2015-05-04 22:28:41 -04:00
MarioE
d5fb8726cc
Extend NetItem
2015-05-04 22:11:10 -04:00
White
44ad0c68b8
Change TSPlayer.UserID to TSPlayer.User.ID, as well as refactoring some of UserManager.cs. Solves #916
2015-05-01 11:18:37 +09:30
Lucas Nicodemus
fcda79ea4c
Fix blank password logins further
...
How this worked prior to BCrypt is beyond me
2015-04-30 15:56:29 -06:00
Lucas Nicodemus
ddd89043c9
Fix blank password legacy behavior in TShock.
...
Fixes #907
2015-04-30 15:52:08 -06:00
White
dd7ad78d3f
Adds a User object to TSPlayer
2015-04-29 17:24:20 +09:30
White
c55893fe88
Adds a fuzzy name search for obtaining users. This means plugins no longer have to retrieve all Users with TShock.Users.GetUsers() to do a fuzzy name search
2015-04-21 16:46:24 +09:30
Lucas Nicodemus
342921b3ed
Document Utils.cs & UserManager.cs
...
Deprecated Utils.Random()
2015-04-19 21:14:15 -06:00
Lucas Nicodemus
85661f3485
Move to "protected" only (thanks @MarioE!)
2015-04-14 08:16:11 -06:00
Lucas Nicodemus
c5034a23ad
Turns out that OmniServer doesn't refactor after all, who knew? Fix build.
2015-04-13 23:31:38 -06:00
Lucas Nicodemus
b34c00107c
"Brace" for impact with these Important changes
...
Apparently the convention is UpperCamel for private functions too.
Fixed a stray brace that caused people to brace for a sudden evisceration of limbs.
Use Int32.Parse instead of Convert.ToInt32, because Microsoft exposes public
APIs they say not to use. 👏
2015-04-13 23:24:37 -06:00
Lucas Nicodemus
136064f4b2
Fix formatting of old aglo block
...
Also spelled algorithms correctly
2015-04-13 14:57:58 -06:00
Lucas Nicodemus
493dc0c069
Change braces to use VS style
2015-04-13 14:49:04 -06:00
Lucas Nicodemus
12f893e0cb
Require minimum password length of 4, and trim new passwords for whitespace.
...
Fixes problems reported by @MarioE and @Simon311:
- Users can no longer register with whitespace for a password.
- Users can no longer register with 4 whitespaces for a password.
2015-04-13 14:26:12 -06:00
Lucas Nicodemus
845c8c4b3d
Change access modifiers to 'protected internal'
...
(this is what I meant anyway by internal, didn't realize internal
allowed any access in the assembly)
2015-04-13 13:06:49 -06:00
Lucas Nicodemus
1f690440d0
Change errors in BCrypt to be more clear for users to fix
...
Change doc verbiage to refer to what these actually do
2015-04-13 12:46:10 -06:00
Lucas Nicodemus
6cef3c6eb3
Add documentation for CreateBCryptHash
2015-04-13 12:35:25 -06:00
Lucas Nicodemus
e55c37728f
Change config to refer to BCryptWorkFactor instead of WorkFactor.
...
Change default work factor to 7.
2015-04-13 11:33:04 -06:00
Lucas Nicodemus
08fae75c0c
Fix string split in upgrade check so that it works
2015-04-13 11:31:13 -06:00