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
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
06becadc8d
Document Warp() constructor
2015-04-13 01:03:13 -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
Lucas Nicodemus
362fcbceb3
Remove warning ignore pragmas for just calling reads directly
2015-04-13 00:19:11 -06:00
Lucas Nicodemus
6fe33b5c43
/v2/groups/create uses non-deprecated AddGroup call
...
This should have no functional change that's negative. The previous
method only returned errors based on exceptions, so switching does
nothing except remove deprecated code.
2015-04-13 00:04:59 -06:00
Lucas Nicodemus
1b835c0597
Fix more broken docs
...
Also disables warnings for some specific unused variables
2015-04-13 00:01:37 -06:00
Lucas Nicodemus
c6fdd89148
Remove 'ass' and unused 'appName' for 'assembly' 💩
2015-04-13 00:00:55 -06:00
Lucas Nicodemus
1dae83d1b6
Fix TryParseTime documentation again?
2015-04-12 23:43:39 -06:00
Lucas Nicodemus
e927b55fcb
/group add now uses non-deprecated method
2015-04-12 23:39:26 -06:00
Lucas Nicodemus
417ffbc740
Updated XML documentation for several methods
2015-04-12 23:39:04 -06:00
Lucas Nicodemus
726576e3e0
Docs: TraceLevel vs LogLevel in ILog.cs
2015-04-12 22:17:06 -06:00
Lucas Nicodemus
6431edbf39
Remove deprecated Log methods
2015-04-12 22:15:07 -06:00
Lucas Nicodemus
6c516e5f3d
Add deprecation warning to string AddGroup(name, perms)
...
Can't remove the other AddGroup string method without a deprecation
window of 1 release for this stupid function too.
2015-04-12 22:12:08 -06:00
Lucas Nicodemus
6ed91f12c8
Remove redundant argument checks 👌
2015-04-12 22:02:19 -06:00
Lucas Nicodemus
8bcb3ef6bc
Check all user subcommands for param count
...
Fixes more problems found in #899 (thanks Marcus)
2015-04-12 21:48:50 -06:00
Lucas Nicodemus
0f1b334d8e
Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel
2015-04-12 21:46:46 -06:00
Lucas Nicodemus
16960c7d2c
Require 3 parameters to change a password
...
Fixes #899
2015-04-12 21:46:15 -06:00
Zack Piispanen
904c44a1b6
Fix UseServerName config options, to now work properly. Remove duplicate unused code. Ensure that everywhere we use Main.WorldName, we are sending the config server name.
2015-04-09 22:58:32 -04:00
White
cf34aad594
Remove the pesky '/' that got in there somehow
2015-04-09 15:58:10 +09:30
White
b4f2ddef47
DEBUG preprocessor conditional inside method
2015-04-09 15:56:51 +09:30
White
c0f28f4aaf
Merge branch 'general-devel' of https://github.com/NyxStudios/TShock into general-devel
2015-04-09 15:50:44 +09:30
Lucas Nicodemus
cef253ce20
Remove the ability to ban oneself
2015-04-08 23:46:00 -06:00
White
fc1d188951
DEBUG preprocessor checks for ILog
2015-04-08 20:46:12 +09:30
White
2f2749c480
Time parameter in temp group command
2015-04-06 12:50:33 +09:30
White
d0a962bd0f
Notification when temp group expires
2015-04-06 12:31:10 +09:30
White
bddcf81331
Stop timer once it's done
2015-04-06 12:31:08 +09:30
White
cd353c27a3
Time parameter for tempgroup
2015-04-06 12:31:07 +09:30
Zack Piispanen
1b69a47d71
Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel
2015-04-05 22:43:18 -04:00
Zack Piispanen
7fee8d786c
Fix logout to set group to the guest group, and temp to null. These seem to have been swapped on accident, and used the default group instead of guest.
2015-04-05 22:42:57 -04:00
Lucas Nicodemus
3e536a1aac
Small ad for survey
2015-04-05 19:24:30 -06:00
Zack Piispanen
aaf18626e0
Finish documentation and update the doc generation to include the new attributes. Yay~
2015-04-05 19:31:11 -04:00
Zack Piispanen
f60ec96888
Next block of documentation.
2015-04-05 19:13:24 -04:00
Zack Piispanen
2888bc5fe4
Add next block of documentation, change some names of the routes using verbs to better tell what that verb is used for.
2015-04-05 18:50:21 -04:00
Zack Piispanen
20e39f331f
More documentation, removed deprecated from one description because there are too many deprecated methods :(
2015-04-05 18:37:06 -04:00
Zack Piispanen
00f202c94c
Added next block of rest documentation.
2015-04-05 18:28:54 -04:00
Zack Piispanen
eeae66ed7e
Added rest documentation for the second set of rest calls.
2015-04-05 18:08:48 -04:00
Zack Piispanen
d04b2051b2
Change static readonly fields in RestManager to const, as a const is a static readonly field, and allows us to use them in the rest documentation attributes.
...
Added more documentation, as it might be useful to know what each argument is for, and what type it is expected to be.
Documented the first block of rest commands.
2015-04-05 17:44:27 -04:00
Zack Piispanen
9547dade6b
Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel
2015-04-04 01:46:54 -04:00
Zack Piispanen
05c127f20c
Add dumping of RestHandlers, to sorta maybe create a little documentation on a system we've never documented.
2015-04-04 01:40:30 -04:00
Lucas Nicodemus
7cd6db8d0c
$10 says we don't need postbuild.bat
2015-03-30 21:57:33 -06:00
Lucas Nicodemus
d8a8ba3be9
New version codename
2015-03-25 23:15:51 -06:00