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
Erik Johnson
bc429c965d
Ignore decimal point
2016-09-19 17:38:19 -05:00
Erik Johnson
d798a8c3d8
Optimize weather module, rewrite Weather.com backend
...
Weather.com's XML feed is now defunct, this commit includes a rewritten
Weather.com module which uses the same JSON feed used by the website
itself.
The weather updates now happen in a separate thread rather than
happening in the ``run()`` function. Since the ``run()`` function is
executed before any of the mouse events are run, this was causing the
mouse event callbacks to result in a flurry of weather updates, which
caused the Weather Underground API to be overutilized beyond its rate
limit.
2016-09-18 23:26:07 -05:00
Erik Johnson
3590dd20e5
clock: Detect system TZ (if possible) for cases where no TZ is specified
...
When the pytz dep was reintroduced, this made all TZ usage reliant upon
a tzinfo object generated by pytz. This had the effect of making the
``%Z`` strftime placeholder evaluate as blank when a timezone is not
explicitly defined (i.e. when the format is just a format string and
not a tuple containing the format string and timezone).
This commit resolves this regression by using pytz to build a tzinfo
object from either /etc/localtime or /etc/timezone during the ``init()``
function, establishing the system TZ to be used for those cases where no
TZ was specified.
2016-08-31 23:15:17 -05:00
enkore
03df1a644a
3.35 changelog
2016-08-31 18:18:12 +02:00
enkore
1b8461b324
Merge pull request #444 from drwahl/master
...
dota2wins: fix win% reporting
2016-08-31 17:55:39 +02:00
David Wahlstrom
453767e50e
dota2wins: fix win% reporting
...
Somehow I accidentially had 2 win_percent values being set in the cdict,
one of which was a string that breaks when you try to round off the
remainder.
2016-08-31 07:57:29 -07:00
enkore
4b38b78b1b
Merge pull request #443 from drwahl/master
...
openstack_vms: update novaclient auth
2016-08-31 16:34:01 +02:00
David Wahlstrom
cebdf49ec4
openstack_vms: update mock modules
2016-08-30 15:57:49 -07:00
David Wahlstrom
338d446bb3
openstack_vms: update novaclient auth
...
The openstack novaclient has updated it's auth mechanism, deprecating
the method used in this module. This patch updates the novaclient
authentication call to leverage this new auth method.
2016-08-30 13:55:27 -07:00
enkore
d423c52bec
Merge pull request #441 from teto/accept_varenvs
...
"logfile" accepts environment variables
2016-08-29 15:23:04 +02:00
Matthieu Coudron
33764e349e
"logfile" accepts environment variables
2016-08-29 14:54:07 +02:00
enkore
2eba2fd9ac
Merge pull request #404 from janoliver/master
...
If imaplib2 is installed use the IDLE feature of IMAP to avoid polling
2016-08-29 10:01:27 +02:00
enkore
7e00e38051
Merge pull request #435 from colajam93/fix-network
...
Fix network module error with netifaces 0.10.5
2016-08-28 13:19:39 +02:00
colajam93
2930b9448c
Follow change of netifaces ipv6 mask
2016-08-27 22:56:23 +09:00
Jan Oliver Oelerich
0e8d667641
Fixed PEP Error
2016-08-15 15:06:44 +02:00
Jan Oliver Oelerich
bfcab60993
If imaplib2 is installed, we use the IDLE feature of IMAP to avoid polling for mails.
2016-08-15 15:03:43 +02:00
facetoe
3fcfb88084
Merge pull request #432 from facetoe/exceptions
...
Catch some common exceptions
2016-08-13 17:13:54 +08:00
facetoe
fd8b6ecbf5
Merge pull request #434 from facetoe/revert_disk_changes
...
Revert breaking changes to disk.py
2016-08-11 17:39:43 +08:00
Facetoe
30e2420f08
Revert breaking changes to disk.py
...
(163af76e89
,
73dae9bfec
)
2016-08-11 17:23:11 +08:00
Facetoe
6160f83045
Catch exceptions thrown when calling API
2016-08-10 20:51:38 +08:00
Facetoe
3b06134aab
Catch exceptions thrown while checking calendar.
2016-08-10 20:51:09 +08:00
enkore
0e8d26bacc
Merge pull request #431 from enkore/enkore-patch-1
...
Add "i3ipc" to docs/conf.py mock modules (b7a73f5b4
)
2016-08-09 12:40:45 +02:00
enkore
62cc2db7fb
Add "i3ipc" to docs/conf.py mock modules ( b7a73f5b4
)
2016-08-09 12:39:29 +02:00
enkore
c6e29b2382
Merge pull request #427 from facetoe/required_settings
...
Ensure required settings are defined correctly.
2016-08-09 12:37:09 +02:00
Facetoe
3d48213834
Add test for case where subclass defines a setting and sets it to None
2016-08-09 18:33:35 +08:00
Facetoe
8d8c0b6812
Update comment
2016-08-09 18:33:28 +08:00
Facetoe
c30365338b
Refactor conditional to pass required setting tests.
...
If a setting is defined in a subclass and is not None do not raise
config error.
2016-08-09 18:20:40 +08:00
Facetoe
86fddf8e22
Add tests for required settings.
2016-08-09 18:14:25 +08:00
facetoe
163af76e89
Merge pull request #429 from facetoe/disk_logic_fail
...
Fix logic fail in disk.py
2016-08-08 16:39:48 +08:00
Facetoe
73dae9bfec
Fix logic fail in disk.py
2016-08-08 16:38:41 +08:00
facetoe
b6122ae2ee
Merge pull request #428 from facetoe/disk_metric
...
Add flexibility in calculating criticality.
2016-08-08 16:27:34 +08:00
facetoe
a816a9c9d7
Merge pull request #426 from facetoe/abc_radio
...
Add module for streaming ABC radio Australia.
2016-08-08 16:27:13 +08:00
facetoe
45c10d0fe9
Merge pull request #423 from jk0dick/add-modules
...
* Network multi color
* Add scratchpad module
* Add window_title module
2016-08-07 19:41:29 +08:00
limbe-osc
1f3581bcea
bug fix
2016-08-07 19:16:44 +08:00
limbe-osc
25a21a3fe0
minor fix
2016-08-07 18:29:58 +08:00
Facetoe
8adbc0b8cb
Add flexibility in calculating criticality.
...
Support using any of the calculated values for determining whether or not the module should alert.
2016-08-07 12:59:23 +08:00
facetoe
8cae11a9f3
Merge pull request #420 from ncoop/mpd-stop
...
mpd: implement stop method
2016-08-07 12:00:33 +08:00
ncoop
d906151ae2
Documented available callbacks.
2016-08-06 14:32:57 -07:00
ncoop
b179d29abf
pep8 compliance.
2016-08-06 14:32:57 -07:00
ncoop
9769d1b7d0
stop method sends stop command to mpd via socket.
2016-08-06 14:32:36 -07:00
Facetoe
5bb40926b8
Ensure required settings are defined correctly.
...
Possible fix for #424 . If a setting has not been overidden in a subclass
or set in the user's config then raise an exception.
2016-08-07 01:16:27 +08:00
Facetoe
952fd22115
Add module for streaming ABC radio Australia.
2016-08-07 00:18:34 +08:00
facetoe
1528f04de0
Merge pull request #410 from richese/clock_refactor
...
Refactor of `clock` module.
2016-08-06 22:12:15 +08:00
facetoe
36dfe06786
Merge pull request #416 from terminalmage/scores
...
Add format option, logic to handle suspended MLB games
2016-08-06 22:00:11 +08:00
facetoe
4095e4e051
Merge pull request #419 from ncoop/mpd-except
...
mpd: Catch KeyError
2016-08-06 21:59:16 +08:00
limbe-osc
5eb1f91151
remove deadbeef
2016-08-06 16:03:28 +08:00
limbe-osc
eb93387290
ci fix
2016-08-06 08:29:25 +08:00
limbe-osc
88b8813bd7
bug fix
2016-08-06 07:08:01 +08:00