Andrew DeMaria
42bced139f
Small refactor on httpservletrequest injection
il y a 7 ans
Evan Harris
983d688cce
Added validation to reject things disallowed on the current user
il y a 7 ans
Evan Harris
a4c62f6860
Disallow deleting your own user or removing admin role
il y a 7 ans
Andrew DeMaria
f8bd580fb7
Revert "Replace wz_tooltip.js with jquery-ui" and Revert "Fix #1112"
...
This reverts commit 50467942c8 .
This reverts commit 195a0879c3 .
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
il y a 7 ans
Andrew DeMaria
50467942c8
Fix #1112
il y a 7 ans
Andrew DeMaria
05580ae7f3
Fix typo
il y a 7 ans
Andrew DeMaria
7c7ac3e591
Update dependency check
il y a 7 ans
Evan Harris
79b800656a
Cleanup siebling -> sibling mis-spellings
il y a 7 ans
jvoisin
cdc38cb88d
Use SVG for the icons for the default_light theme
il y a 7 ans
jvoisin
2d06995416
Remove the last mention of Flash in the translation files
il y a 7 ans
jvoisin
a27ad99f8d
Remove an other Flash-related localization
il y a 7 ans
jvoisin
67eae2893f
Remove a localisation about getting flash player
il y a 7 ans
jvoisin
9bd2c1e83f
Fix various minor javascript-related warnings
il y a 7 ans
jvoisin
1640411573
Fix some invalid/incomplete javadoc comments
il y a 7 ans
jvoisin
8f4e351718
Add an `alt` attribute to images, to increase accessibility
il y a 7 ans
jvoisin
fc43364908
Fix a useless double-assignation
il y a 7 ans
jvoisin
4fbc080098
Please the linter
il y a 7 ans
jvoisin
70bc0f6c04
Remove the ghetto REST flash-based video player
il y a 7 ans
jvoisin
1f1a22fca5
Remove the deprecated getAlphabetialAlbums method
il y a 7 ans
jvoisin
643be3930f
Remove superfluous casts
il y a 7 ans
jvoisin
3202a1086d
Minor simplification
...
`.sorted(Comparator.reverseOrder()).findFirst()`
can be replaced with `max(Comparator.naturalOrder()`
il y a 7 ans
jvoisin
def5f854fb
Inline some variables
...
There is no point in `Type a = …; return a;`
il y a 7 ans
jvoisin
57df709cd8
Replace things like size == 0 with isEmpty
il y a 7 ans
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
il y a 7 ans
jvoisin
977b656bc6
Remove superfluous escape in two regexp
il y a 7 ans
jvoisin
40f7c73390
Fix the video player that was broken in cf1f86f
il y a 7 ans
jvoisin
828c1b2674
Use modern Spring mapping annotations
...
Java is verbose enough, no need to make it worse.
il y a 7 ans
jvoisin
3492fc0c05
Fix a crash when transcoding a track without album
il y a 7 ans
jvoisin
b1eb0536b8
Fix a crash when transcoding a track without artist
il y a 7 ans
jvoisin
e283ac46a8
Fix downloads with embedded covers
...
Previously, this would always fail with
embedded covers.
il y a 7 ans
jvoisin
b697dc5bfc
An other batch of LGTM-found issues
il y a 7 ans
Schuyler Eldridge
89a4517f64
Show cover art not displaying on chromecast
...
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@gmail.com>
il y a 7 ans
jvoisin
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.
il y a 7 ans
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.
il y a 7 ans
jvoisin
01dd070efa
Fix indentation
il y a 7 ans
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
il y a 7 ans
jvoisin
f4fa75f808
Fix compat with the latest jquery
...
Stolen^w borrowed from https://github.com/keegnotrub/jquery.fancyzoom/issues/3#issue-388966769
il y a 7 ans
jvoisin
c5eb7aa37c
Fix a typo
il y a 7 ans
jvoisin
9a43b4f360
Group the .attr calls
il y a 7 ans
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.
il y a 7 ans
jo
131b7ada1d
Update translation and fix char encoding
il y a 7 ans
tesshucom
1c4a70af99
Fixed null check with StringUtils/ObjectUtils.
il y a 7 ans
Peter Marheine
3efa2d3e2c
Remove the option to never set Content-Length
...
This workaround is obsolete with correct handling of ranges when
requested.
il y a 7 ans
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.
il y a 7 ans
Peter Marheine
3e97186043
Omit unnecessary null check on ranges
il y a 7 ans
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.
il y a 7 ans
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.
il y a 7 ans
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.
il y a 7 ans
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.
il y a 7 ans
Rémi Cocula
c09da549ce
FIX : tests fail if a /var/music folder exists
il y a 7 ans