Commit graph

3661 commits

Author SHA1 Message Date
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
White
24da389050 Re-added /status and added mute bool to /v3/players/read.
`/status` is now a root endpoint and will always point to `/v2/server/status` with an added `upgrade` field describing the route to the latest status endpoint.
Closes #1358. Closes #1348
2016-12-31 11:55:10 +10:30
White
4f7a15f9bf Ensures Netplay.ServerPassword is always empty.
This prevents an issue in which packets are sent in an unexpected order resulting in clients being unable to connect when a CLI-defined password is used.
A CLI-defined password will now override any TShock config-defined password.
2016-12-31 11:33:48 +10:30
White
36904b673f Submodule update 2016-12-31 11:30:32 +10:30
DogooFalchion
3075708c96 Fix for trap doors. Also add in protection in the tile conversion logic to not needless trigger sendtilesquare. Remove existing trapdoor bypass. 2016-12-29 21:51:58 -05:00
White
fa0d561a21 Merge pull request #1367 from DogooFalchion/fix_fishing
Document and fix the fishing quest count glitch in SSC.
2016-12-30 12:09:14 +10:30
DogooFalchion
4459a97fdf Document and fix the fishing quest count glitch in SSC. 2016-12-29 18:08:36 -05:00
Lucas Nicodemus
1982a2484d Merge pull request #1355 from DogooFalchion/rope_coils
Add rope coils and the ropes they place to the tile create exceptions.
2016-12-22 04:11:40 -07:00
Lucas Nicodemus
3a9dd32d2e Merge branch 'general-devel' into rope_coils 2016-12-22 04:06:52 -07:00
Rodrigo
94c19b6afd Merge pull request #1354 from DogooFalchion/general-devel
Fix Prefixes in the Forge not being correct.
2016-12-22 10:18:26 +00:00
DogooFalchion
0a1e831fba Add rope coils and the ropes they place to the tile create exceptions.
Fixes #1352
2016-12-21 21:16:00 -05:00
DogooFalchion
84a84bdf05 Remove todo reminder. 2016-12-21 20:44:42 -05:00
DogooFalchion
95c5129fa9 More SSC cleanup. 2016-12-21 20:43:09 -05:00
DogooFalchion
2236a5bb56 More SSC cleanup. Fixes prefix issues. 2016-12-21 20:39:27 -05:00
Lucas Nicodemus
06382bb449
Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel 2016-12-18 14:16:02 -07:00
Lucas Nicodemus
9c150e6ce1
Test commit 2016-12-18 14:15:43 -07:00