Commit Graph

87 Commits

Author SHA1 Message Date
Aurora Lahtela 4e486032f3 Fix some issues with the new navigation button 2023-01-26 14:39:17 +02:00
Aurora Lahtela 362bb44aad Implement a page navigation button
Improve page loading and theme system
- The sidebar is visible while loading with css
  There was an apparent problem when switching pages with the new switcher
- css variables are now used
- Theme color is applied to several buttons and texts
  where previously Plan color was used

Affects issues:
- Implements #2357
2023-01-26 14:18:51 +02:00
Aurora Lahtela 88b4191f6b
Implement http caching (#2840)
* Implement first response parts of http caching
* Implement cached response for static resources
* Implement HTTP caching for json responses
* Fix last seen value for online players
* Implement http caching for pages (.html)
* Use placeholder cache even with async requests.

Affects issues:
- Close #2813
2023-01-22 10:18:14 +02:00
Aurora Lahtela b26678b3dc Fix a couple issues in the react frontend
- Fix card tabs not working with the new react router
- Fix server list card showing "No servers installed" while loading
2023-01-21 12:59:57 +02:00
Aurora Lahtela aa897fe8de Implemented support for reverse-proxy subdirectory addresses
Reverse proxied version of React website now works
when subdirectory address is used (eg. /plan/...)

The functionality was unit tested to ensure things work
2023-01-06 14:24:18 +02:00
Aurora Lahtela 5082f80030 Implemented support for subdirectory addresses
Export of React version of frontend now supports exporting to a subdirectory
So now you can access exported site at /plan/... if it is hosted there.

This might impact reverse proxy setups positively, but that has not yet been tested.
The hypothetical positive impact is the inclusion of subdirectory in the React-router
configuration, since now it can handle the reverse-proxy subdirectory in URL.
2023-01-06 12:12:45 +02:00
Aurora Lahtela a773c4c46e Wrote a test for exported react pages
Affects issues:
- Close #2767
2022-12-13 19:33:00 +02:00
Aurora Lahtela 155910554f Fixed exported page constantly updating data in the background 2022-12-11 21:35:31 +02:00
Aurora Lahtela b3ef8e5a51 Fix onSetExtremes is undefined error 2022-12-10 10:20:12 +02:00
Aurora Lahtela 34318be5c3 Add missing timezone offset to line graphs
Affects issues:
- Fixed #2780
2022-12-10 10:16:27 +02:00
Aurora Lahtela 6ed2404040 Correct playerbase trends table
- now and then were flipped wrong way around

Affects issues:
- Fixed #2772
2022-12-08 16:34:43 +02:00
Aurora Lahtela f7176b3d47 Export redirection index.html files in case someone refreshes browser 2022-12-05 17:10:51 +02:00
Aurora Lahtela ad6abacf7f Fix issues of the exported pages
- Fixed / opening "Redirecting.." view due to wrong whoAmI replacement
- Fixed page not opening because sidebar contained undefined items (static site can't have everything)
- Fixed some sidebar links being anchors instead of react-router links
- Fixed network page not opening due to missing extensionData json
- Fixed server page not opening due to missing extensionData and serverIdentifier json
- Added visual icon to the page when it is exported rather than dynamic for my own sanity
- Removed query page links from exported pages
2022-12-04 11:06:05 +02:00
Aurora Lahtela 1a24a9e11d Fix login and register redirects in Frontend BETA 2022-12-03 19:47:34 +02:00
Aurora Lahtela 5524a64747 Implement react side of player page export 2022-12-02 19:49:54 +02:00
Aurora Lahtela 059d4553aa Implemented react side of export for frontend BETA 2022-11-27 09:48:55 +02:00
Aurora Lahtela 3e0ad424b8 Disable no-useless-concat eslint rule for backendConfiguration.js 2022-11-26 10:23:24 +02:00
Aurora Lahtela 362105cf98 Wrote an Exporter to export react bundle files 2022-11-26 09:01:41 +02:00
Aurora Lahtela 1be786544c Add missing useEffect dependencies 2022-11-25 17:07:45 +02:00
Aurora Lahtela f36ed678a3 Implemented register page in react 2022-11-25 16:49:06 +02:00
Aurora Lahtela b759fe6121 Fix button hover colors 2022-11-22 10:27:52 +02:00
Aurora Lahtela 19ef3b56e0 Fix query page header names 2022-11-22 10:27:42 +02:00
Aurora Lahtela ac88a57afe Implemented query page loader 2022-11-20 20:44:44 +02:00
Aurora Lahtela 838f362e30 Implemented rest of query result cards 2022-11-20 20:35:57 +02:00
Aurora Lahtela a4a1001a8d Display new player name as light green in kills tables
Affects issues:
- Close #1262
2022-11-13 15:49:32 +02:00
Aurora Lahtela 38774867f7 Made query page display some results
Fixed Activity group filter
2022-11-12 10:39:20 +02:00
Aurora Lahtela 4f3e94024d Fixed incorrectly used translation labels 2022-10-22 11:32:45 +03:00
Aurora Lahtela f4bd580840 Implemented Query page filter options 2022-10-22 11:18:24 +03:00
Aurora Lahtela 8c1a357323 Add missing dependency to LineGraph useEffect 2022-10-16 14:23:40 +03:00
Aurora Lahtela 18801a4757 Add missing dependency to LineGraph useEffect 2022-10-16 14:18:07 +03:00
Aurora Lahtela 900ce7c49c Implemented query page server selector 2022-10-16 11:07:11 +03:00
Aurora Lahtela 1c3cfbfe4b Implemented query page graph selector
The range selector on the graph was quite quirky
so functionality in LineGraph needed to be expanded a lot
2022-10-16 10:47:18 +03:00
Aurora Lahtela 428a0c5fde Began work on Query page
- Implemented the view time range selector input fields
- Fixed geolocation filter query returning more options than supposed to
2022-10-15 15:41:57 +03:00
Aurora Lahtela 027c63fd84 Trigger window resize on datatable changes
- Also removed extension table pagination Previous and Next buttons
  to avoid overflowing if card is not wide enough

Affects issues:
- Possibly fixed #2637
2022-10-15 14:25:49 +03:00
Aurora Lahtela 5c9e0deed4 Fix player list routing to wrong player url
Affects issues:
- Fixed #2609
2022-09-25 09:20:39 +03:00
Aurora Lahtela 8cdbebf191 Implemented Network performance tab in React
Affects issues:
- Implemented #2469
2022-09-11 19:30:57 +03:00
Aurora Lahtela 3d64e36159 Implemented Network PlayerBase overview in React 2022-09-11 09:42:03 +03:00
Aurora Lahtela cb7749d778 Implemented network geolocations tab in React
- Add Projection selector to geolocations visualization
2022-09-11 09:30:33 +03:00
Aurora Lahtela 7a51633690 Implemented network page join address tab
- Made it possible to toggle stack/side-by-side join addresses
2022-09-10 10:45:03 +03:00
Aurora Lahtela ab2dfbbbcf Fix network sessions showing wrong table header 2022-09-10 09:52:51 +03:00
Aurora Lahtela adc4162217 Network sessions tab implemented in React 2022-09-10 09:38:25 +03:00
Aurora Lahtela b8258a38a6 Fix some issues in server sorting
- Removed the need for switch statements by giving sort options properties
- Added serverUUID to /v1/network/servers endpoint data
2022-09-10 09:09:52 +03:00
Aurora Lahtela 9654e4a8d3 Fix sorting labels (translated) 2022-09-09 19:15:31 +03:00
Aurora Lahtela f4aaa72f4c Implemented network servers overview in React
- Changed the layout to use a table instead of custom elements for more efficient look.
- Added sorting options to the new table
- Added a total calculator at the table footer

Affects issues:
- Close #1205
2022-09-09 19:10:06 +03:00
Aurora Lahtela ef0ba83412 Automatically update to newest data when receiving cached data 2022-09-06 14:23:39 +03:00
Aurora Lahtela 0bd0bbef24 Fix Extension table header icons not showing up on large tables 2022-09-06 12:21:54 +03:00
Aurora Lahtela 12ce145345 Fixed plugin icons not showing up for sidebar 2022-09-06 12:17:39 +03:00
Aurora Lahtela eba65245fc Remove debug console.log from code 2022-09-05 17:06:03 +03:00
Aurora Lahtela cb21c45ea9 Visualize join address / day in React server page
Join addresses were missing

- Implemented new group visualizer that allows viewing group data as column/bar/pie/table
- Implemented latest join address pie on server page (was missing)
- Implemented join addresses per day graph on new Join addresses tab
- Made playerbase overview use the group visualizer

Affects issues:
- Close #2362
2022-09-05 16:56:59 +03:00
Aurora Lahtela 6d9fcab656 Implement Network overview tab in React 2022-09-04 09:40:17 +03:00