Rsl1122
1511162f5b
Fixed a bunch of IntelliJ inspections
...
- Fixed possible null issues with NicknameCache
- Removed bunch of unused code, such as:
- Point reduction algorithm implementations
- HighCharts data String parsing methods
- Unused Mutators
- Unused AnalysisKeys
- Leftovers from ConnectionSystem (Response codes)
- Unused queries (Leftovers from Server box and Players table queries)
- rendering.html.icon.Icons
- Made bunch of fields final
Note that old deprecated API classes do not have signature changes.
2019-11-02 16:28:43 +02:00
Risto Lahtela
d05ece6106
Fixed exception on Caller.updatePlayer ( #1179 )
...
* Caller.updatePlayer(null, null) now fails silently
* Updated DKBans Extension
Fixes update call with null UUID
Affects issues:
- Close #1176
2019-10-06 11:07:21 +03:00
Rsl1122
8f5e46e9ad
Cached Extension Tab results
2019-09-28 10:56:03 +03:00
Risto Lahtela
66a19d7de1
Removed system. from packages ( #1147 )
...
* system.commands -> commands
* system.delivery -> delivery
* system.gathering -> gathering
* system.identification -> identification
* system.processing -> processing
* system.settings -> settings
* system.storage -> storage
* system.version -> version
* system -> com.djrapitops.plan
2019-09-03 09:32:30 +03:00
Risto Lahtela
0650f3e338
Interface redesign package restructuring ( #1146 )
...
* command.commands -> command.subcommands
* command -> commands
* commands -> system.commands
* system.locale -> system.settings.locale
* system.settings.changes -> system.settings.config.changes
* system.settings.paths -> system.settings.config.paths
* system.database -> system.storage.database
* db -> system.storage.database
* system.storage.database.access.queries -> system.storage.database.queries
* system.storage.database.access.transactions -> system.storage.database.transactions
* system.storage.database.access -> system.storage.database.operation
* Moved Query classes to system.storage.database.queries
* Moved Executable classes to system.storage.database.transactions
* system.storage.database.patches -> system.storage.database.transactions.patches
* system.file -> system.storage.file
* system.settings.upkeep
* system.storage.upkeep
* system.server.info -> system.identification
* system.importing -> system.gathering.importing
* system.listeners -> system.gathering.listeners
* system.gathering.timed
* Removed duplicate class
* data.container -> system.gathering.domain
* data.plugin.PluginsConfigSection -> system.settings.config.ExtensionSettings
* data.time -> system.gathering.domain
* system.afk -> system.gathering.afk
* system.cache -> system.gathering.cache
* system.status -> system.gathering.listeners
* system.export -> system.delivery.export
* system.webserver -> system.delivery.webserver
* system.json -> system.delivery.rendering.json
* utilities.html -> system.delivery.rendering.html
* system.delivery.rendering.html.graphs -> system.delivery.rendering.json.graphs
* system.delivery.rendering.html.pages -> system.delivery.rendering.pages
* system.delivery.upkeep
* utilities.file -> system.settings.upkeep
* data.store -> system.delivery.domain
* system.update -> system.version
* api.exceptions -> exceptions
* ShutdownHook -> system.gathering
* system.HtmlUtilities - > system.delivery.DeliveryUtilities
* PeriodicAnalysisTask -> PeriodicServerExportTask
* Deprecated APIv4 classes
* Removed ServerTaskSystem (Reduces headache)
* Moved & Fixed some tests
2019-09-03 09:32:26 +03:00
Rsl1122
b87f715492
Updated extensions with sql bug
...
- Replaces REMOVE with DELETE in AAC, nuVotifier, ProtcolSupport &
ViaVersion extensions
- ViaVersion extension factory no longer split into many
Affects issues:
- Close #1137
2019-08-12 10:15:40 +03:00
Rsl1122
e66b63281d
Made build in extension registration more resistant:
...
- Attempt to reduce the amount of exceptions that might slip through
and fail to start Plan
Affects issues:
- Close #1134
2019-08-12 09:32:18 +03:00
Rsl1122
484f3d5976
Fixed some code smells
...
! Removed BukkitImporter#getNames
- Refactored duplicate code in PerServerAggregateQueries
- Refactored duplicate code in BaseUserQueries
- Refactored duplicate code in GeoInfoQueries
- Refactored duplicate code in PingQueries
- Refactored duplicate code in 3 patches
- Refactored many duplicated string literals (SQL)
! Removed unnecessary Exception in GeoInfoStoreTransaction
2019-08-06 22:34:50 +03:00
Rsl1122
64cf78101c
Register DataExtension super class Providers
...
Affects issues:
- Close #1121
2019-08-02 16:07:37 +03:00
Rsl1122
08ce920727
Changed language for Extension errors:
...
This redirects blame away from the plugin that the extension is about.
2019-08-01 19:48:02 +03:00
Rsl1122
710f8ec5bd
Registered ViaVersion extension
2019-07-28 17:34:46 +03:00
Rsl1122
87ef84d43f
QueryService implementation
...
Affects issues:
- Close #1117
2019-07-28 11:23:05 +03:00
Rsl1122
83343471a6
Fixed new code smells:
...
- Unused method in PlayersTableJSONParser
- String duplication in PlayersTableJSONParser
- MethodWrapper Serializable (Used in an Exception)
- String duplication in DeleteIPHashesPatch
- Unused constructor parameter in ProviderValueGatherer
- Locale#equals
- Unused instance variable in WebServer
2019-05-03 14:25:08 +03:00
Rsl1122
6e78e9e7ad
Better exception handling for DataExtension gathering:
...
- Any method that causes an exception is temporarily disabled until
next Plan reload
- Gathering is attempted again for the rest of the methods of that
extension
- Exceptions are properly logged instead of just names of the exceptions
2019-05-02 17:01:09 +03:00
Rsl1122
b4356f2a9e
Improved CallEvent.SERVER_EXTENSION_REGISTER execution
2019-04-19 17:22:49 +03:00
Rsl1122
fb7e752300
Caller updates now async
2019-04-01 20:32:18 +03:00
Rsl1122
4fe85d95ed
CallEvents.SERVER_EXTENSION_REGISTER call
2019-03-31 12:36:57 +03:00
Rsl1122
58e7534501
Implemented Caller and CallEvents filtering
2019-03-31 12:26:22 +03:00
Rsl1122
7ca0c04365
ExtensionServerDataQuery + BooleanAggregateQuery:
...
- Queries plan_extension_server_values
- Queries plan_extension_player_values for aggregates
2019-03-30 11:29:43 +02:00
Rsl1122
47a6a9b2aa
Transaction for removing unsatisfied Conditional data:
...
This is one of the most complex queries I have made.
- Select all fulfilled conditions for all players (conditionName when
true and not_conditionName when false)
- Left join with player value & provider tables when uuids match, and
when condition matches a condition in the query above.
- Filter the join query for values where the condition did not match
any provided condition in the join (Is null)
- Delete all player values with IDs that are returned by the left join
query after filtering
In addition:
- Added test for the transaction
- Added extension data removal to RemoveEverythingTransaction
- Added unregister method to ExtensionService
2019-03-26 12:22:57 +02:00
Rsl1122
134a7b1e18
Fixed many Extension Provider store errors
2019-03-20 17:17:23 +02:00
Rsl1122
f62140d6ca
Debug logging of DataExtension registration
2019-03-20 14:40:07 +02:00
Rsl1122
09787f4ff1
Fixed Extension SQL syntax errors
2019-03-20 14:37:55 +02:00
Rsl1122
0c95a4cc63
Config enable check for DataExtension registration
2019-03-20 13:48:50 +02:00
Rsl1122
e8da008538
Added 'extensions' module:
...
- Module is in charge of registering built in DataExtensions
- This is done via ExtensionRegister
2019-03-20 13:37:56 +02:00
Rsl1122
5061f6d9ec
Logging of implementation mistake warnings
2019-03-18 20:10:39 +02:00
Rsl1122
48e65a60c8
ExtensionService implementation
2019-03-18 15:04:53 +02:00