Commit Graph

132 Commits

Author SHA1 Message Date
Shauren
235cdc2fd5 SQL: Rename old sql to resolve naming conflict between branches 2020-07-16 21:43:52 +02:00
TDB Release
d974800e9d TDB 335.20071 - 2020/07/15 2020-07-15 10:37:16 +00:00
ForesterDev
8e0365d8a6 DB/Account: update account_access table (#24788)
* DB/Account: update account_access table:

- rename fields id -> AccountID, gmlevel -> SecurityLevel
- add Comment field
- rename command .acc set gmlevel to .acc set seclevel

* Update auth database

* Fix primary key

* Temporary restore old command account set gmlevel with same handler as account set seclevel

Use Optional  for realmID - if not set, use -1 (for all realms)

* Rename 2020_XX_XX_00_auth.sql to 2020_06_20_00_auth.sql

* Update auth_database.sql

* Rename 2020_XX_XX_00_world.sql to 2020_06_20_06_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-06-20 21:49:18 +02:00
TDB Release
3e7b0d6c05 TDB 335.20061 - 2020/06/15 2020-06-15 07:50:01 +00:00
TDB Release
69dc704cd5 TDB 335.20051 - 2020/05/15 2020-05-15 08:57:38 +00:00
zartech22
56f20d69a6 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 <giacomopoz@gmail.com>
2020-04-18 14:26:05 +02:00
TDB Release
e956b1760e TDB 335.20041 - 2020/04/15 2020-04-15 11:05:27 +00:00
Shadow
d962624d61 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 <giacomopoz@gmail.com>
2020-04-07 22:32:04 +02:00
TDB Release
533856bad0 TDB 335.20031 - 2020/03/16 2020-03-16 08:49:50 +00:00
TDB Release
322f0b8873 TDB 335.20021 - 2020/02/15 2020-02-15 17:38:06 +00:00
TDB Release
5558917286 TDB 335.20011 - 2020/01/15 2020-01-15 07:47:03 +00:00
TDB Release
73348bed8e TDB 335.19121 - 2019/12/15 2019-12-15 18:28:50 +00: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
TDB Release
c22000ed2c TDB 335.19111 - 2019/11/16 2019-11-16 12:08:04 +00:00
TDB Release
50307d9222 TDB 335.19101 - 2019/10/18 2019-10-18 08:40:12 +00:00
TDB Release
9f66158ae5 TDB 335.19091 - 2019/09/15 2019-09-15 09:23:26 +00:00
TDB Release
a054ce864d TDB 335.19081 - 2019/08/16 2019-08-16 06:27:38 +00: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
Treeston
a82bbeb101 Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch. 2019-07-17 15:59:52 +02:00
Treeston
293ba08d21 Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset. 2019-07-16 15:04:14 +02:00
TDB Release
f46644c925 TDB 335.19071 - 2019/07/15 2019-07-15 05:59:57 +00:00
Wyrserth
8163ea60c8 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
2019-06-21 20:17:37 +02:00
Wyrserth
ce3dcdcb1a 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
2019-06-16 19:52:13 +02:00
TDB Release
e1a5e31498 TDB 335.19061 - 2019/06/15 2019-06-15 07:36:09 +00:00
jackpoz
9fc4ff9dd2 DB: Add new view vw_log_history to show database logs in a better way 2019-06-06 18:13:17 +02:00
TDB Release
8a02741cd0 TDB 335.19051 - 2019/05/15 2019-05-15 06:15:46 +00:00
jackpoz
71d15ea25b 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)
2019-04-27 20:11:48 +02:00
TDB Release
145f7d6a74 TDB 335.19041 - 2019/04/15 2019-04-15 06:18:32 +00:00
TDB Release
3358cc2a47 TDB 335.19031 - 2019/03/19 2019-03-19 07:20:15 +00:00
Shauren
1c4cdfd325 Renamed SQL with proper date 2018-12-30 20:07:04 +01:00
Ghaster
bf3ab6d9c4 Core/Creatures: Port trainer changes from master
Closes #20493
2018-12-30 19:51:36 +01:00
Treeston
97ade1321b Scripts/Commands: Add .debug dummy. It does nothing, which means you can make it do anything. 2018-09-17 11:18:06 +02:00
Treeston
5843724deb Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command. 2018-09-06 10:46:28 +02:00
Aokromes
8a45191e92 Make travis happy 2018-08-30 23:24:52 +02:00
Treeston
6a0870a999 Scripts/Commands: New command ".go instance". Goes to an instance. 2018-08-30 20:17:51 +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
592516ae69 Core/Creatures: Reworked setting move types in database
* Each move type has its own field instead of trying to combine everything in InhabitType
* Allow overriding movement separately for each spawn
2018-03-08 23:13:51 +01:00
ariel-
d18f8b94b0 Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version

Closes #19957
2018-03-06 18:48:57 -03:00
tkrokli
9163ad55ff SQL: Updates to the 335.64 auth & characters updates tables
- added missing lines in the `updates` tables for the new TDB 335.64 files
2018-02-18 23:31:03 +01:00
tkrokli
d21cb8fe16 DB/SQL: typo fix (Update base files follow-up) 2018-02-18 23:07:59 +01:00
DDuarte
93357631fa SQL: Update base files
Missing changes to ed63d15
2018-02-18 19:52:58 +00:00
Treeston
6ce078d8e8 Scripts/Commands: new command '.debug instancespawn' 2018-01-24 22:52:42 +01:00
Treeston
a9bfc3b70d add update to auth_database base 2018-01-09 18:11:24 +01:00
Treeston
f45c211987 Scripts/Commands: New command: .debug threatinfo 2018-01-09 18:09:24 +01:00
joschiwald
425b181544 DB: Made timestamp columns, those can have no date, nullable instead of saving invalid date '0000-00-00 00:00:00'
* This makes our tables mysql strict mode conform

Ref #21113

(cherry picked from commit c2aead1da5)
2018-01-03 15:14:49 +01:00
Aokromes
a3cb947f72 DB/Misc: Make base files more read-able
for future mysql dumps run this after dump before push:

sed -i 's/),(/),\n(/g' auth_database.sql

sed -i 's/),(/),\n(/g' characters_database.sql
2017-12-17 12:23:43 +01:00
ForesterDev
661dfee80e Scripts/Commands: modify command .dismount to target any selected player (#19788)
- change security lvl for command .dismount to 2 (gamemasters). For players there is /dismount command

Closes #19788
2017-12-17 04:36:59 +01:00
ForesterDev
a64d1ec51e Core/Quests: implement Quest Greeting (DB table quest_greeting)
* Core/Quests: implement Quest Greetings. Partial port 22e230ecec
2017-10-29 10:15:22 +01:00
Mikhail Redko
558382ed6d Core/WorldSession: Add RBAC permission for skipping idle connection check (#20595) 2017-10-13 22:26:53 +02:00
Treeston
fcd6fe0aac Scripts/Commands: New utility command: .list spawnpoints.
(I just needed it for dynspawn follow-up work, really.)
2017-08-01 03:42:11 +02:00