Commit Graph
38 Commits
Author SHA1 Message Date
kvolk2git 285e3a1ed2 Core/DBUpdater: Fixed db auto updater for mysql 8 when ssl connections are enabled (#27298)
(cherry picked from commit 57617e215b2f45ba1636e0002714792326c3e57c)
2022-01-01 01:11:58 +01:00
myuzhobcplidtkieno de5f7edede Added the ability to use TLS when connecting to a database. (#24348)
* Added the ability to use TLS when connecting to a database.

* Trying to kickstart CI checks

* Revert the kickstart change

Co-authored-by: myuzhobcplidtkieno <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit ae553f89664a4baade80020856c9ff66323de963)
2022-01-01 01:07:52 +01:00
Shauren b231903932 Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port 2020-09-04 13:38:24 +02:00
Treeston e9392ad287 Core/Authserver: Authserver cleanup (PR#25093)
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber
- Get rid of (most of) the C-style arrays in authserver
- CryptoRandom as a unified source for cryptographic randomness
- Bring our other crypto APIs into 2020
- BigNumber usability improvements
- Authserver is now actually readable as a result of all of the above

(cherry picked from commit 210176fd915cf4ba16f428d3c1a249a71f4aa7a7)
2020-08-03 19:39:00 +02:00
Peter Keresztes Schmidt bab5fd87a3 Core/Misc: Replace Trinity::make_unique with std (#24869) 2020-06-23 08:54:12 +02:00
Shauren 4d69cc1c56 Core/Misc: GCC build and warning fixes 2020-05-21 22:15:58 +02:00
Aokromes b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren f689f6e9bd Core/DBUpdater: Fixed db updater for mysql 8 on windows using named pipe connections 2019-11-03 14:14:32 +01:00
vincent-michael 5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
jackpoz 8488150dee Core/DBUpdater: Code cleanup 2018-12-30 18:10:11 +01:00
jackpoz d2b77ca075 Core/DBUpdater: Fix error message
Fix error message when trying to populate the database showing free'd memory data instead of the sql file name
2018-12-30 18:10:06 +01:00
vincent-michael 7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren 1ec8228d4a Remove duplicate includes 2017-06-12 22:08:02 +02:00
Shauren 7e538980a2 Core/Database: Include cleanup 2017-05-12 18:50:27 +02:00
Shauren 3a418a0bbc Core/Common: Include cleanup 2017-05-11 22:29:51 +02:00
DDuarte a15985edc6 GCC build fix
It's been too long, C++
2017-04-18 21:38:47 +01:00
DDuarte 844755aa07 Core/DBUpdater: Improve message when base SQL file is missing 2017-04-18 21:20:46 +01:00
Aokromes 927a1b3e1e Core/Updater: Clarify more 2 errors
(cherry picked from commit fe9f79780e1a6dd14e0876dca54ef4d8c8a0a5ae)

Update DBUpdater.cpp
(cherry picked from commit fb048a4cdbd56102018db5c9149ca2103c1507b2)

Update DBUpdater.cpp
(cherry picked from commit 9250680680399e986736786bb6c3c2ff97ca5b9c)
2017-02-26 16:56:45 +01:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Aokromes b71a3c2766 Core/Updater: Clarify even more this error
(cherry picked from commit 09a1cfdf771a093b21779990ee516c22f66f4255)
2016-08-10 17:57:18 +02:00
Aokromes be51db3ae1 Update DBUpdater.cpp
Because nature wins race....
(cherry picked from commit 5868509a6366d0ba7a0fe819c3ece0e4a57c7029)
2016-08-10 17:56:05 +02:00
Trond B Krokli 6f29493556 Core/DB/Updater: engrish corrections in DBUpdater.cpp (#17262)
English grammar and syntax corrections in DBUpdater.cpp
- string texts corrected, source code unchanged
- comments improved and checked for typos
(cherry picked from commit 8fe85017125803a4ca8fd1d972b128930cd364b9)
2016-08-10 17:53:12 +02:00
Trond B Krokli 186375d997 Core/DB/Updater: English grammar corrections (#17207)
Improve English text in strings and comments in UpdateFetcher.cpp
- replace incorrect text with the intended words in some output strings
- corrections in the comments to point out the intention of the code
2016-05-29 15:06:07 +01:00
Naios 4f9352d773 Core/Updater: Correct the config key hint of a log message
(cherry picked from commit dadc02d77a969ef97a6726c509a1851b5e4fed32)
2016-04-23 17:26:14 +02:00
Naios a679829050 Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header
(cherry picked from commit 3271f328de35f940f682a0dbe1d9466e29190182)
2016-04-18 22:11:16 +02:00
Naios 3497b4960b Core/Common: Capsule boost process into helper functions
* For easier usage, the processes output it routed
  correctly to the TC logger line by line now.
* Add support for asynchronous process execution
  and process termination.
2016-04-11 20:07:24 +02:00
Shauren 70412e7e25 Core/Misc: MSVC warning fixes 2016-04-05 00:15:56 +02:00
Naios 6cfea2d8f7 Core/Database: Converted the database library to a shared library.
* There is still the possibility to static link against database.
2016-03-24 01:28:59 +01:00
Naios c43b808665 Core/Updater: Convert an assertion into a fatal error
* The error is triggered when it fails to open an update for hashing
* See 'https://community.trinitycore.org/topic/12352-worldserver-crashes-on-database-update/'
  for details
* And a minor cleanup in the UpdateFetcher
2016-02-21 15:52:50 +01:00
Naios 719159e207 Core/Common: Add a generic config helper to access built-in overwriteable paths.
* Adds CMAKE_COMMAND and CMAKE_BINARY_DIR to revision_data.h
* Move the source and mysql exe path handling out of the DBUpdater.
* Make some Config methods const for correctness.
* Remove C & CXX flags from revision_data.h
 (was unused and didn't capture all cxx vars)
* Reorder the link order to prevent `ld` from ignoring the file
* Ref #15671
2016-02-21 15:52:42 +01:00
Naios 716c952cb9 Core/Updater: Use a different method for file reading
* Current method causes issues under CentOS 6 and could possibly
  lead to cutted buffer content when reading in textmode.
* Closes #16209

(cherry picked from commit ae1a5c6c2b82918850cb7b851e2f7dff33a40c57)
2016-02-20 20:32:34 +01:00
Duarte Duarte 6b529fcd43 Core/DBUpdater: Fix help text download link
Change from forums to GH Releases
2016-01-04 22:51:48 +00:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Naios 02ab60a133 Core/Updater: Fix mysql in path check/search.
(cherry picked from commit a561edefb90af25864aeb7ca7fc48fe0364df765)
2015-10-05 17:17:56 +02:00
joschiwald e51b660177 Core/Updater: fixed host parameter is being ignored 2015-09-26 19:18:05 +02:00
Shauren 20423c363a Build fix 2015-09-26 00:50:22 +02:00
Shauren 2d109b63e2 Core/Updater: Pipe mysql process output into worldserver log 2015-09-26 00:24:22 +02:00
StormBytePP 1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +02:00