Commit Graph

10 Commits

Author SHA1 Message Date
Stein Magnus Jodal
4f428b8601 py3: Move compat module out of utils 2014-12-07 21:36:15 +01:00
Stein Magnus Jodal
1d26c2d63c py3: Use .item() and .values()
As .iteritem() and .itervalues() doesn't exist in Python 3.
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
Stein Magnus Jodal
e255afb97f config: Make keyring log messages explain more
...as a lot of users see debug-level errors from the keyring code and think
they explain some larger issue. These are currently *always* red herrings as
there is no command for setting configuration values in the keyring yet.

Fixes #681
2014-02-15 00:18:24 +01:00
Stein Magnus Jodal
0fb7c79524 log: Use loggers named after __name__ 2014-01-01 13:31:20 +01:00
Thomas Adamcik
cdbe1c9cd1 config: Review fixes. 2013-05-14 21:24:37 +02:00
Thomas Adamcik
9bd4d90e41 config: Keyring debug logging cleanup 2013-05-14 00:21:05 +02:00
Thomas Adamcik
b88cf4a8b2 config: Integrate keyring values with overrides. 2013-05-13 23:51:17 +02:00
Thomas Adamcik
474600cf2a config: Add keyring module with fetch and set.
New config submodule for fetching secrets from a secrets service over dbus. To
facilitate this we add a section and key to the stored attributes, allowing us
to fetch all mopidy values from the keyring and map them to the correct config
values.

A helper for setting values is also added. Due to differences in in the secrets
dbus API across versions of the APIs and various states of support in the
secrets service we try and open the default, login and finally session
keyrings for storage.

Locked keyrings will be dismissed for all operations.
2013-05-13 23:14:49 +02:00