Rsl1122
300dc69e33
Fixed networkContainerSupportsAllNetworkKeys by:
...
- Ignoring Deprecated key fields when requiring support
2019-02-16 14:27:42 +02:00
Rsl1122
4ee31de3ed
Refactored SQLDB#clean into a transaction
2019-02-16 14:27:42 +02:00
Rsl1122
0f79263424
Refactored TPSTable#getPeakPlayerCount+derivatives to queries:
...
Optimizes fetch for the player peaks
2019-02-16 14:27:41 +02:00
Rsl1122
35e967e2eb
Renamed some OptionalFetchQueries to start with fetch
2019-02-16 14:27:41 +02:00
Rsl1122
dcde2e559f
Removed TPSTable#getAllTimePeak() - not used
2019-02-16 14:27:40 +02:00
Rsl1122
08e0a4b6eb
Removed TPSTable#getTPSData() - not used
2019-02-16 14:27:39 +02:00
Rsl1122
817ce5bbd9
AggregateQueries for server user counts:
...
- Removed CountOperations, SQLCountOps
- Removed UserInfoTable#getServerUserCount
- Removed UserInfoTable#getPlayersRegisteredForServers
- Optimized server box generation for network page, user counts
- Deprecated NetworkKeys.SERVER_REGISTER_DATA, no longer supported.
2019-02-16 14:27:39 +02:00
Rsl1122
fbb1bb72de
Optimized ManageBackupCommand with #baseUserCount method
...
New backup is not initialized if the source database does not have users
2019-02-16 14:27:38 +02:00
Rsl1122
a99fe31b75
Added AggregateQueries#baseUserCount
...
Counts how many users Plan knows about
2019-02-16 14:27:37 +02:00
Rsl1122
019f75bafe
Rename CountQueryStatement to HasMoreThanZeroQueryStatement
...
This is to avoid confusion as the Query is of type Boolean instead of
Integer.
2019-02-16 14:27:37 +02:00
Rsl1122
9e496914b3
Refactored SQLFetchOps#get___PlayerContainers to a queries
2019-02-16 14:27:36 +02:00
Rsl1122
d4b5731e2e
Refactored SQLFetchOps#getPlayerContainer to a query
2019-02-16 14:27:35 +02:00
Rsl1122
6023b9e88c
Split ServerContainerQuery and NetworkContainerQuery into classes
2019-02-16 14:27:35 +02:00
Rsl1122
0ae37f017a
Refactored SecurityTable#getWebUser into a query
...
- Removes CheckOperations#doesWebUserExists
- Removed usages of FetchOperations#getWebUser
- Split WebUser functionality test into 3 tests
2019-02-16 14:27:34 +02:00
Rsl1122
46a41de81d
Removed SQLDB#getAllTables and #getAllTablesRemoveOrder
2019-02-16 14:27:33 +02:00
Rsl1122
6f39b19470
Refactored some Container fetch operations into queries:
...
- FetchOperations#getNetworkContainer refactored into a query
- FetchOperations#getServerContainer refactored into a query
- Deprecated SQLDB#get[TableName] methods
- Deprecated SQLDB#getAllTables & SQLDB#getAllTablesRemoveOrder
- Deprecated All Operations interfaces
Everything deprecated in this commit will be removed.
2019-02-16 14:27:32 +02:00
Rsl1122
afa0715416
Removed outdated TODOs
2019-02-16 14:27:32 +02:00
Rsl1122
685c58ec42
Refactored PingTable#insertAllPings to an executable
...
- Renamed some of the new methods
2019-02-16 14:27:31 +02:00
Rsl1122
ee0462c1d0
Fix four failing db WorldTimes tests
2019-02-16 14:27:30 +02:00
Rsl1122
7559ab2904
Refactored SessionsTable#insertSessions to an executable:
...
Also affected:
- KillsTable#savePlayerKills
- WorldTimesTable#saveWorldTimes
2019-02-16 14:27:30 +02:00
Rsl1122
f48b45ccb2
Removed UsersTable#updateKicked
2019-02-16 14:27:29 +02:00
Rsl1122
35c9caf59a
Refactored UsersTable#insertUsers to an executable:
...
- New object to represent plan_users data, BaseUser
- Deprecated UserInfo#getName
2019-02-16 14:27:29 +02:00
Rsl1122
08c0c8f170
Deprecated FetchOperations
2019-02-16 14:27:28 +02:00
Rsl1122
19336d77df
Removed lastSeen from UserInfo
...
This variable has not been in use since the date is not stored on a
specific field, instead plan_sessions should be used.
2019-02-16 14:27:28 +02:00
Rsl1122
40a1325c48
Refactored WorldTable#saveWorlds to an executable
2019-02-16 14:27:27 +02:00
Rsl1122
d0d645d09a
Refactored UserInfoTable#insertUserInfo to an executable
2019-02-16 14:27:26 +02:00
Rsl1122
da4901b37a
Added some javadoc
2019-02-16 14:27:25 +02:00
Rsl1122
62645b97d3
Refactored TPSTable#insertAllTPS to an executable
2019-02-16 14:27:25 +02:00
Rsl1122
9d550caa14
Refactored ServerTable#insertAllServers to an executable
2019-02-16 14:27:24 +02:00
Rsl1122
cf8cadeb28
Refactored SecurityTable#addUsers to an executable
2019-02-16 14:27:23 +02:00
Rsl1122
2516c55872
Refactored NicknamesTable#insertNicknames to an executable
2019-02-16 14:27:23 +02:00
Rsl1122
962faaf859
Refactored GeoInfoTable#insertAllGeoInfo to an executable
2019-02-16 14:27:22 +02:00
Rsl1122
2245e9bd00
Refactored CommandUseTable#insertCommandUsage to an executable
2019-02-16 14:27:21 +02:00
Rsl1122
f65ccbf3ff
Rename Transaction#execute to Transaction#performOperations
2019-02-16 14:27:20 +02:00
Rsl1122
b207e34071
Deprecated SaveOperations
2019-02-16 14:27:20 +02:00
Rsl1122
98607edfb6
Executable and ExecBatchStatement:
...
- New interface Executable allows moving execution logic to
ExecStatement, as well as forces execution inside Transactions.
- ExecBatchStatement splits batch functionality away from ExecStatement
since the semantics of batch execution are similar to that of single
executions
- Deprecated: Table#execute, Table#executeBatch, Table#query
- Removed Transaction#executeBatch
2019-02-16 14:27:19 +02:00
Rsl1122
6f0ccae59b
BackupOperation usage replaced with transaction:
...
Database#backup, BackupOperations removed
2019-02-16 14:27:18 +02:00
Rsl1122
2be3b2cf34
Refactored BatchOperationTable into BackupCopyTransaction
2019-02-16 14:27:18 +02:00
Rsl1122
5e8cbf1a88
Removed Table#removeAllData
2019-02-16 14:27:17 +02:00
Rsl1122
bdcba82735
Removed BatchOperationTable#clearTable
2019-02-16 14:27:16 +02:00
Rsl1122
ddca1574e8
Removed Table#createTable(String)
2019-02-16 14:27:16 +02:00
Rsl1122
0ad7caa0a9
Removed Table#createTable()
2019-02-16 14:27:15 +02:00
Rsl1122
e75fb76906
Removed WorldTimesTable.Col
2019-02-16 14:27:14 +02:00
Rsl1122
dec81cc12f
Removed WorldTable.Col
2019-02-16 14:27:13 +02:00
Rsl1122
18e39d1394
Removed UserUUIDTable
2019-02-16 14:27:13 +02:00
Rsl1122
071645e1f3
Removed UserUUIDTable.Col
2019-02-16 14:27:12 +02:00
Rsl1122
975cb9d21f
Removed UserUUIDTable#removeUser
2019-02-16 14:27:11 +02:00
Rsl1122
5c8e8b0351
Removed UsersTable.Col
2019-02-16 14:27:11 +02:00
Rsl1122
5474d45926
Removed UserInfoTable.Col
2019-02-16 14:27:10 +02:00
Rsl1122
01f23d22d2
Removed TPSTable.Col
2019-02-16 14:27:09 +02:00