Commit Graph

1699 Commits

Author SHA1 Message Date
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
limbe-osc
4882714382 merge network colour and network 2016-08-06 07:01:52 +08:00
facetoe
f0438b0601 Merge pull request #421 from ncoop/docs-internet
Document how to customize the internet check
2016-08-05 22:54:15 +08:00
facetoe
686f3e82a9 Merge pull request #422 from jcornwall/master
Pulseaudio: Wait on child processes to avoid zombies
2016-08-05 22:51:16 +08:00
limbe-osc
b7a73f5b46 add four modules 2016-08-05 22:11:09 +08:00
Jay Cornwall
91fae807ed Pulseaudio: Wait on child processes to avoid zombies
subprocess.Popen() does not implicitly wait() on the child process.
This leads to transient zombie pactl processes which are only reaped
as new processes are spawned.

Use synchronous subprocess communication to collect child process
return codes immediately and allow them to exit.
2016-07-31 15:17:49 -05:00
ncoop
be27d7839b It makes sense to put Credentials later. 2016-07-30 15:39:14 -07:00
ncoop
80b823fe68 Docs: how and why to customize internet_check 2016-07-30 15:39:04 -07:00
ncoop
54dfb17ecc Catch KeyError in self.status[status["state"]]. 2016-07-30 08:18:01 -07:00
facetoe
40b9283840 Merge pull request #418 from facetoe/cpu_usage_bug
Fix display bug in CpuUsageGraph.
2016-07-25 19:08:19 +08:00
facetoe
fce59b883c Fix display bug in CpuUsageGraph.
Addresses #417
2016-07-25 19:05:45 +08:00
facetoe
4e5f91e89d Merge pull request #415 from facetoe/openvpn_up_down
Support toggling connection on click.
2016-07-25 18:41:26 +08:00
Erik Johnson
6675f3fa6e Add score to default format string for suspended games 2016-07-24 10:46:11 -05:00
Erik Johnson
b7e0f8bbc4 Add format option, logic to handle suspended MLB games
Tonight's game was the first time I've seen the API return from a
suspended game. I added a separate format option for it.

I've also fixed date/time detection. The API returns different fields for if
a game ended after midnight eastern, and also different ones when a game
is suspended.
2016-07-24 00:50:45 -05:00
facetoe
d2b414f5c6 Support toggling connection on click. 2016-07-24 11:04:44 +08:00
enkore
8dee66059e Merge pull request #414 from nclsHart/github-access-token
Allow use of access_token in github module
2016-07-24 00:13:36 +02:00
Nicolas Hart
7e299ac270 add doc about access_token auth method 2016-07-24 00:07:40 +02:00
Nicolas Hart
ce0c040fcd Allow use of access_token in github module 2016-07-23 23:12:54 +02:00
enkore
5dbfc2110a Merge pull request #413 from Frechdachs/fix
Fix wrong dictionary key
2016-07-22 20:01:55 +02:00