Commit Graph
680 Commits
Author SHA1 Message Date
jvoisinandGitHub 6599e6a689 Minor cleanup of InternalHelpController.java (#1525)
- Access static methods explicitly
- Remove useless String.format calls
2020-02-15 10:33:48 +00:00
François-Xavier Thomas b2d2590cfa Revert "Bump cling-* from 2.0.1 to 2.1.2"
Following comment in #1505, this reverts the following commits:

* 0a231a6575
* 73747db980
* 77a95b0e86
2020-02-14 21:10:05 +01:00
François-Xavier Thomas 6a14c256a5 Update index version following Lucene upgrade to 8.4.1
When upgrading from an existing index built with Lucene 8.2.0, Airsonic
fails to start with the following error:

    java.lang.IllegalArgumentException: Could not load codec 'Lucene80'.  Did you forget to add lucene-backward-codecs.jar?
      at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:420) ~[lucene-core-8.4.1.jar!/:8.4.1 832bf13dd9187095831caf69783179d41059d013 - ishan - 2020-01-10 13:35:00]
      ...
      at org.apache.lucene.search.SearcherManager.<init>(SearcherManager.java:125) ~[lucene-core-8.4.1.jar!/:8.4.1 832bf13dd9187095831caf69783179d41059d013 - ishan - 2020-01-10 13:35:00]
      at org.airsonic.player.service.search.IndexManager.getSearcher(IndexManager.java:309) ~[classes!/:10.6.0-SNAPSHOT]
      at org.airsonic.player.service.search.IndexManager.getStatistics(IndexManager.java:269) ~[classes!/:10.6.0-SNAPSHOT]
      at org.airsonic.player.service.MediaScannerService.neverScanned(MediaScannerService.java:121) ~[classes!/:10.6.0-SNAPSHOT]
      at org.airsonic.player.service.MediaScannerService.schedule(MediaScannerService.java:114) ~[classes!/:10.6.0-SNAPSHOT]
      at org.airsonic.player.service.MediaScannerService.init(MediaScannerService.java:77) ~[classes!/:10.6.0-SNAPSHOT]
2020-02-13 22:23:03 +01:00
jvoisinandjvoisin 04c1ed98f2 Move the style into a css file 2020-02-13 20:39:43 +00:00
jvoisinandjvoisin 584ee96f61 Replace wz_toolip with jquery-ui 2020-02-13 20:39:43 +00:00
dependabot-preview[bot]andjvoisin 6d74e28e61 Bump recaptchav2-java from 1.0.2 to 1.0.3
Bumps [recaptchav2-java](https://github.com/triologygmbh/reCAPTCHA-V2-java) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/triologygmbh/reCAPTCHA-V2-java/releases)
- [Commits](https://github.com/triologygmbh/reCAPTCHA-V2-java/compare/1.0.2...1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-13 20:36:14 +00:00
François-Xavier ThomasandGitHub df668d8a28 Merge pull request #1505 from airsonic/dependabot/maven/org.fourthline.cling-cling-support-2.1.2
Bump cling-support from 2.0.1 to 2.1.2
2020-02-13 08:49:32 +01:00
François-Xavier Thomasandjvoisin 87c414dfc7 Also bump lucene-analyzers-common to 8.4.1 2020-02-13 07:23:41 +00:00
dependabot-preview[bot]andjvoisin 15b03573f4 Bump lucene-core from 8.2.0 to 8.4.1
Bumps lucene-core from 8.2.0 to 8.4.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-13 07:23:41 +00:00
François-Xavier Thomasandjvoisin 73a06879b5 Internal help: Fix crash when no transcoders are installed 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 6a3d301517 Internal help: Add basic controller tests 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin bd4153962f Internal help: Add database server version 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 3acd06e91b Internal help: Fix crash with MariaDB and uppercase table names 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 09fa486bb0 Internal help: Only show db filesystem size for legacy profile 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 50b6da075e Internal help: Add 'more rows' indicator for inconsistent rows 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 6c54f1f7c8 Internal help: Refactor detailed db/index stats 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 9d3ec88796 Internal help: Support table stats for external dbs 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 1cde8accc7 Internal help: Add internationalization 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 6df42736e6 Internal help: Only show link if user is admin 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 55f9a41673 Internal help: Warn for potential db corruption issues 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 768968d075 Internal help: Add transcoding info 2020-02-12 21:41:47 +00:00
François-Xavier Thomasandjvoisin 7a27e08106 Add "internal help" page with diagnostic information 2020-02-12 21:41:47 +00:00
dependabot-preview[bot]andjvoisin e303fe388e Bump commons-fileupload from 1.3.3 to 1.4
Bumps commons-fileupload from 1.3.3 to 1.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 21:06:01 +00:00
dependabot-preview[bot]andjvoisin bb366fc116 Bump jetty-jspc-maven-plugin from 9.4.19.v20190610 to 9.4.26.v20200117
Bumps [jetty-jspc-maven-plugin](https://github.com/eclipse/jetty.project) from 9.4.19.v20190610 to 9.4.26.v20200117.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.19.v20190610...jetty-9.4.26.v20200117)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 21:04:59 +00:00
François-Xavier Thomas 77a95b0e86 Also bump seamless-util to 1.1.2 2020-02-12 21:56:24 +01:00
François-Xavier Thomas 73747db980 Also bump cling-core to 2.1.2 2020-02-12 21:54:24 +01:00
dependabot-preview[bot]andjvoisin 3cd96bae9f Bump commons-configuration2 from 2.4 to 2.6
Bumps commons-configuration2 from 2.4 to 2.6.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 19:11:33 +00:00
dependabot-preview[bot]andGitHub 0a231a6575 Bump cling-support from 2.0.1 to 2.1.2
Bumps cling-support from 2.0.1 to 2.1.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 07:37:25 +00:00
François-Xavier ThomasandGitHub ba0e6b00a0 Merge pull request #1491 from airsonic/dependabot/maven/org.mariadb.jdbc-mariadb-java-client-2.5.4
Bump mariadb-java-client from 2.1.2 to 2.5.4
2020-02-10 23:02:39 +01:00
dependabot-preview[bot]andjvoisin 15a5119306 Bump postgresql from 42.2.5 to 42.2.10
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.5 to 42.2.10.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.5...REL42.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 21:51:13 +00:00
François-Xavier ThomasandGitHub 2a088521c8 Merge pull request #1461 from fxthomas/1255-fix-missing-web-xml
Add empty web.xml to fix DWR warnings
2020-02-10 22:46:24 +01:00
François-Xavier ThomasandGitHub 616788d799 Merge pull request #1493 from airsonic/dependabot/maven/org.eclipse.persistence-org.eclipse.persistence.moxy-2.7.6
Bump org.eclipse.persistence.moxy from 2.7.3 to 2.7.6
2020-02-10 22:33:58 +01:00
François-Xavier ThomasandGitHub cff2ed638f Merge pull request #1495 from airsonic/dependabot/maven/org.apache.maven-maven-artifact-3.6.3
Bump maven-artifact from 3.6.0 to 3.6.3
2020-02-10 22:33:44 +01:00
jvoisin faa4973738 Remove jsonpath 2020-02-08 15:42:27 +01:00
dependabot-preview[bot]andGitHub af9a3743ee Bump maven-artifact from 3.6.0 to 3.6.3
Bumps [maven-artifact](https://github.com/apache/maven) from 3.6.0 to 3.6.3.
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.6.0...maven-3.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 07:34:06 +00:00
dependabot-preview[bot]andGitHub 533b078069 Bump org.eclipse.persistence.moxy from 2.7.3 to 2.7.6
Bumps [org.eclipse.persistence.moxy](https://github.com/eclipse-ee4j/eclipselink) from 2.7.3 to 2.7.6.
- [Release notes](https://github.com/eclipse-ee4j/eclipselink/releases)
- [Commits](https://github.com/eclipse-ee4j/eclipselink/compare/2.7.3...2.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 07:44:44 +00:00
dependabot-preview[bot]andGitHub eb90a6ed0c Bump mariadb-java-client from 2.1.2 to 2.5.4
Bumps [mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 2.1.2 to 2.5.4.
- [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.1.2...2.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 07:44:04 +00:00
jvoisin c6eed14db5 Catch Exceptions instead of only Throwables in JAudiotaggerParser
Since JAudioTagger isn't the rock-solidest software
in the world, we should catch as much things as possible
2020-02-02 18:26:17 +01:00
jvoisinandGitHub a13552b6f5 Clean up a bit the jaudiotagger wrapper
- ID3v24 are now fully supported by jaudiotagger,
  there is no need to have special code to handle
  them
- Inline a couple of one-line'n'useless methods
- Replace isImageAvailable with getArtwork
- Make some methods static
- Specialise some exceptions
2020-02-01 12:55:29 +00:00
Andrew DeMaria 03a607d659 Merge remote-tracking branch 'origin/pr/1468' 2020-01-27 21:05:44 -07:00
Andrew DeMaria 165701bcdc Merge remote-tracking branch 'origin/pr/1466' 2020-01-27 21:00:48 -07:00
Randomnicodeandjvoisin a6a0327b97 Set limit in random track query itself instead of in connection to optimize query plan
This is a direct backport of
https://github.com/airsonic-advanced/airsonic-advanced/commit/f84644ae3df80fe4918844b62035b6bffeeed824
2020-01-12 21:20:49 +01:00
Andrew DeMaria 64fad6a4c5 Merge remote-tracking branch 'origin/pr/1465' 2020-01-11 16:11:54 -07:00
Andrew DeMaria eafb128138 Merge remote-tracking branch 'origin/pr/1464' 2020-01-11 16:11:23 -07:00
Andrew DeMaria 8af5541792 Merge remote-tracking branch 'origin/pr/1463' 2020-01-11 16:10:01 -07:00
Andrew DeMaria af9ad128dd Merge remote-tracking branch 'origin/pr/1456' 2020-01-11 16:08:18 -07:00
Andrew DeMaria e7ded45009 Merge remote-tracking branch 'origin/pr/1459' 2020-01-11 16:07:52 -07:00
jvoisin d4002ef6ce Fix two possible nullptr deref 2020-01-11 11:27:35 +01:00
jvoisin e4d58e434a Please checkstyle 2020-01-11 11:14:19 +01:00
jvoisin 43ab59807a Make a couple of inner classes static
This might marginally improve the memory consumption,
but the main goal here is to make the code separation
between inner and outer class explicit.
2020-01-11 11:11:20 +01:00