Commit Graph
1365 Commits
Author SHA1 Message Date
François-Xavier Thomas a3d9951102 Add empty web.xml in order to prevent DWR warnings
Fixes #1255
2020-01-07 23:26:47 +01:00
jvoisin 0e8056c06a Minor refactoring in theme resolver
This should please our beloved static analysers,
and speed up by _at least_ 0.2ms the themes
selector loading time!
2020-01-05 21:40:19 +01:00
Andrew DeMaria 27c174a4d6 Merge remote-tracking branch 'origin/pr/1452' 2020-01-04 11:23:47 -07:00
Andrew DeMaria e9f9aad207 Merge remote-tracking branch 'origin/pr/1454' 2020-01-04 11:01:45 -07:00
François-Xavier Thomas d5f10e4c4c Turn off Airsonic banner during tests 2020-01-03 23:59:46 +01:00
François-Xavier Thomas a4118c1cf5 Suppress CVE-2019-12418 2020-01-03 23:59:28 +01:00
François-Xavier Thomas fa1fbb49dc Suppress CVE-2019-17563 2020-01-03 23:48:52 +01:00
François-Xavier Thomas 5bd841afb7 Change avatar storage column to bytea for PostgreSQL
In PostgreSQL, Liquibase maps the `blob` type to an `oid` column by
default[1]. That column type is not supported[2] very well when using
the `valueBlobFile` attribute, which expects a `bytea` column instead.

This was confirmed on all PostgreSQL versions starting from 9.6.

The `validCheckSum` attribute does not need to be updated since it was
already for the previous (binary_type, varchar_type) combination in
an unrelated commit (78a99d5860).

Fixes #1213.

[1] https://liquibase.jira.com/browse/CORE-1863
[2] https://github.com/liquibase/liquibase/pull/605
2020-01-03 19:42:47 +01:00
François-Xavier ThomasandGitHub 70de4c8f25 Merge pull request #1123 from eharris/seekable-transcodes
Change back to allow transcodes to allow seeking
2019-12-27 15:19:12 +01:00
Evan Harris 72e758bd3f Fixed integration tests to accomodate transcoding stream padding
Renamed the transcoding stream tests to have more specific names.
2019-12-16 23:02:22 -06:00
Evan Harris 1e21967303 Fix checkstyle issues for merge 2019-12-16 22:04:02 -06:00
Evan Harris a6cdba4a44 Added a warning if stream output exceeds predicted size 2019-12-16 22:04:02 -06:00
Evan Harris 6cfbe0ff88 Moved expected content length calculation to TranscodingService 2019-12-16 22:04:01 -06:00
Evan Harris b28ffb0d1a Added isRangeAllowed() function for transcoded sources
This isn't a perfect solution, but it should help increase confidence
that the transcoder in use is likely to produce an approximately
correct-sized stream.
2019-12-16 22:04:01 -06:00
Evan Harris e691c80774 Change back to allow transcodes to allow seeking
This switches back to allowing range rather than chunked requests so that
seeking works in the web player, but does so by safer means than previous
solutions, by slightly over-estimating the transcoded size, then sending
dummy bytes to the client to fill any gap.  Fixes #1117.  Addresses #685.
2019-12-16 22:03:44 -06:00
Andrew DeMaria dfac91fec4 Merge remote-tracking branch 'origin/pr/1406' 2019-12-16 19:30:13 -07:00
Robert Sprunk d063688422 Move PrivateDevices to a separate section and add a comment
Signed-off-by: Robert Sprunk <git@sprunk.me>
2019-12-09 14:28:19 +01:00
Andrew DeMaria 2f75254010 Merge remote-tracking branch 'origin/pr/1433' 2019-12-08 13:50:48 -07:00
Andrew DeMaria ec426fc1ed Merge remote-tracking branch 'origin/pr/1434' 2019-12-08 12:51:00 -07:00
Evan Harris ac45a9b7dc Added checkstyles for brace placement 2019-12-06 03:19:49 -06:00
Evan Harris 510314a9d8 Added SingleSpaceSeparator checkstyle 2019-12-06 03:14:19 -06:00
Evan Harris f476fd7c33 Added checkstyle for trailing whitespace 2019-12-06 03:10:06 -06:00
François-Xavier Thomas d7c5e3ab60 Add 'add to play queue' actions to playlist pages (#1226) 2019-12-05 22:27:49 +01:00
François-Xavier ThomasandGitHub 2d30a37208 Merge pull request #1235 from tesshucom/improve-search-accuracy
Improve search accuracy
2019-12-03 21:17:42 +01:00
tesshucom dba8610ff7 Apply stopwords dedicated to music search
- Iterate index version.
2019-12-04 02:08:59 +09:00
tesshucom bb464f15a8 Apply boost values ​​to search queries 2019-12-04 01:13:26 +09:00
François-Xavier Thomas d4a26ed691 Merge remote-tracking branch 'prschopf/master' 2019-11-27 21:19:37 +01:00
prschopfandGitHub bf071167d5 Update ResourceBundle_pt_BR.properties 2019-11-23 21:43:28 -03:00
prschopfandGitHub d84e7713aa Update ResourceBundle_pt_BR.properties 2019-11-23 21:13:03 -03:00
Andrew DeMaria 53431b1c50 Merge remote-tracking branch 'origin/pr/1413' 2019-11-23 14:49:04 -07:00
Andrew DeMaria 05222d502b Change casing and extract constant
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-23 14:36:06 -07:00
RandomnicodeandAndrew DeMaria d626463060 Fix DLNA port, and expose them in Docker
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-23 14:33:13 -07:00
Andrew DeMaria e789e531d0 Merge remote-tracking branch 'origin/pr/1326' 2019-11-23 14:03:06 -07:00
Andrew DeMaria fa1a700ebd Translated xml configuration to java configuration
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-23 13:23:09 -07:00
Andrew DeMaria bdcfc78b85 Update apache cxf
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-23 13:09:39 -07:00
Shen-Ta HsiehandAndrew DeMaria 84df4e3b94 Add support for ListenBrainz Audio Scrobbler Service
- Add textbox in user settings page for ListenBrainz token
- Add changes to db
    - Add db colume to store MusicBrainz Recording ID
    - Add db colume to store ListenBrainz token
- Add test for reading id
    - Add tag on testing file
- Add localization entry

Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-23 12:36:48 -07:00
Shen-Ta HsiehandAndrew DeMaria e3b3bc9d2b Move Last.fm logic into separate helper class
- Split AudioScrobblerSevice into two classes
- Change api to https in last.fm Audio Scrobbler

Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-23 12:36:39 -07:00
jvoisin af97925124 Rename some exceptions to ignored since we don't care about them 2019-11-23 15:50:22 +01:00
Evan Harris 1651e14bf5 Merge branch 'origin/pr/1365' 2019-11-20 05:18:40 -06:00
Evan Harris f62617df56 Added refresh link to all home navigation types
This adds a refresh link to all homePager.jsp browse methods in a
consistent place, so that users can easily refresh the proper frame
without causing a whole page refresh that would interrupt the web
player.
This is a follow-on to #1339 which removed the auto-refresh feature.
A side effect of this cleanup was to change all spacing between sets
of elements to a standard 2em to the right which made the layout
less convoluted.
2019-11-20 04:52:53 -06:00
Evan HarrisandGitHub 569a55259f Merge pull request #1339 from eharris/remove-autorefresh
Removed the auto-refresh feature
2019-11-20 04:21:38 -06:00
Robert Sprunk 856030d5f9 Allow access to real alsa hardware by systemd
Signed-off-by: Robert Sprunk <git@sprunk.me>
2019-11-13 17:04:13 +01:00
Evan Harris a44cad0c5b Removed duplicate Integer parsing code 2019-11-12 01:50:02 -06:00
Evan Harris 4a1493e474 Removed duplicated code 2019-11-12 01:50:02 -06:00
Evan Harris ecc026b3e8 Changed to use short-cut logic and other cleanups 2019-11-12 01:49:42 -06:00
Andrew DeMaria 1bdc45062a Merge remote-tracking branch 'origin/pr/1338' 2019-11-11 23:27:19 -07:00
François-Xavier ThomasandGitHub 0041fd7951 Merge pull request #1393 from muff1nman/pmd-with-source-refs
Add jxr plugin for pmd refs
2019-11-10 19:54:41 +01:00
Andrew DeMaria 35eaae39db Bump snapshot version
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-07 23:55:19 -07:00
Andrew DeMaria 3a2849f42c Update Changelog for 10.5
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-07 23:52:13 -07:00
Andrew DeMaria 94b1046235 Copy over 10.4.2 release notes
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2019-11-07 22:48:08 -07:00