Commit Graph

1994 Commits

Author SHA1 Message Date
Aurora Lahtela
059d4553aa Implemented react side of export for frontend BETA 2022-11-27 09:48:55 +02:00
Aurora Lahtela
973ea05283 Add missing image files that were failing tests 2022-11-26 17:15:03 +02:00
Aurora Lahtela
6d9e915180 Disable ReactExporterTest temporarily 2022-11-26 17:09:33 +02:00
Aurora Lahtela
9ea565f441 Change TestResources to use build dir instead of classpath
This should fix ReactExporterTest failing
2022-11-26 16:40:12 +02:00
Aurora Lahtela
362105cf98 Wrote an Exporter to export react bundle files 2022-11-26 09:01:41 +02:00
Aurora Lahtela
f36ed678a3 Implemented register page in react 2022-11-25 16:49:06 +02:00
Aurora Lahtela
f6d8b618eb Fix checkstyle 2022-11-25 16:01:03 +02:00
Aurora Lahtela
022a690446 Implemented parameterized array Sql generation
This bit of code allows passing lists of data in parameterized queries,
which is useful for defining WHERE x IN (?,?,?,?) in a dynamic way.

- Adds AccessControlTest cases for a valid /v1/query call
2022-11-23 17:31:04 +02:00
Aurora Lahtela
e3bea9ee77 Add online player names to player tab completion
Affects issues:
- Close #2216
2022-11-22 13:25:12 +02:00
Aurora Lahtela
86f6cffc66 Enable query page in Frontend BETA 2022-11-22 10:30:02 +02:00
Aurora Lahtela
8a0285ad86 Reduce test flakiness due to used ports 2022-11-21 12:20:48 +02:00
Aurora Lahtela
ce3f2cde6d Fix SQLITE_CONSTRAINT_NOTNULL when request uri is null 2022-11-21 12:19:02 +02:00
Aurora Lahtela
e7afb243f9 Changed "Database can't keep up with transactions" to less dire message 2022-11-20 20:01:04 +02:00
Aurora Lahtela
bacde53781 Fix RemoveUsernameFromAccessLogPatch applying every time 2022-11-20 19:56:32 +02:00
Aurora Lahtela
7a582c3b6e Fix removal of expired cookies
Cookies that expired during server downtime failed to be
removed from the database.

This occurred because the cookie removal method did a lookup
to the in-memory active cookies, but the startup method does
not load expired cookies to memory.

Because the expired cookies were never loaded to memory this
did not pose a security vulnerability.

Fixed by always deleting a cookie from database if requested.
2022-11-20 19:50:48 +02:00
dependabot[bot]
1529fb4cec
Bump io.swagger.core.v3.swagger-gradle-plugin in /Plan (#2738)
Bumps io.swagger.core.v3.swagger-gradle-plugin from 2.2.6 to 2.2.7.

---
updated-dependencies:
- dependency-name: io.swagger.core.v3.swagger-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-19 12:05:45 +02:00
Aurora Lahtela
a9d89b88e7 Remove equals from PlayerKill.Victim 2022-11-13 16:35:54 +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
fac196ed0d Refactor PlayerPlaceHolders to reduce method length 2022-11-13 15:11:57 +02:00
Aurora Lahtela
1ec6fc913a Add top_player_kills_{n} and _value placeholders
top_player_kills_day_{n}
top_player_kills_day_{n}_value
top_player_kills_month_{n}
top_player_kills_month_{n}_value
top_player_kills_total_{n}
top_player_kills_total_{n}_value
top_player_kills_week_{n}
top_player_kills_week_{n}_value

Affects issues:
- Close #2697
2022-11-13 15:00:46 +02:00
Aurora Lahtela
f41796f079 Add time_active placeholders
- %plan_time_active_day%
- %plan_time_active_day_raw%
- %plan_time_active_week%
- %plan_time_active_week_raw%
- %plan_time_active_month%
- %plan_time_active_month_raw%

Affects issues:
- Close #2721
2022-11-13 14:47:31 +02:00
Aurora Lahtela
38774867f7 Made query page display some results
Fixed Activity group filter
2022-11-12 10:39:20 +02:00
angela0930
9a536f5a04
Update locale_ZH_TW.yml (#2717)
* Update locale_ZH_TW.yml

* Update locale_ZH_TW.yml
2022-11-11 18:48:59 +02:00
dependabot[bot]
99e2e987c6
Bump selenium-java from 4.5.3 to 4.6.0 in /Plan (#2708)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.5.3 to 4.6.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.6.0)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 20:02:57 +02:00
dependabot[bot]
163b451435
Bump io.swagger.core.v3.swagger-gradle-plugin in /Plan (#2699)
Bumps io.swagger.core.v3.swagger-gradle-plugin from 2.2.4 to 2.2.6.

---
updated-dependencies:
- dependency-name: io.swagger.core.v3.swagger-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 19:25:01 +02:00
Henri Schubin
2ac2cb89c3
Fix scope of mixin, exclude junit provided by json-simple, correct dependency download failure logging (#2695) 2022-10-30 12:02:29 +02:00
Henri Schubin
96a14a24f5
Component DataExtension API (#2686)
* Component DataExtension API

* Finish up component extension data, add react-mcjsonchat library to the react dashboard in preparation for the rewrite

* Update Plan/common/src/main/java/com/djrapitops/plan/extension/implementation/results/ExtensionComponentData.java

* Update Plan/common/src/test/java/com/djrapitops/plan/storage/database/queries/ExtensionsDatabaseTest.java

* Update Plan/common/src/main/java/com/djrapitops/plan/extension/implementation/providers/gathering/DataValueGatherer.java

Co-authored-by: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com>
2022-10-29 08:23:16 +03:00
dependabot[bot]
62a4bd1a35
Bump selenium-java from 4.5.2 to 4.5.3 in /Plan (#2687)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-28 08:04:41 +03:00
Aurora Lahtela
d3a8176e72 Fix strict group by issues in PlayerCountQueries 2022-10-22 14:26:51 +03:00
Aurora Lahtela
0357cc5fd0 Fix concurrent modification on loading world aliases 2022-10-22 14:23:32 +03:00
dependabot[bot]
ef4c0ea8d8
Bump io.swagger.core.v3.swagger-gradle-plugin in /Plan (#2670)
Bumps io.swagger.core.v3.swagger-gradle-plugin from 2.2.3 to 2.2.4.

---
updated-dependencies:
- dependency-name: io.swagger.core.v3.swagger-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-22 13:34:29 +03:00
dependabot[bot]
aa0c337689
Bump selenium-java from 4.5.0 to 4.5.2 in /Plan (#2679)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.5.0 to 4.5.2.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-22 13:34:23 +03:00
dependabot[bot]
862c9672a2
Bump com.github.node-gradle.node from 3.4.0 to 3.5.0 in /Plan (#2669)
Bumps com.github.node-gradle.node from 3.4.0 to 3.5.0.

---
updated-dependencies:
- dependency-name: com.github.node-gradle.node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-22 13:21:22 +03: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
Henri Schubin
c49276369f
Component API by Vankka (#2665)
Adds a new Component API that allows converting between color code representations in Strings
2022-10-16 13:21:49 +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
cf140e0db1 Fix network page subpage redirect
Removed the check that the /network address should end without a slash since this rule no longer holds.

Affects issues:
- Fixed #2647
2022-10-15 14:02:46 +03:00
Aurora Lahtela
b0393606f0
DE Locale update by DubHacker (#2646)
* Added "DubHacker" as contributor for translation (#2632)

* Added "DubHacker" to list of german translators (#2633)

* Update translation of locale_DE.yml (#2634)

Added translation of many descriptions. Will translate more of it in the following days.

Co-authored-by: loli-chan <45999657+DubHacker-chan@users.noreply.github.com>
2022-09-30 17:27:41 +03:00
dependabot[bot]
e8b7a8cd50
Bump selenium-java from 4.4.0 to 4.5.0 in /Plan (#2643)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.4.0...selenium-4.5.0)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 16:42:59 +03:00
dependabot[bot]
db4d210278
Bump io.swagger.core.v3.swagger-gradle-plugin in /Plan (#2639)
Bumps io.swagger.core.v3.swagger-gradle-plugin from 2.2.2 to 2.2.3.

---
updated-dependencies:
- dependency-name: io.swagger.core.v3.swagger-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 16:41:29 +03:00
Aurora Lahtela
ff4187341a Fix Cookie parsing when there are multiple cookies 2022-09-25 15:28:30 +03:00
Aurora Lahtela
ccc6861df6 Fix typo in extension tab icon query
Affects issues:
- Fixed #2608
2022-09-25 11:21:44 +03:00
Aurora Lahtela
0a14d17d7a Fixed issues related to MySQL ONLY_FULL_GROUP_BY
MySQL breaks GROUP BY syntax of standard SQL, and allows arbitrary columns with aggregate functions.
The ONLY_FULL_GROUP_BY stops this, instead raising an error. Since the SQL was originally designed
with this mode on, restricting the SQL broke the code in a few places.

Adding the extra group by clauses solves the issue without effecting query results.

These issues will be caught by MySQLTest in the future, since the issues could be reproduced by
enabling ONLY_FULL_GROUP_BY mode.

Affects issues:
- Fixed #2619
2022-09-25 10:30:13 +03:00
Aurora Lahtela
f791f2b17d Fix login and register on old frontend when using a locale 2022-09-16 13:34:47 +03:00
Aurora Lahtela
a56b2cb3d1 Update Quests Extension, add PikaMug as contributor 2022-09-15 17:37:44 +03:00
Aurora Lahtela
b68e41bbbe
Bugfixes to build 1951 (#2607)
* Remove SecuredRedirectHandler from Jetty

* Fixed extension values not updating on PLAYER_LEAVE

* Fix Join Address data-truncation errors

Affects issues:
- Fixed #2606

* Tests for join address truncation
2022-09-13 08:52:46 +03:00
Aurora Lahtela
1e1687d83c Retry when failing to store join address in storeAllSessionsWithKillAndWorldData
Another transaction may have run before this transaction that stored the same join address.

Affects issues:
- Possibly fixed #2601
2022-09-12 07:55:34 +03:00