Andrew DeMaria
fa514f6929
Merge remote-tracking branch 'origin/pr/1026'
6 years ago
Andrew DeMaria
72e4c7b965
Merge remote-tracking branch 'origin/pr/1035'
6 years ago
Andrew DeMaria
68723db2e9
Test m4a and flac streaming
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Peter Marheine
3efa2d3e2c
Remove the option to never set Content-Length
...
This workaround is obsolete with correct handling of ranges when
requested.
6 years ago
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.
6 years ago
Peter Marheine
3e97186043
Omit unnecessary null check on ranges
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
Rémi Cocula
c09da549ce
FIX : tests fail if a /var/music folder exists
6 years ago
Andrew DeMaria
16fb6d6134
Disable gpg plugin for integration test
6 years ago
Andrew DeMaria
445b4fba03
Add 10.3.1 change notes
6 years ago
Andrew DeMaria
310156f891
CVE-2019-12086 - bump jackson version
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
4e7b2aaa71
Docs for creating a release
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
ae968078bb
Merge remote-tracking branch 'origin/pr/1068'
6 years ago
Andrew DeMaria
2643545b39
Rename utilsjs
6 years ago
Andrew DeMaria
b407231132
Update changelog for 10.3.0
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
6fbed41b7b
Add date for version release
6 years ago
Andrew DeMaria
8be0746bd4
Bump to 10.4.0 SNAPSHOT
6 years ago
Andrew DeMaria
7203d4ba6b
One more changelog update
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
53142c8702
Merge remote-tracking branch 'origin/pr/1062'
6 years ago
Andrew DeMaria
f1831820f4
Update docker base image
6 years ago
Andrew DeMaria
493a53b418
Merge remote-tracking branch 'origin/pr/930'
6 years ago
Andrew DeMaria
6729838030
Changelog updates for 10.3.0
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
Andrew DeMaria
bec5cec4a2
Merge remote-tracking branch 'origin/pr/930'
6 years ago
jvoisin
1090348b0e
Use the version number in jquery-ui's css path
6 years ago
Andrew DeMaria
0a1164966d
Merge remote-tracking branch 'origin/pr/1032'
6 years ago
Andrew DeMaria
cdd307d86f
Merge remote-tracking branch 'origin/pr/1042'
6 years ago
Andrew DeMaria
1e89890223
Merge remote-tracking branch 'origin/pr/1038'
6 years ago
jvoisin
33bf68aaa5
Add a password settings testcase ( #1058 )
...
* Add a simple testcase
This commit was done to understand how JUnit
and its friends are working. Expect more useful tests
in the future ;)
* Factorise a bit the tests
6 years ago
Jonas L
27ee009b69
[ci skip] Better readability in .gitlab-ci.yml
6 years ago
jvoisin
ce7671bf5e
Add the required keyword to some forms
...
This should improve a bit the accessibility.
6 years ago
jvoisin
6d294a770b
Replace the usage of prototypejs with jquery in changeCoverArt.jsp
...
This change was successfully tested on Chromium and Firefox.
6 years ago
jvoisin
bf5f8cb713
Factorize scripts-2.0.js into utils.js
...
No need to include two different and super-small javascript "utils" files.
6 years ago
jvoisin
f3b2c2ea7a
Add a missing taglib to homePager.jsp
...
The missing taglib is confusing coverity a bit,
and I think that it's a good practise to add it
anyway.
6 years ago
jvoisin
3cfe2b31a1
Move some cast-related inline js to an external file
...
There is no point in having such a massive
blob of javascript inline in the page.
6 years ago
Andrew DeMaria
7b628ed8dd
Merge remote-tracking branch 'origin/pr/1056'
6 years ago
jvoisin
58daacd9ab
Jetty is only used by developers, and never in production
...
So we're free to completely ignore CVE against it.
6 years ago
Jonas L
2c3ba680d8
[ci skip] Add Java version in issue template
6 years ago
jvoisin
ab03526620
Fix two NULL-deref
6 years ago
François-Xavier Thomas
f57ad3f27b
Fix typo in anonymous user name ( #663 )
6 years ago
Andrew DeMaria
ac0a722a10
Merge remote-tracking branch 'airsonic/pr/990'
6 years ago
Andrew DeMaria
b51cdc1c5c
Merge remote-tracking branch 'airsonic/pr/1028'
6 years ago
Andrew DeMaria
4537495baf
Merge remote-tracking branch 'airsonic/pr/1012'
6 years ago
Andrew DeMaria
3cdecb87f4
Merge remote-tracking branch 'airsonic/pr/1037'
6 years ago
François-Xavier Thomas
8a90d9f77b
Add system properties for persisting the 'remember me' key
...
This adds the 'airsonic.rememberMeKey' system property (can be set from
command-line with `-Dairsonic.rememberMeKey=<value>`) as well as a
'RememberMeKey' setting in airsonic.properties, so that the key used for
generating 'remember me' tokens can be persisted across server restarts.
It also adds a default, insecure key in case we are running in
development mode with the 'airsonic.development' property set.
6 years ago
jvoisin
3ee6fefe11
Bump jQuery/jquery-ui to the latest versions
...
I bumped it first to 2.X with jQuery migrate, played around but didn't manage
to trigger any warning. So I bumped it again to the latest available version,
jQuery 3.4.0, which isn't triggering useful warnings either.
6 years ago
jvoisin
b663a2fb90
Fix a stored XSS
6 years ago
jvoisin
348c698e35
Remove the /db page
...
This page wasn't linked anywhere, and was
allowing an administrator to issue arbitrary sql
comments, and was vulnerable to reflected XSS.
We should get rid of it. If you really want to issue
SQL commands, just ssh to your instance and do it from here.
6 years ago