Stein Magnus Jodal
635ee6e4eb
Merge pull request #1002 from adamcik/fix/694
...
config: Debug log ignored sections (fixes : #694 )
2015-02-25 23:36:13 +01:00
Thomas Adamcik
57012670b7
config: Fixing review comments
2015-02-25 22:58:46 +01:00
Thomas Adamcik
5c833e106b
logging: Add support for per logger colors ( fixes : #808 )
2015-02-25 22:16:30 +01:00
Thomas Adamcik
b11d89d72f
config: Convert the loglevel schema to a generic map schema
2015-02-25 21:36:59 +01:00
Thomas Adamcik
0ea3969427
config: Debug log ignored sections ( fixes : #694 )
2015-02-25 21:02:57 +01:00
Lasse Bigum
4bf7a568d1
Check that config is readable
...
Implement a check on file permissions for the config files that are loaded
and print debug if mopidy fails to load it due to missing file file permissions
2015-02-07 17:47:20 +01:00
Stein Magnus Jodal
6ec35b2d02
Merge branch 'release/v0.19.x' into develop
2014-12-23 22:23:32 +01:00
Stein Magnus Jodal
fcf39833ca
config: Support UTF-8 in default config
...
Fixes issue reported at https://discuss.mopidy.com/t/428 .
Mopidy-HTTP-Kuechenradio includes a non-ASCII UTF-8 character in its
default config. If Mopidy didn't already have a config file, it crashed
when trying to create the initial config file based on the default
config of all available extensions.
2014-12-23 22:21:10 +01:00
Stein Magnus Jodal
4f428b8601
py3: Move compat module out of utils
2014-12-07 21:36:15 +01:00
Stein Magnus Jodal
01c7f12976
py3: Import moved modules via compat
2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
58527406c1
py3: Use compat.text_type instead of unicode
2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
496142c201
py3: Use absolute imports by default
2014-12-07 20:17:10 +01:00
Thomas Adamcik
ada7641ee6
audio: Remove visualizer support
2014-09-07 23:48:04 +02:00
Stein Magnus Jodal
ae3a932ed3
Merge branch 'release/v0.19.x' into develop
...
Conflicts:
mopidy/config/__init__.py
2014-08-12 23:54:14 +02:00
Trygve Aaberge
584484379a
config: Only load .conf-files when loading directories
2014-08-11 16:21:34 +02:00
Trygve Aaberge
9e41eff187
config: Support passing directories to mopidy --config
2014-08-11 14:48:04 +02:00
Stein Magnus Jodal
e1fda35351
config: Only log existing config files
2014-08-07 11:36:25 +02:00
Stein Magnus Jodal
7e6d3de81a
Merge branch 'develop' into feature/mixers
...
Conflicts:
mopidy/backend/__init__.py
2014-07-16 22:12:07 +02:00
Stein Magnus Jodal
47b44791a6
log: Colorize logs, unless logging/color is false
...
Fixes #772
2014-07-14 01:40:48 +02:00
Stein Magnus Jodal
3daea856b1
config: Deprecate audio/mixer_track
2014-07-08 01:44:30 +02:00
Stein Magnus Jodal
5583ca5aba
New flake8 version with new checks to conform to
2014-03-29 20:47:42 +01:00
Simon de Bakker
0980af2590
Set initial mixer volume for all mixers
2014-01-09 20:43:04 +01:00
Stein Magnus Jodal
0fb7c79524
log: Use loggers named after __name__
2014-01-01 13:31:20 +01:00
Thomas Adamcik
da63942b48
config: Improve handling of Deprecated config values
2013-12-04 22:38:16 +01:00
Thomas Adamcik
2d13734dfc
logging: Remove use of root logger
2013-11-26 16:42:04 +01:00
Thomas Adamcik
774e629425
config: Fix review comments.
2013-11-23 07:18:57 +01:00
Thomas Adamcik
17a1336e5c
config: Add format_initial helper to populate empty configs.
2013-11-22 07:17:02 +01:00
Thomas Adamcik
bd1ee7ff39
config: Add support for formating with commented out defaults
...
- Changes inline comments to ; for configparser conformance
2013-11-22 07:17:01 +01:00
Thomas Adamcik
73f91710e1
config: Add postprocessor for converting config back.
...
Idea forward from here is that once we have a config sub command that we expose
a setting config values which will:
1. Run the preprocessor on the file to edit.
2. Load it into config parser.
3. Modify the value.
4. Write it to a io.ByteString
5. Run the postprocessor
6. Save the file with comments etc intact.
2013-10-27 12:30:02 +01:00
Thomas Adamcik
d5cb4282d9
config: Add preprocessor for preserving comments when editing configs.
...
Adds markers to configs files that ensures configparser won't mangle comments
in the files. Will be combined with a postprocessor that undoes these changes.
2013-10-27 11:38:01 +01:00
Stein Magnus Jodal
f0b69c3394
Merge remote-tracking branch 'adamcik/feature/visualization' into develop
...
Conflicts:
docs/changelog.rst
2013-08-05 22:41:09 +02:00
Thomas Adamcik
20729eabe3
audio: Add visualiser support and adjust playbin flags
...
Sets up playbin to use just audio, soft_volume and downloading.
2013-07-31 23:55:59 +02:00
Alexandre Petitjean
97848bc1a2
String config value can be optionnal AND have a choices list
...
Integer value can be optionnal
2013-07-31 10:05:20 +02:00
Alexandre Petitjean
f9da3fe3e9
implement remarks for #481 , also add scheme as requested in #472
2013-07-30 08:17:10 +02:00
Alexandre Petitjean
05733cf844
correct remarks from #481
2013-07-29 22:22:28 +02:00
Alexandre Petitjean
de80c33753
Add proxy/port to configuration
2013-07-29 09:57:32 +02:00
Thomas Adamcik
b88cf4a8b2
config: Integrate keyring values with overrides.
2013-05-13 23:51:17 +02:00
Stein Magnus Jodal
69caea2ef9
command: Move override parsing into module
2013-04-30 23:27:12 +02:00
Stein Magnus Jodal
a8f8e9363c
config: Fix flake8 warnings
2013-04-29 21:35:29 +02:00
Thomas Adamcik
64465d318d
config: Ensure that overrides are bytes
2013-04-28 23:31:41 +02:00
Thomas Adacmik
4f93f93deb
config: Create read-only config proxy
2013-04-28 01:09:22 +02:00
Thomas Adacmik
9c536d3bbe
Merge branch 'develop' of github.com:mopidy/mopidy into develop
2013-04-28 00:25:35 +02:00
Thomas Adacmik
9fab339941
config: Add preliminary handling of parse errors
2013-04-28 00:25:28 +02:00
Stein Magnus Jodal
33747d76eb
config: Remove dashes in free text config sources
2013-04-28 00:19:13 +02:00
Thomas Adamcik
b7232797ea
config/ext: Accept unicode defaults
2013-04-24 23:31:39 +02:00
Thomas Adamcik
18ebb56b3e
config: Add logging/config_file
2013-04-17 23:47:18 +02:00
Thomas Adamcik
c35dfb3610
config: Ensure format only produces bytes
2013-04-16 23:52:22 +02:00
Thomas Adamcik
14a09643a0
config: Avoid adding empty sections
2013-04-16 23:52:21 +02:00
Thomas Adamcik
765f3c5d3c
config: flake8
2013-04-16 23:25:30 +02:00
Thomas Adamcik
cde84748f7
config: Create config.format and switch to just serialize on schemas
2013-04-16 22:36:58 +02:00