1
0
Fork 0
mirror of https://github.com/airsonic/airsonic.git synced 2025-10-03 01:39:34 +02:00
Commit graph

1563 commits

Author SHA1 Message Date
dependabot-preview[bot]
10c3cc45a2 Bump jaxb-runtime from 2.3.2 to 2.3.3
Bumps jaxb-runtime from 2.3.2 to 2.3.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 13:40:13 +02:00
François-Xavier Thomas
a453a44a80 Docker: Bump JRE from 8 to 11 2020-05-08 14:34:33 +02:00
François-Xavier Thomas
ed8b342c0d Add release signing keys 2020-05-08 14:33:19 +02:00
François-Xavier Thomas
598a3b34e5
Merge pull request #1686 from Yetangitu/null-test-getmediafile
Add some null-checks on calls to mediaFileService.getMediaFile()
2020-05-08 14:02:51 +02:00
François-Xavier Thomas
e610dc654a
Merge pull request #1345 from fxthomas/upgrade-hsqldb-to-2.x
Automatically upgrade HSQLDB to 2.5.0
2020-05-03 12:55:20 +02:00
Yetangitu
ae8c8b070a Trailing whitespace...
Make Travis happy
2020-05-03 10:30:13 +00:00
Yetangitu
1c1e38ca90 Avoid useless bookmarks
Avoid useless bookmarks in the list by moving the null-test up so as to avoid generating entries without an associated mediaFile.
2020-05-03 10:10:33 +00:00
François-Xavier Thomas
5c7165908c Update changelog for 10.6.2 2020-05-03 10:43:02 +02:00
Yetangitu
069af69281 use String.format("%tF") instead of "%tY-%tm-%td" to avoid java.util.MissingFormatArgumentException: Format specifier '%tm' errors
As to why java suddenly started complaining about java.util.MissingFormatArgumentException: Format specifier '%tm' errors I have no idea but the fact is that it did on the 1st of may 2020:

```
Failed to download Podcast from https://example.com/1.mp3
java.util.MissingFormatArgumentException: Format specifier '%tm'
```

Given that the intention of this format string is to produce an ISO date (YYYY-MM-DD) and given that String.format has a special formatter for this which does _not_ produce this error it seems logical to use it.
2020-05-03 10:31:51 +02:00
Yetangitu
d5790be00d Add some null-checks on calls to mediaFileService.getMediaFile()
Missing null-checks on mediaFileService.getMediaFile() cause NPEs in the Subsonic API and elsewhere, add some checks to avoid these.
2020-05-02 22:04:57 +00:00
François-Xavier Thomas
76b7b50bea Only run HSQLDB upgrades when on the 'legacy' profile 2020-05-02 17:36:30 +02:00
François-Xavier Thomas
cbab1434c2 Use PropertiesLoaderUtils when reading HSQLDB .properties file 2020-05-02 17:36:30 +02:00
François-Xavier Thomas
ff7ded3f80 Fix path when creating database backups before version upgrades 2020-05-02 17:36:30 +02:00
François-Xavier Thomas
e96cc6c26b Remove useless autocommit from legacy dao helper 2020-05-02 17:36:30 +02:00
François-Xavier Thomas
0ffc0f262a Add logic for seamless HSQLDB upgrades 2020-05-02 17:36:30 +02:00
François-Xavier Thomas
81c23e4806 Use connection pooling for embedded HSQLDB database as well 2020-05-02 17:36:30 +02:00
François-Xavier Thomas
da562507a2 In HSQLDB 2, 'current' is now a reserved keyword and cannot be used as-is as a column name 2020-05-02 17:36:30 +02:00
Iwao AVE!
e449d83bb0 In HSQLDB 2, there are many system tables without 'SYSTEM' prefix.
Signed-off-by: Iwao AVE! <harawata@gmail.com>
2020-05-02 17:36:30 +02:00
Iwao AVE!
4d2ea0bf12 In HSQLDB 2, 'when two strings are compared, the shorter string is padded with spaces before comparison'. This behavior is configurable via 'sql.pad_space' property. http://hsqldb.org/doc/guide/dbproperties-chapt.html#N15A42
Signed-off-by: Iwao AVE! <harawata@gmail.com>
2020-05-02 17:36:30 +02:00
Iwao AVE!
4adc8d9d19 In HSQLDB 2, 'nulls appear before not-null values'. This behavior is configurable via 'sql.nulls_first' property. http://hsqldb.org/doc/guide/dbproperties-chapt.html#N159E5
Signed-off-by: Iwao AVE! <harawata@gmail.com>
2020-05-02 17:36:30 +02:00
Iwao AVE!
0de8e6face In HSQLDB 2, 'all VARCHAR column type declaration require a size' by default. To change the behavior, append 'sql.enforce_size=false' to the default JDBC URL. http://hsqldb.org/doc/guide/dbproperties-chapt.html#N1580D
Signed-off-by: Iwao AVE! <harawata@gmail.com>
2020-05-02 17:36:30 +02:00
Iwao AVE!
ea467ff557 Update HSQLDB dependency.
Signed-off-by: Iwao AVE! <harawata@gmail.com>
2020-05-02 17:36:30 +02:00
dependabot-preview[bot]
9293a2681a Bump jackson.version from 2.10.3 to 2.11.0
Bumps `jackson.version` from 2.10.3 to 2.11.0.

Updates `jackson-core` from 2.10.3 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.10.3...jackson-core-2.11.0)

Updates `jackson-databind` from 2.10.3 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-annotations` from 2.10.3 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-02 17:33:40 +02:00
dependabot-preview[bot]
f998be4703 Bump tomcat.version from 9.0.33 to 9.0.34
Bumps `tomcat.version` from 9.0.33 to 9.0.34.

Updates `tomcat-embed-core` from 9.0.33 to 9.0.34

Updates `tomcat-embed-el` from 9.0.33 to 9.0.34

Updates `tomcat-embed-jasper` from 9.0.33 to 9.0.34

Updates `tomcat-embed-websocket` from 9.0.33 to 9.0.34

Updates `tomcat-annotations-api` from 9.0.33 to 9.0.34

Updates `tomcat-jdbc` from 9.0.33 to 9.0.34

Updates `tomcat-juli` from 9.0.33 to 9.0.34

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-02 13:52:09 +02:00
François-Xavier Thomas
9e09fb7974 Bump spring-boot-maven-plugin from 2.0.9.RELEASE to 2.2.6.RELEASE 2020-05-02 13:51:59 +02:00
dependabot-preview[bot]
da5ee3df2e Bump spring-boot-maven-plugin from 1.5.20.RELEASE to 2.0.9.RELEASE
Bumps [spring-boot-maven-plugin](https://github.com/spring-projects/spring-boot) from 1.5.20.RELEASE to 2.0.9.RELEASE.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v1.5.20.RELEASE...v2.0.9.RELEASE)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-02 13:51:59 +02:00
François-Xavier Thomas
96e98cf2e2 Update syntax following maven-antrun-plugin 3.0.0 upgrade 2020-05-02 11:58:35 +02:00
François-Xavier Thomas
6ab03e88a3 Temporarily update log4j dependency to fix CVE-2020-9488 2020-05-02 11:58:35 +02:00
dependabot-preview[bot]
8e21e849c2 Bump maven-antrun-plugin from 1.8 to 3.0.0
Bumps [maven-antrun-plugin](https://github.com/apache/maven-antrun-plugin) from 1.8 to 3.0.0.
- [Release notes](https://github.com/apache/maven-antrun-plugin/releases)
- [Commits](https://github.com/apache/maven-antrun-plugin/compare/maven-antrun-plugin-1.8...maven-antrun-plugin-3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 13:37:34 +02:00
dependabot-preview[bot]
872d0f3265 Bump mariadb-java-client from 2.5.4 to 2.6.0
Bumps [mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 2.5.4 to 2.6.0.
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/2.5.4...2.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 13:37:21 +02:00
Faeb35
c5d248f3c7 fix Jukebox API test under windows 2020-05-01 13:37:04 +02:00
François-Xavier Thomas
42e09e86c9 Fix UTF-8 detection on some systems using non-standard locales
Some systems use non-standard locales (e.g. en_US.utf8 instead of
en_US.UTF-8) to specify Unicode support. These locales are supported by
Glibc but were not handled properly by the Airsonic diagnostics.
2020-05-01 12:39:23 +02:00
François-Xavier Thomas
9b23fc4ee1 Remove unsupported database config by env vars 2020-04-26 12:08:42 +02:00
François-Xavier Thomas
a18cd18154 Automatically create music folder on host for Docker tests 2020-04-26 12:08:42 +02:00
François-Xavier Thomas
f3901cfb11 Write integration test outputs to target directory 2020-04-26 12:08:42 +02:00
François-Xavier Thomas
032987d97c Use correct directories for integration tests 2020-04-26 12:08:42 +02:00
François-Xavier Thomas
55f32fe339 Add Maven options to skip surefire/failsafe 2020-04-26 12:08:42 +02:00
François-Xavier Thomas
8b9d8c0182 Add missing hamcrest and jackson dependencies 2020-04-26 12:08:42 +02:00
François-Xavier Thomas
cc79fddfec Fix version to avoid Maven warnings 2020-04-26 12:08:42 +02:00
François-Xavier Thomas
ce1e1a9e5c Remove Cucumber (imports airsonic-advanced/airsonic-advanced#113)
This imports the relevant parts of airsonic-advanced/airsonic-advanced#113
from airsonic-advanced/airsonic-advanced@4601c7e4 in order to remove old
and unmaintained integration test plugins for Maven.
2020-04-26 12:08:42 +02:00
François-Xavier Thomas
8fe890aea0 Fix path issue in internal diagnostics page on Windows 2020-04-26 11:33:49 +02:00
François-Xavier Thomas
aa65c21c57 Fix Last.FM scrobbling on AudioScrobbler API v1 (HTTPS not available) 2020-04-26 11:33:22 +02:00
François-Xavier Thomas
1e5264f6a9 Refactor playback fix so that it reuses existing functions 2020-04-25 11:13:38 +02:00
François-Xavier Thomas
4407db2294 Fix #1407: Playback doesn't start after adding tracks to an empty play queue 2020-04-25 11:13:38 +02:00
dependabot-preview[bot]
dc8ff6bbf8 Bump maven-dependency-plugin from 3.1.1 to 3.1.2
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.1.1...maven-dependency-plugin-3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-25 10:34:30 +02:00
dependabot-preview[bot]
5369f3eac2 Bump stax-ex from 1.8.2 to 1.8.3
Bumps [stax-ex](https://github.com/eclipse-ee4j/jaxb-stax-ex) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/eclipse-ee4j/jaxb-stax-ex/releases)
- [Commits](https://github.com/eclipse-ee4j/jaxb-stax-ex/compare/1.8.2...1.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-25 10:34:17 +02:00
dependabot-preview[bot]
95ba26e463 Bump recaptchav2-java from 1.0.3 to 1.0.4
Bumps [recaptchav2-java](https://github.com/triologygmbh/reCAPTCHA-V2-java) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/triologygmbh/reCAPTCHA-V2-java/releases)
- [Commits](https://github.com/triologygmbh/reCAPTCHA-V2-java/compare/1.0.3...1.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-25 10:33:55 +02:00
François-Xavier Thomas
e3f92e7f32
Merge pull request #1627 from airsonic/dependabot/maven/org.apache.lucene-lucene-core-8.5.1
Bump lucene-core from 8.4.1 to 8.5.1
2020-04-25 10:33:36 +02:00
François-Xavier Thomas
1d4f3089f5
Merge pull request #1453 from fxthomas/upgrade-spring-boot-2.2
Upgrade to Spring Boot 2.2
2020-04-25 10:32:43 +02:00
Greg Linton
c65fa1671b update naming convention as per recommendations
Forced episode date format to be (YYYY-MM-DD), and added Airsonic-generated podcast ID to filename.
2020-04-25 10:27:20 +02:00