Risto Lahtela
8334b7b696
Disk-based cache feature ( #1755 )
...
Merges disk-based cache feature.
Affects issues:
- Close #1459
- Fixed #1606
Also contains styling for player datatables
Affects issues:
- Fixed #1615
2021-02-12 11:11:22 +02:00
Risto Lahtela
0769ddc3d4
Removed some unused variables I missed
2021-02-12 11:08:53 +02:00
Risto Lahtela
95af3f5f8b
Removed JSONCache and its invalidation uses
2021-02-12 10:56:48 +02:00
Risto Lahtela
f48ab818ef
Updated datatables and its style
2021-02-12 10:49:23 +02:00
Risto Lahtela
1b7e91b87b
Made server calendar refreshable
2021-02-12 10:32:42 +02:00
Risto Lahtela
1118b80f61
Don't update performance graph twice on load
...
This behavior was janky
2021-02-12 10:18:10 +02:00
Risto Lahtela
dbe3b849c4
Cache and refreshable player tables
2021-02-12 10:16:23 +02:00
Risto Lahtela
714b1a2b0c
Stored plugin tabs in different cache
2021-02-12 09:50:40 +02:00
Risto Lahtela
36ff87abf2
Made UnitSemaphoreAccessLock use a while loop to check condition
2021-02-12 09:39:29 +02:00
Risto Lahtela
c0a210956d
Refactored file deletion checks for JSONFileStorage
2021-02-12 09:34:48 +02:00
Risto Lahtela
5c01cde102
Prevented synchronization issue with UnitSemaphoreAccessLock
...
Using the boolean outside of the synchronized block might have caused issues.
2021-02-12 09:27:56 +02:00
Risto Lahtela
2c9c691b4f
Refactored AsyncJSONResolverService to reduce duplicate code
2021-02-11 18:09:59 +02:00
Risto Lahtela
92e98948ec
Fixed export issues
2021-02-11 12:58:30 +02:00
Risto Lahtela
794c995012
Made player kills table load again
2021-02-11 12:49:20 +02:00
Risto Lahtela
6715244b2c
Made session accordion load again
2021-02-11 12:43:31 +02:00
Risto Lahtela
85c0a10c12
Removed some jquery usage from color selector
2021-02-11 12:18:30 +02:00
Risto Lahtela
4d46102a98
Moved graph loading functions to network-values.js
2021-02-11 11:49:25 +02:00
Risto Lahtela
691ebc1ed4
Plugins overview tab name capitalized
2021-02-11 11:27:17 +02:00
Risto Lahtela
0ac377bd93
Changed ping table json format
...
In order to support timestamp values the json is now an object instead of an array.
Previously available data is accessible via json.table
2021-02-11 11:25:20 +02:00
Risto Lahtela
e2af7bb467
Made table headers show a pointer when they sort
2021-02-11 11:15:29 +02:00
Risto Lahtela
b4a4f39ac8
Sorted out the refresh barrier issue
2021-02-11 11:12:48 +02:00
Risto Lahtela
23ecc5d697
Fixed JSONStorageTest compilation
2021-02-11 09:44:38 +02:00
Risto Lahtela
d6814a8581
Fixed the freeze from rendering performance graphs
2021-02-11 09:42:20 +02:00
Risto Lahtela
351075d87c
Update versions.txt
2021-02-10 13:32:36 +02:00
Risto Lahtela
be92653508
Graphs now load again similarly to overview content
2021-02-10 13:11:14 +02:00
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