Commit Graph
50 Commits
Author SHA1 Message Date
Andrew DeMaria 221a0ed933 Merge remote-tracking branch 'airsonic/pr/945' 2019-03-31 19:45:56 -04:00
jvoisin 5edebf7885 Remove inline javascript on the cancel buttons
The inline javascript used with the cancel buttons
was only used to change the location.
Instead of doing this, it's easier to wrap
the button in a tag.

This is related to #909.
2019-04-01 01:32:35 +02:00
Andrew DeMaria cd45717256 Merge remote-tracking branch 'airsonic/pr/938' 2019-03-31 19:31:18 -04:00
Andrew DeMaria d5500ce3d2 Merge remote-tracking branch 'airsonic/pr/941' 2019-03-31 19:24:26 -04:00
Andrew DeMaria 41a5ae06d5 Merge remote-tracking branch 'airsonic/pr/922' 2019-03-31 19:20:33 -04:00
Andrew DeMaria 6613bd86d5 Merge remote-tracking branch 'airsonic/pr/907' 2019-03-31 19:19:44 -04:00
jvoisin ba6b39b7b2 Add two <meta> tags
- Add a description, since this can be useful
  in browser's histories
- Add a viewport, making it less worse to use
  airsonic on a super-small screen
2019-03-31 23:55:24 +02:00
jvoisin 883022d81a Remove script.aculo.us dependency
It's not used anywhere, using an old version,
and the project doesn't seem to be maintained anyway.
2019-03-30 11:09:42 +01:00
jvoisin 2f9046d6b4 Fix a xss and clean up some js
- Fix a stupid self-XSS. I doubt that there are ways to
  use it against other users, but well, better safe than sorry
- Replace the javascript-on-focus hacks with the `autofocus` attribute
2019-03-28 23:38:37 +01:00
jvoisin 39b9eab715 Simplify a bit the css 2019-03-26 23:08:50 +01:00
jvoisin 0b72acefed Oups 2019-03-26 23:04:32 +01:00
jvoisin fa5ffdc07a Remove the external fonts usage
This is a radical (and simple) solution
to #853, #399, #439, #174 and partially #712.
2019-03-26 21:30:45 +01:00
Andrew DeMaria e76d44d957 Merge remote-tracking branch 'origin/pr/908' 2019-03-26 13:59:48 -06:00
jvoisin 45ef973627 Fix a javascript null-deref
This commit should fix the following javascript crash that
may occur if the localstorage isn't available/supported by the browser:

```
more.view:140 Uncaught TypeError: Cannot read property 'playCountValue' of null
    at loadShuffleForm (more.view:140)
    at HTMLDocument.<anonymous> (more.view:181)
    at n (jquery-1.7.1.min.js:2)
    at Object.fireWith (jquery-1.7.1.min.js:2)
    at Function.ready (jquery-1.7.1.min.js:2)
    at HTMLDocument.B (jquery-1.7.1.min.js:2)
```

Signed-off-by: jvoisin <julien.voisin@dustri.org>
2019-03-22 06:10:20 +01:00
jvoisin 4de26ac319 Remove pngfix
pngfix.js is used for compatibility's reason
with IE 5 and 6. I think that now that we're in 2019,
we can get rid of it.

Signed-off-by: jvoisin <julien.voisin@dustri.org>
2019-03-20 21:59:52 +01:00
jvoisin f501bfd5e1 Remove momentjs
MomentJS was only used in a single javascript function,
to do Seconds → (Minutes, Seconds). This commit
replaces this with a hand-rolled version, and removes
MomentJS.

Signed-off-by: jvoisin <julien.voisin@dustri.org>
2019-03-20 21:55:39 +01:00
François-Xavier Thomas 21eff917b6 PlayQueue: Fix broken keyboard shortcuts
Using the "space" key to resume playback, as well as +/- to
increase/decrease volume, were not working properly.
2019-01-09 21:28:40 +01:00
Andrew DeMaria fb18862db4 Fix extraneous closing tag 2018-12-09 23:59:31 -05:00
Andrew DeMaria cddacb61c2 Merge remote-tracking branch 'airsonic/pr/834' 2018-12-09 23:48:49 -05:00
Arne Schlüter fec8f0ba95 Update favicons in webapp 2018-12-03 10:42:04 +01:00
Shawn Bruce df5f6f2aaf Display folders as a list in Settings->Users and include the path. 2018-12-02 16:12:42 -05:00
WillyPillow 84144f287a Add option to disable seeking on transcodes. (Mitigates #548 & #723)
As per #548, #723, and tsquillario/Jamstash#131, the current method of
estimating `Content-Length` creates various problems.

However, if headers such as `Accept-Ranges` is omitted, clients will only
use the first connection, which is `Transfer-Encoding: chunked`, and no
`Content-Length` is necessary.

Doing this has the side effect that (at least on the web player) seeking
to a specific time is no longer possible, thus this was made an opt-in
option.

Signed-off-by: WillyPillow <wp@nerde.pw>
2018-09-06 02:11:01 +08:00
Peter Marheine 1b833003fb Bring back an optional reCAPTCHA v2
Only showing it in the recovery view, not yet validating the result.

Signed-off-by: Peter Marheine <peter@taricorp.net>
2018-08-11 21:05:07 +10:00
Peter Marheine a928b9ee3f Add settings for CAPTCHA in account recovery.
Allowing users to enable it and specify the site and secret key to use
with reCAPTCHA.

The old hard-coded keys were insecure; the secret key must not be
distributed publicly. The current defaults are the test keys provided at
https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha-v2-what-should-i-do

Signed-off-by: Peter Marheine <peter@taricorp.net>
2018-08-11 21:04:57 +10:00
Peter Marheine 749342f25e Remove captcha support
It uses reCAPTCHA v1, which hasn't worked since March 2018.

Signed-off-by: Peter Marheine <peter@taricorp.net>
2018-08-11 20:54:39 +10:00
François-Xavier ThomasandJonas L caa1dac3a2 Use dark media player theme on groove theme (#777) 2018-08-09 22:41:58 +02:00
Andrew DeMaria a097597bca Merge remote-tracking branch 'airsonic/pr/700' 2018-06-14 18:49:23 -04:00
François-Xavier Thomas c76a92746d Issue #164: Show link to MusicBrainz release on album pages 2018-05-22 23:17:33 +02:00
Andrew DeMaria 40c9debf8e Merge remote-tracking branch 'airsonic/pr/698' 2018-05-07 19:44:02 -04:00
jo b259f32bc4 Fix themes using dark background with me_js 2018-02-27 20:01:17 +01:00
jo d1e190af0c Remove margin of media_control bar 2018-02-27 20:00:39 +01:00
jo 159d5f67fa Fix #596 2018-02-27 17:45:28 +01:00
jo 6204409c5e New add_album to play queue 2018-02-27 15:58:44 +01:00
Andrew DeMaria dbd2a738eb Made it easier to see current playing song for dark themes
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-12-20 18:41:49 -07:00
StarkadandJonas L 429fa1fb92 Fixed botched up css (Substandard) (#652)
Signed-off-by:Manuel Müller <manuel.mueller@geekinbusiness.de>
2017-12-15 15:21:17 +01:00
Shen-Ta HsiehandAndrew DeMaria ab33bf2cee Add show-all button on artist listing page 2017-11-18 10:21:25 -07:00
Andrew DeMaria c7789533a0 Don't require csrf for search endpoint
Reasoning:

- It doesn't change state and is not a sensitive endpoint
- It really should be changed to GET but that is a bit more intrusive
  change that can be done at another time
- The search csrf token is stored on the top.jsp page for a long time.
  If the user keeps this tab open for a while it is possible the csrf
  token will change on their session with other requests going on such
  that the search csrf token becomes wrong/stale.

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-10-29 15:10:49 -06:00
Andrew DeMaria afa3a589df Removed ref to old project
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-10-19 14:00:53 -06:00
Allen Petersen 31aca4fcdf Issue 570
Issue 455

(570) Adds a settings option to ignore symlinks during the media scan.

(4550 Adds a regular expression pattern to exclude in addition to the option
of excluding symlinks.
2017-10-14 16:15:56 -04:00
Rémi Cocula c09acbc65d Introduction of a new kind of jukebox player based on the javasound api. 2017-09-11 21:00:57 +02:00
hschroedl 0b2e526cbc Fix error message readability #535
Signed-off-by: hschroedl <hansjrgschroedl@gmail.com>
2017-08-30 23:22:16 +02:00
Rémi Cocula 560c106d2b FIX : Pausing playback in Jukebox mode not working #541 2017-08-28 22:58:42 +02:00
Andrew DeMaria 92f5953c71 Fixed path for styles
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-08-01 19:50:06 -06:00
Andrew DeMaria 989ca8cfb9 Merge remote-tracking branch 'airsonic/pr/496' 2017-08-01 19:46:11 -06:00
jooola 7cb0c6b558 Rebrand: Use styling to resize logo on main screen 2017-08-01 23:19:18 +02:00
jooola 4fd0d28b3c Rebrand: Replace assets with new one (src) 2017-08-01 23:16:59 +02:00
Andrew DeMaria c35c92ce57 Some light themeing added for MediaElement.js
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-07-17 21:13:39 -06:00
Andrew DeMaria a0e68b92c1 Migrate airsonic.org to use airsonic.github.io
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-07-17 12:07:27 -06:00
Andrew DeMaria 94dbd3ef94 Rename libresonic -> airsonic
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-07-13 21:34:28 -06:00
Andrew DeMaria 260e04c8ea File System Renames (No content changes)
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-07-13 21:34:19 -06:00