Commit Graph

4800 Commits

Author SHA1 Message Date
Risto Lahtela
b5365d2321 Cache graph responses 2021-02-10 13:11:14 +02:00
Risto Lahtela
f5a9d03da9 Reduced refresh barrier down to 15 seconds 2021-02-10 13:11:13 +02:00
Risto Lahtela
ab5e0120be Deprecate JSONCache 2021-02-10 13:11:12 +02:00
Risto Lahtela
b660c3b57b Moved JSON storage to delivery.webserver.cache 2021-02-10 13:11:12 +02:00
Risto Lahtela
f9e16c75a9 Removed jQuery usage from network-values.js 2021-02-10 13:11:11 +02:00
Risto Lahtela
5bde256fdc Made things on the network page load again
- All the things that currently use the async loader now function.
2021-02-10 13:11:10 +02:00
Risto Lahtela
61be4e784f Clean up server-values.js 2021-02-10 13:11:09 +02:00
Risto Lahtela
fc61c0d7e7 Removed jQuery usage in server-values.js 2021-02-10 13:11:09 +02:00
Risto Lahtela
6ab44a81ce Made performance overview update again on load 2021-02-10 13:11:08 +02:00
Risto Lahtela
265c4e24e7 Made ping table update again on load 2021-02-10 13:11:08 +02:00
Risto Lahtela
720d2e2d3d Made playerbase overview update again on load 2021-02-10 13:11:07 +02:00
Risto Lahtela
b0e1928b0e Made pvp&pve update again on load 2021-02-10 13:11:06 +02:00
Risto Lahtela
c6817e0e28 Made session overview update again on load 2021-02-10 13:11:05 +02:00
Risto Lahtela
b8ec15e381 Made online activity overview update again on load 2021-02-10 13:11:04 +02:00
Risto Lahtela
6b4fb12755 Made server overview update again on load 2021-02-10 13:11:04 +02:00
Risto Lahtela
54874175d8 Added timestamp to stored json that did not contain it
This will allow cached data to include the time it was refreshed at.
2021-02-10 13:11:03 +02:00
Risto Lahtela
aca573e353 Removed file cache setting 2021-02-10 13:11:02 +02:00
Risto Lahtela
3619ff814a JSON File storage clean task
- Cleans query files
- Cleans other json files that are old
2021-02-10 13:11:01 +02:00
Risto Lahtela
a621b343e8 Implemented a memory storage for json
This will replace JSONCache eventually
2021-02-10 13:11:00 +02:00
Risto Lahtela
49f6b7708f Made update threshold configurable 2021-02-10 13:11:00 +02:00
Risto Lahtela
899d29f2d2 Reduced chance of duplicate refresh processes
- Access lock prevents duplicate processes being placed if two
  threads enter the same method in such a way that both get before
  the first one puts the update Future in the Map.
- Update threshold prevents all calls without timestamp causing a new
  refresh process from being created
- Bad request 400 prevents timestamp from being too far in the future
  to avoid bad actor increasing timestamp to create new refresh processes
2021-02-10 13:10:59 +02:00
Risto Lahtela
05a2c20fdd Added a service for updating JSON asynchronously
Still needs:
- an in-memory cache that invalidates things
- add the current timestamp to the returned json
- javascript side that updates data if the timestamp is old
2021-02-10 13:10:58 +02:00
QuakyCZ
2a75e7fb5a
Translated new keys in CS locale file. (#1750)
* Fixed Czech translation
- all rows are translated
- fixed weird translations
- missing keys for texts in server's insights (average chunks, average entities)

* Added our names in LangCondejava

* Translated new keys.

Missing keys:
* player base development - Players in graph
* all graphs: months, Zoom, From, To

* fixed translation for licenced_under
2021-02-09 17:52:39 +02:00
dependabot-preview[bot]
7271515728 Bump dagger-compiler from 2.31.2 to 2.32 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.31.2 to 2.32.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.31.2...dagger-2.32)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-09 05:36:14 +00:00
dependabot-preview[bot]
c8b005fd5f Bump dagger from 2.31.2 to 2.32 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.31.2 to 2.32.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.31.2...dagger-2.32)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-09 05:27:34 +00:00
dependabot-preview[bot]
fc7e251a12 Bump RedisBungee from 0.6-SNAPSHOT to 0.6 in /Plan
Bumps RedisBungee from 0.6-SNAPSHOT to 0.6.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 05:46:24 +00:00
Risto Lahtela
66eb192735 Changed how first filter with CompleteSetException works
Now if the first filter instead says (skip) and returns 0 players.
I considered that all players could be returned, but it is better if
users get to choose their filter again in this case.

Affects issues:
- Fixed #1742
2021-02-07 23:04:51 +02:00
Risto Lahtela
2ab789f3d8
Add Plan_architecture_overview.png 2021-02-07 13:37:10 +02:00
Risto Lahtela
7385e532fd
Create wiki_edit.md 2021-02-05 09:25:21 +02:00
dependabot-preview[bot]
bcaed53f19 Bump junit-jupiter-params from 5.7.0 to 5.7.1 in /Plan
Bumps [junit-jupiter-params](https://github.com/junit-team/junit5) from 5.7.0 to 5.7.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.0...r5.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-05 05:45:53 +00:00
dependabot-preview[bot]
b5fdd38e90 Bump junit-jupiter-api from 5.7.0 to 5.7.1 in /Plan
Bumps [junit-jupiter-api](https://github.com/junit-team/junit5) from 5.7.0 to 5.7.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.0...r5.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-05 05:36:49 +00:00
dependabot-preview[bot]
de76b1ae4c Bump junit-jupiter-engine from 5.7.0 to 5.7.1 in /Plan
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.7.0 to 5.7.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.0...r5.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-05 05:27:29 +00:00
Risto Lahtela
715f613d6a Added filter names to locale 2021-02-03 21:30:59 +02:00
Risto Lahtela
0b3fb94509 Fixed the session summary query 2021-02-03 21:21:09 +02:00
Risto Lahtela
97e22bbf17 Replaced breaking translation matches
Affects issues:
- Fixed #1734
2021-02-03 21:16:57 +02:00
Risto Lahtela
df96360c94 Readable filter names to query path 2021-02-03 19:50:40 +02:00
Risto Lahtela
4a95ad5f5d Fixed session aggregate calculations in Query page
Players with no sessions within view did not affect the data
2021-02-03 19:46:00 +02:00
Risto Lahtela
db0a8359b9 Fixed optimized performance graph issues with gap on
Because of the new resolution reduction the gap algorithm was not
advanced enough to differentiate between lower resolution and missing data.

This was fixed by adding 3 different Gap strategies for the different
resolutions
2021-02-03 19:38:53 +02:00
Risto Lahtela
8f6c286d9c Removed ServerContainerQuery
APIv4 (deprecated) getServerContainer now returns empty data
2021-02-03 19:25:04 +02:00
Risto Lahtela
23748becb6 Fixed Day by Day disappearing with gaps on
Affects issues:
- Fixed #1735
2021-02-03 19:18:16 +02:00
Risto Lahtela
eebf3d28f9 Fixed Query viewfinder graph gap fill 2021-02-03 19:08:55 +02:00
Risto Lahtela
0b187ef20c Removed non-main server plugin data from query results 2021-02-03 18:43:41 +02:00
Risto Lahtela
2cd5cf9564 Fixed duplicate rows in query table
Applied the previous fix from NetworkTablePlayersQuery to the same issue
2021-02-03 18:43:40 +02:00
Risto Lahtela
9e63b82c99 Improved filter selector 2021-02-03 18:43:40 +02:00
Risto Lahtela
9aa9970d26 Fixed plugin group filters 2021-02-03 18:43:39 +02:00
QuakyCZ
3f118a5ea8
Improved CZ Locale by QuakyCZ and MrFriggo (#1732)
- all rows are translated
- fixed weird translations
2021-02-02 22:11:49 +02:00
Risto Lahtela
ae4fb0c98e Fixed error in serverPreferencePieValuesAreCorrect test 2021-02-02 14:01:16 +02:00
Risto Lahtela
25e98ef7b5 Reproduced, tested and fixed DbOpException
Error was caused by table name alias in the query

Affects issues:
- Fixed #1731
2021-02-02 07:51:43 +02:00
Risto Lahtela
2ab49aa60f Update Sponge repository url 2021-02-01 08:18:19 +02:00
Risto Lahtela
a2708c9113 Fixed hash not being applied on login 2021-01-31 16:48:51 +02:00