Zack Piispanen
b22457382e
remove unused using statements
2013-09-17 02:24:02 -04:00
Zack Piispanen
225668fcdd
Some small rest improvements. Use newest TServer binary.
2013-09-16 00:09:29 -04:00
Lucas Nicodemus
ae7ab5f234
Updated copyright information to point to 2013.
2013-08-22 21:51:17 -06:00
Lucas Nicodemus
9470e20423
Line ending normalization to CRLF (Windows)
2013-08-22 21:17:32 -06:00
CoderCow
f8fbe9b5da
Added config setting "RestUseNewPermissionModel" to allow switching between the REST permission models for backward compatibility.
2013-08-02 13:01:22 +02:00
CoderCow
0f34aa03e8
Moved all new REST endpoints to "/v3"as "/v2" was incompatible.
2013-08-02 13:01:12 +02:00
CoderCow
9a40c81b49
Fixed all REST endpoints to use RestObjects instead of Dictionaries.
2013-08-02 13:01:06 +02:00
CoderCow
4d95b5594e
-Added REST endpoint "/v2/token/destroy/all"
...
-Added command "/rest destroytokens", "/rest listusers"
2013-07-27 20:57:55 +02:00
CoderCow
d9ff9a6ac5
REST resolves the user's group on each request now.
2013-07-27 20:01:48 +02:00
CoderCow
125884cc4d
Fixed broken build due to last commit.
2013-07-26 00:28:49 +02:00
CoderCow
0ea83746cf
-Added REST per-endpoint permissions.
...
-Added REST endpoint "/v2/server/restart".
-Added REST endpoint "/v2/server/reload".
-Added REST endpoint "/v3/server/rawcmd", will output all returned lines as an array instead.
-Added "uptime", "serverpassword", "rules/ServerSideInventory" fields to REST endpoint "/v2/server/status".
-REST requests are now logged.
-Endpoint "/v2/server/rawcmd" does now check whether the user has the sufficient permission to execute the command.
-Fixed Config.EnableTokenEndpointAuthentication not working properly before.
-Removed obsolete "api" permission (only "restapi" now).
2013-07-25 19:52:12 +02:00
Lucas Nicodemus
8d5cdf04a8
Update copyright to reflect actual year date.
2012-04-24 12:45:46 -06:00
Lucas Nicodemus
7cfc73ea4d
Added -rest-token, which will allow command line creation of a REST token.
2012-02-04 20:09:18 -07:00
Lucas Nicodemus
5d61a56fcd
Add new REST endpoint:
...
- /v2/token/password?username={user}
TSHOCKPLUGINS-1 #resolve #time 5m #comment Deprecating old token create syntax, new endpoint added as a replacement.
2012-01-03 15:18:05 -07:00
Lucas Nicodemus
bf9d0137f1
Added any missing license headers to all files
2012-01-01 03:06:48 -07:00
Lucas Nicodemus
c6abbfe4d2
ReSharper code reformat to match naming conventions and stuff
2011-12-30 14:38:04 -07:00
Zidonuke
34efba9c1f
Changed hack detection to allow future permissions overrides, now prevents hack clients modding max hp while online.
2011-12-28 21:03:29 -05:00
high
a5550ad3f7
Fixed typo
2011-09-25 18:34:28 -04:00
high
f949738db9
Added config options for RestApi
...
-IP now changes RestApi listening ip.
2011-09-05 14:33:37 -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
Lucas Nicodemus
f87ff40260
Moved rest files around a bit
2011-09-05 12:09:23 -06:00