Commit Graph

4540 Commits

Author SHA1 Message Date
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
Risto Lahtela
80cf3fcdf6
Update versions.txt 2021-01-31 13:52:54 +02:00
Risto Lahtela
ed18a7b20c
Search Query Feature (#1729) +3 other changes
- Implemented Search query feature (see linked issue at the end for details)

List of unrelated features and changes (other than search query) in this PR that affect the change log:

- Player tables now show active playtime instead of playtime
  - /v1/players and /v1/network/players endpoints no longer give playtime (Considered non-breaking change since the endpoints return arrays have been dynamic for DataTables anyway)
- Updated all locale files with missing translations
- Updated HighCharts

Affects issues:
- Close #963
- Notify #638 #1252 #1282 #1283 #1624
2021-01-31 13:33:23 +02:00
Risto Lahtela
c897fb7868 Implement loaders for query 2021-01-31 13:26:13 +02:00
Risto Lahtela
54b95c1c0a Fixed filter form data resetting when adding filter 2021-01-31 13:03:56 +02:00
Risto Lahtela
180547e078 Rename performQuery -> performNewQuery 2021-01-31 12:26:55 +02:00
Risto Lahtela
7f953e989e Fixed night mode not applying to query graphs
Issue was that HighCharts was too late in the load order
to apply color-selector.js method
2021-01-31 12:24:35 +02:00
Risto Lahtela
12c8f24773 Updated HighCharts 2021-01-31 12:15:33 +02:00
Risto Lahtela
70695b6854 Display query path on success as well 2021-01-31 11:46:31 +02:00
Risto Lahtela
504e117248 Refactored multiple variables into queryState 2021-01-31 11:32:50 +02:00
Risto Lahtela
cacdc4641d Extracted insertElementBefore to domUtils.js 2021-01-31 11:14:52 +02:00