Max Cantor
537bc8eccd
whitespace
2011-09-25 01:56:38 -04:00
Max Cantor
6734775620
remove trailing whitespace
2011-09-24 18:30:17 -04:00
Deathmax
5e9cfb2791
Prevent people from placing chests when the world's chest array is already full.
...
Prevents bugs with chests not properly working if placed after the array is full.
2011-09-16 19:58:59 +08:00
high
a4176947ae
Version Tick 3.3.3
2011-09-06 20:04:20 -04:00
high
ed7d280a1d
Updated binaries
...
Changed TilesDestroyed to reflect binary change.
2011-09-06 19:56:26 -04:00
high
839e308f5a
Fixed -ip null reference
2011-09-06 18:26:05 -04:00
Deathmax
51dd2749b7
Merge remote-tracking branch 'origin/general-devel' into general-devel
2011-09-06 18:42:34 +08:00
Deathmax
612b629a9b
Fixes TSDEV-129
...
Explicitly check for projectile exploit to kick/ban while ignoring other packets that can potentially crash clients.
2011-09-06 18:38:35 +08:00
high
81797667e9
Changed RestObject dictionary value to object so you can add things besides strings.
2011-09-06 01:23:49 -04:00
high
c72a80a51a
Merge branch 'general-devel-rest' into general-devel
2011-09-06 00:00:56 -04:00
high
1a9f4d43bc
Disable Rest by default
...
Version Tick
2011-09-05 23:57:38 -04:00
Lucas Nicodemus
cc0852383d
!!!IMPORTANT!!!
...
!!!!! READ THIS !!!!!
Changed default API port to 7878 (8080 is used by TCAdmin in a lot of cases, therefore it would fail dramatically).
2011-09-05 21:27:33 -06:00
high
da91d56513
Fixed geoip crashing on startup if geoip.dat is missing. Also fixed it crashing if you enable it without restarting tshock.
2011-09-05 22:07:51 -04:00
high
bedfc060e2
Changed Status/UserList to use linq and RestObject instead.
2011-09-05 21:52:41 -04:00
Lucas Nicodemus
ddd7329fbf
Removed trailing commas from the lists of users
2011-09-05 19:36:44 -06:00
high
310c1b2fbf
Fixed rest Dispose(bool)
2011-09-05 15:27:42 -04:00
high
7ae6910853
Endpoint registering '/ep' will no longer match '/ep/x'.
...
Trailing slashes removed. So '/ep/' will become '/ep'.
2011-09-05 15:06:08 -04:00
high
f949738db9
Added config options for RestApi
...
-IP now changes RestApi listening ip.
2011-09-05 14:33:37 -04:00
high
4b694c0c31
Moved classes out of Rest.cs into their own files.
2011-09-05 14:15:46 -04:00
high
b7fd7f1953
Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
2011-09-05 14:12:59 -04:00
high
07e88dc8a7
SafeSet/SafeGet replaced with this[]
2011-09-05 14:12:49 -04:00
Lucas Nicodemus
f87ff40260
Moved rest files around a bit
2011-09-05 12:09:23 -06:00
high
1cfca90b8d
Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
2011-09-05 14:05:33 -04:00
high
a0da52e558
Removed error constructor. Added response property.
2011-09-05 14:05:16 -04:00
Lucas Nicodemus
6090b26459
Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
2011-09-05 12:01:50 -06:00
Lucas Nicodemus
797bc90269
Refactor
2011-09-05 12:01:36 -06:00
high
89f5d13efb
Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
2011-09-05 13:59:18 -04:00
high
866a4c9932
Implemented RestObject to enforce status/error keys.
2011-09-05 13:59:07 -04:00
Lucas Nicodemus
cc60099091
STOP RETURNING "Error" and an error message people! You need an HTTP status code on EVERY response, preferably the FIRST response. All API result keys should be LOWER case!
2011-09-05 11:33:33 -06:00
darkunderdog
3ce3b05190
Fix: fixes random error messages for Warning, teleport failed. - Tested for 2 hours with 15 users.
2011-09-05 10:26:16 -05:00
Graham Cantin
c97ff36b73
Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
2011-09-05 06:25:03 -07:00
Graham Cantin
11a3ed7647
REST: Really shitty protection from nulls due to all parameters being optional in some cases. But it works, until someone can clean it up and i learn how to know better.
2011-09-05 06:24:07 -07:00
Deathmax
4162776972
Placed world methods into their own region
2011-09-05 20:43:50 +08:00
Deathmax
b0e27985b6
Added /world/meteor
...
Added /world/bloodmoon/{bool}
2011-09-05 20:41:05 +08:00
Deathmax
04b9fef4d1
Added /world/read
2011-09-05 20:27:05 +08:00
Graham Cantin
afff00b502
REST: ban creation, lookup by name or ip for ban info/delete
...
REST: There are no methods in banmanager to update bans, Update skipped.
2011-09-05 05:15:08 -07:00
Graham Cantin
34136cf3d5
Added ban info and destroy to RestManager.cs
2011-09-05 04:11:10 -07:00
Lucas Nicodemus
dc6ef8e059
Added /lists/players API endpoint.
2011-09-05 04:31:31 -06:00
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