Tyler Watson
a102551588
System.Data.SQLite.Core support in GetSqlType()
...
GetSqlType() does not recognise System.Data.SQLite.Core because the type of the SQL connection class has been renamed to `SQLiteConnection` from `SqliteConnection`. This commit adds support for both, so that the DB manager classes can operate with plugins which reference the new SQLite ADO.net providers from NuGet.
2017-04-14 17:33:48 +10:00
Lucas Nicodemus
5183190745
Update Permissions to be more clear on SSI vs SSC
2017-04-12 12:50:16 -06:00
Chris
33178ad2b3
Merge pull request #1414 from deadsurgeon42/general-devel
...
Add banning user and ban date fields to ban info and list endpoints
2017-03-27 15:43:58 +10:30
Ruby Rose
787e5e0108
Update RestManager.cs
2017-03-19 19:52:20 +02:00
Ruby Rose
3dac79fcc6
Expand rest info
2017-03-19 20:49:48 +03:00
White
42c7a2b030
Resolved a bug in CommandLineParser,
...
which caused servers started with a single argumentless flag to not parse the flag.
Closes #1411
2017-03-19 10:06:45 +10:30
White
0bb704a845
Updated version ready for release
2017-03-13 12:18:11 +10:30
White
c4a3a9fb67
Updated Copyright for 2017
2017-03-13 12:17:16 +10:30
White
96e855d578
Null check for values in HandlePlayerUpdate.
...
Might resolve #1405 .
2017-03-13 12:12:48 +10:30
White
2c7eb16f93
Updated the changelog
2017-03-13 12:04:04 +10:30
White
90505435ba
Improved NPC spawning functionality via /sm.
...
Display names can now be used to find NPCs.
Spawning by ID should now spawn unique NPCs, when multiple NPCs share the same name.
Closes #1383
2017-03-13 12:00:46 +10:30
White
86c180c156
Spawning items by ID now actually uses the ID properly.
...
Fixes #1398
2017-03-13 11:45:32 +10:30
White
fc7460c7d5
Added and implemented a basic command-line parser.
...
This replaces the switch-case in HandleCommandLine and HandleCommandLinePostConfigLoad
2017-03-13 11:43:41 +10:30
Chris
047f9e7475
Merge pull request #1408 from Simon311/general-devel
...
Fix a client crash exploit
2017-03-11 20:52:05 +10:30
Simon311
54f6bb3a7e
Fix a client crash exploit
2017-03-11 06:08:13 +03:00
White
b3a2b24daa
Updated the Stat Tracker to use System.Net.Http types.
...
Very similar to the previous Update Manager changes. The stat tracker now uses asynchronous threaded calls and manages exceptions better
2017-03-06 21:35:14 +10:30
White
26a5b00567
Updated Utils.HasBanExpired to use new Ban fields
2017-02-21 22:21:28 +10:30
White
3989f0e21a
Ban.BanDateTime and Ban.ExpirationDateTime are now nullable, in case of bad bans.
...
Ban sorting now uses an IComparer<Ban> to do its dirty work.
2017-02-21 22:18:41 +10:30
White
b0d9407f52
Fixed tabbing in Utils.HasBanExpired
2017-02-21 21:43:19 +10:30
White
3ec7cb1d09
Renamed Ban.DateTime to Ban.BanDateTime because System.DateTime is a thing
...
Ban.BanDateTime and Ban.ExpirationDateTime are now actually set
2017-02-21 21:42:50 +10:30
White
c3cffd1559
BanManager.cs now consistently uses tabs
2017-02-21 21:17:31 +10:30
White
ebc188a826
Changelog addition
2017-02-21 16:41:08 +10:30
White
dba89e45c8
Added sorting to ban retrieval.
...
Default retrieval sorts bans by the date they were added, from newest to oldest.
Progress on #1400
2017-02-21 16:40:59 +10:30
White
ea1d3c818f
Fixed a typo in /v3/world/bloodmoon
...
Because apparently bloomoons aren't a thing.
Fixes #1401
2017-02-20 16:09:31 +10:30
White
b7003f0723
Merge pull request #1396 from mistzzt/add-evil-option
...
Add Evil Type option during world creation
2017-02-17 00:50:32 +10:30
Zt Wang
74f98ff555
Update changelog
2017-02-16 12:33:33 +08:00
Zt Wang
6446cdc2b6
Remove redundant codes
2017-02-15 21:13:20 +08:00
Zt Wang
fa6b5845f0
Add Evil Type option during world creation
2017-02-15 18:42:53 +08:00
Lucas Nicodemus
e2d52a4cb6
Merge pull request #1394 from mistzzt/fix-itemdrop
...
Fix inaccurate document and add TSPlayer property for ItemDropEventArgs
2017-02-13 07:14:06 -07:00
Zt Wang
1c8d49870e
Fix inaccurate summary and add TSPlayer for ItemDropEventArgs
2017-02-13 16:41:38 +08:00
White
e3a8112b5b
REST updates.
...
Rest.cs got a lot of commenting at last.
Redirects and upgrades can now be easily added for REST routes via the `Rest.RegisterRedirect(base, target, upgrade)` method.
Redirects added for all routes. Upgrades added for `/world/bloodmoon` and `/v2/world/autosave`, as they both use old-style REST verbs.
2017-02-02 14:28:35 +10:30
White
9d4ced58b9
Remove an oversight relating to REST token management
2017-02-02 00:23:12 +10:30
White
982ab7d1ef
Lets try that again
2017-01-31 11:30:59 +10:30
White
75438dcdf8
Changelog update
2017-01-31 11:28:14 +10:30
White
26010c0acf
Updated REST to use an RNGCryptoServiceProvider for more secure random numbers involved in token generation.
...
Also removes some unnecessary limitations.
Closes #1388
2017-01-31 11:25:59 +10:30
White
94fb0e18b7
Deprecated the RESTLimitOnlyFailedLoginRequests config option
2017-01-31 11:23:52 +10:30
White
cda84590cd
Merge pull request #1382 from DogooFalchion/fix_campfire
...
Add campfire to the orientable tiles list.
2017-01-20 12:15:44 +10:30
DogooFalchion
6fb6098acf
Add campfire to the orientable tiles list.
2017-01-19 19:10:53 -05:00
White
ad15904df5
Submodule update
2017-01-17 16:15:08 +10:30
White
0ba826e1fd
bandaid fix for invalid indexes in OnLeave
2017-01-17 16:13:30 +10:30
White
fe670bc18f
Fix for null reference exceptions from REST
2017-01-11 19:42:38 +10:30
Lucas Nicodemus
f264e2b060
Add parity in REST /world/meteor with /dropmeteor functionality
...
See #1361
It looks like we're setting spawnMeteor before executing WorldGen.dropMeteor()
in the command but not in the REST API. This makes the two code paths
behave the same.
2017-01-10 13:17:31 -07:00
White
c0a679b3f3
Forgot csproj
2017-01-06 13:57:02 +10:30
White
51b796cf47
Updated the UpdateManager.
...
It now performs all its web requests asynchronously and does a better job of explaining errors it encounters without plastering red Exception messages on the console.
2017-01-06 13:30:24 +10:30
White
06f813c203
Release procedure
2017-01-03 21:51:50 +10:30
White
16df7dc1e8
Submodule update + Changelog update
2017-01-03 21:48:20 +10:30
White
43270a4c1a
Update CHANGELOG.md
2017-01-02 22:11:36 +10:30
White
ab9175234b
Merge pull request #1368 from DogooFalchion/fix_trapdoors
...
Fix for trap doors.
2017-01-02 22:05:46 +10:30
White
d864acd22f
Merge branch 'general-devel' into fix_trapdoors
2017-01-02 22:03:32 +10:30
White
6359dad213
AllowCutTilesAndBreakables option works better now.
...
Herbs, vines, flowers can be cut inside regions if the option is enabled.
Any action that would also break a wall is still ignored.
Closes #1334
2016-12-31 12:57:16 +10:30