Commit graph

  • 4162776972 Placed world methods into their own region Deathmax 2011-09-05 20:41:16 +08:00
  • b0e27985b6 Added /world/meteor Added /world/bloodmoon/{bool} Deathmax 2011-09-05 20:41:05 +08:00
  • 04b9fef4d1 Added /world/read Deathmax 2011-09-05 20:27:05 +08:00
  • 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. Graham Cantin 2011-09-05 05:15:08 -07:00
  • 34136cf3d5 Added ban info and destroy to RestManager.cs Graham Cantin 2011-09-05 04:11:10 -07:00
  • dc6ef8e059 Added /lists/players API endpoint. Lucas Nicodemus 2011-09-05 04:31:31 -06:00
  • 06462af4aa Test complete Lucas Nicodemus 2011-09-05 03:56:08 -06:00
  • 81e605872d test Lucas Nicodemus 2011-09-05 03:55:38 -06:00
  • 34b3252a31 Added /users/update/{user} endpoint Lucas Nicodemus 2011-09-05 03:54:24 -06:00
  • 017bbbca89 Fixed some wrong class names. Lucas Nicodemus 2011-09-05 03:32:42 -06:00
  • 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. Lucas Nicodemus 2011-09-05 03:31:14 -06:00
  • 82be1eee1a Added /users/{user}/info endpoint. Added /users/{user}/destroy endpoint. Really added endpoint. Lucas Nicodemus 2011-09-05 02:55:43 -06:00
  • 5192c07d6d Added endpoint /token/destroy/{token} Lucas Nicodemus 2011-09-05 02:31:37 -06:00
  • 17683eaeaa API now checks user credentials before granting tokens. Added new permission - 'api' that allows the group access to using the API. Lucas Nicodemus 2011-09-05 02:12:36 -06:00
  • 839ce793c7 Examples no longer require tokens Lucas Nicodemus 2011-09-05 01:42:37 -06:00
  • 3e961b32ab Removed dumb outputs that don't work. Lucas Nicodemus 2011-09-05 01:39:40 -06:00
  • 1fa5c7236e All API requests now respond with a predictable template, for further troubleshooting. Lucas Nicodemus 2011-09-05 01:37:56 -06:00
  • e4030d9e38 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest Lucas Nicodemus 2011-09-05 01:03:20 -06:00
  • 60462dddfc request parameter was removed high 2011-09-05 02:46:22 -04:00
  • c761486aa0 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest high 2011-09-05 02:45:19 -04:00
  • 1fe7284f7c Added SecureRest which implements token requirement for commands. Still must implement a Verify function and probably change SecureRest around a bit. high 2011-09-05 02:44:46 -04:00
  • 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 Lucas Nicodemus 2011-09-05 00:30:19 -06:00
  • ce8d12b27f Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest Lucas Nicodemus 2011-09-05 00:00:08 -06:00
  • 319f369799 Added example for how all additional endpoints should respond in regards to success and failure. Added example endpoint that demonstrates rest verbs. Lucas Nicodemus 2011-09-04 23:59:44 -06:00
  • 734b11681f Updated binaries high 2011-09-05 01:58:07 -04:00
  • 332fe805a9 != should be == high 2011-09-05 01:44:46 -04:00
  • 7cfc219794 RestApi back to Rest, added separate RestManager field. high 2011-09-05 01:17:54 -04:00
  • 595efa4d41 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest high 2011-09-05 01:14:24 -04:00
  • f087ae5c83 IP/Port can now be changed before started. RestVerbs added instead of Dictionary<string,string> high 2011-09-05 01:11:08 -04:00
  • d7012bd094 Reworked a lot of how REST works Lucas Nicodemus 2011-09-04 23:06:43 -06:00
  • d824e71507 Added rest {verb} support high 2011-09-05 00:48:05 -04:00
  • fea3be69f5 Fixed serializing wrong object. Error is now serialized too. high 2011-09-05 00:02:01 -04:00
  • e9c3363313 Now instead outputs json serialized objects. high 2011-09-04 23:50:35 -04:00
  • 59a2fcd62e Added Rest example high 2011-09-04 23:43:39 -04:00
  • 6459a7e364 binaries added high 2011-09-04 22:26:31 -04:00
  • a14299ee32 Fixing RCOn Lucas Nicodemus 2011-09-04 20:20:52 -06:00
  • e8f1193582 Merge branch 'general-devel-mono' into general-devel Lucas Nicodemus 2011-09-04 17:16:51 -06:00
  • 5939c3256a Enabled RCON. Lucas Nicodemus 2011-09-04 17:05:01 -06:00
  • 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. high 2011-09-04 11:50:18 -04:00
  • ceec0be924 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Lucas Nicodemus 2011-09-03 22:38:09 -06:00
  • 10167df4ef RCONNNNNN Lucas Nicodemus 2011-09-03 22:37:47 -06:00
  • 93393dec99 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel-mono high 2011-09-03 21:06:20 -04:00
  • 4a1f944caf Added /sendwarp command - You are now able to send people to a specific warp. darkunderdog 2011-09-03 20:03:23 -05:00
  • 920fabaa7e Fixed TSDEV-117 high 2011-09-03 15:16:36 -04:00
  • 78fa7ab42f Merge branch 'general-devel' of github.com:TShock/TShock into general-devel-mono high 2011-09-03 14:55:21 -04:00
  • 9382431e72 Fixed TSDEV-117 high 2011-09-03 14:53:50 -04:00
  • c31eeb1c6c VERSION TICK 3.3 Preparing to launch, need to merge to master. Lucas Nicodemus 2011-09-03 00:24:25 -06:00
  • 7a57a8073c Added method for region SINCE THE FUCKING UNIT TESTS RELIED ON IT AND NO ONE FUCKING FIXED IT Zack Piispanen 2011-09-03 02:13:19 -04:00
  • 301a6dfadd Attempting to fix UnitTests/RegionManagerTest.orderedtest Lucas Nicodemus 2011-09-02 23:59:04 -06:00
  • 1547a06ed6 Fixed everything Lucas Nicodemus 2011-09-02 23:44:04 -06:00
  • d5943c94d8 Project file was missing a file from merge. Deathmax 2011-09-03 13:30:43 +08:00
  • b31a84cdd2 Merge remote-tracking branch 'remotes/origin/general-devel-mono' into general-devel Lucas Nicodemus 2011-09-02 23:23:23 -06:00
  • 442a5b4202 Stuff Lucas Nicodemus 2011-09-02 23:21:01 -06:00
  • b0f5a49ec2 Spawn plants at ground level (thanks RogerPaladin) Deathmax 2011-09-03 09:32:13 +08:00
  • eab82a2cb1 Fix projectile exploit detection (please test for false positives when using Harpoon) Deathmax 2011-09-03 09:31:41 +08:00
  • 65b323f004 Don't force Hardcore players to spawn, they are supposed to be ghosts. Deathmax 2011-09-03 08:01:58 +08:00
  • 44e4199dcb Attempt to satisfy some of the requirements of growing things Deathmax 2011-09-02 20:44:02 +08:00
  • 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) Deathmax 2011-09-02 12:28:19 +08:00
  • 3f40437d4b Added /grow Deathmax 2011-09-02 11:35:35 +08:00
  • 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. Deathmax 2011-09-02 09:03:42 +08:00
  • a31432e3f5 updated binary high 2011-08-30 09:07:17 -04:00
  • c6e62a2225 update api version attribute high 2011-08-30 08:44:28 -04:00
  • 21ac8a4a0e Removed XNA dependencies high 2011-08-30 08:36:34 -04:00
  • 8bb8114223 Fixed not setting kill when disconnecting a client. Handling the disconnect packet makes Terraria not set ServSocket.kill. high 2011-08-24 22:22:57 -04:00
  • 6b8dea306c Updated /additem and /delitem to work if name isn't an exact match darkunderdog 2011-08-24 23:50:54 -05:00
  • ecb57f15c9 Add Console Info For Bans and Kicks darkunderdog 2011-08-24 21:48:27 -05:00
  • 01e6f32734 Added Showing Kicked Info In Console. darkunderdog 2011-08-23 23:36:10 -05:00
  • cf9157bc94 Changed how abuse of TileGetSection is handled. (2nd request will cause a kick) - Thanks Lycaonj and UndeadMiner. Deathmax 2011-08-22 19:16:27 +08:00
  • a6132a31a2 Allow users to ban custom items Deathmax 2011-08-22 18:47:28 +08:00
  • 9fed5338a4 Merge commit '48ef0ee1a5' into general-devel Deathmax 2011-08-21 22:38:04 +08:00
  • 00c2023c15 Changed /annoy to use a simpler method than whoopie cushions. Deathmax 2011-08-21 22:36:42 +08:00
  • 48ef0ee1a5 Updated /region name to tell you if region is not protected darkunderdog 2011-08-21 02:36:18 -05:00
  • 1c394c9037 Limit buff time to short's maximum value. Deathmax 2011-08-21 12:19:34 +08:00
  • 8ec358d99f Added /gbuff - buff other players Deathmax 2011-08-21 12:15:15 +08:00
  • c776f2c06e add time argument to /buff Deathmax 2011-08-21 11:48:25 +08:00
  • a9a153ddb6 Fixed AddRegion returning false when the region does not exist. high 2011-08-20 18:16:33 -04:00
  • d1fe086124 Missing another null check. high 2011-08-20 13:07:58 -04:00
  • 625bab753b Fixed getRegion not returning null (functions using it were expecting null too) Disabled noclip check. (general-devel is not general-test) Added null check to /region info (Don't commit shit that you know is broken) high 2011-08-20 13:04:24 -04:00
  • 05f0e9d717 bounds check for noclip detection Deathmax 2011-08-21 00:47:39 +08:00
  • 96ea583264 Noclip detection now uses the tile blacklist. Deathmax 2011-08-21 00:27:07 +08:00
  • 85f1ba6643 Force respawn after death. (prevents some forms of invisibility) Deathmax 2011-08-20 20:45:19 +08:00
  • 8b59e1c525 Kick on KANNIBALE specific items. Deathmax 2011-08-20 20:22:17 +08:00
  • 67f8760ba3 Prevent repeated requests for sections. (patches KANNIBALE's .ddos command) Deathmax 2011-08-20 20:09:11 +08:00
  • eb88dc8924 Basic noclip detection (high chance of false positives, only text warning atm) Deathmax 2011-08-20 17:33:58 +08:00
  • fd26ed0fb1 Merge commit 'e3dc989387' into general-devel Deathmax 2011-08-20 12:15:56 +08:00
  • 2c1c75db2b Add /buff <buff id/name> Deathmax 2011-08-20 12:14:49 +08:00
  • e3dc989387 Fixed #86 RegionManager now returns false on GetRegionByName if the region already exists in the database. Fixed coding convention fuckup ReSharper code cleanup Lucas Nicodemus 2011-08-19 21:35:56 -06:00
  • 2cdb9dc953 Adding /region info -- needs further protection from nulls Graham Cantin 2011-08-19 02:50:59 -07:00
  • 6101046961 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Graham Cantin 2011-08-18 22:13:59 -07:00
  • b139013285 fixed managegroup permission Graham Cantin 2011-08-18 22:13:34 -07:00
  • f618c88c0e Capped npc spawn commands(1000, Terrarias limit). To prevent people from pointlessly spawning 1000000. high 2011-08-18 23:46:52 -04:00
  • 2f0b2951f0 tidied the wall of commands a little high 2011-08-18 22:12:07 -04:00
  • ff102f7ea9 Fixed debugreg having the wrong permission high 2011-08-18 21:56:41 -04:00
  • 3ce05162cd Added permissions description dump high 2011-08-18 21:56:15 -04:00
  • b06ec57819 Permission magic strings removed high 2011-08-18 21:10:39 -04:00
  • fc03e72c77 Forgot to handle disconnect messages. Fixed GetIPv4Address throwing socket exception high 2011-08-18 20:04:16 -04:00
  • dcadec30de Improved buffering slightly. Disconnect messages are no longer buffered. (Fixes disconnect messages not being received) high 2011-08-18 19:55:12 -04:00
  • 7b58100546 Fixed issue of the client being killed before receiving the disconnect message. high 2011-08-17 21:45:41 -04:00
  • 4dae27001c Regions can now be defined in any direction. Fixed column names are now in the insert. This should fix any weirdness with column order. high 2011-08-17 18:21:32 -04:00
  • f90b530531 Parents now implemented correctly as a separate column. Negate permissions now work again. high 2011-08-17 17:19:56 -04:00