Commit Graph

1329 Commits

Author SHA1 Message Date
Stein Magnus Jodal
a401ecb769 Bump version number to 0.14.1 2013-04-28 23:45:29 +02:00
Thomas Adamcik
64465d318d config: Ensure that overrides are bytes 2013-04-28 23:31:41 +02:00
Thomas Adamcik
9974f77f1b config: Serialize unicode to bytes using sys.getfilesystemencoding() 2013-04-28 23:31:41 +02:00
Stein Magnus Jodal
33378b81f6 Bump version number to 0.14 2013-04-28 01:33:35 +02:00
Thomas Adacmik
9fab339941 config: Add preliminary handling of parse errors 2013-04-28 00:25:28 +02:00
Thomas Adacmik
c5b036f988 config: Add test config with non-ascii 2013-04-28 00:05:36 +02:00
Thomas Adacmik
085b44e52f path: Update with respect to review comments in #427 2013-04-27 02:21:27 +02:00
Thomas Adamcik
a7b6ff7b18 path: Disallow unknown substitutions in expand_path 2013-04-25 22:39:07 +02:00
Thomas Adamcik
ac7edad86d config/path: Pass in expanded value in expanded path type 2013-04-25 22:39:06 +02:00
Thomas Adamcik
160a70e6df path: Only accept bytes as paths 2013-04-25 21:08:33 +02:00
Thomas Adamcik
2f8bc32c14 config: Remove ExtensionConfigSchema 2013-04-24 23:39:14 +02:00
Thomas Adamcik
b7232797ea config/ext: Accept unicode defaults 2013-04-24 23:31:39 +02:00
Stein Magnus Jodal
004fe6dbf8 path: Handle XDG paths as bytes, not unicode 2013-04-23 23:18:16 +02:00
Stein Magnus Jodal
48dfcf6fd1 deps: Survive exceptions from pkg_resources 2013-04-18 18:05:55 +02:00
Nick Steel
28b00dbea1 Merge branch 'develop' into fix/mpd-disambiguated-playlist-not-found 2013-04-17 21:00:58 +01:00
Thomas Adamcik
c84cb95c3f Merge pull request #418 from jodal/feature/show-deps
Update --show-deps to list deps of extensions
2013-04-16 14:33:11 -07:00
Stein Magnus Jodal
07e6d11850 deps: Remove old manual deps checkers 2013-04-16 22:48:30 +02:00
Stein Magnus Jodal
609b6ace85 deps: Look up deps in pkg_resources 2013-04-16 22:48:29 +02:00
Stein Magnus Jodal
5de80228ea deps: Output one dep per line 2013-04-16 22:48:29 +02:00
Thomas Adamcik
cde84748f7 config: Create config.format and switch to just serialize on schemas 2013-04-16 22:36:58 +02:00
Thomas Adamcik
d8f6886311 config: Set missing/invalid keys to none 2013-04-16 22:19:34 +02:00
Thomas Adamcik
f0131fdc93 config: Fix serialization of none 2013-04-16 21:37:55 +02:00
Thomas Adamcik
ee40f0385a config: Remove format from types API 2013-04-16 21:37:54 +02:00
Thomas Adamcik
211379a01c config: Unknown loglevels should serialize to blank string 2013-04-16 00:13:57 +02:00
Thomas Adamcik
78d3888dd1 config: Remove ConfigErrors expception 2013-04-15 23:09:19 +02:00
Thomas Adamcik
51f89017fe config: Fix handling of None in Secret 2013-04-15 21:16:19 +02:00
Thomas Adamcik
f5cd806dc5 config: Rename convert to deserialize 2013-04-15 21:16:19 +02:00
Thomas Adamcik
e4873c4516 config: Return convereted values and errors 2013-04-15 21:16:18 +02:00
Nick Steel
cecc0f621f Extra MPD stored_playlist tests for duplicate names 2013-04-14 23:18:53 +01:00
Thomas Adamcik
ee57eb58a3 config: Strict config value init kwargs, also adds Secret 2013-04-15 00:07:31 +02:00
Thomas Adamcik
4826dc7cac config: Support lists in required validator 2013-04-15 00:07:07 +02:00
Nick Steel
3d5894fa3b Define a uri for all playlists used in the MPD stored_playlists tests. 2013-04-14 23:03:19 +01:00
Thomas Adamcik
805733a2aa config: Make tests discoverable and fix broken ones 2013-04-14 23:52:39 +02:00
Thomas Adamcik
d5b8f2ab02 config: Make List use proper encode/decode helpers 2013-04-14 17:50:16 +02:00
Thomas Adamcik
7ed9b8adab config: Extract encode and decode helpers from String 2013-04-14 17:34:54 +02:00
Thomas Adamcik
9f18d50ab0 config: Fix escapes in string handling 2013-04-14 17:16:17 +02:00
Thomas Adamcik
6b89051b5e config: Add encoding support to strings 2013-04-14 16:15:58 +02:00
Stein Magnus Jodal
65f14a9cc4 exc: Remove OptionalDependencyError
It is no longer needed as the extension loading mechanisms verifies the
environment and presence of dependencies before it tries to import modules that
would cause ImportErrors if optional dependencies are missing.
2013-04-14 11:26:16 +02:00
Stein Magnus Jodal
809b165966 exc: Remove unused SettingsError 2013-04-14 11:06:45 +02:00
Stein Magnus Jodal
f38b806133 utils: Remove unused importing utils 2013-04-14 10:54:26 +02:00
Thomas Adamcik
943a3097a9 config: Update validate to use schema.name 2013-04-13 22:37:22 +02:00
Thomas Adamcik
6e42a381cd config: Add name to schemas 2013-04-13 21:46:15 +02:00
Thomas Adamcik
63003abb2e config: Flake8 fixes 2013-04-13 20:40:13 +02:00
Thomas Adamcik
1ebc265235 Merge branch 'develop' into feature/reshuffle-config
Conflicts:
	mopidy/backends/local/__init__.py
	mopidy/backends/spotify/__init__.py
	mopidy/backends/stream/__init__.py
	mopidy/config.py
	mopidy/frontends/http/__init__.py
	mopidy/frontends/mpd/__init__.py
	mopidy/frontends/mpris/__init__.py
	mopidy/frontends/scrobbler/__init__.py
	mopidy/utils/config.py
	tests/config/types_test.py
2013-04-13 01:25:38 +02:00
Thomas Adamcik
067cc4c112 config: Add basic validate tests 2013-04-13 01:18:26 +02:00
Thomas Adamcik
c5f8e1da19 config: Add parse_override test 2013-04-13 00:53:19 +02:00
Thomas Adamcik
51afbe19e1 config: Start adding basic data loading test 2013-04-13 00:47:50 +02:00
Stein Magnus Jodal
6076a0f117 Fix flake8 warnings 2013-04-13 00:28:45 +02:00
Thomas Adamcik
66be2dc551 config: Rename mopidy.config.values to types 2013-04-11 23:30:29 +02:00
Thomas Adamcik
a5f2dc924c config: Review fixes 2013-04-11 22:26:22 +02:00