Commit graph

1066 commits

Author SHA1 Message Date
Lucas Nicodemus
06462af4aa Test complete 2011-09-05 03:56:08 -06:00
Lucas Nicodemus
81e605872d test 2011-09-05 03:55:38 -06:00
Lucas Nicodemus
34b3252a31 Added /users/update/{user} endpoint 2011-09-05 03:54:24 -06:00
Lucas Nicodemus
017bbbca89 Fixed some wrong class names. 2011-09-05 03:32:42 -06:00
Lucas Nicodemus
a90c4e85a1 Added /users/update/{user} with params:
- password (should be sha512) (this should really be improved, but currently its all we've got)
 - group
Refactored a lot of the return blocks to fit coding style.
2011-09-05 03:31:40 -06:00
Lucas Nicodemus
82be1eee1a Added /users/{user}/info endpoint.
Added /users/{user}/destroy endpoint.
Really added endpoint.
2011-09-05 02:56:37 -06:00
Lucas Nicodemus
5192c07d6d Added endpoint /token/destroy/{token} 2011-09-05 02:31:37 -06:00
Lucas Nicodemus
17683eaeaa API now checks user credentials before granting tokens.
Added new permission - 'api' that allows the group access to using the API.
2011-09-05 02:12:36 -06:00
Lucas Nicodemus
839ce793c7 Examples no longer require tokens 2011-09-05 01:42:37 -06:00
Lucas Nicodemus
3e961b32ab Removed dumb outputs that don't work. 2011-09-05 01:39:40 -06:00
Lucas Nicodemus
1fa5c7236e All API requests now respond with a predictable template, for further troubleshooting. 2011-09-05 01:37:56 -06:00
Lucas Nicodemus
e4030d9e38 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
Conflicts:
	TShockAPI/RestManager.cs
Fixed /status returning a 500
2011-09-05 01:03:20 -06:00
high
60462dddfc request parameter was removed 2011-09-05 02:46:22 -04:00
high
c761486aa0 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest 2011-09-05 02:45:19 -04:00
high
1fe7284f7c Added SecureRest which implements token requirement for commands. Still must implement a Verify function and probably change SecureRest around a bit. 2011-09-05 02:44:46 -04:00
Lucas Nicodemus
92d940e5dc Added startup/shutdown messages to Rest, for troubleshooting bad configuration settings.
Added server nickname configuration option, to be returned in the /status API endpoint
Added configuration option for disabling the /check API endpoint in the event that users don't like that.
Added /status API endpoint
2011-09-05 00:30:46 -06:00
Lucas Nicodemus
319f369799 Added example for how all additional endpoints should respond in regards to success and failure.
Added example endpoint that demonstrates rest verbs.
2011-09-04 23:59:44 -06:00
high
332fe805a9 != should be == 2011-09-05 01:44:46 -04:00
high
7cfc219794 RestApi back to Rest, added separate RestManager field. 2011-09-05 01:17:54 -04:00
high
595efa4d41 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
Conflicts:
	TShockAPI/TShock.cs
2011-09-05 01:14:24 -04:00
high
f087ae5c83 IP/Port can now be changed before started.
RestVerbs added instead of Dictionary<string,string>
2011-09-05 01:11:08 -04:00
Lucas Nicodemus
d7012bd094 Reworked a lot of how REST works 2011-09-04 23:06:43 -06:00
high
d824e71507 Added rest {verb} support 2011-09-05 00:48:05 -04:00
high
fea3be69f5 Fixed serializing wrong object.
Error is now serialized too.
2011-09-05 00:02:01 -04:00
high
e9c3363313 Now instead outputs json serialized objects. 2011-09-04 23:50:35 -04:00
high
59a2fcd62e Added Rest example 2011-09-04 23:43:39 -04:00
Lucas Nicodemus
a14299ee32 Fixing RCOn 2011-09-04 20:20:52 -06:00
Lucas Nicodemus
5939c3256a Enabled RCON. 2011-09-04 17:05:01 -06:00
high
7b23669e2f Do not enable RconHandler unless you fix it up. Remember, general-devel is not for incomplete features.
Also you were late on that PostInit fix.

Revert "RCONNNNNN"

This reverts commit 10167df4ef.
2011-09-04 11:50:18 -04:00
Lucas Nicodemus
ceec0be924 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2011-09-03 22:38:09 -06:00
Lucas Nicodemus
10167df4ef RCONNNNNN 2011-09-03 22:37:47 -06:00
darkunderdog
4a1f944caf Added /sendwarp command - You are now able to send people to a specific warp. 2011-09-03 20:03:23 -05:00
high
920fabaa7e Fixed TSDEV-117
Conflicts:

	TShockAPI/Properties/AssemblyInfo.cs
2011-09-03 15:16:36 -04:00
Lucas Nicodemus
c31eeb1c6c VERSION TICK 3.3
Preparing to launch, need to merge to master.
2011-09-03 00:24:25 -06:00
Zack Piispanen
7a57a8073c Added method for region SINCE THE FUCKING UNIT TESTS RELIED ON IT AND NO ONE FUCKING FIXED IT
Region unit tests work again.
2011-09-03 02:13:19 -04:00
Lucas Nicodemus
301a6dfadd Attempting to fix UnitTests/RegionManagerTest.orderedtest 2011-09-02 23:59:04 -06:00
Lucas Nicodemus
1547a06ed6 Fixed everything 2011-09-02 23:44:04 -06:00
Deathmax
d5943c94d8 Project file was missing a file from merge. 2011-09-03 13:30:43 +08:00
Lucas Nicodemus
b31a84cdd2 Merge remote-tracking branch 'remotes/origin/general-devel-mono' into general-devel
Conflicts:
	TShockAPI/Properties/AssemblyInfo.cs
	TShockAPI/TShockAPI.csproj
2011-09-02 23:23:23 -06:00
Lucas Nicodemus
442a5b4202 Stuff 2011-09-02 23:21:01 -06:00
Deathmax
b0f5a49ec2 Spawn plants at ground level (thanks RogerPaladin) 2011-09-03 09:32:13 +08:00
Deathmax
eab82a2cb1 Fix projectile exploit detection (please test for false positives when using Harpoon) 2011-09-03 09:31:41 +08:00
Deathmax
65b323f004 Don't force Hardcore players to spawn, they are supposed to be ghosts. 2011-09-03 08:01:58 +08:00
Deathmax
44e4199dcb Attempt to satisfy some of the requirements of growing things 2011-09-02 20:44:02 +08:00
Deathmax
9ed5f7a2f5 Added geoip support.
(grab the database from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz and dump it in the tshock folder)
2011-09-02 12:28:19 +08:00
Deathmax
3f40437d4b Added /grow 2011-09-02 11:35:35 +08:00
Deathmax
903c9b4154 /buff commands now take seconds instead of number of frames (60 in 1 second)
Fix buff commands not using time argument when using numerical IDs.
2011-09-02 09:03:42 +08:00
high
c6e62a2225 update api version attribute 2011-08-30 08:44:28 -04:00
high
21ac8a4a0e Removed XNA dependencies 2011-08-30 08:36:34 -04:00
high
8bb8114223 Fixed not setting kill when disconnecting a client. Handling the disconnect packet makes Terraria not set ServSocket.kill. 2011-08-24 22:22:57 -04:00