Steven Hartland
b63cca0415
Merge pull request #406 from stevenh/6c636d4084e1a15d053652f1125c167a4b60b2d3
...
Refactored IQueryBuilder extracting common code into the GenericQueryCreator
2012-02-27 03:18:12 -08:00
Lucas Nicodemus
1072d23e33
Merge pull request #419 from TShock/new-docs
...
Added documentation
2012-02-26 19:10:32 -08:00
Lucas Nicodemus
4d796c727e
Pointing to .md.html files, this will allow generation to happen without any external copying.
2012-02-26 12:18:27 -07:00
Lucas Nicodemus
823871dac1
Added pandoc generator
2012-02-26 12:14:57 -07:00
Lucas Nicodemus
db4130db9e
Accidentally forgot to stage new files
2012-02-26 03:32:50 -07:00
Lucas Nicodemus
6527799ec0
Separated out all sections into smaller files for easier browsing :)
2012-02-26 03:31:22 -07:00
Lucas Nicodemus
c62bd442ec
Permissions now outputs a better markdown dump
2012-02-25 23:28:18 -07:00
Lucas Nicodemus
3befa63e30
Changed readme to be more effective
2012-02-25 23:25:11 -07:00
Lucas Nicodemus
01188a3c7a
Updated readme
2012-02-25 23:20:58 -07:00
Lucas Nicodemus
93798af513
Moved permissions to a seperate file
...
Added link back to the new permissions file
2012-02-25 23:20:04 -07:00
Lucas Nicodemus
06d4f4bc3d
Added the mythical second method for editing groups.
2012-02-25 23:14:12 -07:00
Lucas Nicodemus
97d86841b8
Added a link to the github page
2012-02-25 23:04:59 -07:00
Lucas Nicodemus
7dac821f17
Add readme for building the docs
2012-02-25 23:04:07 -07:00
Lucas Nicodemus
9ee0fdcc5d
Added links to various people that help out
2012-02-25 22:51:19 -07:00
Lucas Nicodemus
fc5d0413bf
Fixed closing remarks not linking right
...
Added anchor to credits
2012-02-25 22:42:26 -07:00
Lucas Nicodemus
8ace4079f1
Added a section on plugins
...
Added closing remarks/credits
2012-02-25 22:39:48 -07:00
Lucas Nicodemus
e10d9f546a
Added configuration file docs
...
Added permission documentation
2012-02-25 21:36:08 -07:00
Lucas Nicodemus
c8ba96f746
Reordered ToC around
2012-02-25 21:06:35 -07:00
Lucas Nicodemus
f807187d0b
Added basic usage.
2012-02-25 21:03:46 -07:00
Lucas Nicodemus
f7f2d2eb34
Added the initial installation instructions to the documentation.
2012-02-25 20:20:00 -07:00
Lucas Nicodemus
38fbf9bbed
Added new documentation, going to compile from Markdown to HTML and ship in the docs folder. Please don't edit this until I'm done styling it and have it ready for prime time.
...
Removed old changelog (wasn't maintained anyhow, or sent with the shipped product).
Removed old docs thing that pointed to the wiki (boo).
2012-02-25 20:02:54 -07:00
Lucas Nicodemus
c52727ecd0
Merge pull request #414 from stevenh/simple-fixes
...
Added compatibiliy shims for old method signatures
2012-02-24 18:43:53 -08:00
stevenh
b6b5a2f1ca
Added compatibiliy shims for old method signatures without which existing compiled plugins will error with missing method ...
...
This fixes #410
2012-02-24 11:37:43 +00:00
Steven Hartland
5db1de89a5
Merge pull request #408 from stevenh/sqlfix
...
Fixed resource leak in GetUser
2012-02-22 14:39:35 -08:00
stevenh
d813a60060
Fixed resource leak in GetUser fixes #404
...
Multiple user exception is now passed direct to the caller of GetUser instead of being wrapped
2012-02-22 16:09:40 +00:00
stevenh
6c636d4084
Refactored IQueryBuilder extracting common code into the GenericQueryCreator
...
Fixed MysqlQueryCreator UpdateValue generating invalid SQL fixes #400
2012-02-22 11:47:09 +00:00
Lucas Nicodemus
c7c38709b2
Merge pull request #403 from stevenh/general-devel
...
Converted all txt files to LF line endings
2012-02-21 14:57:00 -08:00
stevenh
41dbd31aac
Converted all files to LF line endings
2012-02-21 15:56:34 +00:00
Steven Hartland
8f36c966a0
Merge pull request #402 from stevenh/general-devel
...
Fixed missing SaveManager.cs from project file
2012-02-21 06:44:22 -08:00
stevenh
3890a82b0e
Fixed missing SaveManager.cs from project file fixes #401
2012-02-21 14:38:36 +00:00
Steven Hartland
d2cfccc9be
Merge pull request #399 from stevenh/general-devel
...
Server console can now kick and ban players regardless of the players immune permissions
2012-02-20 17:13:25 -08:00
stevenh
988bc4198b
Server either console can now kick and ban players regardless of the players immune permissions which fixes #391
...
Refactored Utils ForceKick to call Kick so we have one core method with all the logic in
Added missing params to docs for Kick and Ban
2012-02-21 01:07:41 +00:00
Steven Hartland
14377bea54
Merge pull request #398 from stevenh/general-devel
...
Fix for getting Mythical prefix by name fixes #374
2012-02-20 16:26:15 -08:00
stevenh
aeab6d9e45
Fix for getting Mythical prefix by name fixes #374
...
Also optimised processing so it only does one pass instead of two as well as minimising string manipulation functions
2012-02-21 00:19:50 +00:00
Steven Hartland
5e3aad8181
Merge pull request #397 from stevenh/general-devel
...
Refactored server stop and world save operations fixing race condition
2012-02-20 14:44:17 -08:00
stevenh
d34199b17d
Refactored server stop and world save operations fixing race conditions so as to ensure operations always happen in a predicable order. This fixes output not appearing in the console / log for example. This adds TShock.Utils.StopServer method used by IGA, rcon and the RestAPI.
...
Fixed console title set not working
Optimised command line parsing
Made Utils a singleton to enforce the fact that only one copy should ever exist
Added name to /v2/user/read output as users can be found by id
2012-02-20 22:31:16 +00:00
Steven Hartland
c774ef1229
Merge pull request #396 from stevenh/general-devel
...
Fixed GetUser not locating users by ID
2012-02-20 13:49:32 -08:00
stevenh
84789ff4d5
Fixed GetUser not locating users by ID and hence GetUserById not working either, fixes #395
2012-02-20 21:44:25 +00:00
Steven Hartland
779d40760b
Merge pull request #394 from stevenh/general-devel
...
Updated HttpServer to fix Connection: TE support
2012-02-20 03:17:09 -08:00
stevenh
a3e838c1ce
Updated HttpServer to latest head + a fix for Connection: TE which was causing all RestAPI calls from TE supporting clients to fail
2012-02-20 11:10:48 +00:00
Steven Hartland
22a0e4307e
Merge pull request #393 from stevenh/4c09e7b66ffae774c7033b2a68cf25a105ab6406
...
Fix negated permissions and permissions not applying instantly
2012-02-20 03:06:52 -08:00
stevenh
4c09e7b66f
Potential fix for #390 fixing the return of group.Permissions listing permissions as negated permissions
...
Added TotalPermissions method to get the combined total permissions as used for HasPermissions
Added totalpermissions to output of /v2/group/read output in RestAPI
2012-02-20 10:58:46 +00:00
stevenh
1bc785f398
Fixes #392 making user group changes take effect on active players instantly
2012-02-20 10:56:06 +00:00
k0rd
48c59a8914
Merge pull request #389 from k0rd/general-devel
...
support changing group and deleting usernames containing a DOT character
add gems and demonite to /genore command
2012-02-17 00:06:28 -08:00
k0rd
bc2fdf3eab
add gems and demonite to genore
2012-02-17 03:12:10 -05:00
k0rd
a79b346d3c
support group modification and deleting usernames containing a DOT (.)
2012-02-16 23:00:22 -05:00
Lucas Nicodemus
c93ecc6db4
Merge pull request #388 from stevenh/general-devel
...
RestAPI bug fix, new endpoints, cleanup & test suite
2012-02-16 05:54:01 -08:00
stevenh
a1d3132138
Added full test suite for RestAPI
2012-02-16 12:33:10 +00:00
stevenh
dee2c1a9f4
Refactored output processing to always return RestObject's
...
Refactored method names to be consistent with function e.g. Off -> ServerOff
Added new endpoints:-
/v2/server/status - Status query including player and rules matching common query tool requirements such as qstat. The json returned uses native types e.g. int's where possible
/v2/groups/list - Lists groups
/v2/groups/read - Query group detail
/v2/groups/destroy - Remove a group
/v2/groups/create - Create a group
/v2/players/list - Lists players including basic details
/v2/users/create - Create a user
/v2/users/list - Lists users basic user details applying a filter if specified.
Refactored missing parameter and error handling to use common utility methods RestError, RestMissingParam which ensures consistency across all functions and protects against null object references
Removed maxplayers from /status to ensure 100% compatibility, this and more details can be found in the new end point /v2/server/status
Protected against null names in user/activelist
Refactored variable checks to use string.IsNullOrWhiteSpace where applicable to capture errors early in the RestAPI
Added the ability to location users by "id" matching the underlying API.
Refactored locating players, bans & users to utility methods to ensure consitency across the api and eliminate duplicate code making for easier maintainence
NOTE: Duplicate and invalid DB entries currently can still be made if the DB format hasn't been updated to with missing unique and not null constaints
Removed { RequiresToken = true } from RestCommand constructors as this is the default anyway.
Optimised function calls so that tests are processed sequentially avoiding unnessasary operations in failure cases
Cleaned up formatting ensuring consistent line endings, indentation and single line if layout
Fixed ServerCommand duplicate key issue for multi line returns, now uses a single "response" string with embeded newlines
Fixed PlayerKill output using verb instead of parameters for "from" option
2012-02-16 12:03:08 +00:00
stevenh
c258406bcb
Added parameterless constructor for RestObject required for JavaScriptSerializer.Deserialize
2012-02-16 12:01:02 +00:00