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
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
Andrew DeMaria
2643545b39
Rename utilsjs
2019-05-21 11:00:27 -06:00
Andrew DeMaria
493a53b418
Merge remote-tracking branch 'origin/pr/930'
2019-05-20 15:30:15 -06:00
Andrew DeMaria
bec5cec4a2
Merge remote-tracking branch 'origin/pr/930'
2019-05-20 15:05:18 -06:00
jvoisin
1090348b0e
Use the version number in jquery-ui's css path
2019-05-20 22:57:21 +02:00
jvoisin and GitHub
ce7671bf5e
Add the required keyword to some forms
...
This should improve a bit the accessibility.
2019-05-17 20:29:16 +00:00
jvoisin and GitHub
6d294a770b
Replace the usage of prototypejs with jquery in changeCoverArt.jsp
...
This change was successfully tested on Chromium and Firefox.
2019-05-17 20:23:40 +00:00
jvoisin and GitHub
bf5f8cb713
Factorize scripts-2.0.js into utils.js
...
No need to include two different and super-small javascript "utils" files.
2019-05-17 20:13:12 +00:00
jvoisin and GitHub
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.
2019-05-17 17:13:01 +00:00
jvoisin and GitHub
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.
2019-05-17 17:09:45 +00:00
Andrew DeMaria
ac0a722a10
Merge remote-tracking branch 'airsonic/pr/990'
2019-04-28 22:59:23 -04:00
Andrew DeMaria
b51cdc1c5c
Merge remote-tracking branch 'airsonic/pr/1028'
2019-04-28 22:58:29 -04:00
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.
2019-04-28 16:26:36 +02:00
jvoisin and GitHub
b663a2fb90
Fix a stored XSS
2019-04-28 08:49:25 +00:00
jvoisin and GitHub
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.
2019-04-28 08:48:41 +00:00
Andrew DeMaria
2162250101
Revert "Minor frameset-related factorization"
...
This reverts commit e69287cfe6 .
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2019-04-27 14:00:52 -06:00
François-Xavier Thomas
d9f164499f
Fix cancel button colors in 'Groove' dark theme
2019-04-22 15:15:36 +02:00
Andrew DeMaria
1463f75b06
Merge remote-tracking branch 'origin/pr/961'
2019-04-19 09:51:41 -06:00
Andrew DeMaria
cddc2b2fa7
Merge remote-tracking branch 'origin/pr/983'
2019-04-19 09:48:05 -06:00
Andrew DeMaria
2030caa219
Merge remote-tracking branch 'origin/pr/994'
2019-04-19 09:46:40 -06:00
Andrew DeMaria
1bd70263bd
Merge remote-tracking branch 'origin/pr/989'
2019-04-19 09:41:06 -06:00
Andrew DeMaria
24f5c2d8f5
Merge remote-tracking branch 'origin/pr/1005'
2019-04-19 09:40:48 -06:00
Andrew DeMaria
3f9c525933
Merge remote-tracking branch 'origin/pr/1007'
2019-04-19 09:39:48 -06:00
Andrew DeMaria
50964fa378
Merge remote-tracking branch 'origin/pr/1002'
2019-04-19 09:39:17 -06:00
Andrew DeMaria
326583839e
Merge remote-tracking branch 'origin/pr/982'
2019-04-19 08:17:33 -06:00
Andrew DeMaria
a2b423aa82
Merge remote-tracking branch 'origin/pr/1020'
2019-04-19 08:17:18 -06:00
Andrew DeMaria
f5250e36f1
Merge remote-tracking branch 'origin/pr/1021'
2019-04-19 08:17:06 -06:00
jvoisin
716fd3635c
Remove a useless test page
2019-04-17 22:26:45 +02:00
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`.
2019-04-17 22:20:11 +02:00
jvoisin
cf1f86f226
Move some video-cast-related inline js to an external file
2019-04-17 21:58:49 +02:00
jvoisin
af4165310f
Fix yet an other XSS
2019-04-12 22:39:45 +02:00
jvoisin
e69287cfe6
Minor frameset-related factorization
2019-04-11 23:15:09 +02:00
jvoisin
17f1d45e08
Remove mentions of subsonic premium
2019-04-10 22:49:08 +02:00
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/
2019-04-08 23:13:47 +02:00
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.
2019-04-08 18:17:19 +02:00
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.
2019-04-08 17:25:30 +02:00
jvoisin
ec4b969e2c
Replace latin encoding with utf-8
2019-04-07 09:27:22 +02:00
Andrew DeMaria
15c6a8861b
Fix formatting on external player for firefox
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2019-04-05 23:14:48 -04:00
Andrew DeMaria
b128479972
Merge remote-tracking branch 'airsonic/pr/962'
2019-04-05 22:28:22 -04:00
Andrew DeMaria
8e0d49834c
Merge remote-tracking branch 'airsonic/pr/929'
2019-04-05 22:22:40 -04:00
jvoisin
7d865ea7a9
Add a lost meta back
2019-04-03 10:22:38 +02:00
jvoisin
422127e3f6
Replace the flash player with medialement.js for the shared media
2019-04-03 02:23:50 +02:00
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
2019-04-02 19:48:17 +02:00
Andrew DeMaria
f04ec61d0f
Merge remote-tracking branch 'airsonic/pr/958'
2019-04-01 22:43:42 -04:00
Andrew DeMaria
58f4dfdb2e
Merge remote-tracking branch 'airsonic/pr/957'
2019-04-01 22:42:39 -04:00
Andrew DeMaria
a59e8e4a9f
Merge remote-tracking branch 'airsonic/pr/956'
2019-04-01 22:42:16 -04:00