Commit Graph

20 Commits

Author SHA1 Message Date
Lukáš Mandák
30b73fe6d6 SettingsBase: Fixed logging for modules outside of i3pystatus directory i.e. modules defined directly in the config file. 2015-09-25 18:17:54 +02:00
enkore
3a6319c1b9 Change default log level to WARNING (30) 2015-06-08 02:40:48 +02:00
enkore
63c7cc6523 Fix minor bug with required inherited settings in subclasses redefining them 2015-06-08 02:32:39 +02:00
enkore
60470e4d7f Handle settings inheritance statically through a metaclass 2015-06-06 12:48:47 +02:00
enkore
e41d12079f Fix missing documentation of inherited settings 2015-06-06 12:37:51 +02:00
facetoe
cb8f4225bd Fixed bug that prevented user-defined keyring being used. 2015-02-16 21:09:59 +08:00
facetoe
c051e01959 Added documentation of keyring feature. 2015-02-14 10:40:58 +08:00
facetoe
887c45119b Look for protected settings that are in the required tuple. 2015-02-01 09:15:26 +08:00
facetoe
b0d5fdba75 Added example custom keyring backend. 2015-01-25 20:26:29 +08:00
facetoe
215b85e431 Added prototype support for custom keyring backends. 2015-01-25 20:07:37 +08:00
facetoe
bec2674d38 Added prototype for protected settings. 2015-01-25 14:33:04 +08:00
Matthieu Coudron
9e3f128a15 This commit improves the logging system: instead of setting a boolean to enable logging, the user sets a logging level (per module). By default only critical errors are logged (ie nothing for now).
Also adds a test for the function run_through_shell
2014-12-18 18:42:58 +01:00
Matthieu Coudron
cb25cb5fb3 Fix error generated by sphinx-build complaining of no end for the list 2014-12-17 18:18:08 +01:00
Matthieu Coudron
f440322b36 Settings will be inherited between modules 2014-12-17 00:48:49 +01:00
enkore
f06a76ad52 PEP8 2014-04-30 14:51:41 +02:00
enkore
4109515914 Some documentation stuff 2014-04-23 14:45:29 +02:00
Łukasz Jędrzejewski
5fe6d049d2 Configurable interval for every IntervalModule
settings attribute for every class inheriting from IntervalModule are
automatically extended by interval setting if it does not exist.

A function to flatten settings in SettingsBase was extracted and added
as a static method.
2014-03-10 17:06:40 +01:00
enkore
78c01dd3e5 PEP8 2013-10-01 15:22:09 +02:00
enkore
3394aa56ea Change relative to absolute imports (style) 2013-08-04 17:56:04 +02:00
enkore
03d96ad0ea Some internal code butchering again. 2013-03-05 17:26:10 +01:00