Lucas Nicodemus
188d9c07f9
Move TerrariaAPI-Server submodule to our own repo
2015-05-01 09:24:35 -06:00
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
Lucas Nicodemus
a503c1e84e
Commit #3,000
...
Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel
2015-04-30 15:05:25 -06:00
Lucas Nicodemus
6cc097fda0
Use int arrays, not float arrays in config
...
Fixes #914
2015-04-30 15:04:22 -06:00
Lucas Nicodemus
3a5b0b1b99
Merge pull request #911 from WhiteXZ/general-devel
...
Adds a User object to TSPlayer
2015-04-29 20:28:35 -06:00
White
f400d4ff04
Fix a missed line
2015-04-29 17:41:43 +09:30
White
dd7ad78d3f
Adds a User object to TSPlayer
2015-04-29 17:24:20 +09:30
Lucas Nicodemus
f5bf9d55ca
Add semicolon
2015-04-25 22:55:15 -06:00
Lucas Nicodemus
c1183ec950
Make verbiage more clear on how to use /auth and /auth-verify
2015-04-25 22:54:45 -06:00
Lucas Nicodemus
a68068c565
Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel
2015-04-22 23:32:30 -06:00
Lucas Nicodemus
ab3262d971
Document some config file methods
...
I suppose this is really redundant, ...
2015-04-22 23:32:01 -06:00
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
ce4585d151
🍰 Moved indentation back for deprecated algo block
2015-04-18 13:51:53 -06:00
Lucas Nicodemus
050a350c9f
Finish documenting TShock.cs
2015-04-17 04:41:22 -06:00
Lucas Nicodemus
5e4651e9c4
Deprecate ValidString & SanitizeString methods.
...
They're unused and don't support UTF-8.
2015-04-17 04:20:48 -06:00
Lucas Nicodemus
d182e3a629
Add more documentation to more internal methods
2015-04-17 02:33:37 -06:00
Lucas Nicodemus
be75603587
Add more documentation to TShock.cs for high level variables
2015-04-17 01:39:19 -06:00
Lucas Nicodemus
00ad1c63b4
Check to see if a player is logged in before calling logout hook on dc
2015-04-17 00:17:19 -06:00
Lucas Nicodemus
d3931e77db
Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel
2015-04-16 23:42:17 -06:00
Lucas Nicodemus
be19c3998b
Call OnPlayerLogout when a player leaves the server
...
Fixes #902
2015-04-16 23:41:24 -06:00
Lucas Nicodemus
1bc96b6367
We like docs and less warnings
2015-04-15 09:59:45 -06:00
Lucas Nicodemus
20d24a53c8
Update release create script to support bcrypt
2015-04-14 15:04:39 -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
b91f0ff7b7
Add missing "of."
...
Through Knowledge, Victory. Through Unity, Peace.
Honor, Valor, Allegiance.
Today. Tomorrow. Forever.
Together We Rise. Together We Prevail.
Forward Unto Dawn.
From Earth, For Earth.
Honor, Valor, Allegiance, Excellence.
Today. Tomorrow. Forever.
Together We Rise. Together We Prevail.
Forward Unto Dawn.
From Earth, For Earth.
Honor, Valor, Allegiance, Excellence.
From Earth, For Earth.
Today. Tomorrow. Forever.
Together We Rise. Together We Prevail.
Forward Unto Dawn.
2015-04-13 19:00:25 -06:00
Lucas Nicodemus
ea18ca4455
Add slight warning about bcrypt to the config file
2015-04-13 18:50:40 -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
379a689ae2
Change message to be "greater than or equal to"
2015-04-13 14:30:11 -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
298c61564f
Force add BCrypt dll
2015-04-13 11:58:27 -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
Lucas Nicodemus
37b5a52fdb
Move all TShock usages to use User.VerifyPassword()
2015-04-13 11:16:21 -06:00
Lucas Nicodemus
bbf6fd2c86
UserManager insert does no passsword hashing
...
This should be fine, now, because User.CreateBCryptHash should take
care of this.
2015-04-13 10:58:22 -06:00
Lucas Nicodemus
ed34a87c3f
Migrate some manual password creation to BCrypt
...
Note that several times, user.Password was set to a plain text password,
but then later changed to a hashed password, creating data inconsistency.
This also changes User.Password to private set to prevent further accidents.
2015-04-13 10:44:45 -06:00
Lucas Nicodemus
a5aa31376a
Add password verification for BCrypt
2015-04-13 10:06:58 -06:00
Lucas Nicodemus
782b59f2b3
Add BCrypt reference to csproj file
2015-04-13 08:18:31 -06:00
Lucas Nicodemus
6bba00c7ee
Add BCrypt Libs
2015-04-13 08:09:05 -06:00
Lucas Nicodemus
8b00127ce2
Ignore userprefs
2015-04-13 01:15:54 -06:00
Lucas Nicodemus
06becadc8d
Document Warp() constructor
2015-04-13 01:03:13 -06:00
Lucas Nicodemus
d628b59012
Ignore sublime project files
2015-04-13 00:52:52 -06:00
Lucas Nicodemus
1993ad0d23
Ignore visual studio 'stuff'
2015-04-13 00:51:47 -06:00
Lucas Nicodemus
eb7e167008
Make 1.14k warnings appear for debug compilers
...
Launch on warning (LOW) is a strategy of nuclear weapon retaliation that gained recognition during the Cold War between the United States and the Soviet Union. With the invention of intercontinental ballistic missiles (ICBMs), launch on warning became an integral part of mutually assured destruction (MAD) theory. Under this strategy, a retaliatory strike is launched upon warning of enemy nuclear attack, while its missiles are still in the air, and before detonation occurs.
2015-04-13 00:29:47 -06:00