Commit Graph

49 Commits

Author SHA1 Message Date
Aurora Lahtela 621e0b6f6e Add Network Calendar to Network Overview
Does the same as Server Calendar but for the whole network.

Affects issues:
- Close #3111
2023-09-30 17:10:18 +03:00
Aurora Lahtela 9886040de7 Translate more labels like 'Unknown' in the frontend 2023-09-29 09:11:50 +03:00
Aurora Lahtela 01d904c7d1
2905/remove old web files (#3225)
* Removed Plugin.Use_Legacy_Frontend feature flag
* Remove version modal html generation in Java
* Remove contributor list html generation in Java
* Remove more html generation in Java
* Delete old web file bundle
* Removed locale html/js translation from backend
* Move Html#swapColorsToSpan to the React side
* Reimplement datatables and backend for preferences
* Load preferences from backend
* Usability fixes to the players table
* Delete WebAssetVersionCheckTask
* Add new locale to locale files
* Export defaultPreferences as json on react export

Affects issues:
- Close #2905
2023-09-23 22:24:34 +03:00
Aurora Lahtela 5061439d14
1623/access control (#3173)
* Add web authorization permission based on groups
  * Access and parts of website are limited by permissions
* Add group management in /manage page
  * Higher level permissions grant lower level permissions similar to Sponge
* Add command /plan setgroup, which uses plan.setgroup.other permission
* Add command /plan groups, which uses plan.setgroup.other permission
* Add more navigation based on permissions
* API modifications
  * User#hasPermission now returns true if user has parent permission in the tree
  * ResolverService#registerPermissions and ResolverService#registerPermission methods for adding new permissions
* Update locale with new lines
* Various unrelated fixes to CSS and code

Affects issues:
- Close #1623
2023-08-20 11:56:13 +03:00
Aurora Lahtela f7a40fbd68 Add setting 'Webserver.Security.Disable_registration'
- This disables /auth/register endpoint and /plan register command.
- Website will display "Registering new users has been disabled in the config." on register page

Affects issues:
- Close #2332
2023-05-15 20:32:12 +03:00
Aurora Lahtela f7cec19372
Multi proxy support (#2968)
- Change proxy server info storage to allow multiple proxies to exist in the database
- Allow naming Proxies with Server.Name config setting
- Server.IP is no longer required to be set during installation
- Change logic reliant on single proxy server to consider multiple proxies
  - If multiple proxies have webserver or export enabled, the address given by commands can be any of them.
- Network players online graph now stacks if redisbungee is not used. Individual players online graphs for different proxies can be viewed from Performance tab.
- Last Peak and All Time Peak are not given for multi-proxy networks without redisbungee since it would be expensive to calculate.
- Improved network performance tab considerably
- /plan info displays the Server UUID of the current server
- /plan server link goes to /server/UUID instead of /server/Name
- Fix join address graphs not loading if strict GROUP BY is enabled in MySQL

Affects issues:
- Close #1454
2023-04-09 10:10:28 +03:00
Aurora Lahtela e40793d2b8 Add warning to server list if server hasn't sent data for over 24h
The warning is demoted if data doesn't arrive in 7 days to a grey warning
And again after 30 days it changes to an archive to signify the server might be gone for good.

Affects issues:
- Close #2595
2023-04-06 19:57:45 +03:00
Aurora Lahtela c20a746bd6
Add player retention analysis graph (#2917)
Adds a graph to network and server pages that has options to:
- Draw graphs at different time resolutions
- Limit input data by time
- Group players by register date or join address
- Visualize retention in different ways
  - Time since registration date
  - Playtime
  - Date
  - Cumulative player gain
  - Percentage / Player count / Stacked player count

Any and all combinations are allowed which allows extensive analysis of player retention. Help sections attempt to make the data understandable and show examples.

Affects issues:
- Close #2159
2023-03-17 18:25:38 +02:00
Aurora Lahtela 3569034dc4 Translate the retention help prompt 2023-03-05 09:11:33 +02:00
Aurora Lahtela b3a8fee22d Add information modal about activity index 2023-03-04 19:13:35 +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 f36ed678a3 Implemented register page in react 2022-11-25 16:49:06 +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 900ce7c49c Implemented query page server selector 2022-10-16 11:07:11 +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 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 adc4162217 Network sessions tab implemented in React 2022-09-10 09:38:25 +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 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 e772713ac0 Fix locale formatting of username/password placeholders 2022-08-31 17:26:26 +03:00
Aurora Lahtela de0a5eb613 Update locale files with utility 2022-08-28 10:11:37 +03:00
Aurora Lahtela 339449742b Add missing locale keys 2022-08-21 10:40:38 +03:00
Aurora Lahtela a43a2ae581 Implement rest of Performance tab (graphs) in React
Adds all graphs and their respective tabs.
Extra:
- Zero baselined charts where it made sense
- Increased performance graph card height to improve readability

Affects issues:
- Close #2270
2022-08-20 15:53:34 +03:00
Aurora Lahtela 5bd882036c Performance tab (no graphs yet) 2022-08-20 10:30:24 +03:00
Aurora Lahtela f6ece8333b Entered data for Online Activity Overview 2022-05-23 19:46:01 +03:00
Aurora Lahtela b942078485 Implemented more of the layout for server page
- Sessions accordion table headers
- PvP & Pve layout
- Playerbase graph layout
- Updated font awesome to 6.1.1
2022-05-22 10:57:06 +03:00
Aurora Lahtela e77a9ee8b5 Implemented rest of the graphs on Online Activity Overview 2022-05-21 13:43:49 +03:00
Aurora Lahtela 3822155b40
Frontend BETA: Rewrite Player page with React (#2312)
* Add extension data to /v1/player endpoint
* Use node gradle plugin for building with yarn
* Add /v1/whoami endpoint
* Add back button to sidebar
* Selenium Tests for locale related js errors
* Convert locale system to use YAML-based storage
* Added a conversion process that runs on startup
* Replace cravatar.eu with crafatar.com for skins (more reliable)
* Add the Header made by Kopo to React

Co-authored-by: Antti Koponen <koponen942@outlook.com>

Affected issues:
- Resolve #1733
- Fixed #1092
- Resolve #1895
- Resolve #1965
- Partial #2260 
- Partial #2099
2022-04-06 17:37:23 +03:00
Risto Lahtela 84fa3ad4cd
Added server uptime (#2012)
* Wrote a query and utility for getting server uptime
* Added current_uptime to json endpoints
* Load current uptime on the website
* Moved nukkit repo to nukkit module
* Added equals and hashcode to QueryStatement and QueryAPIQuery
* Remove dependency on codemc repository

Affects issues:
- Close #1845
2021-07-18 10:43:38 +03:00
Risto Lahtela 2bc15db6d0 Sort out player join address things
Applied some thought to how this stuff should work.
- nulls now possible in the column when value is not available
- Called "Join addresses" instead of hostnames
- Remove bogus data with a patch

- Proper hostname method for spigot
- Removed method calls from nukkit since there was nothing that sounded
  proper

Affects:
- Close #1798 (Copied all code over)
2021-03-17 11:31:27 +02:00
Rsl1122 94c9dd3f95 Username change Rsl1122 -> AuroraLS3 2021-02-13 15:16:03 +02:00
Risto Lahtela da3b71f8b9 Added a few data warnings
- Warning for No game servers
- Warning for disabled geolocations
- Warning for sponge chunks

Affects issues:
- Close #1730
2021-02-12 13:33:16 +02:00
Risto Lahtela f48ab818ef Updated datatables and its style 2021-02-12 10:49:23 +02:00
Risto Lahtela b8ec15e381 Made online activity overview update again on load 2021-02-10 13:11:04 +02:00
Risto Lahtela 715f613d6a Added filter names to locale 2021-02-03 21:30:59 +02:00
Risto Lahtela 7af792f595 Make Links header translatable 2021-01-31 10:27:53 +02:00
Risto Lahtela 76dc1a98a7 Updated locale
- Login & Register pages now translate
- Query page now translates
- Version information modal now translated
- Some things had gone on multiple lines and as the result were not
  translating, that was fixed.
- Updated locale files
2021-01-30 13:38:41 +02:00
Risto Lahtela 88e2b936f5 Added missing language (needs testing later) 2021-01-29 11:05:03 +02:00
Risto Lahtela bb5195e26d Changed all player tables to show active playtime
Previously the tables showed playtime (with afk time)

- Query result table
- Server players table
- Players page table

Affects issues:
- #1235
2021-01-29 11:02:51 +02:00
Risto Lahtela 89572adb86 Added 'Player Analytics' to a phrase in locale
Allows translation of this line

Affects issues:
- Close #1538
2020-08-08 17:56:50 +03:00
Rsl1122 287eaf9b12 Fixed js worlds getting translated
- Deaths
- Ended
- Length

This bug can easily regress!

Affects issues:
- Fixed #1293
2020-01-17 21:11:07 +02:00
Rsl1122 b8ba5c35d3 Translation of dynamic content 2019-09-28 10:22:20 +03:00
Rsl1122 36da911f84 Translated calendar content 2019-09-22 12:34:54 +03:00
Rsl1122 2fa7689088 Translated dynamic content on Java side 2019-09-22 12:03:27 +03:00
Rsl1122 10fa9dd535 Fixed some issues with translation 2019-09-13 21:22:30 +03:00
Rsl1122 28153dd3e4 Moved some existing lang to new names 2019-09-09 17:22:10 +03:00
Rsl1122 fed42529b9 Added new html language to locale 2019-09-09 15:45:31 +03:00