Commit Graph

20 Commits

Author SHA1 Message Date
Francesco Borzì
02a05fbd4c refactor(src/common): remove unused imports (#19506)
* 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-30 20:06:46 -03:00
Kitzunu
21f86d1c3c chore(Core/Misc): Remove deprecated code (#19413)
* Config - Deprecated for 3 years
* ChatCommand - Deprecated for 2 years
* getLevel() - Deprecated for 2 years
* SendGlobalText - Deprecated for 8 years +
2024-07-20 09:11:01 +03:30
Anton Popovichenko
d69ee90ed3 feat(Core/Config): Implement config override with env vars (#16817)
* 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-08-14 22:07:43 +02:00
Francesco Borzì
9dc88def35 refactor(Core): apply clang-tidy modernize-* (#9975)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-17 14:35:07 +01:00
Kargatum
e61dbad192 feat(Core/Config): loading modules configs before loading scripts (#9653) 2021-12-12 13:20:39 -03:00
Kargatum
0f1c0c154d feat(Core/Config): implement loading files optional (#8198) 2021-12-10 11:53:31 +01:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Kargatum
8202da358b refactor(Core/Common): alphabetical sorting inlcudes (#6282)
- Part https://github.com/WarheadCore/WarheadBand/pull/37
2021-06-23 01:01:53 +02:00
UltraNix
c568bdcc42 feat(Modules): load modules configs before Log initialization (#6104)
in order to properly load modules appenders and loggers
2021-06-04 23:57:10 +02:00
Francesco Borzì
f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kargatum
dbefa17a53 feat(Core/Config): rework config and delete ACE inherited (#4608) 2021-02-28 14:37:03 +01:00
Kargatum
7f26c9ddad refactor(Core/Common): restyle tools with astyle (#3706) 2020-11-17 16:59:58 +07:00
Kargatum
4734ae81dc feat(Core/Config): Improve config (#3453) 2020-11-11 14:18:35 -06:00
Kargatum
94e6ef17a2 feat(Core/Config): rework configs load system (#2566) 2020-07-12 17:47:12 +02:00
Kargatum
4a8f1de538 feat(Core/Misc): remove and replace ACE_Singleton (#2418) 2019-12-21 00:29:29 +07:00
Viste
e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Francesco Borzì
7b61731958 feat(CI): prevent PRs that cause DB errors to get on master (#1407) 2019-02-06 23:55:23 +01:00
Stoabrogga
205e8eb14e Log unused config options (#999)
Now fixed
2018-09-08 20:26:28 +02:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00