Commit Graph

17 Commits

Author SHA1 Message Date
Aurora Lahtela
3eff46523d Test and fix user move and combination transactions 2022-08-27 15:20:23 +03:00
Aurora Lahtela
8f239b010c
Add Swagger & Swagger UI (#2470)
* Adds swagger dependencies and annotations for json endpoints for documentation
* Add swagger ui to react project
* Access control to swagger endpoints
* Include swagger.json in jars using custom configuration

Also:
* Reworked project shadow configurations to avoid shadowing shadow versions of modules

Why: Extra dependencies were being included when using shadow scope

What:
- modules no longer depend on shadow configurations,
  which speeds up IDEA indexing after build considerably
  (No need to index *-all.jars)
- 'shadow' scope is now used for artifacts that need to be included
- 'shadow' scope is also 'api' so that modules that depend on common
  can import the libraries. This may cause issues in projects
  depending on Plan so this may need to be reconsidered
- Relocations and exclusions were moved to plugin module
  org.slf4j is now included in 2 locations which may cause issues.
  Needs testing with servers
- Found out that all Extension dependencies include junit as compile
  scope which caused it to be included.

Affects issues:
- Close #1890
2022-07-13 21:21:20 +03:00
Aurora Lahtela
e9dcb591c8 Made MySQL tests 3 times faster (3.5 minutes vs 1 minute) 2022-04-18 15:10:33 +03:00
Henri S
efd3b75a29
Database Driver downloading (#2144)
Affects issues:
- Fixed #1944
2021-10-31 13:16:47 +02:00
Risto Lahtela
5d32a97154 Added the missing Database Patch class files 2021-04-16 16:42:02 +03:00
Risto Lahtela
0ca3e7f060 Stop checking package-info for licenses 2021-03-11 16:18:59 +02:00
Risto Lahtela
463b2edb02 Split more queries from DatabaseTest:
- WebUserQueriesTest for WebUser related queries
- More Session related queries
- Reduced checkstyle file length 1750 -> 1000
- Reduced checkstyle class fanout complexity 87 -> 60
- Reduced checkstyle cyclomatic complexity 18 -> 17
2020-03-14 12:40:27 +02:00
Risto Lahtela
b339800650 Removed JUnit 4 2020-03-14 12:40:23 +02:00
Risto Lahtela
0a8b0e273c Fixed checkstyle on newer JDKs
See https://github.com/gradle/gradle/issues/8286 for more information
2020-03-14 12:40:21 +02:00
Rsl1122
d20427ca5e Fixed some warnings reported by tools 2019-10-19 14:17:58 +03:00
Rsl1122
e6696abffa PlaceholderAPI support (Thanks to aidn5) 2019-09-29 13:00:55 +03:00
Rsl1122
449c21a820 Removed checkstyle rule HideUtilityClassConstructor 2019-09-09 08:48:41 +03:00
Rsl1122
c1c2da8517 Server page exporting 2019-09-03 09:32:34 +03:00
Risto Lahtela
b05ca2e5eb
Enforced some upper-limit checkstyle rules (#1132)
* Checkstyle: Enforced catch parameter name

* Checkstyle: Enforced ClassFanOutComplexity 85

* Checkstyle: Enforced ClassTypeParameterName

* Checkstyle: Enforced CommentsIndentation

* Checkstyle: Enforced CovariantEquals

* Checkstyle: Enforced CyclomaticComplexity 18

* Checkstyle: Enforced DefaultComesLast

* Checkstyle: Enforced EmptyCatchBlock

* Checkstyle: Enforced EmptyForIteratorPad

* Checkstyle: Enforced EmptyStatement

* Checkstyle: Enforced FileLength 1750

* Checkstyle: Enforced GenericWhitespace

* Checkstyle: Enforced HideUtilityClassConstructor

* Checkstyle: Enforced IllegalInstantiation

* Checkstyle: Enforced IllegalThrows

* Checkstyle: Enforced LambdaParameterName

* Checkstyle: Enforced LineLength 3000

* Checkstyle: Enforced MissingOverride

* Checkstyle: Enforced PackageAnnotation

* Checkstyle: Enforced NestedTryDepth 1

* Checkstyle: Enforced UnnecessaryParentheses

* Checkstyle: Enforced MethodLength 150

* Checkstyle: Enforced NoWhitespaceAfter
2019-08-09 09:02:46 +03:00
Rsl1122
2a272f3e6f +2 rules to checkstyle:
- switch statement fall through check
- inner assignment check
2019-01-03 14:43:33 +02:00
Rsl1122
ca52000794 EqualsAvoidNull check to checkstyle 2019-01-03 14:04:04 +02:00
Rsl1122
29f3f6b47b [#866] Added Checkstyle with license header check 2019-01-03 12:52:01 +02:00