summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-09Update submodules (#4727)peterbell101-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.
2020-04-16Using Super.Mattes D1-4/+6
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-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.
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+0
Add check for number of empty lines between functions and fix the corresponding failures
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell101-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
2017-08-25Add cUUID class (#3871)peterbell101-127/+65
2017-05-21Clang 5.0 fixesLukas Pioch1-1/+1
- Added override keyword - Removed inherited member variables
2015-12-30Fixed problems in cBlockingSslClientSocket.Mattes D1-2/+2
2015-12-22Added GeoTrust Root Certificateworktycho1-1/+24
2015-12-19Added HTTPS links wherever they are supported.Alexander Harkness1-27/+23
2015-12-17Moved variables into scope, removed unused variables and fixed variablesLukas Pioch1-2/+1
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-2/+2
2015-09-25Namechange to CuberiteMattes D1-2/+2
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-3/+3
2015-05-23Close Ssl Socket on destroyTiger Wang1-1/+0
* Fixes #2072
2015-05-21Added Equifax root CA.Mattes D1-6/+31
Fixes #2076. Closes #2081. Ref.: #2072.
2015-05-16Initial implementation of IniFile overloadingtycho1-5/+5
2015-05-09More style checking.Mattes D1-2/+2
Spaces around some operators are checked.
2014-12-07cMojangAPI: Fixed a possible problem with thread termination order.Mattes D1-5/+17
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-8/+8
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-8/+8
2014-10-17cMojangAPI: Don't update data if server is in offline mode.Mattes D1-2/+5
2014-10-06cMojangAPI: Added periodical refreshes.Mattes D1-19/+111
2014-08-31Init RankMgr pointer to NULLworktycho1-1/+2
2014-08-25Type warning fixes.Mattes D1-1/+1
2014-08-25Fixed a type warning.Mattes D1-2/+2
2014-08-21cMojangAPI updates cRankManager's playernames.Mattes D1-0/+19
2014-08-04MojangAPI: Fixed PlayerNameToUUID().madmaxoft1-1/+1
2014-08-04Refactored case-conversion functions.madmaxoft1-30/+22
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
2014-08-03cMojangAPI: Added UUID-to-Name lookup.madmaxoft1-42/+341
Also fixed the bindings, now all functions are static-like.
2014-08-03Added cMojangAPI:GetUUIDFromPlayerName().madmaxoft1-0/+28
This is a simpler way to ask for a single name -> uuid conversion.
2014-07-31Removed trailing whitespace.madmaxoft1-2/+2
2014-07-31MojangAPI: Moved the settings to a separate ini section.madmaxoft1-2/+2
2014-07-31MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames().madmaxoft1-2/+5
2014-07-30MojangAPI: Renamed cache file to MojangAPI.sqlite.madmaxoft1-2/+2
2014-07-30MojangAPI: Clarified the UUID conversion code.madmaxoft1-2/+13
2014-07-30MojangAPI: Implemented UUID shortening and dashing.madmaxoft1-7/+27
2014-07-30Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft1-0/+446
The cache is persisted into a SQLite DB file on server shutdown.