Commit Graph

72 Commits

Author SHA1 Message Date
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kargatum
ea5f5f2072 feat(Core/RealmList): port TrinityCore realm api (#5626)
* feat(Core/RealmList): port TrinityCore realm api

* 1

* whitespace cleanup

* Update data/sql/updates/pending_db_auth/rev_1620114805872279900.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* 1

* 2

* Update data/sql/updates/pending_db_auth/rev_1620114805872279900.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* `

* 1

* small corrects

* finish maybe

* realm.Id.Realm

* ws

* 1

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-27 00:12:46 +02:00
Kargatum
78e1719c80 feat(Core/Misc): includes cleanup (#5953) 2021-05-26 19:00:08 +07:00
Kitzunu
ea764812d1 feat(Core/Main): Show Boost Version (#6019) 2021-05-24 00:52:56 +07:00
Kargatum
63a273507c feat(Core/Packets): Port packet handling from TrinityCore (#5617)
* feat(Core/Packets): Port packet handling from TrinityCore

* 1

* 2

* 3

* 1

* 2

* #3670

* 3

* 1

* codestyle

* fix msvc warnings
2021-05-22 00:10:46 +02:00
Francesco Borzì
aab32e5f30 feat(TOTP): use feature toggle via authserver.conf (#5978)
* Revert "Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)"

This reverts commit fe6db2ff96.

* feat(TOTP): use feature toggle via authserver.conf

* chore(wip): wip

* Update src/server/authserver/authserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-21 09:56:52 +02:00
Kitzunu
fe6db2ff96 Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)
This reverts commit e50754d804.
2021-05-20 23:23:50 +02:00
Kitzunu
5ea56d79fc fix(Core/Banner): Add missing space (#5881) 2021-05-20 13:49:10 +02:00
Kargatum
e50754d804 feat(Core/Auth): add AccountInfo helper (#5640) 2021-05-20 10:16:50 +02:00
Kargatum
26f2abaaa9 feat(Core/Authserver): TOTP rewrite (#5620) 2021-05-12 18:57:10 -06:00
Francesco Borzì
053f9f5fa4 feat(Core/DB): reconnect seconds and attempts configurable (#5673) 2021-05-10 20:09:23 +02:00
Kargatum
9c276b39b6 chore(Core/Authserver): set default root logger to level info (#5613)
* chore(Core/Authserver): set default root logger to level info

* new line add
2021-05-09 03:57:34 +02:00
Yehonal
380f406248 Feat(Docker/bash): docker-compose system rework (#4488)
## ⚠️ATTENTION! ⚠️ Upgrading procedure:

**Database:** After this PR will be merged you need to backup your DB first (you can use the db-assembler or any mysql client to generate the dump) and restore it after.  The reason is that we use now docker named volumes instead of binded ones to improve performance.

**Conf & client data**: if you use the default configuration, both the etc and the data folder are now available inside the **/env/docker**. 

Finally, you can cleanup the /docker folder previously used by our system.

## Changes Proposed:

This PR will implement the [devcontainer ](https://code.visualstudio.com/docs/remote/containers) feature for VSCode. Allowing us to develop and debug directly within the container in the same way on all OSes.

* Implemented support for vscode dev-container feature by remote-extension suite
* Docker performance optimizations for MacOS and non-linux hosts
* Bash system improvements
* Implemented first command using Deno runtime environment (typescript) and [commander.js]
* Implemented wait mechanism for db_assembler
* Implemented db migration command
* possibility to run the authserver and worldserver with GDB using the integrated simple-restarter
* Implemented docker multi-stage mechanism to use one single Dockerfile for all the services
* client-data downloader now creates a placeholder to avoid downloading the same version of data files multiple times
* deployment of pre-compiled docker images on [docker hub](https://hub.docker.com/u/acore), you can test them [here](https://github.com/azerothcore/acore-docker)
2021-04-22 09:57:05 +02:00
Kitzunu
86192f38b7 refactor(Core/Server): Move Banner into separate file (#5207)
* refactor(Core/Server): Move Banner into separate file

* fix build

* Update Banner.cpp

* indent

* build

* build

* log

* LOG_INFO

* Update Banner.cpp

* Update Banner.h

* Update Main.cpp

* Update Main.cpp

* Update Master.cpp

* yes

* tes
2021-04-18 00:35:35 +02:00
Kargatum
4af4cbd3d9 feat(Core/Logging): rework logging (#4692)
* 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-04-17 11:20:07 +02:00
Kargatum
b2861be1cd feat(Core/Threading): replace ace threading (#4821) 2021-04-16 19:45:29 +02:00
Kargatum
53ce87d0f7 feat(Core/Database): implement db loader (#4431) 2021-04-12 10:09:13 +02:00
Kargatum
c4c06a7734 feat(Core/SignalHandler): Replace ACE signal handling with std (#4877) 2021-03-24 15:50:56 +01:00
UltraNix
485f7e7639 feat(Core/DB/Authserver): remove sha_pass_hash (#4827) 2021-03-21 15:17:57 +01:00
Francesco Borzì
f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kitzunu
28f1dc5c0c refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01:00
Kargatum
dbefa17a53 feat(Core/Config): rework config and delete ACE inherited (#4608) 2021-02-28 14:37:03 +01:00
Kargatum
ea93a5c1a1 feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Francesco Borzì
fdc3fc962e chore(config): Improve dist files (#3989) 2020-12-23 23:13:35 +00:00
Francesco Borzì
7bb42c1d56 refactor(Core): apply clang-tidy modernize-deprecated-headers (#3821) 2020-12-12 10:33:07 -06:00
Francesco Borzì
1b156ef7eb chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
Francesco Borzì
9266ac6bf5 refactor(Core): apply clang-tidy modernize-use-bool-literals (#3826) 2020-12-07 18:37:41 -06:00
Francesco Borzì
1cf39b3d22 refactor(Core): apply clang-tidy modernize-use-equals-default (#3834) 2020-12-07 19:21:55 +01:00
Francesco Borzì
a7faf4a16f refactor(Core): apply clang-tidy modernize-redundant-void-arg (#3825) 2020-12-06 21:38:52 +01:00
Francesco Borzì
cba126fa84 refactor(Core): apply clang-tidy modernize-use-nullptr (#3819) 2020-12-06 20:55:11 +01:00
Francesco Borzì
161302252e refactor(Core): apply clang-tidy modernize-use-nodiscard (#3835) 2020-12-06 19:39:48 +01:00
Francesco Borzì
d4a58700d4 refactor(Core): apply clang-tidy modernize-use-override (#3817) 2020-12-06 18:04:55 +01:00
Kargatum
3a8ca806c5 chore(Core/Authserver): restyle authserver library with astyle (#3464) 2020-09-11 09:55:28 +07:00
Kitzunu
1f89282b22 refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 11:55:09 +02:00
Kargatum
94e6ef17a2 feat(Core/Config): rework configs load system (#2566) 2020-07-12 17:47:12 +02:00
Barbz
7e0fba81b7 fix(core): Improve output for 2 small errors (#2549) 2020-01-15 09:46:49 +01:00
Viste
e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Kargatum
f9a8de9be7 feat(Core/Shared): added new library - shared (#2416) 2019-11-15 16:31:54 +07:00
Kargatum
0fd565d557 feat(Core/Debugging): improve crash reports (#2365)
* Enabled crash reports for Windows
2019-11-10 22:42:47 +07:00
Stefano Borzì
ce30c08fbc fix(Core/AuthSocket): Added check for AuthFlooder (#2387) 2019-10-30 08:18:00 +01:00
Kargatum
3518c9e9f5 feat(Cmake): set minimal support version 3.8 and added interface libs for world and auth (#2295)
* Added interface library authserver-interface
* Added interfaca library worldserver-interface
* Added Copyright's in auth and world server Cmake's files
2019-09-21 18:25:56 +07:00
Francesco Borzì
2f74802d03 chore(authserver): improve startup console logs (#2227) 2019-08-23 22:22:26 +02:00
Poszer
0b9a0d8ea6 feat(Core/Icons): New look (#1840)
- Auth & World icons
2019-05-21 17:07:52 +02:00
Poszer
4b271008c2 fix(Core): Auth/World conf.dist corrections (#1801)
- Typo, grammar corrections.
- Rate.Mining.Amount changed to correct config Rate.Talent  (It was set to Rate.Talent for mining amount using default value: 1 which is totally wrong. - Rate.Talent is for talents points per level.)
2019-05-10 21:30:44 +02:00
Kargatum
5105333968 feat(Core/Library): Rename shared library to common (#1675) 2019-04-04 16:47:17 +07:00
Kargatum
eae9affec9 feat(Cmake): Rewrite build and use inherited dependencies (#1652) 2019-04-01 22:41:08 +02:00
Nefertumm
2a71b2a666 feat: Added logs_ip_action + more (#1157) 2019-02-08 23:52:22 +01:00
Kargatum
c00d5fe0ab CMake: Use source_groups to represent the source tree (#1247) 2019-01-10 07:20:32 +03:00
Dmitry Brusenskiy
1320cc21cf Core: feature add 2FA (OTP) (#1054)
Add 2 factor authentification for improved security on your websites/apps.

Taken from TrinityCore

Closes #1049 on github.
2018-12-04 19:18:23 +01:00
BarbzYHOOL
368f187a42 Conf - UseProcessors option explained
A bit more detailed example to understand bit masks
2018-09-23 21:17:18 +02:00