Aokromes
ed93932537
New year
...
Say bye bye to every year changing dates
2020-01-02 06:25:50 +01:00
Shauren
3bf44a5891
warning fix
2019-12-07 14:43:46 +01:00
Shauren
b990a79fd8
Core/Realms: Move build info (and auth seeds) to database
...
(cherry picked from commit 61f2eed353 )
2019-12-07 13:14:16 +01:00
Treeston
4211645834
[3.3.5] Core/Authserver: TOTP rewrite: (PR #23633 )
...
- Proper management commands (.account 2fa)
- Secrets can now be encrypted (set TOTPTokenSecret in .conf)
- Secret now stored in binary
- Argon2 and AES primitives
- Base32/64 support
2019-08-10 21:34:51 +02:00
Shauren
c278044739
Core/Authserver: Fixed crash happening when sending packets larger than 4096 bytes (giant realmlist basically)
...
Closes #23597
2019-07-15 22:28:10 +02:00
Trond B. Krokli
f9b1e4a032
Core/conf: conf.dist typo & grammar corrections ( #23190 )
...
- Typo and spelling corrections
- Grammar corrections, English grammar
- Minor adjustments in example code readability
- Capitalization adjustments to keep consistency
with existing idioms, phrases and concepts
2019-04-21 15:59:48 +02:00
Shauren
d56c671064
Core/Dep: Boost 1.70 compatibility
...
(cherry picked from commit bcda8dd742 )
2019-04-14 01:04:02 +02:00
Shauren
d834ac0255
Warning fix
2019-01-15 22:52:17 +01:00
Shauren
250fcc8970
Core/Auth: Implement additional version check for modified clients during login
2019-01-15 22:49:27 +01:00
Treeston
fcfcb0eb6f
Happy New Year, folks. It's 2019!
2019-01-01 15:45:25 +01:00
Shauren
0ead73516a
Core/Misc: Improved ip2location code and set it to disabled by default
2018-06-23 21:31:09 +02:00
Gooyeth
2fe4ab94c5
Common: Replace ip2nation by ip2location. ( #21957 )
...
Replace ip2nation by ip2location.
Download: https://lite.ip2location.com/database/ip-country
2018-06-23 01:32:39 +02:00
Shauren
b2b4f9d1e4
Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
...
* Based on work done by @dimiandre in PR #21173
Closes #21171
Closes #21173
(cherry picked from commit dfd2660a85 )
2018-01-06 12:30:28 +01:00
tkrokli
f6b6f57a6d
Update copyright note for 2018
...
Best wishes for the new year.
2018-01-01 01:55:29 +01:00
Naios
85e460802d
Build: Inherit the features and warning flags privately
...
(cherry picked from commit 1285347518 )
2017-12-21 23:31:11 +01:00
Naios
92f96fc10e
Build: Use the cotire library for precompiled header handling
...
* Required for handling flags inherited by linked projects
correctly in the corresponding precompiled header.
* Reduces the maintenance effort for precompiled headers
2017-12-17 20:22:34 +01:00
Shauren
57c13c539b
Buildsystem: Fixed windows pch build with ninja
...
(cherry picked from commit a6e46c1c2e )
2017-12-13 13:41:47 +01:00
jackpoz
97f33dc779
Core/Misc: Fix static analysis issues
2017-11-11 20:27:30 +01:00
Shauren
1f63554312
Core/Auth: Fixed client getting stuck on login or realm change
2017-07-21 20:34:00 +02:00
Shauren
fba87d3f33
Core/Auth: Prevent queueing more than one realmlist query at the same time
2017-07-12 19:22:53 +02:00
Shauren
5024813fe3
Buildsystem: Minor PCH building changes
...
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets
(cherry picked from commit 137f5e7887 )
2017-06-22 02:33:12 -03:00
ariel-
85a7d5ce9a
Core: ported headers cleanup from master branch
2017-06-19 23:20:06 -03:00
Shauren
7874bee7bf
Core/Misc: Cleanup worldserver/authserver main() functions to run destructors in predictable order
...
* world/auth servers will now fail to startup if listen ports are in use
* Restored "Network.OutUBuff" config option lost during boost transition
(cherry picked from commit 6c92a481a3 )
2017-06-19 04:04:21 -03:00
Shauren
9ec2a82cac
Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
...
(cherry picked from commit b8db320bf1 )
2017-05-23 18:46:44 +02:00
Shauren
14abd1f587
Core/Auth: Per SRP6a protocol, terminate connection of A % N == 0. This resolves another authentication bypass issue
...
(cherry picked from commit cmangos/mangos-wotlk@ea3e08a812 )
2017-03-15 21:41:58 +01:00
Gildor
b209353266
Build Fix ( #19004 )
2017-01-29 18:15:21 +01:00
Tonghost
684a5fd3f1
Core/Auth: Use QueryCallbackProcessor insted boost::optional. Fixes build for boost 1.55.0
2017-01-26 13:21:58 -03:00
Shauren
4c27203c8f
Core/DBLayer: Convert async queries to new query callbacks and remove old callback handling
...
(cherry picked from commit 8e2634b2b4 )
Conflicts:
src/server/bnetserver/Server/Session.cpp
src/server/bnetserver/Server/Session.h
src/server/database/Database/QueryCallback.cpp
src/server/game/Handlers/CharacterHandler.cpp
src/server/game/Handlers/SocialHandler.cpp
src/server/game/Server/WorldSession.cpp
src/server/game/Server/WorldSession.h
src/server/game/Server/WorldSocket.cpp
src/server/game/Server/WorldSocket.h
src/server/game/World/World.cpp
src/server/game/World/World.h
2017-01-25 23:38:13 -03:00
tkrokli
6a51a88767
Update Copyright notice for 2017
...
Happy new year!
2017-01-02 19:52:45 +01:00
Chaosvex
ed2cd6b34f
Core/Auth: Resolved authentication bypass
2016-11-10 23:00:58 +01:00
joschiwald
ec221c5500
Core/Auth: removed unneeded sub query
2016-09-25 18:06:01 +02:00
joschiwald
96316530d8
Core/Auth: fixed logic in FailedLogins check
2016-09-24 20:03:31 +02:00
Aokromes
1ad24352ac
Core/Logs: Fine tune more logs
...
And move others to more logical appenders
2016-08-11 09:10:20 +02:00
jackpoz
e4b2e0450f
Common/Crypto: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-03 23:33:36 +02:00
Naios
d4d199d765
Core/Common: Move the query callback header to the database project
...
* Also renames the header to it's correct name QueryCallback
2016-05-10 18:16:13 +02:00
Trond B Krokli
329006d310
Core/authserver.conf.dist: missing description line ( #17038 )
...
This line is missing from authserver.conf.dist :
`# MySQL server and their own thread on the MySQL server.`
I have copied this description text line from the matching description in
`worldserver.conf.dist` (line 108 in the 3.3.5 worldserver source file).
This line is also missing in bnetserver.conf.dist , but the files are different
in line number, filename and folder, so bnetserver needs a separate commit.
2016-04-25 23:26:04 +01:00
joschiwald
9ee67b42f3
Core/Authserver: removed obsolete code
2016-04-23 12:25:34 +02:00
Naios
86b0fcf67a
Core/Scripting: Use the path of the worldserver executable to search for the scripts dir
...
* Fixes issues when starting the worldserver not in the bin directory
or the CMAKE_INSTALL_PREFIX directory using the -c option.
2016-04-18 21:02:01 +02:00
Gacko
070bedae0c
Add missing configuration key LoginDatabase.SynchThreads.
...
(cherry picked from commit b23a6aeaff )
# Conflicts:
# src/server/bnetserver/bnetserver.conf.dist
2016-04-11 01:20:47 +01:00
Shauren
702cfefddb
Buildsystem: Initial changes to support building with vs clang toolset
...
(cherry picked from commit 4a3a178d7f )
2016-04-09 12:38:20 +02:00
Shauren
778f1725f8
Core/Misc: Moved RealmList to shared
...
(cherry picked from commit cfe8a6a58b )
2016-04-09 12:30:00 +02:00
DDuarte
980f28d2ce
Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg instead of config
...
AuthSocketMgr doesn't need "Network.Threads" config
Fixes "Missing name Network.Threads in config file authserver.conf"
Ref #16859
2016-03-28 02:02:29 +01:00
Naios
03d249f063
CMake: Use inherited dependencies in worldserver and authserver
...
* Closes #1679
2016-03-18 14:27:43 +01:00
Naios
f52495c66b
Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c
2016-03-16 15:36:32 +01:00
Shauren
fd819b0919
Core/Debugging: Make abort() less bad on windows by forcing crash log generation
...
(cherry picked from commit dea7d429ab )
# Conflicts:
# src/server/bnetserver/Main.cpp
2016-03-12 23:52:35 +01:00
Shauren
2a37266269
Core/Auth: Fixed login for accounts with accented characters
...
Closes #16770
2016-03-12 21:22:16 +01:00
Naios
3a4ec8bcbe
Core/Database: Move singleton instances into compilation units
...
* 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 a8fe7f6eb7 )
2016-03-11 19:51:07 +01:00
Naios
fbe724fab9
Core/Common: Generalize platform specific includes in common/Platform
...
(cherry picked from commit 30517cb1d3 )
2016-03-11 19:09:56 +01:00
DDuarte
7b687be4ba
Core/Auth: Fix the "Added realm" spam
2016-03-07 00:06:13 +00:00
DDuarte
6cd63ca3d4
Core/Authserver: Partial port of 56cf7ff2a8
...
Change the "UpdateIfNeed" logic to a deadline_timer
2016-03-06 19:46:59 +00:00