Commit Graph

6624 Commits

Author SHA1 Message Date
Nick Steel
7073e8dd77 Docs: Notes for installation on XBian 2015-05-14 23:25:25 +01:00
Stein Magnus Jodal
c2b0d3e60c Merge pull request #1179 from adamcik/feature/robust-startup-part2
Remainder of the startup cleanups
2015-05-13 00:07:37 +02:00
Thomas Adamcik
8c7b3c69fb core: Assume backend.has_* calls could fail 2015-05-12 23:55:09 +02:00
Thomas Adamcik
399124bf46 startup: Handle frontend and backend failures 2015-05-12 23:55:09 +02:00
Thomas Adamcik
cb4b23f416 startup: Handle potential mixer startup issues. 2015-05-12 23:55:09 +02:00
Thomas Adamcik
2d952570d0 main: Catch extension.setup exceptions 2015-05-12 23:55:09 +02:00
Stein Magnus Jodal
ad449a879d Merge pull request #1178 from adamcik/feature/robust-startup-part1
Make initial bootstrapping handle bad extensions
2015-05-12 23:43:11 +02:00
Thomas Adamcik
ce3c16de6e startup: Fix mistake in command extension bootstrap cleanup 2015-05-12 22:02:19 +02:00
Thomas Adamcik
d630a97bc1 ext: Refactor tests based on review comments 2015-05-12 22:00:31 +02:00
Thomas Adamcik
dbc3100e9c main: Update to use extension_data structure
Updated config and __main__ code to use the new wrapper format and pre-fetched
values.
2015-05-11 22:47:13 +02:00
Thomas Adamcik
8b6553ec16 ext: Update validate_extension to validate_extension_data
Adds more checks to catch extension errors and importantly tests for exercise
these code paths.
2015-05-11 22:30:50 +02:00
Stein Magnus Jodal
4ede30436a docs: Remove MPD client test procedure and outdated results 2015-05-11 21:55:59 +02:00
Stein Magnus Jodal
b03d3a8a1c docs: Include 'MPD' in the subsection headers 2015-05-11 21:43:25 +02:00
Stein Magnus Jodal
0273b14c70 docs: Remove Droid MPD Client from MPD client list
We couldn't recommend it 2.5y ago, and it has seen no updates since.
2015-05-11 21:39:44 +02:00
Stein Magnus Jodal
0b3b17e3a6 docs: Remove bitMPC from MPD client list
It looked bad and only worked on Android 2.x when tested 2.5y ago. It
has seen no updates since 2010.
2015-05-11 21:37:51 +02:00
Stein Magnus Jodal
c95b301696 docs: Remove MPD Remote from MPD client list
It looked terrible 2.5y ago and I didn't care to test it. It has seen
no updates since.
2015-05-11 21:36:25 +02:00
Stein Magnus Jodal
d37b76f6c9 docs: Remove PMix from MPD client list
It is no longer available on Google Play, and we didn't recommend it
2.5y ago when it was.
2015-05-11 21:35:35 +02:00
Thomas Adamcik
4566ddd9ae ext: Add exception logging to extension loading 2015-05-11 21:29:03 +02:00
Thomas Adamcik
8ed9e5f1e0 ext: Catch exceptions in extension helpers 2015-05-11 21:20:37 +02:00
Thomas Adamcik
8434a22c83 ext: Switch to using fixtures for mocking 2015-05-11 20:53:50 +02:00
Stein Magnus Jodal
d302851ebe httpclient: Tune docstrings 2015-05-11 09:53:31 +02:00
Thomas Adamcik
5550785146 ext: Wrap extension state in a ExtensionData tuple
This allows us to do more of the data loading that might fail safely in the
mopidy.ext module instead of having things spread all over the place.

Note that only minimal changes have been made to __main__ to make things work.
Further refactoring should follow.
2015-05-11 00:33:41 +02:00
Thomas Adamcik
5937cdc3b2 ext: Add tests for validate_extension and handle validate_environment failures 2015-05-10 23:15:13 +02:00
Thomas Adamcik
c4e18f4218 ext: Add ext.load_extensions tests and basic error handling 2015-05-10 23:00:13 +02:00
Thomas Adamcik
f814e945d3 tests: Convert ext test to pytests 2015-05-10 21:49:04 +02:00
Stein Magnus Jodal
bc261af32f Merge pull request #1157 from adamcik/feature/http-helpers
Proxy and User-Agent helpers.
2015-05-09 00:54:44 +02:00
Thomas Adamcik
95dc30288c httpclient: Fix import in tests 2015-05-09 00:52:29 +02:00
Thomas Adamcik
bb19e99af5 docs: Add httpclient to API docs 2015-05-09 00:48:11 +02:00
Thomas Adamcik
f6f445e4b6 Merge branch 'develop' into feature/http-helpers
Conflicts:
	docs/changelog.rst
2015-05-09 00:45:09 +02:00
Thomas Adamcik
382aa0a775 httpclient: Move to top level module 2015-05-09 00:44:16 +02:00
Thomas Adamcik
3a276c3cd0 Merge pull request #1174 from jodal/feature/local-uri-and-path-helpers
Brush up local URI/path helpers
2015-05-08 22:21:51 +02:00
Stein Magnus Jodal
64b5342c51 docs: Document mopidy.local.translator 2015-05-08 00:55:03 +02:00
Stein Magnus Jodal
c59784c1e8 local: Add path_to_file_uri() 2015-05-08 00:55:03 +02:00
Stein Magnus Jodal
56cffa0089 local: Test path_to_local_{directory,track}() 2015-05-08 00:55:03 +02:00
Stein Magnus Jodal
4d5b485760 local: Add local_uri_to_file_uri()
Which replaces local_track_uri_to_file_uri() and also handles
local:directory: URIs.
2015-05-08 00:55:03 +02:00
Stein Magnus Jodal
e30cd2cfa5 local: Rename local_{track_ => }uri_to_file_uri() 2015-05-08 00:32:09 +02:00
Thomas Adamcik
5475ce0b77 Merge pull request #1173 from jodal/feature/internal-modules
Rename mopidy.utils to mopidy.internal
2015-05-07 23:57:58 +02:00
Stein Magnus Jodal
d8bcd7f273 Rename mopidy.utils to mopidy.internal 2015-05-07 23:15:56 +02:00
Stein Magnus Jodal
4c8c8cd927 docs: Don't refer to when.js before it's introduced 2015-05-07 22:39:35 +02:00
Stein Magnus Jodal
6fe382f37e docs: Mopidy.js supports by-name parameters
Since Mopidy 0.19 / Mopidy.js 0.4
2015-05-07 22:34:15 +02:00
Stein Magnus Jodal
d0418d625b docs: Link from JS docs to static web client example 2015-05-07 21:49:08 +02:00
Stein Magnus Jodal
f96a22e5cb docs: Remove note on how to access core attributes
The corresponding methods are now fully documented and the old
attributes are deprecated.
2015-05-07 21:49:08 +02:00
Stein Magnus Jodal
622a3c5494 docs: Group API docs in sections 2015-05-07 21:39:54 +02:00
Stein Magnus Jodal
3d051e1a24 docs: Remove old deps from list of mocked modules 2015-05-07 21:20:05 +02:00
Stein Magnus Jodal
7c57c51b2e docs: Fix unexpected indentation error 2015-05-07 21:16:37 +02:00
Stein Magnus Jodal
1d82bd7043 docs: Use consistent syntax for module headers 2015-05-07 21:15:28 +02:00
Stein Magnus Jodal
526216b61b docs: Remove note header 2015-05-07 21:15:16 +02:00
Stein Magnus Jodal
d02f7dca18 docs: Move frontend API between core and backend 2015-05-07 21:15:06 +02:00
Stein Magnus Jodal
ccecf6b6bf docs: Remove plurality from backends/frontends API docs 2015-05-07 21:08:02 +02:00
Stein Magnus Jodal
ae07603da0 docs: Add module name to API docs headers
In the same way the Python stdlib docs does.
2015-05-07 21:02:25 +02:00