Commit Graph

3056 Commits

Author SHA1 Message Date
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
Rsl1122
6f212e2a7d Removed SettingsTable.Col 2019-02-16 14:27:08 +02:00
Rsl1122
a8825fbba3 Removed SessionsTable.Col 2019-02-16 14:27:07 +02:00
Rsl1122
4a0a8b60b2 Removed ServerTable.Col 2019-02-16 14:27:07 +02:00
Rsl1122
84dc8e4c3b Removed SecurityTable.Col 2019-02-16 14:27:06 +02:00
Rsl1122
21b1489d69 Removed PingTable.Col 2019-02-16 14:27:05 +02:00
Rsl1122
a8a871d931 Removed NicknamesTable.Col 2019-02-16 14:27:04 +02:00
Rsl1122
857892b0e3 Removed KillsTable.Col 2019-02-16 14:27:04 +02:00
Rsl1122
2b5e3c61f3 Removed GeoInfoTable.Col 2019-02-16 14:27:03 +02:00
Rsl1122
b32851c433 Fixed KillsTable removal, RemovePlayerTransaction 2019-02-16 14:27:02 +02:00
Rsl1122
c7d84c0c3b Removed CommandUseTable.Col 2019-02-16 14:27:01 +02:00
Rsl1122
766749fe41 Refactored RemoveOperations#everything into a Transaction 2019-02-16 14:27:01 +02:00
Rsl1122
87a61380f1 Refactored RemoveOperations#player into a Transaction 2019-02-16 14:27:00 +02:00
Rsl1122
a48808adb9 Fixed missing column PingTable 2019-02-16 14:26:59 +02:00