Commit Graph

4493 Commits

Author SHA1 Message Date
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
Risto Lahtela
525a78b956 Added support for plugin group filters 2021-01-29 11:02:49 +02:00
Risto Lahtela
c0e253d56d Added session aggregates to query results 2021-01-29 11:02:48 +02:00
Risto Lahtela
8ee28e07dd Added geolocations to query results 2021-01-29 11:02:47 +02:00
Risto Lahtela
19dc55ad26 Removed scroll to top button from query.html 2021-01-29 11:02:45 +02:00
Risto Lahtela
a3c16b4b21 Added activity graphs to query results 2021-01-29 11:02:45 +02:00
Risto Lahtela
c1d53c27d3 Fixed element insertion on query page 2021-01-29 11:02:44 +02:00
Risto Lahtela
7baf1d7556 Made it possible to share query results via url 2021-01-29 11:02:43 +02:00
Risto Lahtela
c7ed844c76 View options added to the query 2021-01-29 11:02:42 +02:00