summaryrefslogtreecommitdiff
path: root/src/common/Configuration/Config.cpp
AgeCommit message (Collapse)Author
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-20chore(Core/Misc): Remove deprecated code (#19413)Kitzunu
* Config - Deprecated for 3 years * ChatCommand - Deprecated for 2 years * getLevel() - Deprecated for 2 years * SendGlobalText - Deprecated for 8 years +
2024-07-19fix(Core/Config): Allow `#` outside of comments (#19447)Kitzunu
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
2023-09-20refactor(Core): Source config more aggressively from env, rephrase a few of ↵Mike Delago
the messages (#17114) * refactor(Core): Let modules source config from env * create a cache of configs from env * Update src/common/Configuration/Config.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Update src/common/Configuration/Config.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * enforce new function name --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-10fix(Core/Conf): log error in case configuration not found for DBImport (#17066)Christian Lohr
* fix: log error in case configuration not found * fix: register dbimport configuration file
2023-08-27chore(Core/Misc): Correct some fmt outputs (#17091)Kitzunu
2023-08-14feat(Core/Config): Implement config override with env vars (#16817)Anton Popovichenko
* Core/Config: Implement config override with env vars Implement overriding of configuration from the .conf file with environment variables. Environment variables keys are autogenerated based on the keys defined in .conf file. Usage example: $ export TC_DATA_DIR=/usr $ AC_WORLD_SERVER_PORT=8080 ./worldserver * Add tests for env vars config
2023-01-21refactor(Core/Conf): Removal of unnecessary .dist file loading (#14707)Foereaper
* Remove .dist file requirement * Remove unnecessary string cast * Add required variables for CI build configs * More required variables * Add some more default variables to reduce log output * One last default value to cut down log spam * Rewrite conf file bash script This should use the standard .dest file as a template * Change dir we copy the dest files from * actually use the correct file name * need to use double quotes for variables * add missing username * set the correct datadir * Attempt to fix dbimport Co-authored-by: Foereaper <foereaper@elunatech.com>
2022-12-31refactor(Core/Object): getLevel() -> GetLevel() (#14122)Kitzunu
* refactor(Core/Object): getLevel() -> GetLevel() * fix build and sneak some doxygen in * codeSTLE * codestyle
2022-10-01update (core): Startup console capitalizations (#13195)M'Dic
2022-01-27refactor(Core/Logging): switch to fmt style for LOG_ (#10366)Kargatum
* feat(Core/Common): add support fmt style for ASSERT and ABORT * correct CheckCompactArrayMaskOverflow * 1 * Update src/server/game/Spells/Spell.cpp * rework logging * add fmt replace logs * logging * FMT_LOG_ * settings * fix startup * 1 * 2 * 3 * 4 * 5 * fmt::print * to fmt
2022-01-25feat(Core/Common): add support fmt style for ASSERT and ABORT (#10355)Kargatum
* feat(Core/Common): add support fmt style for ASSERT and ABORT * correct CheckCompactArrayMaskOverflow * 1 * Update src/server/game/Spells/Spell.cpp
2022-01-19feat(Core/Common): add new helpers for time utility (#10207)Kargatum
2021-12-12feat(Core/Config): loading modules configs before loading scripts (#9653)Kargatum
2021-12-10feat(Core/Config): implement loading files optional (#8198)Kargatum
2021-09-30feat(License): add new headers information about license (#7941)Kargatum
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-06-24refactor(Core/Misc): add braces and impove codestyle (#6402)Kargatum
2021-06-23refactor(Core/Common): alphabetical sorting inlcudes (#6282)Kargatum
- Part https://github.com/WarheadCore/WarheadBand/pull/37
2021-06-21chore(Core/Logging): replace most server loggers (#5726)Kargatum
* chore(Core/Logging): replace most server loggers Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-04feat(Modules): load modules configs before Log initialization (#6104)UltraNix
in order to properly load modules appenders and loggers
2021-05-31refactor(Core/Misc): acore to Acore (#6043)Kitzunu
2021-05-13feat(Core/Config): added info about bad lines in config file (#5813)Kargatum
2021-05-10Revert "feat(Core/Config): add abort message if config incorrect (#5438)" ↵Francesco Borzì
(#5761) This reverts commit 61c87a8ab795b00b182036999c2c953f456670ac.
2021-05-02feat(Core/Config): add abort message if config incorrect (#5438)Kargatum
2021-04-17feat(Core/Logging): rework logging (#4692)Kargatum
* feat(Core/Logging): rework logging * correct level for sql.sql * del unused config options * Correct build * correct after merge * whitespace 20:29:37 1. 'Player.cpp'. Replace (1) 20:29:37 2. 'ObjectMgr.cpp'. Replace (3) * 1 * correct logging * correct affter merge * 1 * 2 * LOG_LEVEL_WARN * #include "AppenderDB.h" * 3 * 4 * 5 * 1. 'WorldSocket.cpp'. Replace (1) * 6 * 1
2021-03-17fix(Core/License): issue with old files license (#4762)Francesco Borzì
2021-03-09fix(Core/Utilites): improve acore::String::Trim (#4704)Kargatum
- Improve `acore::String::Trim` - Delete `acore::String::Reduce` - Skip line comment #4748
2021-02-28feat(Core/Config): rework config and delete ACE inherited (#4608)Kargatum
2020-11-11feat(Core/Config): Improve config (#3453)Kargatum
2020-08-24fix(build): remove warning (#3205)Stefano Borzì
2020-07-12feat(Core/Config): rework configs load system (#2566)Kargatum
2020-02-03fix(Core): potential crashes/bugs reported by static analysis #2 (#2622)Kaev
2019-12-21feat(Core/Misc): remove and replace ACE_Singleton (#2418)Kargatum
2018-09-08Log unused config options (#999)Stoabrogga
Now fixed
2018-08-05Revert "Show default options, missing in config files (#908)"BarbzYHOOL
This reverts commit f122ed57bf07575e89492701250f10fc190162dc. This commit created a critical errors and made the core instable. The feature should be reimplemented in a better way.
2018-06-05Show default options, missing in config files (#908)Kargatum
2018-03-12Update license links (#783)Nefertumm
2017-12-21Using TC structure allowing easier patches importingYehonal