Andrew DeMaria
fa1a700ebd
Translated xml configuration to java configuration
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
5 years ago
Andrew DeMaria
ef22d6d8ed
Remove optional jetty runtime
...
- Simplifies pom making future upgrades easier
- Fixes tests picking up jetty runtime
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
5 years ago
jvoisin
c6540d707e
Simplify a bit the annotations
...
There is no need to specify `value` every single time
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
5 years ago
Evan Harris
f738819625
Enable additional checkstyles for whitespace
...
* Enable checkstyle WhitespaceAround
* Enable checkstyle NoWhitespaceBefore
* Enable checkstyle MethodParamPad
5 years ago
François-Xavier Thomas
76e8abd219
Move HSQLDB checkpoint/shutdown to a bean specific to the legacy profile
5 years ago
François-Xavier Thomas
b88bdb37c9
Properly shutdown embedded HSQLDB database on exit
5 years ago
Andrew DeMaria
f8686d9638
Tweaked logging around servlet container and added warning about jetty
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Rémi Cocula
f28a9c697c
FIX : reference to TomcatApplication class was broken.
7 years ago
Andrew DeMaria
7d4ca2ffe2
Prep work for spring boot test
...
- Added enforcer plugin
- Fix some version conflicts
- Moved custom initializer to spring.factories
- Bump spring boot version
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
753d76e0fe
Moved main spring boot to main package
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
94dbd3ef94
Rename libresonic -> airsonic
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
260e04c8ea
File System Renames (No content changes)
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
2ffe582ccf
Removed custom logger
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
e3d2dc292f
Fix csrf token with multipart upload
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
589909b906
Cache avatar view
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
b2957139a3
Cache script, dwr, icons and coverArt
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
60248477f6
Cache avatar view
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
b6544e6738
Cache script, dwr, icons and coverArt
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
b53f8eef17
Catch NoClassDefFoundError as well
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
97a54658c6
Avoid direct dependency on tomcat
...
- Use reflection to invoke tomcat configs
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Rémi Cocula
88e820d8d1
MetricsManager is now configurable.
8 years ago
François-Xavier Thomas
7326378f0a
Tweak Tomcat performance
...
This commit does the following things :
* Increase Tomcat resource cache size to be able to actually store
something in there.
* Increase Tomcat resource cache TTL to avoid costly evictions
* Put Jasper in production mode to avoid recompiling JSPs
8 years ago
Andrew DeMaria
9df2660d1e
Allow data source config type to be specified via system property
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
8 years ago
Andrew DeMaria
4dc97f8dbb
Removed synchronized from dao layer and replaced with transactions
...
Also improved tests to be more spring like
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
8 years ago
Rémi Cocula
3fe8b7c0df
Refactor application configuration load.
8 years ago
Rémi Cocula
5cf079e72b
Add metrics filter
8 years ago
Andrew DeMaria
fd9fd618af
Fix #211
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
8 years ago
Andrew DeMaria
49dc5176d5
General fixups
...
- Fixed tomcat deployment
- Removed web.xml
- Migrated to servlet api 3
- Added back in logging error resolver
- Fixed error jsp page not working
- Fixed login path when deployed to tomcat
- Cleanup custom liquibase precondition class
- Made the hsql index check more robust
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
8 years ago
Rémi Cocula
44de72c602
revert commit edd5cc9dd1
8 years ago
Rémi Cocula
edd5cc9dd1
Packages to scan listed in spring boot application rather than in xml file.
8 years ago
Rémi Cocula
4a015c2e94
Register of AdditionalPropertySourceConfigurer previously present in web.xml.
8 years ago
Rémi Cocula
fc01f8f83c
Spring security configuration has moved to java.
8 years ago
Rémi Cocula
97f3607b1c
Register REST Filter
8 years ago
Rémi Cocula
ed7758acab
registration of dwr servlet
8 years ago
Rémi Cocula
2e09bc9b75
WIP Spring Boot
8 years ago
Rémi Cocula
2ad8ec005c
Add SpringBoot application.
8 years ago