Commit Graph

6597 Commits

Author SHA1 Message Date
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
Stein Magnus Jodal
ad585d60d4 Merge pull request #1163 from adamcik/feature/core-dont-trust-backends
Don't trust backends...
2015-05-07 20:38:59 +02:00
Thomas Adamcik
af4e7c8a4e Merge branch 'develop' into feature/core-dont-trust-backends
Conflicts:
	docs/changelog.rst
2015-05-07 00:15:33 +02:00
Thomas Adamcik
29c66f7bc8 core: Correct volume/mute return values 2015-05-07 00:13:58 +02:00
Stein Magnus Jodal
1f06771ccf Merge pull request #1167 from adamcik/feature/get-current-tlid
core: Add get_current_tlid shortcut
2015-05-06 23:06:22 +02:00
Thomas Adamcik
4d608dd431 core: Add get_current_tlid shortcut 2015-05-06 23:00:53 +02:00
Thomas Adamcik
cfd4dcb8dd Merge branch 'develop' into feature/core-dont-trust-backends
Note that this merge also updated core.playlists.create to combine the 1.0.5
fix with these changes.

Conflicts:
	mopidy/core/playlists.py
2015-05-06 22:44:12 +02:00
Thomas Adamcik
c01f8679bc core: Address review comments for do not trust backends PR 2015-05-06 22:34:44 +02:00
Stein Magnus Jodal
6d82cdb611 tests: Cleanup reset_mock() usage 2015-05-06 21:06:30 +02:00
Stein Magnus Jodal
a17c413a70 Merge branch v1.0.x into develop 2015-05-06 20:47:52 +02:00
Stein Magnus Jodal
bf13bb4dd6 Merge pull request #1165 from tkem/fix/1162-v1.0.x
Fix #1162: Ignore None results and exceptions from PlaylistsProvider.create().
2015-05-06 20:47:23 +02:00
Thomas Kemmer
636639a201 Fix #1162: Ignore None results and exceptions from PlaylistsProvider.create(). 2015-05-06 14:50:21 +02:00
Thomas Adamcik
9f64a8719a docs: Add core not trusting backends entry to changelog 2015-05-06 01:02:49 +02:00
Thomas Adamcik
4aa984207b tests: Split up core bad backend tests and unify naming 2015-05-06 01:01:12 +02:00
Thomas Adamcik
e7b241e18b core: Update playlists to handle bad data from backends and exceptions 2015-05-06 00:28:58 +02:00
Thomas Adamcik
3426633c78 core: Make sure we handle bad mixer data and exceptions. 2015-05-05 23:41:46 +02:00
Thomas Adamcik
dd4a8f3b78 core: Make sure library can handle bad data from backends
Note that None values are just ignored, while other bad data logs an error
message and is ignored.
2015-05-05 22:55:53 +02:00
Stein Magnus Jodal
746c3059ba Merge pull request #1160 from adamcik/feature/model-corner-case-handling
Move new models features to new class
2015-05-05 08:08:05 +02:00
Thomas Adamcik
85871fb33d docs: Improve fields documentation 2015-05-05 00:00:22 +02:00
Thomas Adamcik
b480311d66 models: Add ValidatedImmutableObject and "revert" ImmutableObject
Testing with extension that use custom models it was discovered that the
changes to have type safe models were a bit to invasive to be suitable for a
minor release. This change fixes this by bringing back ImmutableObjects in
their old form, and moving the shinny new features to ValidatedImmutableObject.

A subset of the tests for ImmutableObjects have been resurrected to have some
confidence in this working the way we think it should.
2015-05-04 23:41:11 +02:00
Thomas Adamcik
5989d3a017 models: Simplify how we add __weakref__ to slots 2015-05-04 22:39:36 +02:00
Thomas Adamcik
7f6809aebb models: Explicitly define which models can be deserialized 2015-05-04 22:36:27 +02:00
Thomas Adamcik
07159f69c2 models: Decouple fields tests from the model metaclass 2015-05-04 21:37:17 +02:00
Stein Magnus Jodal
9b4d76866b mpd: Fix flake8 warning 2015-05-04 08:44:45 +02:00
Stein Magnus Jodal
a8b15e6af5 mpd: Include more context in >=INFO logging 2015-05-04 08:37:11 +02:00
Stein Magnus Jodal
83c2bf9bcd docs: Fix Sphinx syntax error 2015-05-03 23:32:35 +02:00
Thomas Adamcik
bb95dc3b9b models: Make sure parent fields are used by children.
Without this change any sub-class would end up with an empty _fields and none
of the actual fields would be writable even internally.
2015-05-03 22:58:43 +02:00
Stein Magnus Jodal
624a69251f docs: Move Backend API docs to after Core API 2015-05-03 21:55:00 +02:00