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
e9df3a82de
Make sure that we use python3 pep8
2014-12-18 18:34:57 +01:00
Matthieu Coudron
49a0f01c76
Added missing r to IntevalSettings in test_core_modules
2014-12-18 10:46:53 +01:00
Matthieu Coudron
69c1cd6460
Various pep8 and comments removal + converted shell module to use run_through_shell command
2014-12-18 00:26:24 +01:00
Matthieu Coudron
bc15eb4e6b
i3pystatus creates a logger that can be imported via import i3pystatus.logger . Thus when modules enable the 'enable_log' setting, it should log i3pystatus errors to a file called '.i3pystatus-<pid>'. This commit only solves the case when email_client was called in the email module and would output things into stderr/stdout.
2014-12-17 23:39:10 +01:00
enkore
523975cf39
Merge pull request #146 from teto/module_inherit_settings
...
Settings are inherited between modules
2014-12-17 22:52:56 +01:00
enkore
1eeb7fe30c
ci-build.sh: output version information
2014-12-17 22:51:13 +01:00
Matthieu Coudron
c4cc17c11f
Enforce pep8 version >= 1.5.7 since 1.5.6 is buggy
2014-12-17 22:09:42 +01:00
Matthieu Coudron
f8a5bc716f
Revert "Fixed indentation in order to remove pep8 errors"
...
This reverts commit b37c7e28f8
. Error was
apparently due to a bug in pep8 <= 1.5.6
2014-12-17 21:55:14 +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
ff7ea14689
Fixed test that didn't pass anymore (since there were more settings). I also enforced python3 in ci-build.sh otherwise python2.7 would generate syntax errors. Hope it's not a problem
2014-12-17 18:17:19 +01:00
Matthieu Coudron
b37c7e28f8
Fixed indentation in order to remove pep8 errors
2014-12-17 16:36:50 +01:00
Matthieu Coudron
f440322b36
Settings will be inherited between modules
2014-12-17 00:48:49 +01:00
enkore
735f244270
3.32
2014-12-14 14:32:38 +01:00
enkore
9de7640fcc
Merge pull request #145 from rampage644/features/pomodoro_cmus
...
Features/pomodoro cmus
2014-12-11 14:07:05 +01:00
Sergei Turukin
8913450ac2
PEP8 fix, hope wont' break rST parser as well
2014-12-11 13:54:31 +02:00
Sergei Turukin
2a5c0e77a0
Insert blank line to make rST happy
2014-12-11 13:29:14 +02:00
Sergei Turukin
eab6f77bd6
PEP8 fix
2014-12-10 19:19:11 +02:00
Sergei Turukin
362c3ec83e
Fix typos
2014-12-10 18:26:15 +02:00
Sergei Turukin
d0f76a2d97
PEP8 fix
2014-12-10 18:25:32 +02:00
Sergei Turukin
105e92b5aa
Update format description for pomodoro
module
2014-12-10 18:25:15 +02:00
Sergei Turukin
f263cb55e8
Update format string description
2014-12-10 18:23:25 +02:00
Sergei Turukin
6593c580ae
Improve doc for available formatters for cmus
module
2014-12-10 18:20:51 +02:00
Sergei Turukin
b89b1c783f
PEP8 fixes
2014-12-09 16:56:35 +02:00
Sergei Turukin
45c94bd5cd
Make format configurable, fix bug, progess output
2014-12-09 16:49:27 +02:00
Sergei Turukin
a1c66f33b5
Update heuristics for getting artist/title from filename
2014-12-09 16:48:14 +02:00
enkore
4574fd5c40
weather: fix reST
2014-12-02 12:14:50 +01:00
enkore
29a5867d22
Let's see if zip_safe works.
...
It should. I don't see any obvious reason why it should break something.
2014-12-02 11:43:06 +01:00
enkore
a92ff456dc
Restructured text ... eh... docs.
...
Moved changelog into docs, since it got really long. Also, have to collect
changes soon and make another release.
2014-12-01 18:51:06 +01:00
enkore
75a2da8ef8
Update docs/conf.py
2014-12-01 18:39:52 +01:00
enkore
007d4dd484
Update CI build process
2014-12-01 14:48:42 +01:00
enkore
e8bfec5710
uname: chop trailing newline
2014-11-25 22:36:53 +01:00
enkore
57fda43b4e
Add uname module
2014-11-25 22:35:15 +01:00
enkore
dcd219d7e8
Merge pull request #144 from m0dprobe/master
...
fix volume percentage
2014-11-19 19:35:34 +01:00
Alex Timmermann
c2cb417fca
fix volume percentage
2014-11-19 15:35:50 +01:00
Joaquin Ignacio Barotto
8c24f6f9de
Updated the docs
2014-11-15 11:36:05 +01:00
Joaquin Ignacio Barotto
441d143810
Aded 'keyboard_locks' module, to show CAPSLOCK, NUMLOCK and SCROLLLOCK status
2014-11-15 11:35:53 +01:00
enkore
1d9614fae7
Fix #141
2014-11-07 11:22:55 +01:00
enkore
3c751882d2
Merge pull request #140 from jlucchese/master
...
Add pianobar module
2014-11-07 11:10:29 +01:00
enkore
43e9b49396
Merge pull request #139 from Arvedui/mpd_text_len
...
mpd text length
2014-11-07 11:10:07 +01:00
enkore
6691e7d6fc
Merge pull request #138 from simon04/network_traffic_down
...
network_traffic: allow to hide down interfaces
2014-11-07 11:09:42 +01:00
Simon Legner
96d7b78e2d
network_traffic: do not hide by default down iface
2014-11-04 08:22:46 +01:00
Júlio Rieger Lucchese
97c9cb7e80
Add optional event_cmd bash file into the docs
2014-11-02 15:23:00 -02:00
Júlio Rieger Lucchese
4fe4408736
Fix blank lines and whitespaces
2014-11-02 14:14:43 -02:00
Arvedui
38128eab31
fixed pep8 issue
2014-11-02 17:04:52 +01:00
Júlio Rieger Lucchese
4840362030
Add pianobar module
2014-11-02 13:21:04 -02:00
Arvedui
04eb15c330
added options text_len and truncate_fields to mpd module for taming insanly long artist, album and song names
2014-10-30 12:14:18 +01:00
Sergei Turukin
b1a7dba986
Fix module with no cmus
running
2014-10-30 11:59:18 +02:00
Simon Legner
9591de4461
network_traffic: allow to hide down interfaces
...
Interfaces which are down can be hidden or formatted differently.
The following options are added:
hide_down - whether to not display a interface which is down
format_down - format string if the interface is down (unless hide_down is set)
2014-10-30 08:23:00 +01:00
Sergei Turukin
b46c68ed50
Reset timer right on left click
2014-10-28 11:11:32 +02:00