jvoisin
30fa4d0467
Second pass of trivial modernizations
...
- Replace unnecessary getters/setters with inline assignments
- Simplify string constructions
- Improve containers construction
6 years ago
jvoisin
ca489f8220
This is a first batch of simple modernization of the codebase
...
I threw airsonic at IntelliJ's IDEA analysis,
and asked it to flag what could be modernized
for Java > 5.
- foreach instead of for…
- I added some null-deref checks
- Integer.ValueOf, since Integer(…) is deprecated
- Contextual try
- Objects.equals instead of handcrafted comparisons
- StringBuilder instead of StringBuffer
- Removal of outdated/wrong javadoc comments
6 years ago
Andrew DeMaria
0d78c30d06
Change a couple more log entries to debug
6 years ago
François-Xavier Thomas
2c1b5205e8
Write new db maintenance logs as 'debug' instead of 'info'
6 years ago
François-Xavier Thomas
7510b04efc
Make checkpoint() method void (return value is not used)
6 years ago
François-Xavier Thomas
8c46d39569
Do not log message about hsqldb-defrag migration on each launch
...
The FILES DEFRAG / FILES LOG SIZE properties are kept when upgrading to
2.x; it's enough that they were set once on 1.8. For new installations
the migration will still run with the correct SQL statements.
6 years ago
François-Xavier Thomas
b753e48632
Log more information when running the 'cleanup db' action
6 years ago
François-Xavier Thomas
76e8abd219
Move HSQLDB checkpoint/shutdown to a bean specific to the legacy profile
6 years ago
François-Xavier Thomas
b88bdb37c9
Properly shutdown embedded HSQLDB database on exit
6 years ago
François-Xavier Thomas
54e444b03c
Make CHECKPOINT / DEFRAG syntax work for both HSQLDB 1 & 2
6 years ago
Iwao AVE!
c79c02d449
Updated CHECKPOINT / DEFRAG syntax for HSQLDB 2.
...
Signed-off-by: Iwao AVE! <harawata@gmail.com>
6 years ago
François-Xavier Thomas
c0f3606091
Force database checkpoints on 'Clean-up' and 'Scan' actions
...
This will only affect the (embedded/legacy) HSQLDB driver. Even though
cff97ea9
should prevent the db log from getting uncontrollably large,
the 'Clean-up database' and 'Scan' actions will additionally force a
checkpoint to ensure this happens on big operations.
6 years ago
Andrew DeMaria
1a88f46c18
CVE-2018-20222 Prevent xxe during parse
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
faedfd8a62
Bump version to 10.3.0-SNAPSHOT
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
a16b89e0ac
Bump to version 10.2.0-RELEASE
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
tesshu
3e6d224550
#1 CVE-2018-1000840
...
stax-api-1.0.1.jar
stax-api-1.0-2.jar
6 years ago
tesshu
6023d4c0bc
fix #748
6 years ago
jo
7327353704
Pull translations from transifex
6 years ago
Frank de Lange
8127b4f7fa
Fix #860 (external database performance) by using connection pooling … ( #864 )
...
* Fix #860 (external database performance) by using connection pooling (using commons-dbcp2)
6 years ago
François-Xavier Thomas
d6ba6de7e1
Run a first defrag before enabling auto defrag on HSQLDB
6 years ago
François-Xavier Thomas
21eff917b6
PlayQueue: Fix broken keyboard shortcuts
...
Using the "space" key to resume playback, as well as +/- to
increase/decrease volume, were not working properly.
6 years ago
Andrew DeMaria
ac0e29bf9c
Remove unused import
6 years ago
Andrew DeMaria
61c0c0d758
Fix import style error
6 years ago
Andrew DeMaria
ee4cb71052
Ignore CVE-2018-8088 related to slf4j ext
6 years ago
François-Xavier Thomas
cff97ea9be
Fix #778 : Defragment embedded HSQLDB database more frequently
6 years ago
Rémi Cocula
ac453883fc
jukebox code quality and unit tests
6 years ago
randomnicode
94f4a85bb7
Suppress CVE-2018-8088
6 years ago
randomnicode
f2339e0942
Change zip to java.util
6 years ago
randomnicode
9d33ec255b
Declare used and remove unused dependencies
6 years ago
randomnicode
86e58cea3a
Update dependencies in airsonic-main
6 years ago
randomnicode
77ca475fbe
Add additional suppression
6 years ago
randomnicode
f3cc48f8cb
Suppress vulnerabilities file
6 years ago
randomnicode
51f17675d5
Update plugins
6 years ago
Andrew DeMaria
fb18862db4
Fix extraneous closing tag
6 years ago
Benz0X
af93f1eed1
Correct corrupted downloaded zip
...
Prevent the zipping of twice the same file (resulting in an error and a corrupted zip on Linux) when the cover is embedded in tags
6 years ago
Michel Néron
16b22f3501
- Correct test for use not a hardcoded value but the referenced value. The first in select on multi value didn't ordered is not assured.
6 years ago
Arne Schlüter
fec8f0ba95
Update favicons in webapp
6 years ago
Andrew DeMaria
5202845373
Bump version of guava to deal with CVE-2018-10237
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Shawn Bruce
df5f6f2aaf
Display folders as a list in Settings->Users and include the path.
6 years ago
jo
e72147b76b
Update languages from tx
6 years ago
jo
607f4c8720
Clean source i18n file
6 years ago
jo
75410aaea2
Update translation files
6 years ago
Andrew DeMaria
8c6ddb1aba
Dependency tweaks and remove extraneous code
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Rémi Cocula
6b4874f33c
archetype code for rest api integration tests
6 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
Andrew DeMaria
f8161f5184
White list jars that are scanned for tlds to prevent spurious logs
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
377f68543d
Added profile to make running within a ide easier
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
609ca71307
Skip another irrelevant CVE
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Carlos Galindo
f6b248495c
Fixed github link opening in frame and not loading
6 years ago
jo
e0746172c5
Pull translations from transifex
6 years ago