aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
AgeCommit message (Collapse)Author
2025-04-09Core/Network: Move to separate projectShauren
(cherry picked from commit 71b681bbf0f5189cd87a6cea66ef51667223f54a)
2025-04-08Core/Network: Socket refactorsShauren
* Devirtualize calls to Read and Update by marking concrete implementations as final * Removed derived class template argument * Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor * Make socket initialization easier composable (before entering Read loop) * Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream (cherry picked from commit e8b2be3527c7683e8bfca70ed7706fc20da566fd)
2025-01-09Core/Grids: Modernize TypeContainer with variadic templateShauren
(cherry picked from commit 401502ea3c5ceca0c6253910035b2949e13746cc)
2025-01-03Core/Database: Added std::span based functions to Field and PreparedStatementShauren
(cherry picked from commit 27860c3316b7354c6bf17cac82992085d2905934) # Conflicts: # src/server/game/Entities/Player/Player.cpp
2024-12-20Core/PacketIO: Fixed writing exactly 32 bitsShauren
(cherry picked from commit aa3a62e51866d28915f7df6bdaf21e2c5e1b6b06)
2024-12-20Core/PacketIO: Improved bit functions - no longer writes each bit separatelyShauren
(cherry picked from commit 5f212c6916219912b7bddc1f0f93c54c8dc2bc9b)
2024-12-20Core/PacketIO: Read directly into output variable for numeric ↵Shauren
ByteBuffer::operator>> overloads (cherry picked from commit 5a1fe849783d0a9b41ce77eca565f3cfc2dfb197)
2024-12-20Core/PacketIO: Fixed endian conversions for array operationsShauren
(cherry picked from commit 736836a3f5307c9cdf5f843893ff9d144efa69d1)
2024-12-20Core/PacketIO: Remove overriding Underlying type from ByteBuffer reads in ↵Shauren
favor of PacketUtilities::As (cherry picked from commit 9ed5f8812b58d1d99d81fbb3df38001206d3f6ed) # Conflicts: # src/server/game/Server/Packets/AuctionHousePackets.cpp # src/server/game/Server/Packets/ItemPackets.cpp
2024-12-20Core/Misc: Apply consistent formatting in ByteBufferShauren
(cherry picked from commit 8eb2a4de78ab33a51baa1e1d32e18a6fbbfe6863)
2024-12-12Dep: Replace basic_deadline_timer with std::chrono based basic_waitable_timerShauren
(cherry picked from commit c81183a6600722f3a9bb4996c0849b530fbdd1b0)
2024-12-01Core/Misc: Port std::ranges::contains from c++23Shauren
(cherry picked from commit 3e2abd2535d3995e051a9c5bc52c2e671d70d843)
2024-11-13Core/JSON: Prevent out of bounds memory accesses in json deserializationShauren
(cherry picked from commit e8d949c7943cbc49bc7e5411b9ed169b422b8472)
2024-11-12Core/Networking: Support IPv6Shauren
(cherry picked from commit af4dcc93ed04c4f2219c14821b25cb9efeb7e781) # Conflicts: # sql/base/auth_database.sql # sql/updates/auth/cata_classic/2024_11_12_00_auth.sql
2024-09-21Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings ↵Shauren
into compile errors (cherry picked from commit 7ac0c685dd01bdce2d1ee0bb878e5044b3c1fffa)
2024-09-12Core/DataStores: Refactor DBStorageIterator to make it usable with more ↵Shauren
std::ranges algorithms (cherry picked from commit 8ec9b5841e9eef602f7b9ae8f8824eb799bf4c28)
2024-08-30Core/Client Builds: Refactor build_info structure to support any client variantsShauren
(cherry picked from commit e94558d07892a98d78bec3633e0c82e1394b9d66) # Conflicts: # sql/base/auth_database.sql # sql/updates/auth/cata_classic/2024_08_30_00_auth.sql
2024-08-30Core/Client Builds: Move build info out of RealmList classShauren
(cherry picked from commit 82031dc720ac485c32158871aec86764c2505581)
2024-08-30Build fix for libstdc++-11Shauren
(cherry picked from commit d277be8718976764b6a2ed872c0e0b364c9a488b)
2024-08-30Core/Auth: Refactor client auth key storage to support more future client ↵Shauren
variants and preserve more information about client version (cherry picked from commit 8e1595265925e0840d07e943b8c9ff1e906d4719)
2024-08-29Core: Allow macOS arm64 client to connect (#30173)Motive
(cherry picked from commit 6b2d12206c56222ddd7877a786d11701396fc63f) # Conflicts: # sql/base/auth_database.sql # sql/updates/auth/cata_classic/2024_08_28_01_auth.sql
2024-08-18Core/Realms: Realmlist refactorsShauren
* Removed global realm variable from World and use RealmList everywhere * Match auth build key with client version * Restored allowedSecurityLevel checks for realmlist packet building * Restored updating population field, mysteriously removed 15 years ago in f20b25d1c90f608deab28c9957b3b376ab2a0d50 (cherry picked from commit c4b710446d62c95eb8124175203fa5f394912594) # Conflicts: # sql/base/auth_database.sql
2024-08-17Core/PacketIO: Fixed handling CMSG_UPDATE_ACCOUNT_DATA - compressed value is ↵Shauren
not a null-terminated string (cherry picked from commit a4ecb2dfae8bb4a1eeccf9f97af5948078266a5c)
2024-08-04Core/PacketIO: Use std::string_view to read strings from ByteBufferShauren
(cherry picked from commit d72e91bee27f766c1f7e50640473522a07fc5389)
2024-07-31Core/Misc: Reduce amount of virtual functions and copypasting in Reference<> ↵Shauren
implementations (cherry picked from commit 9242eda6c704ab5c10ab07763e662bb2c65b0396)
2024-07-18Build: Fixed CMake 3.30 FindBoost deprecation warningShauren
(cherry picked from commit ab5fab5ee9fd0dde509d19ffc26503379a02c41b)
2024-07-18Build: CMake cleanupShauren
* Migrate all add_definitions to target_compile_definitions * Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway) * Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used * Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file * Remove ancient manual link flag settings for worldserver (cherry picked from commit 77fe2745febab9e4362b09750093d831325e6091)
2024-06-24Core/Packets: ported ByteBuffer changes which had been sneaked in with ↵Ovahlord
468a06baf046b716305ee665e3cfd93c80e99457
2024-06-20Core/Crypto: Rename our Argon2 to avoid possible conflict with library file ↵Shauren
on some configurations (cherry picked from commit 4f6b49cccf87638864a636989a41f9ca7eb7a89c)
2024-06-15Core/PacketIO: increased allowed storage size of ByteBuffer from ~10mb to ↵Ovahlord
~100mb and fixed a logic mistake that was allowing first-time append calls to bypass that size limit (#30037) (cherry picked from commit a3db80ce5824babcd174be39836e4f82b2533395)
2024-05-28Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue ↵Shauren
is empty when its called on linux and mac Closes #29887 (cherry picked from commit f847cd4eeb8ce0d537ef793d8926cf28650724c4)
2024-03-28Core: port sneaky fixes from "Core: Updated to 10.2.6.53840"funjoker
2023-12-26Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in ↵Shauren
battlenet_accounts to separate salt and verifier columns * passwords can now be case sensitive and up to 128 characters long
2023-12-18Core/Bnet: Add new loggers to config file template, fixed request/response ↵Shauren
content logging and fixed setting keep_alive on responses
2023-12-17Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as ↵Shauren
http backend and extract generic http code to be reusable elsewhere
2023-12-16Core/Misc: Minor refactors in BaseEncoding and SslSocket to prepare for ↵Shauren
future bnetserver changes
2023-12-08Core/Misc: Minor code modernization - kill std::bindShauren
2023-11-21Core/Calendar: Implement different timezone support for ingame calendarShauren
Closes #8390 Closes #29427
2023-10-18Core/Misc: Remove incorrect (and unused) equality operator overloads from ↵Shauren
LinkedListHead::Iterator class
2023-10-05Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2Shauren
2023-08-24Core/Misc: Modernize comparison operatorsShauren
2023-08-03Core/Realms: Minor refactor to realm address storage (remove LocalSubnetMask ↵Shauren
as it is now unused, db field kept for table structure compatibility with 3.3.5 branch)
2023-07-15Core/Network: Refactor local/remote ip address selection code and allow ↵Shauren
using hostnames in LoginREST bnetserver config options
2023-07-15Core/Network: Cleanup asio using directivesShauren
2023-04-29Core/Realms: Remove duplicate realm names storageShauren
2023-04-27Core/DataStores: Optimized DB2Storage::begin to remove searching for lowest ↵Shauren
id on every call
2023-04-06Core/Misc: Modernize code a bit by replacing std::tie with either structured ↵Shauren
bindings or operator<=>
2023-01-31Core/Misc: Fixed clang 15 warningsShauren
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2023-01-07Core/Misc: Include cleanup, 2023 editionShauren