Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Class and Function Identifier Macro (#5481) | x12xx12x | 2023-05-29 | 1 | -3/+3 |
| | | | | | This adds a Macro which simply identifies the function and class name for error messages. Examples taken from the MojangAPI class [Choosen because I worked on that] processing is done during compile time. Should be cross compatible | ||||
* | MojangAPI: Removed an unused TLS root CA. | Mattes D | 2023-05-19 | 1 | -24/+1 |
| | |||||
* | cTCPLink and cUrlClient accept list of trusted root CAs for TLS. | Mattes D | 2023-05-19 | 1 | -17/+106 |
| | |||||
* | Auth SSL Fixes | x12xx12x | 2023-05-19 | 1 | -249/+27 |
| | | | | | | | - Fixed Login Breaking bug - Auth and MojangAPI now use UrlClient - fixed bug in UrlClient where one letter was missing in the HTTP Header - added function to verify Urls from config files and error handling on bad Urls in config for Auth | ||||
* | Removed all Printf-family functions from StringUtils. | Mattes D | 2023-05-16 | 1 | -1/+1 |
| | | | | | Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code. | ||||
* | MojangAPI: Update certificates (#5456) | Tiger Wang | 2022-11-18 | 1 | -94/+71 |
| | | | | | | | | * MojangAPI: Update certificates * Fixes 2115 (again). * Fixes #4832. * 🌺 | ||||
* | Use more URL-Encoding when sending API requests. | Alexander Harkness | 2021-08-23 | 1 | -1/+1 |
| | |||||
* | Fix Windows XP to 7 compatibility (#5167) | Tiger Wang | 2021-03-28 | 1 | -1/+1 |
| | | | | | * Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API | ||||
* | Update submodules (#4727) | peterbell10 | 2020-05-09 | 1 | -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 D | 2020-04-16 | 1 | -4/+6 |
| | |||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -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) | peterbell10 | 2018-07-26 | 1 | -1/+0 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2017-08-30 | 1 | -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) | peterbell10 | 2017-08-25 | 1 | -127/+65 |
| | |||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 1 | -1/+1 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | Fixed problems in cBlockingSslClientSocket. | Mattes D | 2015-12-30 | 1 | -2/+2 |
| | |||||
* | Added GeoTrust Root Certificate | worktycho | 2015-12-22 | 1 | -1/+24 |
| | |||||
* | Added HTTPS links wherever they are supported. | Alexander Harkness | 2015-12-19 | 1 | -27/+23 |
| | |||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -2/+1 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 1 | -2/+2 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -3/+3 |
| | |||||
* | Close Ssl Socket on destroy | Tiger Wang | 2015-05-23 | 1 | -1/+0 |
| | | | | * Fixes #2072 | ||||
* | Added Equifax root CA. | Mattes D | 2015-05-21 | 1 | -6/+31 |
| | | | | | | Fixes #2076. Closes #2081. Ref.: #2072. | ||||
* | Initial implementation of IniFile overloading | tycho | 2015-05-16 | 1 | -5/+5 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | | | | Spaces around some operators are checked. | ||||
* | cMojangAPI: Fixed a possible problem with thread termination order. | Mattes D | 2014-12-07 | 1 | -5/+17 |
| | |||||
* | Merged IniFile into main MCS sources. | Mattes D | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -8/+8 |
| | |||||
* | cMojangAPI: Don't update data if server is in offline mode. | Mattes D | 2014-10-17 | 1 | -2/+5 |
| | |||||
* | cMojangAPI: Added periodical refreshes. | Mattes D | 2014-10-06 | 1 | -19/+111 |
| | |||||
* | Init RankMgr pointer to NULL | worktycho | 2014-08-31 | 1 | -1/+2 |
| | |||||
* | Merge pull request #1290 from mc-server/Ranks | Mattes D | 2014-08-26 | 1 | -0/+19 |
|\ | | | | | Rewriting permission system to use UUIDs and Ranks | ||||
| * | cMojangAPI updates cRankManager's playernames. | Mattes D | 2014-08-21 | 1 | -0/+19 |
| | | |||||
* | | Type warning fixes. | Mattes D | 2014-08-25 | 1 | -1/+1 |
| | | |||||
* | | Fixed a type warning. | Mattes D | 2014-08-25 | 1 | -2/+2 |
|/ | |||||
* | MojangAPI: Fixed PlayerNameToUUID(). | madmaxoft | 2014-08-04 | 1 | -1/+1 |
| | |||||
* | Refactored case-conversion functions. | madmaxoft | 2014-08-04 | 1 | -30/+22 |
| | | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | ||||
* | cMojangAPI: Added UUID-to-Name lookup. | madmaxoft | 2014-08-03 | 1 | -42/+341 |
| | | | | Also fixed the bindings, now all functions are static-like. | ||||
* | Added cMojangAPI:GetUUIDFromPlayerName(). | madmaxoft | 2014-08-03 | 1 | -0/+28 |
| | | | | This is a simpler way to ask for a single name -> uuid conversion. | ||||
* | Removed trailing whitespace. | madmaxoft | 2014-07-31 | 1 | -2/+2 |
| | |||||
* | MojangAPI: Moved the settings to a separate ini section. | madmaxoft | 2014-07-31 | 1 | -2/+2 |
| | |||||
* | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). | madmaxoft | 2014-07-31 | 1 | -2/+5 |
| | |||||
* | MojangAPI: Renamed cache file to MojangAPI.sqlite. | madmaxoft | 2014-07-30 | 1 | -2/+2 |
| | |||||
* | MojangAPI: Clarified the UUID conversion code. | madmaxoft | 2014-07-30 | 1 | -2/+13 |
| | |||||
* | MojangAPI: Implemented UUID shortening and dashing. | madmaxoft | 2014-07-30 | 1 | -7/+27 |
| | |||||
* | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 2014-07-30 | 1 | -0/+446 |
The cache is persisted into a SQLite DB file on server shutdown. |