Commit Graph

4601 Commits

Author SHA1 Message Date
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
Risto Lahtela
bf835c3b2e Extract method in FiltersJSONResolver#getResponse 2021-01-31 11:07:58 +02:00
Risto Lahtela
ae416cc49f Refactored QueryJSONResolver#getResponse method 2021-01-31 11:06:19 +02:00
Risto Lahtela
86c4da43a5 Replaced uncaught exceptions with BadRequestExceptions
These two errors could have caused confusion in the future
2021-01-31 10:58:19 +02:00
Risto Lahtela
7480aa9d63 Rename things for better understanding
fetchQueryPreviewPlayersOnline -> fetchViewPreviewGraphData
FilterQuery -> SpecifiedFilterInformation
ExtensionQueryPlayerDataTableQuery -> ExtensionQueryResultTableDataQuery
ExtensionServerPlayerDataTableQuery -> ExtensionServerTableDataQuery
2021-01-31 10:55:08 +02:00
Risto Lahtela
c55f44a3e5 Fix 2 minor smells 2021-01-31 10:49:22 +02:00
Risto Lahtela
f85a2b1017 Removed unnecessary line-break 2021-01-31 10:48:01 +02:00
Risto Lahtela
0408e34cd0 Made filter html easier to read 2021-01-31 10:46:42 +02:00
Risto Lahtela
625f1dcd27 Extracted filter classes to filters.js 2021-01-31 10:40:16 +02:00
Risto Lahtela
8524c9a0c3 Removed unused variable s 2021-01-31 10:38:07 +02:00
Risto Lahtela
c2f47d62f2 Removed some unused comments from html 2021-01-31 10:36:35 +02:00
Risto Lahtela
e9225d3bdc Make 'Make another query' non-active link 2021-01-31 10:29:31 +02:00
Risto Lahtela
87f881ce41 Update unchanged description meta tags 2021-01-31 10:28:47 +02:00
Risto Lahtela
7af792f595 Make Links header translatable 2021-01-31 10:27:53 +02:00
Risto Lahtela
7038f20e0c Clean up sb-admin-2.js 2021-01-31 10:24:00 +02:00
Risto Lahtela
388aae1bdc Removed unused method in Html.java 2021-01-31 10:02:31 +02:00
Risto Lahtela
6e340073a2 Added tests for JSONStorage 2021-01-30 20:13:04 +02:00
Risto Lahtela
46bf6a12ab Added tests for new BaseUserQueries 2021-01-30 19:47:21 +02:00
Risto Lahtela
4932142db2 Added tests for ActivityIndex 2021-01-30 19:30:31 +02:00
Risto Lahtela
1c71922b04 Solved some new code smells
- Return empty set instead of null FilterQuery#getSetParameters
- DateRangeFilter constructor is protected
- String constant JSONFileStorage
- String constant VersionChecker
- String constants FLOOR(, MIN(, MAX( TPSQueries
2021-01-30 19:17:59 +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
22fb9c4a06 Show query path with 0 results 2021-01-30 11:08:29 +02:00
Risto Lahtela
db71ad005f Made it more difficult to click "Perform Query" by accident 2021-01-30 10:19:01 +02:00
Risto Lahtela
61841966f5 Fixed sidebar toggle in Query Results
The element was replaced so the click event listener
was destroyed in the process.

- Added onclick inside the rendered html
- Additional refactoring inside this commit
2021-01-30 10:16:01 +02:00
Risto Lahtela
6c13691a52 Fixed adding filter jumping to top of the page 2021-01-29 12:38:39 +02:00
Risto Lahtela
f24abe797e Fixed time formatter 2021-01-29 12:35:09 +02:00
Risto Lahtela
4b4aa2d7d9 Added a players online graph to Query page to help selecting view 2021-01-29 11:58:06 +02:00
Risto Lahtela
b8b9af828b Updated repository links in query.html 2021-01-29 11:14:41 +02:00
Risto Lahtela
88e2b936f5 Added missing language (needs testing later) 2021-01-29 11:05:03 +02:00
Risto Lahtela
e00de54879 Small optimizations 2021-01-29 11:05:03 +02:00
Risto Lahtela
1e897a09bf Added a 'Make a query' button to server, network and players pages 2021-01-29 11:04:59 +02:00
Risto Lahtela
54a698136e Fixed date formatting of the date fields 2021-01-29 11:04:45 +02:00
Risto Lahtela
e8e7258443 Fixed an error related to query on query page 2021-01-29 11:04:45 +02:00
Risto Lahtela
2c06819bc4 Added a filter removal button to all filters
# Conflicts:
#	Plan/common/src/main/resources/assets/plan/web/css/style.css
2021-01-29 11:04:39 +02:00
Risto Lahtela
da7cf84cf4 Error displayed properly 2021-01-29 11:02:56 +02:00
Risto Lahtela
9144256752 Prevent invalid form entries from being submitted to query 2021-01-29 11:02:55 +02:00
Risto Lahtela
97137cf660 Fixed error in PluginGroupsFilter Query 2021-01-29 11:02:54 +02:00
Risto Lahtela
ceacb112c4 Fixed view dates being flipped 2021-01-29 11:02:52 +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
c5bfdb6ff3 Added extension data support to query results 2021-01-29 11:02:50 +02:00