Commit Graph

3052 Commits

Author SHA1 Message Date
Rsl1122
9520d20c3e Made DataContainer#putAll(Map<Key, Supplier>) private 2019-02-16 14:28:41 +02:00
Rsl1122
8a34a04f04 DataContainer#getMap now returns Map<Key, Object> instead 2019-02-16 14:28:41 +02:00
Rsl1122
38b33e1051 Made DataContainer#getSupplier(Key) private 2019-02-16 14:28:40 +02:00
Rsl1122
3bbca4e8e8 Some PerServerContainer queries
- Deprecated PerServerKeys.PLAYER_KILLS
- Deprecated PerServerKeys.PLAYER_DEATHS
- Added PerServerKeys.PLAYER_DEATH_COUNT
- Added PerServerKeys.MOB_DEATH_COUNT
2019-02-16 14:28:39 +02:00
Rsl1122
2d07f27449 Made NicknamesTable static information class
- Made constructor private
- Removed getter in SQLDB
2019-02-16 14:28:39 +02:00
Rsl1122
64a3bc3fe0 Refactored NicknamesTable#getNicknameInformation to a query 2019-02-16 14:28:38 +02:00
Rsl1122
71a5592fd1 Refactored NicknamesTable#saveUserName to a transaction:
- Removed NameProcessor
2019-02-16 14:28:37 +02:00
Rsl1122
cce5688f80 Removed usage of ServerTable#getServerNames from AnalysisContainer 2019-02-16 14:28:36 +02:00
Rsl1122
15c414e2ab Removed ServerTable#getServerInfo 2019-02-16 14:28:36 +02:00
Rsl1122
eadc45d7ed Removed ServerTable#getServerUUID 2019-02-16 14:28:35 +02:00
Rsl1122
5776215c1e Removed ServerTable#getServerUUIDs() 2019-02-16 14:28:34 +02:00
Rsl1122
427971267e Removed ServerTable#getServerName(UUID serverUUID) - not used 2019-02-16 14:28:34 +02:00
Rsl1122
9145f6aa28 Removed SessionsTable#getSessionInfoOfServer() - not used 2019-02-16 14:28:33 +02:00
Rsl1122
687d300e87 Removed SessionsTable#getPlaytimeOfServer(UUID serverUUID) - not used 2019-02-16 14:28:32 +02:00
Rsl1122
4e6f6546d9 Removed SessionsTable#getSessionCount(UUID uuid, long afterDate) - not used 2019-02-16 14:28:31 +02:00
Rsl1122
28df900c0a Removed SessionsTable#getSessionCount(UUID uuid) - not used 2019-02-16 14:28:31 +02:00
Rsl1122
b9cf17eaad Removed SessionsTable#getPlaytime(UUID uuid, UUID serverUUID) - not used 2019-02-16 14:28:30 +02:00
Rsl1122
969b305526 Removed SessionsTable#getPlaytime(UUID uuid) - not used 2019-02-16 14:28:29 +02:00
Rsl1122
5ad767c83c Removed SessionsTable#getPlaytime(UUID uuid, long afterDate) - not used 2019-02-16 14:28:29 +02:00
Rsl1122
4ecdc38f0a Fixed PaperTPSCountTimer constructor 2019-02-16 14:28:28 +02:00
Rsl1122
a62b4ae61e Removed NicknamesTable#getNicknames - not used 2019-02-16 14:28:28 +02:00
Rsl1122
af674919e7 Refactored TPSTable#insertTPS to a transaction:
- Removed TPSInsertProcessor
2019-02-16 14:28:27 +02:00
Rsl1122
f9136d390a SecurityTable now static info class
- Made constructor private
- Removed getter from SQLDB
2019-02-16 14:28:26 +02:00
Rsl1122
237168f2eb Refactored SecurityTable#addNewUser to a transaction 2019-02-16 14:28:26 +02:00
Rsl1122
2bfbb60f1e Removed RemoveOperations 2019-02-16 14:28:25 +02:00
Rsl1122
a41fd0dc40 Refactored SecurityTable#removeUser to a transaction 2019-02-16 14:28:24 +02:00
Rsl1122
fa3b92f00e Removed extra annotationProcessor configurations 2019-02-16 14:28:24 +02:00
Rsl1122
9ec7318fac Removed CheckOperations 2019-02-16 14:28:24 +02:00
Rsl1122
ea8a53029c Set up maven-publish plugin 2019-02-16 14:28:23 +02:00
Rsl1122
95d14ed73f Rename DataCache to NicknameCache:
- Some errors were encountered with removal of DataCache,
  turns out if a dependency that has dagger modules that use some
  class, a compile error occurs.
  Thus the DataCache class was left in place until the uses are
  removed from the PluginBridge.
2019-02-16 14:28:23 +02:00
Rsl1122
4f3296b416 Fixed failing PingMedianTest 2019-02-16 14:28:22 +02:00
Rsl1122
48ec77c30e Removed DataCache#getUUIDof - the cache was never updated 2019-02-16 14:28:22 +02:00
Rsl1122
e2507c249b Removed DataCache#getName - not used 2019-02-16 14:28:21 +02:00
Rsl1122
fc07cb0227 Turned PingTable static info class:
- Made PingTable constructor private
- Removed getter from SQLDB
2019-02-16 14:28:20 +02:00
Rsl1122
5b3d687a60 Refactored PingTable#insertPing to a transaction 2019-02-16 14:28:20 +02:00
Rsl1122
b23235b50b Refactored PingTable#getPing to a query 2019-02-16 14:28:19 +02:00
Risto Lahtela
2d05c83b42 Fixed networkGeolocationCounts 2019-02-16 14:28:18 +02:00
Risto Lahtela
fe29f44680 Fixed networkGeolocationCounts for multiple users 2019-02-16 14:28:17 +02:00
Risto Lahtela
26cd95cab8 Fix networkGeolocationCounts for MySQL 2019-02-16 14:28:17 +02:00
Risto Lahtela
7080b7b3b2 Attempt to fix networkGeolocationCounts on MySQL 2019-02-16 14:28:16 +02:00
Rsl1122
1d2fc774c2 Fixed test fails caused by sudden player name change 2019-02-16 14:28:16 +02:00
Rsl1122
acd2225c49 Refactored UserInfoTable#registerUserInfo to a transaction:
- Removed RegisterProcessor
- Refactored UserInfoTable#isRegistered (both) to a query
- Removed UserInfoTable#isRegisteredOnThisServer
- Removed UserInfoTable#getServerUserInfo - not used
- Made login nickname processing non critical
2019-02-16 14:28:15 +02:00
Rsl1122
feaf7849d2 Refactored UsersTable#registerUser to a transaction:
- Removed ProxyRegisterProcessor
- Optimized name updating to occur on login instead of chat events
  - This removes the need to store player names in the DataCache.
2019-02-16 14:28:14 +02:00
Rsl1122
8a15e03096 Refactored UsersTable#isRegistered to a query 2019-02-16 14:28:14 +02:00
Rsl1122
966b204ca1 Fixed swapped op and ban values in test 2019-02-16 14:28:13 +02:00
Rsl1122
aa3678ba0e Refactored UserInfoTable#getAllUserInfo to a better query 2019-02-16 14:28:13 +02:00
Rsl1122
d5adc7f428 Refactored UserInfo to have Server UUID in it 2019-02-16 14:28:12 +02:00
Rsl1122
f7e28346e9 Removed UserInfoNameComparator - not used 2019-02-16 14:28:11 +02:00
Rsl1122
44bc2c01fa Removed UserInfoTable#getUserInfo - not used 2019-02-16 14:28:11 +02:00
Rsl1122
b0170b76af GeoInfoTable now static info class:
- Made constructor private
- Removed getter from SQLDB
2019-02-16 14:28:10 +02:00