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
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
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
Thomas Adamcik
d90a977a3b
config: Move everything to mopidy.config sub-modules
2013-04-11 22:24:27 +02:00
Stein Magnus Jodal
3033b1db5f
Merge branch 'develop' into pr/396
...
Conflicts:
mopidy/frontends/mpd/dispatcher.py
2013-04-09 23:37:17 +02:00
Stein Magnus Jodal
016b2db69b
mpd: Start numbering of duplicate playlist names at 2
2013-04-09 23:35:00 +02:00
Stein Magnus Jodal
24271681c9
mpd: Fix flake8 warnings
2013-04-09 23:33:19 +02:00
Thomas Refis
5af26a226e
mpd: added a test to check playlists names uniqueness
2013-04-09 19:25:52 +02:00
Stein Magnus Jodal
02f9db4518
path: Let get_or_create_file() create missing dirs
2013-04-09 12:40:28 +02:00
Stein Magnus Jodal
40dd539d06
path: Test get_or_create_file()
2013-04-09 12:38:47 +02:00
Stein Magnus Jodal
41d7ae9a2c
Replace 'folder' with 'dir'
2013-04-08 21:13:59 +02:00
Stein Magnus Jodal
f9ed1ba4d3
mpd: Rename 'music_path' to 'music_dir'
2013-04-08 20:58:34 +02:00
Stein Magnus Jodal
3339b79c1e
local: Rename 'music_path' to 'music_dir', 'playlist_path' to 'playlists_dir'
2013-04-08 20:58:17 +02:00
Stein Magnus Jodal
638ea8cd27
Merge branch 'develop' into feature/use-new-config
2013-04-08 09:59:36 +02:00
Thomas Adamcik
28d3b265c2
Merge branch 'develop' into feature/config-path
...
Conflicts:
mopidy/backends/spotify/__init__.py
2013-04-07 22:02:32 +00:00
Thomas Adamcik
4f0e1e448c
config: Add path config value tests
2013-04-07 22:01:34 +00:00
Stein Magnus Jodal
63b7260c01
settings: Remove settings utils
2013-04-07 00:41:09 +02:00
Stein Magnus Jodal
e92a7628f2
settings: Remove SettingsProxy at mopidy.settings
2013-04-07 00:36:41 +02:00
Stein Magnus Jodal
42707f50df
audio: Use new config system
2013-04-07 00:08:40 +02:00
Stein Magnus Jodal
1ca6ffc6fb
mpd: Fix two test failures
2013-04-06 23:47:03 +02:00
Stein Magnus Jodal
81b1e10c1a
Merge branch 'develop' into feature/use-new-config
...
Conflicts:
mopidy/frontends/scrobbler/actor.py
2013-04-06 01:50:15 +02:00
Thomas Adamcik
5a79b65d47
settings: Remove did you mean.
2013-04-05 23:33:27 +02:00
Thomas Adamcik
bd3d8f6932
config: Steal did you mean code from settings.
2013-04-05 23:33:27 +02:00
Stein Magnus Jodal
c452f0115a
mpd: Use new config system
2013-04-05 17:18:12 +02:00
Stein Magnus Jodal
8a8a78e025
http: Use new config system
2013-04-05 16:59:18 +02:00
Stein Magnus Jodal
bcc7c3a890
mpris: Use new config system
2013-04-05 16:59:18 +02:00
Stein Magnus Jodal
775b276169
local: Use new config system
2013-04-05 16:59:18 +02:00
Thomas Adamcik
73fb143f45
config: String escape strings
2013-04-03 01:00:34 +02:00
Stein Magnus Jodal
f9fb30c76c
main/settings: Remove --interactive support
2013-04-03 00:16:37 +02:00