summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update submodules (#4727)peterbell102020-05-091-11/+11
| | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
* Using Super.Mattes D2020-04-161-4/+6
|
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-2/+2
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Removed UTF-8 BOM (#4033)Lukas Pioch2017-09-191-1/+1
|
* Update mbedtls to 2.5.1 (#3964)peterbell102017-08-301-9/+35
| | | | | | | | | | | | | | | | | | | | | | * Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target
* Add cUUID class (#3871)peterbell102017-08-251-127/+65
|
* Clang 5.0 fixesLukas Pioch2017-05-211-1/+1
| | | | | - Added override keyword - Removed inherited member variables
* Fixed problems in cBlockingSslClientSocket.Mattes D2015-12-301-2/+2
|
* Added GeoTrust Root Certificateworktycho2015-12-221-1/+24
|
* Added HTTPS links wherever they are supported.Alexander Harkness2015-12-191-27/+23
|
* Moved variables into scope, removed unused variables and fixed variablesLukas Pioch2015-12-171-2/+1
|
* Namechange to CuberiteMattes D2015-09-251-2/+2
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-3/+3
|
* Close Ssl Socket on destroyTiger Wang2015-05-231-1/+0
| | | | * Fixes #2072
* Added Equifax root CA.Mattes D2015-05-211-6/+31
| | | | | | Fixes #2076. Closes #2081. Ref.: #2072.
* Initial implementation of IniFile overloadingtycho2015-05-161-5/+5
|
* More style checking.Mattes D2015-05-091-2/+2
| | | | Spaces around some operators are checked.
* cMojangAPI: Fixed a possible problem with thread termination order.Mattes D2014-12-071-5/+17
|
* Merged IniFile into main MCS sources.Mattes D2014-10-231-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-8/+8
|
* cMojangAPI: Don't update data if server is in offline mode.Mattes D2014-10-171-2/+5
|
* cMojangAPI: Added periodical refreshes.Mattes D2014-10-061-19/+111
|
* Init RankMgr pointer to NULLworktycho2014-08-311-1/+2
|
* Merge pull request #1290 from mc-server/RanksMattes D2014-08-261-0/+19
|\ | | | | Rewriting permission system to use UUIDs and Ranks
| * cMojangAPI updates cRankManager's playernames.Mattes D2014-08-211-0/+19
| |
* | Type warning fixes.Mattes D2014-08-251-1/+1
| |
* | Fixed a type warning.Mattes D2014-08-251-2/+2
|/
* MojangAPI: Fixed PlayerNameToUUID().madmaxoft2014-08-041-1/+1
|
* Refactored case-conversion functions.madmaxoft2014-08-041-30/+22
| | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
* cMojangAPI: Added UUID-to-Name lookup.madmaxoft2014-08-031-42/+341
| | | | Also fixed the bindings, now all functions are static-like.
* Added cMojangAPI:GetUUIDFromPlayerName().madmaxoft2014-08-031-0/+28
| | | | This is a simpler way to ask for a single name -> uuid conversion.
* Removed trailing whitespace.madmaxoft2014-07-311-2/+2
|
* MojangAPI: Moved the settings to a separate ini section.madmaxoft2014-07-311-2/+2
|
* MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames().madmaxoft2014-07-311-2/+5
|
* MojangAPI: Renamed cache file to MojangAPI.sqlite.madmaxoft2014-07-301-2/+2
|
* MojangAPI: Clarified the UUID conversion code.madmaxoft2014-07-301-2/+13
|
* MojangAPI: Implemented UUID shortening and dashing.madmaxoft2014-07-301-7/+27
|
* Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft2014-07-301-0/+446
The cache is persisted into a SQLite DB file on server shutdown.