Andrew DeMaria
7a769d57cf
Merge remote-tracking branch 'origin/pr/1103'
2019-06-14 12:01:37 -06:00
Andrew DeMaria
57dea9598e
Merge remote-tracking branch 'origin/pr/1118'
2019-06-14 11:54:54 -06:00
Andrew DeMaria
2b178c4117
Merge remote-tracking branch 'origin/pr/1120'
2019-06-14 11:52:46 -06:00
jvoisin
fc43364908
Fix a useless double-assignation
2019-06-12 00:21:06 +02:00
jvoisin
4fbc080098
Please the linter
2019-06-12 00:11:39 +02:00
jvoisin
70bc0f6c04
Remove the ghetto REST flash-based video player
2019-06-12 00:09:02 +02:00
Andrew DeMaria
5671d11ab4
Merge remote-tracking branch 'origin/pr/1000'
2019-06-10 23:58:16 -06:00
Andrew DeMaria
c8f9c75d19
Merge remote-tracking branch 'origin/pr/887'
2019-06-10 23:28:19 -06:00
Andrew DeMaria
14b812568c
Merge remote-tracking branch 'origin/pr/1072'
2019-06-10 23:06:51 -06:00
Andrew DeMaria
e646077957
Merge remote-tracking branch 'origin/pr/1097'
2019-06-10 22:50:00 -06:00
jvoisin and GitHub
1f1a22fca5
Remove the deprecated getAlphabetialAlbums method
2019-06-10 20:15:32 +00:00
jvoisin
643be3930f
Remove superfluous casts
2019-06-08 16:24:00 +02:00
jvoisin
3202a1086d
Minor simplification
...
`.sorted(Comparator.reverseOrder()).findFirst()`
can be replaced with `max(Comparator.naturalOrder()`
2019-06-08 15:50:15 +02:00
jvoisin
def5f854fb
Inline some variables
...
There is no point in `Type a = …; return a;`
2019-06-08 15:47:15 +02:00
jvoisin
57df709cd8
Replace things like size == 0 with isEmpty
2019-06-08 15:40:51 +02:00
jvoisin
e0ac46cf44
Fix 3 minor errors in jsp files
...
- Add a missing `$` in dlnaSettings
- Add a missing taglib import in homePage.jsp
- Add a missing `=` in playQueue.jsp's css
2019-06-08 15:29:46 +02:00
jvoisin
977b656bc6
Remove superfluous escape in two regexp
2019-06-08 15:21:59 +02:00
jvoisin
40f7c73390
Fix the video player that was broken in cf1f86f
2019-06-08 00:54:55 +02:00
Andrew DeMaria
6baa2d09d6
Merge remote-tracking branch 'origin/pr/1091'
2019-06-06 19:58:12 -06:00
Andrew DeMaria
90712d2940
Merge remote-tracking branch 'origin/pr/1092'
2019-06-06 19:55:56 -06:00
jvoisin and GitHub
828c1b2674
Use modern Spring mapping annotations
...
Java is verbose enough, no need to make it worse.
2019-06-06 18:52:11 +00:00
jvoisin
3492fc0c05
Fix a crash when transcoding a track without album
2019-06-06 02:19:08 +02:00
jvoisin
b1eb0536b8
Fix a crash when transcoding a track without artist
2019-06-06 02:17:10 +02:00
jvoisin
e283ac46a8
Fix downloads with embedded covers
...
Previously, this would always fail with
embedded covers.
2019-06-06 02:14:10 +02:00
jvoisin
b697dc5bfc
An other batch of LGTM-found issues
2019-06-05 23:40:10 +02:00
Schuyler Eldridge
89a4517f64
Show cover art not displaying on chromecast
...
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@gmail.com >
2019-06-05 00:01:21 -04:00
jvoisin and GitHub
4f59c72bbe
Replace wz_tooltip.js with jquery-ui
2019-06-04 22:27:47 +00:00
jvoisin and GitHub
6aa96911de
Replace FancyZoom with jquery.fancyzoom
2019-06-04 22:13:07 +00:00
jvoisin and GitHub
e3a4fe4603
Balance some synchronized
2019-06-04 21:08:57 +00:00
jvoisin and GitHub
4263d59940
Fix a possible stacktrace on RandomPlayQueue
2019-06-04 21:06:08 +00:00
jvoisin and GitHub
24632317b2
Declare the usage of HTML5 in the doctype
...
This should marginally increase the performances
and jquery (no more quirks mode), as well
as making web browsers happier.
2019-06-04 21:04:59 +00:00
jvoisin
fe73034f10
Strip the <p>…</p> markup in translation
...
This was done via `find airsonic-main/src/main/resources/ -name
'ResourceBundle_*.properties' -print0 | xargs -0 sed -i
's/\(helppopup\..*\.text\)\s*=\s*<p>\(.*\)<\/p>/\1=\2/'`, courtesy of fxthomas.
2019-05-30 00:49:54 +02:00
jvoisin
01dd070efa
Fix indentation
2019-05-30 00:49:35 +02:00
jvoisin
195a0879c3
Replace wz_tooltip.js with jquery-ui
...
Since we're already using jquery-ui for other stuff, it makes sense to use it
for tooltips too, instead of using an old-school-written-in-2009 1300 lines
steaming pile of javascript named wz_tooltip.js
2019-05-29 23:39:25 +02:00
jvoisin
f4fa75f808
Fix compat with the latest jquery
...
Stolen^w borrowed from https://github.com/keegnotrub/jquery.fancyzoom/issues/3#issue-388966769
2019-05-28 01:13:02 +02:00
jvoisin
c5eb7aa37c
Fix a typo
2019-05-28 01:08:27 +02:00
jvoisin
9a43b4f360
Group the .attr calls
2019-05-28 00:57:26 +02:00
jvoisin
15a1e5e7d6
Replace FancyZoom with jquery.fancyzoom
...
FancyZoom isn't a free-as-in-freedom software,
and is mostly a big pile of old-school javascript.
This commit replace it with a small jquery-powered
script under MIT license.
2019-05-28 00:56:46 +02:00
jo
131b7ada1d
Update translation and fix char encoding
2019-05-23 21:12:42 +02:00
tesshucom
1c4a70af99
Fixed null check with StringUtils/ObjectUtils.
2019-05-24 03:57:57 +09:00
Andrew DeMaria
ce2a56e6f1
Merge remote-tracking branch 'origin/pr/1033'
2019-05-23 10:45:07 -06:00
Peter Marheine
3efa2d3e2c
Remove the option to never set Content-Length
...
This workaround is obsolete with correct handling of ranges when
requested.
2019-05-23 10:54:06 +10:00
Peter Marheine
9be2a8892f
More correctly handle stream ranges
...
When transcoding, always use chunked transfers and report that ranges
are not supported. When not transcoding, support returning ranges but
only if requested.
2019-05-23 10:51:37 +10:00
Peter Marheine
3e97186043
Omit unnecessary null check on ranges
2019-05-23 10:50:20 +10:00
Peter Marheine
47eefc1369
Refactor output streaming for readability
...
The core loop was put together confusingly; this encapsulates the
process of constructing an OutputStream and reformats some.
2019-05-23 10:48:09 +10:00
Peter Marheine
cae8f8b4e5
Reformat stream controller some
...
Mostly just whitespace changes, shortening lines for readability. Adds a
few comments that outline what's supposed to happen.
2019-05-23 10:43:51 +10:00
Peter Marheine
d42af4575f
Add some @Nullable annotations
...
Making it easier to tell where API contracts allow nulls, where it's
otherwise unclear without reading the implementation.
2019-05-23 10:37:35 +10:00
Peter Marheine
5077e0d5e1
Short circuit RangeOutputStream for open ranges
...
There's no reason to wrap a stream in an output that will do nothing, as
when the requested range is 0-; eg the entire stream.
2019-05-23 10:34:57 +10:00
Rémi Cocula
c09da549ce
FIX : tests fail if a /var/music folder exists
2019-05-22 21:41:15 +02:00
Andrew DeMaria
2643545b39
Rename utilsjs
2019-05-21 11:00:27 -06:00