Commit Graph

28 Commits

Author SHA1 Message Date
Thomas Adamcik
08db8829af config: Move all code to new load function 2013-04-15 23:37:40 +02:00
Thomas Adamcik
78d3888dd1 config: Remove ConfigErrors expception 2013-04-15 23:09:19 +02:00
Thomas Adamcik
ec939d707c Merge branch 'develop' into feature/config-api-cleanup
Conflicts:
	mopidy/__main__.py
	mopidy/ext.py
2013-04-15 22:54:37 +02:00
Stein Magnus Jodal
cfd9ddf550 config: Fix typo in logger name 2013-04-15 22:43:01 +02:00
Thomas Adamcik
611af060f6 config: Add core_defaults to config 2013-04-15 22:26:45 +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
Stein Magnus Jodal
a9a789aa8a conf: Rename logging.levels to loglevels
Part of #280
2013-04-15 20:40:01 +02:00
Thomas Adamcik
ee57eb58a3 config: Strict config value init kwargs, also adds Secret 2013-04-15 00:07:31 +02:00
Thomas Adamcik
805733a2aa config: Make tests discoverable and fix broken ones 2013-04-14 23:52:39 +02:00
Thomas Adamcik
bc41d55a88 config: Read configs in binary mode 2013-04-14 16:14:21 +02:00
Stein Magnus Jodal
2d0e5ac117 docs: Document config API 2013-04-14 13:58:37 +02:00
Thomas Adamcik
1163d12306 scanner/config: Convert to new config system (fixes #405) 2013-04-13 23:15:47 +02:00
Thomas Adamcik
10d7c15792 config: Switch to list of core_schemas 2013-04-13 22:44:36 +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
b655e846b1 config: Add read helper 2013-04-13 21:06:09 +02:00
Thomas Adamcik
917c1e4c9d config: Use default config file 2013-04-13 20:51:09 +02:00
Thomas Adamcik
63003abb2e config: Flake8 fixes 2013-04-13 20:40:13 +02:00
Thomas Adamcik
e98ca4c94c config: Handle encoding and other minor refactoring mistakes 2013-04-13 01:35:55 +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
02518b17df config: Refactor to internal API that is closer to end goal for load and validate 2013-04-13 00:38:22 +02:00
Thomas Adamcik
66be2dc551 config: Rename mopidy.config.values to types 2013-04-11 23:30:29 +02:00
Thomas Adamcik
467c8b34dc config: Move load, validate and overrides code into mopidy.config 2013-04-11 23:18:17 +02:00
Thomas Adamcik
d90a977a3b config: Move everything to mopidy.config sub-modules 2013-04-11 22:24:27 +02:00
Thomas Adamcik
5816b5e099 config: Remove register schema as it is not used 2013-04-11 22:23:10 +02:00
Thomas Adamcik
4dd2a56f67 config: Convert mopidy.config to module 2013-04-11 22:23:10 +02:00