Shauren
e161874695
Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2
2023-10-05 23:57:25 +02:00
Shauren
f0a862e71b
Core/Misc: Modernize comparison operators
2023-08-24 00:51:26 +02:00
Shauren
cc6dba1376
Core/Realms: Minor refactor to realm address storage (remove LocalSubnetMask as it is now unused, db field kept for table structure compatibility with 3.3.5 branch)
2023-08-03 11:18:11 +02:00
Shauren
6be536a73b
Core/Network: Refactor local/remote ip address selection code and allow using hostnames in LoginREST bnetserver config options
2023-07-15 00:45:16 +02:00
Shauren
cdfaecda52
Core/Network: Cleanup asio using directives
2023-07-15 00:43:19 +02:00
Shauren
7f5e47c396
Core/Realms: Remove duplicate realm names storage
2023-04-29 00:25:31 +02:00
Shauren
f540477fed
Core/DataStores: Optimized DB2Storage::begin to remove searching for lowest id on every call
2023-04-27 00:17:25 +02:00
Shauren
7b31080258
Core/Misc: Modernize code a bit by replacing std::tie with either structured bindings or operator<=>
2023-04-06 17:46:58 +02:00
Shauren
7395d75b5a
Core/Misc: Fixed clang 15 warnings
2023-01-31 18:51:31 +01:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
92ed5e8af1
Core/Misc: Include cleanup, 2023 edition
2023-01-07 22:38:21 +01:00
Shauren
25c28c0c7d
GCC build fix
2022-12-17 12:54:38 +01:00
Shauren
ba4c148a69
Core/DataStores: Devirtualize DB2Storage
2022-12-14 00:29:03 +01:00
Shauren
9d9e11f8ca
Core/DataStores: Made DB2LoadInfo constexpr
2022-12-14 00:27:01 +01:00
Shauren
79ca6df27d
Core/DataStores: Add const to DBStorageIterator dereference operators
2022-11-27 22:16:32 +01:00
Shauren
1043911410
Build: Cleanup proto & shared cmakelists
2022-06-18 16:02:50 +02:00
Shauren
5859510b54
Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient
2022-06-17 15:20:55 +02:00
Shauren
934a1ad498
Core/DataStores: Removed unused code from DB2DatabaseLoader
2022-04-09 00:25:16 +02:00
Shauren
9f30afe352
Core/PacketIO: Updated packet structures to 9.2.0
2022-02-24 23:16:55 +01:00
Shauren
f6e72494f1
Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
2022-02-14 12:43:57 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
f8ad7017dd
Core/Misc: Move (or delete) constructors and destructors to .cpp files (avoids compiling them in every file that includes them)
2022-02-12 21:36:46 +01:00
Shauren
cbcd149ce5
Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers
2022-02-11 14:33:35 +01:00
Treeston
c4b287c7bf
Core/Misc: DBC std::array refactors, and |Hachievement unit tests
...
(cherry picked from commit 3fbbe7cfbe )
2022-02-04 23:37:29 +01:00
Treeston
9f97fdd31a
Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327 )
...
(cherry picked from commit 534a2388b7 )
2022-02-04 00:27:14 +01:00
Treeston
fa8ab6eb98
Core/Common: Move old-style pointer+size HexStr methods to Trinity::Impl where they can't hurt anyone
...
(cherry picked from commit 7b8b999516 )
2022-01-26 14:36:42 +01:00
Shauren
d2cde75ab2
Core/Networking: Fixed authserver socket read handlers being called on incorrect thread
...
(cherry picked from commit 3ad05386c8 )
2022-01-24 13:15:13 +01:00
Giacomo Pozzoni
fda8a09766
Core/Misc: Replace boost::shared_mutex with std::shared_mutex ( #24328 )
...
* Core/Misc: Replace boost::shared_mutex with std::shared_mutex
* Remove std forward declarations
(cherry picked from commit 7032ee0bdb )
2022-01-23 21:51:47 +01:00
Shauren
96137fb30f
Core/Misc: Future msvc warning fixes
2022-01-21 13:40:48 +01:00
jackpoz
68faf5bc4b
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
...
(cherry picked from commit 54c701cf0d )
2022-01-19 22:17:42 +01:00
ipriver
bde36062b7
fixed indentation for cmake files
...
(cherry picked from commit a46d047f94 )
2022-01-06 23:40:39 +01:00
Shauren
3a67e37681
Core/Time: Remove artificially high minimal update intervals
2022-01-03 11:26:23 +01:00
Shauren
3ebfa8cc64
Core/PacketIO: Add a validating string helper class for use in packet classes
...
(cherry picked from commit f2f47f774f )
2021-12-23 23:55:58 +01:00
Shauren
a82ae950dd
Core/ByteBuffer: Fix string format
...
(cherry picked from commit 1227e96bd3 )
2021-12-23 19:45:51 +01:00
Shauren
09967ad7fd
Core/PacketIO: Validate utf8 in every client packet
...
(cherry picked from commit 0a2a96efaa )
2021-12-23 15:15:08 +01:00
ccrs
6443116d5b
Scripts/ScarletMonastery: instance script cleanup ( #23889 )
...
Adapt InstanceScript into newer structure and style
Adapt existing boss scripts into newer structure and style
Improve existing boss related definitions
Should make each boss more functionally reliable, but nothing new has been added
(cherry picked from commit 06c6b30ed4 )
2021-12-18 23:36:17 +01:00
Treeston
0b61c3b7b1
[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
(cherry picked from commit 4211645834 )
2021-12-18 20:24:50 +01:00
jackpoz
f83601de2f
Core/Networking: Set SO_REUSEADDR on *nix platforms
...
(cherry picked from commit 46f2595f51 )
2021-11-21 20:16:26 +01:00
Giacomo Pozzoni
9668096056
Core/Networking: Fix memory leak ( #22923 )
...
Fix memory leak reported by ASan happening when ports fail to bind in Authserver
(cherry picked from commit 57d7b19452 )
2021-11-21 13:54:27 +01:00
jackpoz
b6f28a7ebc
Core/Packets: Reduce memory footprint of cached queries ( #22297 )
...
Ensure only the minimum required memory is used by caching query packets by calling shrink_to_fit()
(cherry picked from commit deabd4ab45 )
2021-10-22 23:15:27 +02:00
Shauren
d7302ffd14
Core/Scenes: Implemented spell created SceneObjects
2021-10-11 12:59:19 +02:00
Shauren
3bf6698116
Core/Misc: Fix appleclang 12 warnings
2021-10-01 11:18:29 +02:00
Shauren
47fc447bef
Revert "Core/DataStores: Implemented [] operator on DB2Storage ( #20494 )"
...
This reverts commit c8974a91a6 .
2021-03-14 14:42:53 +01:00
jackpoz
388034498f
Core/Misc: Fix static analysis issues
...
(cherry picked from commit 9b7c73a19d )
2021-02-06 21:41:51 +01:00
Shauren
98939d258a
Dep/Boost: Partial support for boost 1.74 - asio
...
Ref #25470
(cherry picked from commit 155e37831e )
2020-12-12 18:50:13 +01:00
Shauren
b6ed0c7870
Core/PacketIO: Fixed ByteBuffer auto-flush after b231903932
2020-09-06 15:39:07 +02:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Treeston
73922d2a85
Core/Authserver: Re-organize the accounts table (PR #25135 )
...
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA)
- salt/verifier/session_key are now binary
- old s/v/sha_pass_hash fields kept around for backwards compatibility
- sha_pass_hash is still updated (for now), s/v are not
- sha_pass_hash is only read if s/v have been manually changed
- SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19)
(cherry picked from commit 3164b58c7d )
2020-08-03 22:37:47 +02:00
Treeston
e9392ad287
Core/Authserver: Authserver cleanup (PR#25093)
...
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber
- Get rid of (most of) the C-style arrays in authserver
- CryptoRandom as a unified source for cryptographic randomness
- Bring our other crypto APIs into 2020
- BigNumber usability improvements
- Authserver is now actually readable as a result of all of the above
(cherry picked from commit 210176fd91 )
2020-08-03 19:39:00 +02:00