Christopher Mullins
42b42c1294
BUG: github module count breaks in python3
...
In python2, filter returned a list, but in python3 it returns an iterator. So
we wrap this in a list() so that it works in both. We also want to count the
unread notifications, so this should be reflected in the code.
2017-09-17 18:54:38 -04:00
Frederic Junod
78adbc0b4a
[module/github] Add pagination support
...
The GitHub API returns 50 items per page.
2017-07-25 06:52:39 +02:00
Frederic Junod
dc5e657bc3
[module/github] Doc for github.token OAuth scope
2017-07-08 08:27:59 +02:00
Frederic Junod
30ea9e2e69
[module/github] Refresh on right click
2017-07-08 08:22:52 +02:00
Frederic Junod
7abe3b7918
[module/github] Fix requirements for GitHub module
2017-07-07 17:25:02 +02:00
tobi-wan-kenobi
1b95f55851
Merge pull request #123 from fredj/github_module_simplify
...
[module/github] Use json function from requests and 'filter' instead of a loop
2017-07-07 16:22:07 +02:00
Frederic Junod
b48c02a3e2
[module/github] Open GitHub notifications on left click
2017-07-07 06:56:16 +02:00
Frederic Junod
0ce2a25d4e
[module/github] Use 'json' from requests and 'filter' instead of a loop
2017-07-07 06:51:57 +02:00
Frederic Junod
be7fa79e8a
[modules/github] Move the requests.get inside the try/except
2017-07-06 13:52:14 +02:00
Tobias Witek
dc06611fb1
[modules] weather & github: Protect against missing data
...
If data cannot be retrieved for some reason (be pretty generous about
that by catching generic exceptions), instead of terminating the whole
status bar, simply report unknown data.
see #110
2017-06-10 13:59:44 +02:00
tobi-wan-kenobi
63a14cb590
Merge branch 'master' into pep8
2017-06-05 10:56:28 +02:00
ibrokemypie
3317b6d2d8
[module/github] Linting
...
Removed some unused imports, fixed indentations, removed unused variables.
2017-06-05 12:56:37 +10:00
ibrokemypie
ae536ee70d
[modules/github] Use header for token
...
Doesnt allow sniffers to get the access token from url.
Closes #104
2017-06-05 12:42:02 +10:00
Tobias Witek
710342d7d4
[modules/github] Minor refactoring
...
* Use requests library instead of curl
* Exactly parse the github API responses
* Return a string value in order to pass unit tests
see #86
2017-05-26 13:32:47 +02:00
Yves Hoppe
320b4b466e
Plugin description
2017-05-26 11:11:58 +02:00
Yves Hoppe
99080e7ac3
[modules/github] Add rudimentary GitHub unread messages module
2017-05-26 11:06:20 +02:00