Stein Magnus Jodal
6dbcc1a9fa
Merge pull request #1771 from endemics/fix-quoted-uri
...
Remove double-quotes around PLS File# entries
2019-06-11 23:29:12 +02:00
Stein Magnus Jodal
6a26c6b96f
Merge branch 'master' into release-2.2
2019-06-10 01:42:23 +02:00
Stein Magnus Jodal
dbd8051df4
mpd: Add missing .get() in test
...
(cherry picked from commit 0ec4efc3f52266aa3285b6d7e5d934754ced6fd1)
2019-06-10 01:41:44 +02:00
Stein Magnus Jodal
5726fb9d70
internal: Use the public module for mocking
...
(cherry picked from commit 0e38cc5508d0880013dff280b5119da4da4119e8)
2019-06-10 01:40:27 +02:00
Stein Magnus Jodal
3ab6b55e58
Merge branch 'master' into release-2.2
2019-06-10 00:26:27 +02:00
Stein Magnus Jodal
fb77f0c307
docs: Tweak Cantata entry
...
Fixes #1728
2019-06-10 00:25:29 +02:00
Zvonimir Fras
b0863445d3
Add Cantata to the list of MPD graphical clients
...
(cherry picked from commit 5d5f4ca638f4f285e7153cd4d46a1abd809741ab)
2019-06-10 00:23:35 +02:00
Gildas Le Nadan
5d4e8e4617
File# entries of PLS playlists may be found double quoted in the wild,
...
since the "standard" is loosely defined. The resulting URI is then
incorrect and makes mopidy fail to load the content, so let's make
sure we strip them.
Fixes #1770
2019-06-07 21:37:36 +10:00
Nick Steel
d928f3dae4
Merge pull request #1743 from kingosticks/fix/sync-default-config-excluded_file_extensions
...
config: Synchronise file and local default excluded_file_extensions c…
2019-01-31 23:50:54 +00:00
Nick Steel
66a10f43fb
config: Synchronise file and local default excluded_file_extensions config.
...
docs: Added changelog entry for #1737
2019-01-31 23:45:03 +00:00
Dan Stowell
6241ba4bd9
local, file: exclude .pdf and .zip in default config
2019-01-31 23:17:37 +00:00
Nick Steel
e5c03fbff5
Merge pull request #1740 from kingosticks/fix/change-track-buffering-alt
...
Disable buffering handling during track change. (Fixes #1722 )
2019-01-31 23:15:25 +00:00
Nick Steel
d6da4b5cdb
audio: Upgrade GST state mapping race logging from DEBUG to WARN.
2019-01-31 23:13:35 +00:00
Nick Steel
dfbab4bf88
audio: Disable buffering handling during track change. ( Fixes #1722 ).
...
Skip handling buffering messages if pipeline not PLAYING or PAUSED.
2019-01-31 23:13:35 +00:00
Nick Steel
3e40f918c9
Merge branch 'master' into release-2.2
2019-01-31 22:59:27 +00:00
Nick Steel
531c090da9
test: Skips scanner tags test when there's no mp3 support.
...
The file order returned by .find is not deterministic which made
testing the first scanner result fail when it happened to be an unsupported
media format (e.g. mp3).
2019-01-31 22:56:36 +00:00
Nick Steel
7230aff07b
flake8: F632 use != to compare str
2019-01-31 22:56:28 +00:00
Nick Steel
5b32f87364
test: flake8 to ignore camelcase usage in our deps.
...
Ignore N813 when importing the c version of xml.etree.ElementTree.
Ignore N815 when controlling failure diff length in unittest.
2019-01-31 20:22:10 +00:00
Nick Steel
6f615d30f3
Merge pull request #1735 from kingosticks/fix/change-track-sample-rates
...
audio: removed unused fakesink. (Fixes #1528 )
2019-01-30 10:31:07 +00:00
Nick Steel
5e8fd9a338
audio: removed unused fakesink. ( Fixes #1528 )
...
The 'always connected fakesink' is causing problems when switching
between tracks with different sample rates and with some custom
output pipelines. Since it's only there to support dynamic outputs,
which we don't yet support, we might as well remove it for now.
2019-01-29 23:54:13 +00:00
Nick Steel
84f231af96
docs: set 'async=false' for shout2send pipelines
...
As part of #1528
2019-01-16 01:48:30 +00:00
Nick Steel
cf47d6dcf0
Merge pull request #1731 from mxjeff/patch-1
...
docs: Update mpd.rst
2019-01-11 15:48:46 +00:00
kaliko
046673e275
Update mpd.rst
...
Update MPD Website URL
2019-01-11 16:15:56 +01:00
Stein Magnus Jodal
e9f8245e32
Release v2.2.2
2018-12-29 17:06:58 +01:00
Stein Magnus Jodal
1c22796994
Bump version to v2.2.2
2018-12-29 17:06:30 +01:00
Stein Magnus Jodal
bcdf8baea1
docs: Remove duplicate changelog
2018-12-29 17:05:36 +01:00
Stein Magnus Jodal
93f57c8df4
Merge branch 'master' into release-2.2
2018-12-29 17:04:52 +01:00
jcass77
27f9614d10
docs: Update OSX Homebrew installation instructions.
2018-12-29 16:54:52 +01:00
Stein Magnus Jodal
a1690bf565
Merge branch 'master' into release-2.2
2018-12-07 23:12:50 +01:00
Stein Magnus Jodal
c075a773d0
docs: Remove UPnP-Inspector
...
Both UPnP-Inspector and its dependency Coherence seems unmaintained
since ~2009 and are not trivial to get running today.
2018-12-07 23:09:05 +01:00
Stein Magnus Jodal
672e225021
docs: Refer to Mopidy-MPRIS docs for Rygel setup
2018-12-07 23:08:00 +01:00
Stein Magnus Jodal
ae4b141e8a
docs: Refer to Mopidy-MPRIS docs for MPRIS clients
2018-12-07 23:05:17 +01:00
Stein Magnus Jodal
dea1a428b2
travis: Build on xenial
2018-12-02 00:31:59 +01:00
Stein Magnus Jodal
52a035d217
flake8: Fix new warnings from flake8 2.4.0
2018-12-02 00:28:25 +01:00
Stein Magnus Jodal
b34bcd0f58
flake8: Ignore W504
...
It is ignored by default, but we must redefine the ignore since we
specify what warnings are ignored ourselves.
2018-12-02 00:23:23 +01:00
Stein Magnus Jodal
c94b9d5fd2
xdg: Read paths from user-dirs.dirs as bytes
...
Fixes #1676 , #1725
2018-11-27 23:22:50 +01:00
Stein Magnus Jodal
9bf8ac2099
xdg: Read paths from user-dirs.dirs as bytes
...
Fixes #1676 , #1725
2018-11-26 22:51:48 +01:00
Nick Steel
2a8375a947
docs: improve http/allowed_origins ( Fixes #1719 ).
...
Be explicitly that should not include the scheme or default ports and given an example.
2018-10-29 11:26:26 +00:00
Stein Magnus Jodal
10c571b153
Merge pull request #1716 from kingosticks/fix/hang-on-stopping-http
...
http: use current Tornado IOLoop when stopping. (Fixes #1715 ).
2018-10-22 22:06:31 +02:00
Nick Steel
1d30e73ab0
http: use current Tornado IOLoop when stopping. ( Fixes #1715 ).
...
This is in response to the breaking change in Tornado v5.0 where
IOLoop.instance is now a deprecated alias for IOLoop.current.
More info at https://www.tornadoweb.org/en/stable/releases/v5.0.0.html
2018-10-22 15:28:39 +01:00
Stein Magnus Jodal
e2b4a2749b
Update MANIFEST.in to include .github and exclude .doctrees
2018-10-15 22:41:08 +02:00
Stein Magnus Jodal
9a7adc280f
Release v2.2.1
2018-10-15 22:09:53 +02:00
Stein Magnus Jodal
7988708cbf
Bump version to 2.2.1
2018-10-15 22:09:12 +02:00
Stein Magnus Jodal
d153e855f4
Merge master into release-2.2
2018-10-15 22:08:46 +02:00
Stein Magnus Jodal
c720d90b53
docs: v2.2.1 release notes
2018-10-15 22:08:07 +02:00
Stein Magnus Jodal
cce87edaa0
git: Ignore docs/.doctrees/
2018-10-15 22:06:39 +02:00
Stein Magnus Jodal
2390f3a891
Merge pull request #1714 from kingosticks/feature/disable-http-csrf-config
...
http: Add config option to disable CSRF protection (Fixes : #1713 )
2018-10-15 22:04:30 +02:00
Nick Steel
10fafc0228
http: Add config option to control CSRF protection ( Fixes : #1713 )
...
Allows users to disable CSRF protection and revert to the HTTP server's
previous (less secure) behaviour. Users are advised to leave this config
value enabled if possible. However, if disabled this will:
* Remove the requirement to set a ``Content-Type: application/json``
header for JSON-RPC POST requests.
* Disable all same-origin checks, effectively ignoring the ``allowed_origins``
config since requests from any origin will be allowed.
* Suppress all ``Access-Control-Allow-*`` response headers.
2018-10-15 17:24:45 +01:00
Stein Magnus Jodal
9f7b3478d2
Merge pull request #1712 from kingosticks/fix/cors-breaking-changes
...
http: allow local files to access websocket (Fixes #1711 )
2018-10-09 00:50:25 +02:00
Nick Steel
6e9ed9e8a9
http: allow local files to access websocket ( Fixes #1711 )
...
check_origin() still ensures the Origin header is set but now only blocks
when missing from the allowed list *if* a network location was extracted
from the header. This prevents websocket connections originating from
local files (common in Apache Cordova apps such as Mopidy-Mobile) from
being blocked; these files don't really have a sensible value for Origin
so the client browser sets the header to something like 'file://' or
'null'.
Also added some tests for check_origin().
2018-10-08 23:39:47 +01:00