Commit Graph

3592 Commits

Author SHA1 Message Date
Rsl1122
b78d3b139e Added a resource cache between PlanFiles and FileResponse 2019-09-03 09:32:32 +03:00
Rsl1122
d47dccc0f7 Removed ResponseCache invalidation calls 2019-09-03 09:32:32 +03:00
Rsl1122
fbdf6dbb45 JSONCache invalidation to some events 2019-09-03 09:32:31 +03:00
Rsl1122
06d4d2fef2 Moved utilities.formatting -> delivery.formatting 2019-09-03 09:32:31 +03:00
Rsl1122
efa0eec8a8 Made JSONCache static 2019-09-03 09:32:31 +03:00
Rsl1122
58bff282eb Use of JSONCache & permission levels for JSON endpoints 2019-09-03 09:32:30 +03:00
Rsl1122
20ef9df63d Implemented a JSONCache 2019-09-03 09:32:30 +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
Rsl1122
ff5b8882d2 Fixed a bug with the font not loading 2019-09-03 09:32:28 +03:00
Rsl1122
184949efca Removed a debug logging statement 2019-09-03 09:32:28 +03:00
Rsl1122
6ff04d3bdf Fixed a bug introduced with StringUtils#split
- ConfigReader relied on empty Strings when splitting lines,
  StringUtils removed empty strings from the split array.
2019-09-03 09:32:27 +03:00
Rsl1122
4547272783 Replaced usages of String#split with StringUtils#split 2019-09-03 09:32:27 +03:00
Rsl1122
27d436ce7f Optimized Locale replacement 2019-09-03 09:32:27 +03:00
Rsl1122
074289c239 Optimized Theme value replacement 2019-09-03 09:32:26 +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
6937d18994 Removed traces of PluginBridge that were missed 2019-09-03 09:32:24 +03:00
Rsl1122
5e3028e09c Registered LuckPerms extension 2019-09-03 09:32:24 +03:00
Rsl1122
7b52342d26 Removed pluginbridge as a dependency 2019-09-03 09:32:23 +03:00
Rsl1122
517f479ad0 Optimized /network Server information queries 2019-09-03 09:32:23 +03:00
Rsl1122
539d817bf9 Removed todos from library javascript 2019-09-03 09:32:23 +03:00
Rsl1122
6cbf28ad17 Plan API 5.0-R0.2: Changed GroupProvider to return String[] 2019-09-03 09:32:22 +03:00
Rsl1122
41cec8a055 Tests for the group queries 2019-09-03 09:32:22 +03:00
Rsl1122
c55a3eac02 Group tables to /server page 2019-09-03 09:32:22 +03:00
Rsl1122
e19111c0fb Added groups to /server players table 2019-09-03 09:32:22 +03:00
Rsl1122
7feacebbb0 Replaced two ExtensionData class variants with one 2019-09-03 09:32:21 +03:00
Rsl1122
3afc168fec Refactored some methods in Extension queries
- Some Map management inside queries has now been delegated to
  QueriedTabData and QueriedTables to make the queries easier to read
2019-09-03 09:32:21 +03:00
Rsl1122
9677de701a Query for groups on player page 2019-09-03 09:32:21 +03:00
Rsl1122
c0da4c03b4 Gathering of groups 2019-09-03 09:32:20 +03:00
Rsl1122
ca8b89338e Removal of unsatisfied conditional groups 2019-09-03 09:32:20 +03:00
Rsl1122
49f7286923 Added new tables for extension groups 2019-09-03 09:32:20 +03:00
Rsl1122
dacc089bb7 Fixed update modal showing wrong version number 2019-09-03 09:32:20 +03:00
Rsl1122
1bc8fbed42 Added a try catch to the loading to inform user 2019-09-03 09:32:20 +03:00
Rsl1122
f2b6040469 Fixed /network showing server uuid for online sessions 2019-09-03 09:32:19 +03:00
Rsl1122
59d1fdb085 Online sessions to Most recent sessions + fix sorting 2019-09-03 09:32:19 +03:00
Rsl1122
d2b57498da Fixed /player kill table only showing self kills 2019-09-03 09:32:19 +03:00
Rsl1122
5ebe33e293 Fixed Html#colorsToSpan for escaped html 2019-09-03 09:32:18 +03:00
Rsl1122
667dbe471f Fix math again for player retention 2019-09-03 09:32:18 +03:00
Rsl1122
97ff014f17 Fixed player sorting for /server page
- Now all most recent players should be visible
2019-09-03 09:32:18 +03:00
Rsl1122
0605adcbab Added missing license header 2019-09-03 09:32:18 +03:00
Rsl1122
a7978c8bda Plan API 5.0-R0.1: DATA_EXTENSION_GROUPS Capability 2019-09-03 09:32:17 +03:00
Rsl1122
65ddbb2ef0 ServerPluginTabs now parses extra pages for wide tables 2019-09-03 09:32:16 +03:00
Rsl1122
5a87dfa7e8 Optimized few CommonQueries 2019-09-03 09:32:16 +03:00
Rsl1122
4bf38456b3 Removed VersionInfo#isTrusted 2019-09-03 09:32:16 +03:00
Rsl1122
887e754f0d Deleted old web assets 2019-09-03 09:32:15 +03:00
Rsl1122
040c2c4f4b Fixed some tests not closing resources properly 2019-09-03 09:32:15 +03:00
Rsl1122
a14c97002c Optimized activity graph queries
- Reduced queries from 40 to 8 with union selects
2019-09-03 09:32:15 +03:00
Rsl1122
56ebf0d3f8 Changes to TPS serverOccupied calculation
- Ignored downtime that started when players were online from the
  calculation
2019-09-03 09:32:15 +03:00
Rsl1122
d10aaa46d0 Added ms unit to ping table 2019-09-03 09:32:14 +03:00
Rsl1122
b754fa97e2 Added title property to small trends 2019-09-03 09:32:14 +03:00
Rsl1122
78654d6552 Fixed player page kills formatting 2019-09-03 09:32:14 +03:00