Commit Graph
359 Commits
Author SHA1 Message Date
ModoX 4b99e026ba Core: Updated allowed build to 9.2.0.42979 2022-03-30 04:30:33 +02:00
funjoker 56ec63b961 DB/Auth: Syntax fix 2022-03-30 01:47:09 +02:00
Shauren aed0e83eb1 Core: Add 9.2.0.42937 build key for future use 2022-03-30 00:39:11 +02:00
Shauren 110a0beafa Core: Updated allowed build to 9.2.0.42852 2022-03-25 00:31:00 +01:00
Shauren f465812e21 Core: Add 9.2.0.42825 build key for future use 2022-03-22 00:35:41 +01:00
Carbenium b3b6e2715e Scripts/Commands: Convert rbac commands to new system
Note: To enable rbac commands for administrators permissions 202-206 have to be linked to permission 196.

Sample SQL for auth DB:
INSERT INTO `rbac_linked_permissions` VALUES (196, 202), (196, 203), (196, 204), (196, 205), (196, 206);

(cherry picked from commit f620befc37fd8a4aed917e1ebba6f268c44a0a99)
2022-03-12 23:00:17 +01:00
ModoX 0e846238b5 Core: Updated allowed build to 9.2.0.42698 2022-03-12 05:57:41 +01:00
jackpoz c7bf84e8ae SQL: Update auth_database.sql with latest updates
(cherry picked from commit 13f1a9f117a1d2b16103079d07dc1bce39240312)
2022-03-11 12:14:24 +01:00
Shauren f60aa2e47c Core: Updated allowed build to 9.2.0.42614 2022-03-08 15:28:06 +01:00
TDB Release 85b15a4b8c TDB 920.22031 - 2022/03/06 2022-03-06 15:20:27 +00:00
Shauren bff2c4733a Core: Updated allowed build to 9.2.0.42560 2022-03-03 01:11:37 +01:00
Shauren 457210f263 Core: Updated allowed build to 9.2.0.42538 2022-03-02 10:18:08 +01:00
Shauren 97406ce162 Core: Updated allowed build to 9.2.0.42521 2022-03-01 16:18:07 +01:00
Giacomo Pozzoni d02ee9de37 Script/Commands: Add ".pdump copy" command (#25455)
* Script/Commands: Add ".pdump copy" command

Syntax: .pdump copy $playerNameOrGUID $account [$newname] [$newguid]
Copy character with name/guid $playerNameOrGUID into character list of $account with $newname, with first free or $newguid guid.

* Add missing return

* Restore eof check

* Fix sql

* Use forward declaration header

Co-authored-by: Shauren <[email protected]>

* Remove buffer when reading a line

* Rename sql files

Co-authored-by: Shauren <[email protected]>
(cherry picked from commit 6215da0d640bd86a7c2bc144859c1542f09fc1a6)
2022-02-27 00:28:25 +01:00
Shauren ed77b9c3a9 Core: Updated allowed build to 9.2.0.42488 2022-02-26 01:03:30 +01:00
Shauren d995322dd0 Core: Updated allowed build to 9.2.0.42423 2022-02-25 12:41:01 +01:00
Treeston e0e3bae82c Core/Authserver: Removal of sha_pass_hash, compatibility fields, and everything that uses them (PR #25156)
(cherry picked from commit bcdbdd6f23ce65cc0e381e61d2840140dce79311)
2022-02-05 13:29:21 +01:00
Treeston 319ddd9bcd Core/Warden: Warden refactors (PR #25235)
(cherry picked from commit 6116e5b38522ccfb00f6c941c75482e05b4c0799)
2022-01-26 19:42:11 +01:00
Shauren e8368ed2eb Core: Updated allowed build to 9.1.5.42010 2022-01-22 01:40:57 +01:00
TDB Release 1761f72da7 TDB 915.22012 - 2022/01/15 2022-01-15 23:33:52 +00:00
ModoX f49ff55f53 Core: Updated allowed build to 9.1.5.41793 2022-01-08 03:53:46 +01:00
TDB Release 87a85dd9d2 TDB 915.22011 - 2022/01/02 2022-01-02 21:29:31 +00:00
zartech22 c57c26d7fb Add realm ID for actions based ip logging (#24453)
* Update SQL queries to insert realm id

* Insert the realm id when logging actions based on IP

* Adding the SQL update file

* Update 9999_99_99_99_auth.sql

* Update auth structure

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 56f20d69a6ab23a9818f77fd4e2df541a7c30f0e)
2022-01-01 19:38:40 +01:00
Shadow 321bc3ccfa Missing rbac permissions (#24253)
* Added missing RBAC permissions to auth database

* Rename 9999_99_99_99_auth.sql to 2020_04_07_00_auth.sql

* Update 2020_04_07_00_auth.sql

* Update auth_database.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit d962624d6107986fe7c349629878a121d27b186c)
2022-01-01 01:09:52 +01:00
Shauren 8eb1938fe8 DB: Convert all databases to InnoDB engine 2021-12-31 16:01:43 +01:00
Shauren 276ef7ff11 Typo fix 2021-12-31 14:15:57 +01:00
Shauren 9d060d23c1 DB: Convert databases to utf8mb4 2021-12-31 13:59:55 +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 4211645834c467a03c60248e80818d3607be9ea7)
2021-12-18 20:24:50 +01:00
Treeston 093223d7b4 Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch.
(cherry picked from commit a82bbeb101d64b89d9918ff5cbe4866591f1101b)
2021-12-16 21:20:38 +01:00
Treeston 6f6cf975e4 Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset.
(cherry picked from commit 293ba08d21c4e9634229bb5015445ecc0cc08fef)
2021-12-16 21:20:38 +01:00
Shauren 7bc3a92b2c Core: Updated allowed build to 9.1.5.41488 2021-12-16 12:26:58 +01:00
Wyrserth b709ea9a8d Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts (#23459)
* Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts.

* Kill evil spaces.

* Rename 9999_99_99_99_auth.sql to 2019_06_21_00_auth.sql

* Update auth_database.sql

(cherry picked from commit 8163ea60c8d517ebe3a88f595dd8291df8338811)
2021-12-11 22:47:08 +01:00
Wyrserth ae43820ca0 Core/Commands: implement commands to look up a map/item/quest name for a given id (#23416)
* Core/Commands: implement commands to look up a map/item/quest name for a given id.

* Add entry to updates table.

* Rename 9999_99_99_99_auth.sql to 2019_06_16_00_auth.sql

* Add missed change, thanks jackpoz!

* Update auth_database.sql

(cherry picked from commit ce3dcdcb1ad1887fb3a531aaea09482c12b5e4f3)
2021-12-11 14:12:54 +01:00
jackpoz db0058964f DB: Add new view vw_log_history to show database logs in a better way
(cherry picked from commit 9fc4ff9dd29968c1d64f47df4e721b468ac87362)
2021-12-10 23:01:13 +01:00
Shauren 8341082ac4 Core: Updated allowed build to 9.1.5.41359 2021-12-08 00:33:14 +01:00
Shauren 04a6c55a11 Core: Updated allowed build to 9.1.5.41323 2021-12-04 12:55:22 +01:00
Shauren a4d40c9e34 Core: Updated allowed build to 9.1.5.41288 2021-12-02 11:59:23 +01:00
jackpoz c73fd0e6e3 Scripts/Commands: Add .debug asan commands
Add ".debug asan memoryleak" and ".debug asan outofbounds" commands to trigger Address Sanitizer warnings at runtime (or other dynamic analysis tools)

(cherry picked from commit 71d15ea25be3e86646faaa3266617a0b8177972f)
2021-12-02 00:39:20 +01:00
MejiandShauren 93c668ac50 Core/BattlePets: Implemented BattlePetSpeciesFlags::NotAccountWide (#27303)
Co-authored-by: Shauren <[email protected]>
2021-11-25 20:55:12 +01:00
MejiandShauren 8614690e27 Core/BattlePets: Implemented battle pet name query packet (#27294)
Co-authored-by: Shauren <[email protected]>
2021-11-20 19:06:14 +01:00
Shauren 41859db7c6 Core: Updated allowed build to 9.1.5.41079 2021-11-19 00:41:58 +01:00
TDB Release 06b9be494a TDB 915.21111 - 2021/11/17 2021-11-17 13:31:04 +00:00
Shauren c1915d386c Core: Updated allowed build to 9.1.5.41031 2021-11-12 19:25:09 +01:00
Shauren 41b8a141f2 Core: Updated allowed build to 9.1.5.40966 2021-11-10 14:09:17 +01:00
Treeston 5ed891a0f0 Scripts/Commands: Add .debug dummy. It does nothing, which means you can make it do anything.
(cherry picked from commit 97ade1321b6d18393202a1448f2b042fc1ff0546)
2021-11-08 23:18:32 +01:00
Shauren 57ad93e51a Core: Updated allowed build to 9.1.5.40944 2021-11-06 11:57:41 +01:00
Shauren 1543ca3575 Core: Updated allowed build to 9.1.5.40906 2021-11-05 00:38:43 +01:00
funjoker d57e798d50 Fix typo in 2cf397c265 2021-10-26 01:09:01 +02:00
Shauren 2cf397c265 Core: Updated allowed build to 9.1.0.40725 2021-10-26 00:52:41 +02:00
Treeston f1ecb976ec Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command.
(cherry picked from commit 5843724debc3642434c055e5cf6f29a1eaf65358)
2021-10-23 22:31:27 +02:00