François-Xavier Thomas
5cb9b6c029
Hide play queue actions while playing internet radios
5 years ago
François-Xavier Thomas
02d373d9ec
Play internet radios in MediaElement ( fix #408 )
...
This allows the user to control playback for the internet radios, which
were previously started outside of the main player without any
possibility for direct control.
5 years ago
Evan Harris
983d688cce
Added validation to reject things disallowed on the current user
5 years ago
Evan Harris
a4c62f6860
Disallow deleting your own user or removing admin role
5 years ago
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>
5 years ago
Andrew DeMaria
50467942c8
Fix #1112
5 years ago
Evan Harris
79b800656a
Cleanup siebling -> sibling mis-spellings
5 years ago
jvoisin
cdc38cb88d
Use SVG for the icons for the default_light theme
5 years ago
jvoisin
9bd2c1e83f
Fix various minor javascript-related warnings
5 years ago
jvoisin
8f4e351718
Add an `alt` attribute to images, to increase accessibility
5 years ago
jvoisin
fc43364908
Fix a useless double-assignation
6 years ago
jvoisin
70bc0f6c04
Remove the ghetto REST flash-based video player
6 years ago
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
6 years ago
jvoisin
40f7c73390
Fix the video player that was broken in cf1f86f
6 years ago
Schuyler Eldridge
89a4517f64
Show cover art not displaying on chromecast
...
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@gmail.com>
6 years ago
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.
6 years ago
jvoisin
01dd070efa
Fix indentation
6 years ago
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
6 years ago
jvoisin
f4fa75f808
Fix compat with the latest jquery
...
Stolen^w borrowed from https://github.com/keegnotrub/jquery.fancyzoom/issues/3#issue-388966769
6 years ago
jvoisin
c5eb7aa37c
Fix a typo
6 years ago
jvoisin
9a43b4f360
Group the .attr calls
6 years ago
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.
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
Andrew DeMaria
2643545b39
Rename utilsjs
6 years ago
jvoisin
1090348b0e
Use the version number in jquery-ui's css path
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
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
Andrew DeMaria
2162250101
Revert "Minor frameset-related factorization"
...
This reverts commit e69287cfe6
.
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
François-Xavier Thomas
d9f164499f
Fix cancel button colors in 'Groove' dark theme
6 years ago
jvoisin
716fd3635c
Remove a useless test page
6 years ago
jvoisin
e2683024af
Factorize a bit the checkbox-related CSS
...
Since the `border: 0;` property is applied
to every checkbox, there is no need for a class.
This is also a good opportunity to use ternaries
for the `checked` attribute, instead of clumsy `if`.
6 years ago
jvoisin
cf1f86f226
Move some video-cast-related inline js to an external file
6 years ago
jvoisin
af4165310f
Fix yet an other XSS
6 years ago
jvoisin
e69287cfe6
Minor frameset-related factorization
6 years ago
jvoisin
17f1d45e08
Remove mentions of subsonic premium
6 years ago
jvoisin
90cb02105e
Add a noopener and noreferrer to external urls
...
- noreferrer is used to prevent the browser from sending the referrer
to the visited site
- noopener fixes a fun class of bug: https://mathiasbynens.github.io/rel-noopener/
6 years ago
jvoisin
cdd47b36d2
Clicking on the logo now redirects to home instead of about
...
The previous behaviour was confusing, because on
most websites, clicking on the logo will redirect
to the main page, and not on the about one.
6 years ago
jvoisin
a200dd0c37
Don't autocomplete the password field
...
I guess that this is a bit silly in 2019,
but since people tend to use weird browsers in weird
places, disabling autocompletion here might prevent
the password from ending up in some local cache.
6 years ago
jvoisin
ec4b969e2c
Replace latin encoding with utf-8
6 years ago
Andrew DeMaria
15c6a8861b
Fix formatting on external player for firefox
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
jvoisin
7d865ea7a9
Add a lost meta back
6 years ago
jvoisin
422127e3f6
Replace the flash player with medialement.js for the shared media
6 years ago
jvoisin
72e372157a
Remove WAP-related stuff
...
WAP (https://en.wikipedia.org/wiki/Wireless_Application_Protocol )
is a thing from the past that nobody is using anymore.
This should close #960
6 years ago
jvoisin
aff7bd3d57
Remove webfx stuff, since they're apparently not used
...
The only place where the string `webfx` is mentioned
was in playQueue.jsp, to include a small css file, twice,
that only applies to webfx components, that aren't used
anywhere in the codebase.
6 years ago