Commit Graph
413 Commits
Author SHA1 Message Date
Andrew DeMaria f8161f5184 White list jars that are scanned for tlds to prevent spurious logs
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2018-10-20 16:42:23 -04:00
Carlos Galindo f6b248495c Fixed github link opening in frame and not loading 2018-10-13 17:25:42 +02:00
jo e0746172c5 Pull translations from transifex 2018-10-12 10:36:37 +02:00
Andrew DeMaria 995d1fa667 Remove potential cast exception
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2018-09-07 13:43:13 -06:00
Andrew DeMaria 30b767955e Merge remote-tracking branch 'origin/pr/790' 2018-09-07 13:24:31 -06: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
Carlos Galindo f78b108939 Optionally parse podcast episode duration in seconds to [hh:]mm:ss 2018-08-26 16:32:51 +02:00
Peter Marheine 8b4037b549 Check reCAPTCHA v2 responses when enabled
Signed-off-by: Peter Marheine <peter@taricorp.net>
2018-08-11 21:05:07 +10: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
Andrew DeMaria b6a9b32b1c Merge remote-tracking branch 'airsonic/pr/775' 2018-08-09 21:50:01 -04:00
François-Xavier ThomasandJonas L caa1dac3a2 Use dark media player theme on groove theme (#777) 2018-08-09 22:41:58 +02:00
Peter Marheine ae7f35a9cd Don't use HTTPS for scrobbling
Turns out HTTPS isn't supported for the old API that we're using, so go
back to using plain HTTP.

Signed-off-by: Peter Marheine <peter@taricorp.net>
2018-08-07 15:43:49 +10:00
Peter Marheine 69e2ba0825 Use HTTPS and java.net.URI for scrobbling
HTTPS will help prevent eavesdropping on the auth token, and using URI
will ensure unusual characters (like spaces, accidental or otherwise)
are escaped correctly.

Fixes #588

Signed-off-by: Peter Marheine <peter@taricorp.net>
2018-08-01 18:04:22 +10:00
Andrew DeMaria e3ea7beb96 Fix #764
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2018-07-28 13:38:15 -06:00
Andrew DeMaria 3e1ea6f913 Fix #749 Ensure transcode settings are protected
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2018-06-14 19:39:50 -04:00
Andrew DeMaria a097597bca Merge remote-tracking branch 'airsonic/pr/700' 2018-06-14 18:49:23 -04:00
snw35 6a44c5c815 Handle player id as an Integer instead of String 2018-06-04 20:19:12 +01:00
François-Xavier Thomas b3f432a545 Issue #164: Add tests for reading MusicBrainz release tags 2018-05-22 23:33:27 +02: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 30ffc9560b Fix wrong case 2018-05-04 01:45:00 +02:00
Andrew DeMaria bbccce2303 Merge remote-tracking branch 'airsonic/pr/699' 2018-05-03 19:37:59 -04:00
Bonome 070df25f45 catch exceptions ClientAbortException display a short message and return, to avoid the massive useless traceback in log
Signed-off-by: Bonome <bonome@tak.blue>
2018-04-04 17:39:44 +02: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
Romain DEP. d8eac74cb6 Reverted a93a18a and properly re-encoded with 'native2ascii -encoding UTF-8' 2018-01-10 19:09:55 +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
Andrew DeMaria a93a18a055 Fixed elipse in english translation
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-12-20 18:15:16 -07:00
Andrew DeMaria b0aff38caf Fix #658 again: content type for unscaled images set based on jaudiotagger output
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-12-20 18:01:57 -07:00
Andrew DeMaria 11ec30cd9f Revert "Fix #658 content type for full size cover arts"
This reverts commit 18b16eb859.
2017-12-20 17:09:51 -07:00
Andrew DeMaria 18b16eb859 Fix #658 content type for full size cover arts
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2017-12-20 16:53:16 -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
Andrew DeMaria 80e2617f04 Merge remote-tracking branch 'airsonic/pr/643' 2017-12-11 19:51:46 -07:00
Allen Petersen dcf41ce9e0 Issue 617
Restores optimization in AlbumUpnpProcessor and instead re-implements
default behavior in RecentAlbumUpnpProcessor subclass.
2017-12-11 09:44:08 -05:00
Allan NordhøyandGitHub 766fec1bf8 escaped &s 2017-12-11 04:08:08 +01:00
Allen Petersen b4ef434c08 Issue 617
Removes an incorrect override in AlbumUpnpProcessor which was preventing
RecentAlbumUpnpProcessor from behaving correctly.

Also adds a correct getAllItemsSize() implementation for
RecentAlbumUpnpProcessor.
2017-12-09 23:12:16 -05:00
Allan NordhøyandGitHub 5a04a8b42b Reverting apostrophes and double quotes 2017-12-06 02:01:59 +01:00
Allan NordhøyandGitHub 3c95553dc5 Language rework 2017-12-03 20:12:56 +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 ded28c4669 Merge remote-tracking branch 'airsonic/pr/604' 2017-10-23 20:27:37 -06:00
Andrew DeMaria c0c359a8f0 Merge remote-tracking branch 'airsonic/pr/598' 2017-10-23 20:27:13 -06:00
Jonas LandGitHub a2a6591d36 Add "opus" and "mka" extension to default
This add 2 more extensions to the default scanned audio files. see #603 for more details
2017-10-23 19:02:08 +02: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
Jim Hribar e554bc8ec6 Stop airsonic from creating double slashes in urls.
Signed-off-by: Jim Hribar <me@jimhribar.com>
2017-10-14 12:29:57 -04:00