summaryrefslogtreecommitdiff
path: root/src/server/database
AgeCommit message (Collapse)Author
2025-11-14fix(docs/license): use GPLv2 as MaNGOS-based project (#23655)Francesco Borzì
2025-10-25feat(Config): Implement configuration severity policy and logging mechanism ↵Yehonal
(#23284)
2025-10-12fix(CORE/DBUpdater): Use stdin instead of -e SOURCE (#22949)arsinspace
2025-10-01feat(Core/Updater): Add configurable shutdown delay on update exceptions ↵Andrew
(#23042)
2025-09-02feat(core): implement 31-bit safe petition_id for improved database ↵Yehonal
integrity (#22774)
2025-08-22fix(Core/DB): Update connection type for character settings select (#22712)Andrew
2025-08-02fix(Core/DBUpdater): disable exception throwing for dryrun (#22610)sudlud
2025-07-28refactor(World/WorldState): use prepared statements (#22582)Jelle Meeus
2025-07-27refactor(Core/Account): Move account flag logic from AccountMgr to ↵Kitzunu
WorldSession (#22558)
2025-07-24fix(Core/Account): Change account flag updates to async connection (#22547)Kitzunu
2025-07-24feat(Core/Account): Add account flags support (#22533)Kitzunu
2025-07-19fix(Core/Authserver): HandleLogonProof query as async (#22510)天鹭
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2025-06-27feat(Script/Commands): allow to pass email in account create (#22310)SHIHUANG214
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2025-02-16feat(Core/DBUpdater): include pending path (#21469)Kitzunu
2025-02-11fix(Core/SQLField): Fix heap-buffer-overflow issue when interacting with ↵Anton Popovichenko
mysql field value. (#21393)
2025-02-07chore(Core/EventMgr): Align code to Code standard & improve LoadFromDB ↵Exitare
function (#21151) Co-authored-by: Jelle Meeus <sogladev@gmail.com> Co-authored-by: Ludwig <sudlud@users.noreply.github.com>
2025-01-27refactor(Core/Motd): improve and simplify (#21252)Kitzunu
2025-01-26feat(Core/Autobroacast): Add autobroadcast locale (#20946)Exitare
2024-12-22refactor(Core/Event): Load event vendors seperatly (#20906)Exitare
2024-12-18fix(Core/Database): Gracefully close database workers (#20936)Takenbacon
* Gracefully close database workers * Change init order. Such a silly compiler flag * Fix hang if db connection failed to open
2024-12-15feat(Core/Motd): Allow localized motd (#20542)Exitare
* Initial commit for localized motd * Rename function that created world packages * Update to satisfy code check * Update code to accomodate localized motd * Update command to support multiple optionales & adjusted db * Code cleanup * Update sql name * Fix codestyle issues * Remove hardcoded schema * Add check for valid player in reload command * Update to better code style * Add missing include * Fix redundant code usage * Add missing include * Remove sql files and create new rev sql files * Address minor code reviews * Fix code style * Update code to address code revisions. - Remove two unused functions - Remove map - Use available function to resolve LocaleConstant * Fix code style * Add check for base motd and update locale to DEFAULT_LOCALE * Code docs * Removed some docs, readd defaultd motd formatting * Fix oversight in variable declaration * Code style fix * Update code based on code review * ready for merge * Fix set motd command due to changes to DEFAULT_LOCALE * Fix CI * Fix trailing whitespace --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-11-30fix(Core/Database): prevent crash due to special chars in branch name (#20776)Jelle Meeus
add prepared statements to escape special characters in branch name
2024-10-31refactor(src/common|server): remove unused import (big part 1) (#20377)Francesco Borzì
* refactor(src/common|server): remove unused import (big part 1) * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: attempt to fix damn linkin error
2024-10-28refactor(src/server/database|shared): remove unused import (#20316)Francesco Borzì
2024-09-29refactor(src/server/apps|database|shared): remove unused imports (#19505)Francesco Borzì
2024-09-23refactor(Core/Database): improve abort messages for mysql errors (#20013)Kitzunu
* refactor(Core/Database): improve abort messages for mysql errors * Update MySQLConnection.cpp
2024-09-22feat(Core/Items): Delete old item id from recovery item (#18332)IntelligentQuantum
2024-09-19refactor(Deps/MySQL): Drop MariaDB and MySQL 5.7/8.1 and add MySQL 8.… ↵Kitzunu
(#19451)
2024-09-03feat(Core/Achievements): Add possibility to complete achievements and update ↵Anton Popovichenko
achievement criteria for offline players. (#19851)
2024-09-03fix(Conf): sync default values with core defaults (#19708)sudlud
fix(Conf): sync values with core defaults
2024-09-03refactor(Core/Misc): Acore::StringFormat to fmt format (#19838)Kitzunu
refactor(Core/Utilities): Acore::StringFormat to fmt format * closes https://github.com/azerothcore/azerothcore-wotlk/issues/10356
2024-07-30refactor(src/common): remove unused imports (#19506)Francesco Borzì
* refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build
2024-07-30feat(Scripts/Commands): account set email (#19481)Justin Hanley
* added worldserver command to set email address * reverted sql, added Tail args * removed pointer * Added helper text via updatescript * fix build * fix build * fixed db update * Update data/sql/updates/db_world/2024_07_26_01.sql Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Update data/sql/updates/db_world/2024_07_26_01.sql Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * fixed hander * refactor with named params * refactor with named params --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-07-04chore(Core/Conf): Show better logging when fatal config options are m… ↵Kitzunu
(#19236) chore(Core/Conf): Show better logging when fatal config options are missing * Show better log when the server halts due to missing fatal config option * Change error to warning for missing config options. As they are not errors * Update output when autoupdater is disabled for all databases
2024-07-02Revert "Add (core\db): Support for Homebind Orientation (#13389)" (#19257)Kitzunu
* Revert "Add (core\db): Support for Homebind Orientation (#13389)" This reverts commit 2e6f6e26da8f01cd67bbb56e0e7aa961ffd5f51f. Changes to be committed: modified: src/server/database/Database/Implementation/CharacterDatabase.cpp modified: src/server/game/DungeonFinding/LFGScripts.cpp modified: src/server/game/Entities/Player/Player.cpp modified: src/server/game/Entities/Player/Player.h modified: src/server/game/Entities/Player/PlayerStorage.cpp modified: src/server/game/Entities/Player/PlayerUpdates.cpp modified: src/server/game/Handlers/CharacterHandler.cpp modified: src/server/game/Handlers/MiscHandler.cpp modified: src/server/game/Handlers/MovementHandler.cpp modified: src/server/game/Maps/Map.cpp modified: src/server/game/Spells/Spell.cpp modified: src/server/scripts/Commands/cs_misc.cpp modified: src/server/scripts/Commands/cs_tele.cpp modified: src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp Untracked files: data/sql/updates/pending_db_world/rev_1719945200692175000.sql * Revert "Add (core\db): Support for Homebind Orientation (#13389)" * whoops
2024-06-16refactor(Core/ObjectMgr): Implement display probabilities. (#19068)Benjamin Jackson
* Init. Cherry-picked from TC commits https://github.com/TrinityCore/TrinityCore/commit/9d210476e57949094fdd286001ef4900564edca5 and https://github.com/TrinityCore/TrinityCore/commit/c488fb219ab080031488593a0b86ac785a7d2cae Co-Authored-By: Traesh <9392905+traesh@users.noreply.github.com> Co-Authored-By: Shauren <shauren.trinity@gmail.com> * Add brute data. Needs validation against what existed before, i.e. Classic change prevention. * Add validation info for brute data. * Remove incomplete data queries. * Requested changes. * Whitespace. * Requested change. Table name. Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Requested change. Table name. Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Resolve the funny merge conflicts. I wonder why git blame doesn't work on a file with 20k lines in it that's odd huh champ. * Remove unused parameter. * Remove uses of unused parameter. * Use unused parameter. Hopefully? * I will cry. * Sobbing endlessly. * Remove comment. * Adjust table structure query. Remove length parameters and allow null for build value. Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Adjust column datatype and add check constraint. --------- Co-authored-by: Traesh <9392905+traesh@users.noreply.github.com> Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-06-09chore(Command/unstuck) use command with offline players (#18913)Walter Pagani
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com> Co-authored-by: Anton Popovichenko <walkline.ua@gmail.com>
2024-04-17fix(Core/Characters): Fix crash on characters deletion with COD mails. (#18754)Anton Popovichenko
fix(Core/Characters): Fix crash on characters deletion.
2024-02-20fix(Core/ItemStorage): Fix container items count on server load (#18367)Angelo Venturini
2024-02-11feat(fix/build) ignore mariadb in the conditional (#18310)Walter Pagani
* feat(fix/build) ignore mariadb in the conditional * Parentheses in the second condition
2024-02-10fix(Core/Database) mysql_stmt_bind_param deprecated in MySQL 8.3 (#18295)Walter Pagani
* feat(fix/build) Test on MacOS * Syntax error * Syntax error * Adding missing parameters * typo * deprecated * Check MySQL version
2024-01-21fix(Core/DatabseWorkerPool): implement DatabaseIncompatibleVersion to better ↵Mike Delago
support MariaDB (#18201) * fix(Core): Rework Database Version Check for MariaDB support * incorporate "smarter" version comparison * rename function to be more accurate * Factor magic numbers into defines. Revise comments * clean up triple newline * Doxygenify the docs * remove blankspace --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-01-01refactor(Core/GameObject): Move the GameObject state save handling to… ↵Andrew
(#18080) * refactor(Core/GameObject): Move the GameObject state save handling to instance level * Update GameObject.h * remove leftover * small improvements
2023-12-22refactor(Scripts): remove useless includes (#18004)IntelligentQuantum
2023-11-27chore(Core/Misc): Clean up workarounds (#17870)Kitzunu
* Clean advstd to use std c++20 features * Use ABORT instead of std::abort Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-11-18chore(Core/Misc): sort includes (#17776)Winfidonarleyan
* chore(Cleanup): sort includes * fix build * fix build again
2023-09-21fix(Core/Achivement): Implement ACHIEVEMENT_FLAG_AVERAGE (#17263)Ludwig
2023-08-12feat(Core/SmartAI): Add new event parameter, event_param6 (#16944)Gultask
* init * pt2 * this template stuff must go * also for my other event
2023-04-24chore(core): cleanup code p3 (#16073)天鹿
* Update MMapMgr.cpp * Update UpdateFetcher.cpp * Update AuctionHouseMgr.cpp * Update AuctionHouseMgr.h * Update BattlegroundAV.cpp * Update ChannelMgr.cpp * Update ThreatMgr.h * Update Player.h * Update PlayerSettings.cpp * Update ObjectMgr.cpp * Update Guild.cpp * Update Guild.h * Update Map.cpp * Update World.cpp * Update boss_nefarian.cpp * Update boss_prince_malchezaar.cpp * Update boss_venoxis.cpp * Update zone_elwynn_forest.cpp * Update zulfarrak.cpp * Update boss_novos.cpp
2023-04-22fix(Core): Save bonus talent points to DB (#14099)ZhengPeiRu21
* fix(Core): Save bonus talent points to DB * fix(Core): Save bonus talent points to DB * Oxford comma in comment