aboutsummaryrefslogtreecommitdiff
path: root/src/server/database
AgeCommit message (Collapse)Author
2016-09-25Core/Auth: removed unneeded sub queryjoschiwald
2016-09-13Core/Fishing: implement retail-like fishing skill-up functionality (#17528)SnapperRy
2016-09-12Update DBUpdater.cppAokromes
2016-09-12Update DBUpdater.cppAokromes
2016-09-12Core/Updater: Clarify more 2 errorsAokromes
2016-08-27Core/Logging: delete old logs of the own realm onlyjoschiwald
(cherry picked from commit beedf737c815c1f946381904417471c42a21de76)
2016-08-18Core/Globals: delete another synch query using CharacterInfo mapariel-
2016-08-10Core/DB/Updater: English grammar corrections (#17207)Trond B Krokli
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 (cherry picked from commit 186375d997caab33eee878a1e102f41939c7a688)
2016-08-10Server/Database: Reduce differences between 3.3.5 and 6.x branchesjackpoz
Code functionality shouldn't have been modified.
2016-08-10Server/Database: Reduce differences between 3.3.5 and 6.x branchesjackpoz
Cherry-pick 1bea52fd4649b6a1761aa157f9e74f01e19872e7 and 543bea32 to add support to TYPE_BINARY MySQL field type
2016-08-04Core\Command: remove account_muted data on account deletionForesterDev
2016-07-23Core/Updater: Clarify even more this errorAokromes
2016-07-20Update DBUpdater.cppAokromes
Because nature wins race....
2016-07-16Core/Misc: remove two synch queries and replace them with CharacterInfo cacheariel-
2016-07-02Core/Misc: Better description for a logAokromes
2016-06-23Core/Player: Add option to prevent rename during character customizationpsayafan
Closes #17420
2016-06-01Core/DB/Updater: engrish corrections in DBUpdater.cpp (#17262)Trond B Krokli
English grammar and syntax corrections in DBUpdater.cpp - string texts corrected, source code unchanged - comments improved and checked for typos
2016-05-25* DB/Graveyards: Added a comment field to describe the graveyards in ↵Aokromes
`graveyard_zone`
2016-05-10Core/Common: Move the query callback header to the database projectNaios
* Also renames the header to it's correct name QueryCallback
2016-04-28Core/Misc: Fixed warnings found by GCC 6Shauren
(cherry picked from commit 67fd3ee726cbd509e6a15f81f4780e757a78a8b5) # Conflicts: # src/server/game/Spells/Auras/SpellAuras.cpp
2016-04-23Core/Updater: Correct the config key hint of a log messageNaios
2016-04-17Core/Cryptography: Move the SHA1 calculate helper to the SHA1 headerNaios
2016-04-11Core/Common: Capsule boost process into helper functionsNaios
* 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. (cherry picked from commit 3497b4960ba944388d148e10084e62eee909e986)
2016-04-09Core/Misc: MSVC warning fixesShauren
(cherry picked from commit 70412e7e254a36398f101b4bfe1926c619063202)
2016-04-09Buildsystem: Initial changes to support building with vs clang toolsetShauren
(cherry picked from commit 4a3a178d7fe9d2d7e8fde2fe915cf5cec5223502)
2016-03-24Core/Database: Converted the database library to a shared library.Naios
* There is still the possibility to static link against database. (cherry picked from commit 6cfea2d8f7de3de8206a1f4cf23a6d653814afe1)
2016-03-18CMake: Use inherited dependencies in database, shared and gameNaios
2016-03-18CMake: Use inherited dependencies in common and toolsNaios
2016-03-13Core/Players: Split playerBytes fields in characters tableShauren
(cherry picked from commit 2a6f65fddcdbe074ace6cd08ab27ec73a64ffe76)
2016-03-12Core/Auth: Fixed login for accounts with accented charactersShauren
Closes #16770
2016-03-11Core/Database: Move singleton instances into compilation unitsNaios
* Fixes issues when building shared libraries (prevents gcc and clang from providing several instance) * Also instantiate the database worker pools in DatabaseEnv.cpp now. (cherry picked from commit a8fe7f6eb7195368bbb4d0256927405f5e5c6f87)
2016-03-03Core/Database: Use RAII for resource management in MySQLConnectionNaios
* Prevents double deletion of MySQLConnection after errors * The object stays valid after an error and will wait for a reconnect * Also crash the server if 5 reconnects fail * Corrects an issue where the server was crashed after one reconnect because mysql_thread_id was invoked with an invalid handle
2016-03-03Core/Database: Move DatabaseWorkerPool into it's own translation unitNaios
2016-03-03Core/Database: Use RAII instead of raw pointers for resource managementNaios
* Corrects dirty usage of vectors with array indexes * Removes _connectionCount which is now handled through the vector size * Rename magic identifier "t" to "connection"
2016-03-03Core/Database: Close the databases correctly when the DBUpdater failsNaios
* Also fixes a memory leak spotted by Aokromes
2016-02-22Core/Common: Add a generic config helper to access built-in overwriteable paths.Naios
* 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 (cherry picked from commit 719159e2074ac2d0902c70bdd3c7a39e0d311bbe)
2016-02-22Core/Updater: Convert an assertion into a fatal errorNaios
* 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 (cherry picked from commit c43b80866593af3e9743fb55a395508c7dfb5d71)
2016-02-20Core/Updater: Use a different method for file readingNaios
* Current method causes issues under CentOS 6 and could possibly lead to cutted buffer content when reading in textmode. * Closes #16209
2016-02-15Core/Auth: Moved expiring bans to background task - no longer blocking ↵Shauren
queries during login by default running every minute (configurable)
2016-02-14Core/Auth: Performance/security improvementsShauren
* Changed all db queries to async * Added buffer length checks * Only allow one challenge/proof packet per socket lifetime Closes #13217 Closes #16602
2016-02-10Maps/Instances: Implement handling of CMSG_SET_SAVED_INSTANCE_EXTENDtreeston
2016-01-04Core/DBUpdater: Fix help text download linkDuarte Duarte
Change from forums to GH Releases (cherry picked from commit 6b529fcd43dd394a96a5441ab95523bdce3d58d3)
2016-01-01Update copyright note for 2016Rushor
2015-12-07Core/Quest: Fix issues reported by static analysisjackpoz
2015-11-14Core/DBLayer: Improve error message from ↵Shauren
0a27f8bce264b8f6d8c55efa8ebc97f6e9cb7d11 (cherry picked from commit d31706b07e5e4a4d632f5deea7076e864b467bbe)
2015-11-13Fix build for mysql versions older than 5.7 Shauren
(cherry picked from commit 5604aed5f130a48a660fa2a2f957489f6a3024ea)
2015-11-12Core/DBLayer: Ensure that MySQL version used when compiling is the same as ↵Shauren
libmysql.dll version used for running the server. Ref #15848 (cherry picked from commit 0a27f8bce264b8f6d8c55efa8ebc97f6e9cb7d11)
2015-11-07Updated url for tc wikiVincent-Michael
(cherry picked from commit 6d01960448d3d2f53cd532acafb707e517e23dd5)
2015-11-05Core/Accounts: Fixed ban check after 517a30d7c189b0530711f78508f9731e31fe5a53Shauren
2015-11-03Core/Ticket improved ticket systemShinDarth
- Safely close ticket before character deletion - Allow to keep trace of delete characters tickets (configurable) - Closes #15655 Closes #15699