aboutsummaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)Author
2024-07-01Contrib/Docker: use the correct circleCI image for cata classicOvahlord
2023-09-22Contrib/Scripts: Make check_codestyle script usable on sources checked out ↵Shauren
on windows
2023-05-20Docker: Fixed files being missing from circleci built imagesShauren
2023-01-13Contrib: Adjust protobuf generator for latest include cleaned up outputShauren
2023-01-01Build: Update required compilers to current debian stable and VS 2022Shauren
GCC: 10 Clang: 11 MSVC: 2022
2022-10-09Update extractor.batAokromes
2022-09-14Docker: Update contrib Dockerfilefunjoker
2022-03-11Core/DBLayer: Add QueueSize() method (#26733)Giacomo Pozzoni
* Core/DBLayer: Add QueueSize() method Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued. Include the queue size of the 3 databases in ".server debug" command * Make the code less threadsafe * Send data to InfluxDB * Update grafana dashboard (cherry picked from commit 96dc110f4a353871ac74c82ff4b1bcc4c34156f3)
2022-03-09CI/CircleCI: Switch to Ubuntu 21.04 (#26476)Giacomo Pozzoni
(cherry picked from commit 5991dcb12b638a0ef483fddeeda3e5744012dda6)
2022-03-06Push docker images to DockerHub (#26177)Giacomo Pozzoni
* CI/CircleCI: Push docker images to DockerHub Push docker image to DockerHub is DOCKERHUB_PUSH_IMAGES environmental variable is set to "TRUE". * Build in Release only if pushing the images to dockerhub * Move branch from repository name to tag name * Update docker readme Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> (cherry picked from commit 84ad438d15cffd7dca0e67d540cd41946b946bed)
2022-03-06Docker/Readme: codestyle cleanup (9af6bf1 follow-up) (#25864)Trond B. Krokli
* Docker/Readme: codestyle cleanup Changes proposed: - Simplify MD back tick usage in stand-alone horizontal strings. - Sentence grammar improvements/adjustments (might->may etc.) - Punctuation: Add a period dot at the end of proper sentences. - Punctuation: Add Oxford commas for natural readability. - Punctuation: Add colon at the end of sentence introducing command examples. - Reduce indentation level for bullet point annotation from second level to first level. - Spell Linux with a capital L (proper noun, from "Linus + UNIX"). - UNIX is a proper noun with all its letters in uppercase. - Remove a stray double quote character from the start of a command. - Replace HTML entity &#46; with its ASCII representation, a period dot. Whitespace changes: - add editorial blank line below H1 (page title) and H2 headings - add editorial blank line below MD code block fences (codestyle) * Lowercase 'pch' job name - "PCH" -> pch * Revert HTML entity change in README dot md - Revert README.md to its original `README&#46;md` spelling to avoid coding issues. * Update contrib/Docker/README.md Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 3a61fe3c31b3fc61d3b881196319ccd96d69c7e4)
2022-03-06CI/CircleCI: Expose binaries built on Circle CI as docker images in the ↵Giacomo Pozzoni
Circle CI artifacts (#25832) Co-authored-by: Shauren <shauren.trinity@gmail.com> (cherry picked from commit 9af6bf15aa2fe836c3ebba306eaaa8971f00fac4)
2022-03-05CI/Circle CI: Add codestyle checkjackpoz
Don't leave 2 blank lines, 1 is enough. (cherry picked from commit ed975ef4c0e614addc069785f23c1b7f522f3b8e)
2022-03-05Contrib: Adjust protobuf generator to comply with codestyle checks on ciShauren
2022-02-05Misc: support enum class in enumutils_describe.pyShauren
2022-02-05Scripts/Commands: Convert argument parsing of .npc commandsTreeston
(And I snuck some chat command cleanup in there, more de-cluttering!) (cherry picked from commit 88d446dadf65bf47c72d3042834281233b1174ac)
2022-02-04Common/Utilities: Move EnumUtils' implementation struct from Trinity::Impl ↵Treeston
to Trinity::Impl::EnumUtilsImpl. This avoids confusing name clashes for other implementations in sub-namespaces of Trinity::Impl. (cherry picked from commit 91744de3162bab23d7c5a0dd65fc8b4249eb803a)
2022-02-03Core/ChatCommands: Check whether a passed numeric enum value is valid (#25285)Peter Keresztes Schmidt
(cherry picked from commit 4286e7aa02e777268b25d8a5bcc1ee87f7b16c4d)
2022-01-26Core/Metric: Include Creatures and Gameobjects panels in the Performance ↵jackpoz
Profiling dashboard (cherry picked from commit df8d50c06a6776312d5bd912dd6a5273a190a1e4)
2022-01-24Core/Metric: Add new metric in World::UpdateSessions()jackpoz
Add new metric about how long adding sessions took (cherry picked from commit 5cd93df9eec1d1b310916fefecc9282e02e9cf2d)
2022-01-24Core/Metric: Log detailed metrics about each opcode handler (#25153)Giacomo Pozzoni
* Core/Metric: Log detailed metrics about each opcode handler * Add new panel to Performance profiling dashboard and use fill(0) instead of fill(none) * Add new settings Metric.Threshold.* to be able to specify the minimum threshold for the specified metrics * Update dashboard * Change thresholds to be required to send the metrics. A TC_METRIC_DETAILED_TIMER metric with an expected threshold not configured will be ignored * Use typedef Milliseconds * Refresh realms on load (cherry picked from commit 8a2c79c850199a73fd431d04f83d6aa89733060d)
2022-01-24Core/Metric: Fix setting in Performance profiling dashboardjackpoz
(cherry picked from commit f9972f2473ae2615a17ad340601a40f9723c02f4)
2022-01-24Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more ↵Giacomo Pozzoni
metrics (#25136) * Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more metrics Add more detailed metrics in World::UpdateSessions(). * Attempt using C++17 features * Fix cmake typo Co-authored-by: NoName <322016+Faq@users.noreply.github.com> * Fix build with WITHOUT_METRICS * Update Performance profiling dashboard with Update sessions panel * Add panel to show sessions with update time above 100 ms * Move legends on the right and add max update time diff in the legend of sessions Co-authored-by: NoName <322016+Faq@users.noreply.github.com> (cherry picked from commit 36ef487a90d0d14c4da8ce7e19b5916b8b15056c)
2022-01-23Core/Metric: Add more metrics about World::Update() loop (#25098)Giacomo Pozzoni
* Core/Metric: Add more metrics about World::Update() loop * Add new Performance profiling grafana dashboard * Add new cmake setting WITHOUT_METRICS that disables all metrics As new metrics are added, someone might want to disable them if unused. * Add more metrics about World::Update() loop * Remove old performance profiling features Remove "server set difftime" command, "-RecordUpdateTimeDiffInterval" and "MinRecordUpdateTimeDiff" worldserver config settings and their related code. The whole UpdateTime class could be removed too. * Update and rename 2020_07_99_99_world.sql to 2020_07_24_00_world.sql (cherry picked from commit 3c0ac7302f902d1811d2c215217a3d701f8b5b19)
2022-01-23Core/Metric: Log Map::Update() times (#25067)Giacomo Pozzoni
* Core/Metric: Log Map::Update() times * Add more performant version to reduce allocations when metrics are disabled * Linux build fix * Add metric stopwatch version that doesnt let users forget to _END it * Fix linux build * Code cleanup * Add Map updates panel to General dashboard * Add "Recent events" panel to General dashboard * Apply latest codestyle changes Co-authored-by: Shauren <shauren.trinity@gmail.com> (cherry picked from commit 5eb742ee6a892b684b0c4cbde9f02f838b8300e5)
2022-01-06Log number of Creatures and GameObject per map (#24809)Giacomo Pozzoni
* Shared/Metric: Allow to specify tags in metrics * Core/Metric: Log number of Creatures and GameObject per map * Apply feedback * Codestyle changes * Codestyle changes * Remove whitespace * Update Grafana dashboards to v7.0.3 * Fix missing filter on realm * Include Creatures and Gameobjects in Maps dashboard * Show instances with a different color (cherry picked from commit 4e1dbd1cf808c9cf1f310b6d498f7e304dfb4147)
2022-01-02Misc: Made gdb crash reporting script more automation friendlyShauren
* Don't block on successful exit * Generate timestamped filenames to avoid overwriting old logs (cherry picked from commit 58d3f17430bb0ab64c9da157bdbc842098d96370)
2022-01-01Misc: Improve gdb script outputShauren
* Switch disassembly to intel syntax * Remove terminal colors * Remove terminal line wrapping and pagination * Start versioning the script (cherry picked from commit 0d0d005a2e705b875bf4b13cee910521e37b45bc)
2022-01-01CI/Circle CI: Show codestyle instructionsjackpoz
Show a short comment about how to fix the codestyle errors (cherry picked from commit dcd2ffdaf4c358dbbab7915ab744871e5a7cc4ad)
2022-01-01CI/Circle CI: Add codestyle checkjackpoz
Tabs are not allowed, use 4 spaces instead (cherry picked from commit 5f29577f63da506d8099c9a09b1565e4f5d9eeaf)
2022-01-01CI/Circle CI: Add codestyle checkjackpoz
Whitespace at the end of lines is not allowed (cherry picked from commit 0017c7a0829d12529aac690470bddfa6b5e6bc71)
2021-12-31CI/Circle CI: Add support to multiline regexjackpoz
(cherry picked from commit 4f88be63e7551288f37e51928614cf14d99b444f)
2021-12-31CI/Circle CI: Add codestyle checkjackpoz
ObjectGuid::GetCounter() should not be called in logs, use ObjectGuid::ToString().c_str() instead (cherry picked from commit af1260c40e333e0d2d506128099f8263f5f2304f)
2021-12-31CI/Circle CI: Enforce codestyle checksjackpoz
(cherry picked from commit 32c9f1c7a228db33110ab0ab5975ba37cba85106)
2021-12-22Add bash script for extracting client files (#24215)Teppic1
* Add bash script for extracting client files Simple bash script to automate extracting/copying client files on a Linux system. It follows the instructions on the wiki but additionally copies camera files if found. It includes a few simple checks. * Update extractor.sh Client and server directories are now requested unless already set as environment variables. * Fix client check * Update contrib/extractor.sh Clearer error Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> (cherry picked from commit 1d78fb2cd45c43d9132019dfb4bea35cc5efc3bd)
2021-11-23Misc/Extractor: Clarify a bitAokromes
(cherry picked from commit 58c5dfac1d8d314b9243fde52466b3c933fb7d7f)
2021-11-15Core/Misc: Partial merge of 3.3.5-dbedit:Treeston
- Added SmartEnum.h for enum iteration, stringification, and more, courtesy of krabicezpapundeklu/smart_enum - Moved a bunch of enums in SharedDefines.h to the new system - Miscellaneous utility methods ported Core/Util: Redesign SmartEnum to properly work for large enums (>64 entries) and play nice with IDEs (PR #22768) (cherry picked from commit 338e8ba0fea8b4b15120c96fff15a6c4b1a52593) (cherry picked from commit f7ca0877a3736000a6e3b4ed09ac5f08b4d8e3f0) (cherry picked from commit 207093475a177e9fd29696e80fdd06a11324782d) (cherry picked from commit ee68cf33921944fd3f8c188044906998cf10ff2a) (cherry picked from commit c16d461e16f0704bb11040faff30953d33ba2188) (cherry picked from commit f6b0d99e2c0bc22b44d6f3cfdae50cbba7d51de8) (cherry picked from commit bc1f456125c1b6c90617a514152d69c40ce64886)
2021-10-27Misc: Make extractor more clear for some usersAokromes
(cherry picked from commit 5fd03bb4726941c548347de7f67a0acd10af0155)
2021-10-23Core/CrashHandler: Include assertion messages in crash reportsShauren
(cherry picked from commit 62db1fb683c13b8dde0cc359564e090e0594658f)
2020-05-14Misc: Update protobuf code generator plugin for ↵Shauren
4c85198ed6135b42f9dfe0ad16901f7d741b64c6
2020-04-04CI/Circle CI: Prepare master for circle ci (#24386)funjoker
* Circle CI (#22982) * Build/CI: Add Circle CI * Fix travis (cherry picked from commit cb6439bacd8b5d10ef2a4d2eb4e8ab2f950e4ffd) * CI/CircleCI: Add parallel no-pch build (cherry picked from commit 33c58b4aaf4afc8ca13c1d07c65d66e6beb6bedb) * CI/CircleCI: Use ccache for nopch (cherry picked from commit 6bcf5c64c489175da41acf7739f156319a00f5f9) * CI/CircleCI: Change base docker image to custom-built trinitycore one (cherry picked from commit 37beeb1282c24fc584f5f524279df408779c5d5b) * CI/CircleCI: Switch to Ubuntu 18.10 (cherry picked from commit 6dfb4fde07082498a264ca0802ebdeb0bf3fa994) * CI/CircleCI: Switch to Ubuntu 19.04 (cherry picked from commit 9009c82a8db2bdb433cba17820af8b0cef8e28e3) * CI/Circle CI: Reduce ccache size from 5G to 1G This should speedup Circle CI cache saving and in turn no-pch build (cherry picked from commit 1b543ac16dd61ac6e1f8f00fee28156234c7e73f) * CI/Circle CI: Adjust config for master branch Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-01-02New YearAokromes
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-11-05Contrib/Protobuf generator: Updated to new proto formatShauren
2018-04-08Make codacy happyAokromes
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-10-16Contrib/Grafana: updated dashboards (#20563)Evgeny Frolov
Add a single page dashboard including all graphs, useful for Grafana Cloud since it allows to created only a limited number of dashboards.
2017-09-23Contrib: Updated protobuf service generator with latest async handling changesShauren
2017-09-06Contrib: Dropped obsolete ScriptConverterjoschiwald
2017-07-17Optimize and Streamline Extractor.batcribolouf