Commit Graph

1721 Commits

Author SHA1 Message Date
Thiago Kenji Okada
f4479b7c77 Refactored method get_info() 2016-10-19 14:47:38 -02:00
Thiago Kenji Okada
70b56624c2 Improve documentation 2016-10-19 13:58:04 -02:00
Thiago Kenji Okada
217b60a3c8 Convert strings to lower case or it does not work 2016-10-19 13:45:23 -02:00
Thiago Kenji Okada
cf8415d228 Added 'stopped' to status
And make sure that the status exist so we don't show an error to the
user.
2016-10-19 13:34:57 -02:00
Thiago Kenji Okada
bdd23126d8 Fix tests 2016-10-19 13:13:03 -02:00
Thiago Kenji Okada
76cdd5487f Modify Spotify module to support any player 2016-10-19 10:17:52 -02:00
Thiago Kenji Okada
8b95c429d4 Refactor Spotify module
Simplify logic and increase code robutness by using specific instead of
generic Exceptions.
2016-10-19 10:17:52 -02:00
Tim Foerster
6953df5aa8 Don't let the linter crying 2016-10-18 12:14:54 +02:00
Tim Foerster
584f34ed48 Provide ability to serve filter and specify min_severity. 2016-10-18 12:07:57 +02:00
enkore
2fec760d3d Merge pull request #463 from JindrichPilar/timewarrior
Timewarrior module
2016-10-18 12:01:13 +02:00
Jindrich Pilar
4c9e84968d Dependencies dateutil.parser and dateutil.relativedelta added to docs/config.py 2016-10-18 09:29:05 +02:00
Thiago Kenji Okada
581f9875b7 network: add next_if_down option
This option switch to the next interface (using cycle_interface() method)
if the current one is down.
2016-10-18 00:10:58 -02:00
enkore
10416e8ed0 Merge pull request #471 from hobarrera/online-dont-fail-when-offline
online module: Don't fail when offline
2016-10-18 01:18:32 +02:00
Hugo Osvaldo Barrera
aeec2e86f3 online module: Don't fail when offline
If the system is offline, socket.gaierror is raised, the module crashes,
and shows `offline` indefinitely.

Catch that exception, and return False.
2016-10-17 20:05:05 -03:00
enkore
8fb6b0843a Merge pull request #464 from JindrichPilar/taskwarrior
Taskwarrior re-raise and log error
2016-10-17 18:36:06 +02:00
enkore
6ac571e402 Merge pull request #466 from rscholer/moc
Add module for MOC (music on console)
2016-10-17 18:35:49 +02:00
enkore
575a60843f Merge pull request #470 from dopykuh/master
Provide ability to filter by groups.
2016-10-17 18:35:32 +02:00
Tim Foerster
03341386e5 Provide ability to filter by groups. 2016-10-17 18:24:34 +02:00
Raphael Scholer
0fd281d4a0 moc - Fix typo 2016-10-14 15:16:47 +02:00
Raphael Scholer
ab00bf4d2a moc - Remove all references to cmus 2016-10-14 15:16:07 +02:00
Raphael Scholer
be22e60433 Fix stupid and avoidable error in moc 2016-10-14 03:40:27 +02:00
Raphael Scholer
4ca3112331 Expose collected data in moc module 2016-10-14 02:42:25 +02:00
Raphael Scholer
0df4882ba0 Add moc to module overview 2016-10-14 00:49:52 +02:00
Raphael Scholer
d16d66e520 Add module for MOC (music on console) 2016-10-14 00:46:53 +02:00
Jindrich Pilar
0e3ca19469 Taskwarrior re-raise and log error 2016-10-09 13:41:04 +02:00
Jindrich Pilar
6016c52a87 Timewarrior use Logger instead of print 2016-10-09 10:53:01 +02:00
Jindrich Pilar
4692e0f914 Timewarrior re-raise error 2016-10-09 10:09:54 +02:00
Jindrich Pilar
4a3744192a Timewarrior module
Module for heads up information for taskwarrior.org/docs/timewarrior/
2016-10-08 16:03:23 +02:00
enkore
3b53abb6ea Merge pull request #462 from hcpl/master
Pulseaudio: fix non-working decrease_volume()
2016-10-07 09:50:01 +02:00
hcpl
f678565666 Pulseaudio: fix non-working decrease_volume()
Also change switch_mute() and increase_volume() to look similar to
decrease_volume()
2016-10-07 02:25:13 +03:00
Erik Johnson
86f1248a85 Rename api_request func to specify it is for GitHub Status API
Also change loglevel to error when API response is blank
2016-10-04 17:27:52 -05:00
Erik Johnson
5b8ed2de2c Check API response for additional pages of notifications 2016-10-04 17:21:13 -05:00
facetoe
55b1c1432c Merge pull request #458 from udono/master
Use len() for lists instead of count() for #447
2016-09-29 19:12:16 +08:00
Erik Johnson
db7a1a2271 Merge pull request #459 from terminalmage/update-color
Update color for Pittsburgh Penguins
2016-09-28 20:53:25 -05:00
Erik Johnson
d0503262ce Update color for Pittsburgh Penguins
This reflects a change in their primary accent color
2016-09-28 20:51:39 -05:00
Udo Spallek
5099227027 Use len() for lists instead of count() for #447 2016-09-28 22:30:19 +02:00
Gareth Dunstone
c462ecf955 Added to docstring pip installation command for speedtest-cli/modularize-2 2016-09-28 14:20:06 +10:00
Gareth Dunstone
207aa22035 change to conf as per https://github.com/enkore/i3pystatus/pull/449#issuecomment-247045192 2016-09-28 14:15:35 +10:00
Erik Johnson
7dbcec5a09 Updates from code review
See https://github.com/enkore/i3pystatus/pull/455#pullrequestreview-1728935
2016-09-27 19:29:04 -05:00
Erik Johnson
598a511420 Keep the previous color if a status update fails 2016-09-27 09:33:04 -05:00
facetoe
e1a3dfaaea Merge pull request #457 from Xenopathic/master
Change ping module text color above latency threshold
2016-09-27 21:43:26 +08:00
Erik Johnson
8afd1da5cf Merge githubstatus.py's functionality into github.py 2016-09-25 15:01:12 -05:00
Erik Johnson
394eaf52ee Improve keyring documentation 2016-09-25 14:58:38 -05:00
Robin McCorkell
d6f8f5d660 Change ping module text color above latency threshold 2016-09-24 17:28:34 +01:00
Erik Johnson
38e23aedcb Merge pull request #454 from terminalmage/issue453
Fix traceback when notification daemon not running
2016-09-21 17:21:32 -05:00
Erik Johnson
bafc492c45 Always log exception for DesktopNotification failure
Also remove unused ``exc`` variable.
2016-09-20 12:53:06 -05:00
enkore
e0bd9385af Merge pull request #452 from sileht/master
Fix imap re-connection
2016-09-20 19:19:26 +02:00
Mehdi Abaakouk
caaf9844f6 Fix imap re-connection
Imap re-connection is not working.

Connection exceptions (socket.error, socket.gaierror, IMAP4.abort) can
be raise during any imap operations, not only on connection
establishment.

Also the idle thread call start() on thread multiple times, but this is
not allowed by python. The thread is not daemonize, so the thread code
can be never runned if the python process is busy. And the module is
located in imaplib2.imaplib2.IMAP4 not imaplib2.IMAP4...

This change fixes all of that.
2016-09-20 19:18:05 +02:00
enkore
a5b463dd60 Merge pull request #445 from terminalmage/system_tz
clock: Detect system TZ (if possible) for cases where no TZ is specified
2016-09-20 19:15:31 +02:00
enkore
c21368fb03 Merge pull request #451 from terminalmage/optimize-weather-module
Optimize weather module, rewrite Weather.com backend
2016-09-20 19:13:22 +02:00