Jeff Zaroyko
4bc92bcce8
add arpansagovau module for displaying UV data from Australian cities
2019-08-30 11:33:34 +10:00
Chris Cummer
fce8b69459
Support case-insensitive 'apiKey' config keys
...
'apiKey' is one that people are likely to spell wrong in their configs
as 'apikey'. Given that there's no sanity-checking around required
config values yet, and a missing API key can cause silent failures in
some modules, be liberal in accepting spelling.
2019-08-29 06:34:52 -07:00
Chris Cummer
1e3b54d1f4
Merge pull request #559 from hxw/master
...
add FreeBSD support to power module
2019-08-29 06:11:56 -07:00
Chris Cummer
21c444c8a4
WTF-560 Set FeedReader line wrap to false
...
Fixes #560
2019-08-29 05:58:20 -07:00
Christopher Hall
51b4d42e8d
add FreeBSD support to power module
...
uses the FreeBSD apm command to get charge status
and battery percentage
Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>
2019-08-29 15:19:55 +08:00
Sean Smith
14e7619075
Renormalize the redraw function
...
Have all instances take a function
Update the remaining modules to take this into account
Numerous smaller refactors to make some widgets work more or less the same
2019-08-27 21:51:37 -04:00
Sean Smith
3a716bcf9a
Convert the bulk of modules over to RedrawFunc
2019-08-26 23:07:02 -04:00
Sean Smith
51e4325f0b
Handle all the widgets that use GetRect
2019-08-24 23:20:38 -04:00
Sean Smith
264f49fd2c
Fix race with HighlightableHelper
...
GetRect can lead to a race condition
Add a RenderFunc method so that we can call try to
wrap even more of our rendering in the thread safe
`QueueUpdateDraw` method
2019-08-24 22:15:35 -04:00
Chris Cummer
523a0bec2c
Remove the need for every module to define a widget.Refresh keyboard control
2019-08-23 21:18:51 -07:00
Chris Cummer
5337656c58
Remove the need for every module to define a widget.ShowHelp keyboard control
...
This common functionality is moved up to KeyboardWidget. Modules now
include widget.InitializeCommonControls() instead.
2019-08-23 21:18:51 -07:00
Sean Smith
81a7fc52a8
Fix fully charged indicator
...
pmset shows `0:00` when charged. Nothing when charging/discharging
Handle this edge case
2019-08-20 22:33:49 -04:00
Chris Cummer
c832db9ddb
Add utils.Includes() helper function
2019-08-20 16:39:15 -07:00
Sean Smith
28f9b55e4f
Move jenkins filter to the data retrieval portion ( #533 )
...
Per #532 , we are keeping track of all items regardless of filter,
meaning that selection does not work as expected
2019-08-17 15:58:59 -04:00
Chris Cummer
9229dd07d4
Merge pull request #526 from FairwindsOps/sudermanjr/kubernetes
...
Kubernetes Addon
2019-08-06 16:11:08 -07:00
Andrew Suderman
491e08ff91
Updating help text on objects to include nodes
2019-08-05 22:36:36 -06:00
Andrew Suderman
3464abbde3
Adding tests
2019-08-05 22:04:57 -06:00
Andrew Suderman
da0e1dbd5b
Adding a Kubernetes module for displaying Kubernetes cluster resources and info
...
Signed-off-by: Andrew Suderman <andrew@sudermanjr.com>
2019-08-05 21:43:52 -06:00
Chris Cummer
0db7e7c533
Catch intermittent failure with HIBP module
2019-08-05 17:57:29 -07:00
Chris Cummer
3e2d6eb5fa
Fix the naming and specs for some utility functions
2019-08-05 11:40:42 -07:00
Chris Cummer
4e46fff145
Move the utils.go file into the /utils directory
2019-08-05 10:50:12 -07:00
Chris Cummer
dbc047516d
Move all components responsible for module composition into /view
2019-08-04 21:42:40 -07:00
Chris Cummer
94d63306d4
Move Bargraph functionality into /view
2019-08-04 21:21:16 -07:00
Chris Cummer
d6254ebba6
Add specs for /wtf/datetime
2019-08-03 18:54:04 -07:00
Chris Cummer
c17678013d
Fix a couple of 'go vet' issues
2019-08-03 17:16:50 -07:00
Chris Cummer
7234f83073
Remove stray Log() statements from SpotifyWeb
2019-08-02 02:11:05 -07:00
Chris Cummer
a02e2a2247
Remove a stray Log() statement from Gittet
2019-08-02 02:01:07 -07:00
Chris Cummer
4c2b52cdbb
Improve the config file handling process
...
* Don't create a default config if a custom config is being passed in
* Textfile: don't die if the file cannot be found
2019-08-02 01:51:56 -07:00
Chris Cummer
73391b06e4
Add ability to explicitly stop modules via a QuitChan
2019-07-29 06:15:51 -07:00
Chris Cummer
324666a3ec
Clean up the MakeWidgets process by miniming the number of params passed around
2019-07-29 06:15:51 -07:00
Chris Cummer
b75beba06b
Merge pull request #516 from l13t/master
...
Added to opsgenie module region selection
2019-07-24 18:45:27 -07:00
Dmytro Prokhorenkov
4b629db0d9
Rewrote way how to define region
...
Now region is defined with `region` variable and could be only `us` or `eu`
2019-07-24 11:54:43 +02:00
Dmytro Prokhorenkov
7422cc3822
Added to opsgenie module region selection
...
According to OpsGenie API documentation:
``If using the EU instance of Opsgenie, the URL needs to be https://api.eu.opsgenie.com for requests to be
successful.```
2019-07-23 17:23:53 +02:00
Chris Cummer
0bc6965681
WTF-504 Improve the default config
2019-07-22 22:54:01 -07:00
Chris Cummer
edcb6d0ca4
WTF-508 HIBP now uses API v3 with authorization to fetch data
2019-07-21 14:45:10 -07:00
Sean Smith
d59dc6ee5b
Fix rollbar rendering
...
We should be calling Render after a refresh, not calling refresh for an infinite loop
Fixes #507
2019-07-21 11:12:56 -04:00
Chris Cummer
e48452dd9d
Delete unused import
2019-07-20 20:31:17 -07:00
Chris Cummer
452e6f20db
WTF-510 Add error messaging if the config directories cannot be created
2019-07-20 12:23:19 -07:00
Dylan Bartels
ae61d2f7ad
Add google analytics module
2019-07-17 22:27:42 +02:00
Chris Cummer
375c296f56
Fix a date-sorting bug in FeedReader
2019-07-12 08:00:54 -07:00
Chris Cummer
f143efe4e2
Merge branch '20190709-rename-binary-to-wtfutil'
2019-07-10 08:09:19 -07:00
Chris Cummer
5f61a90eb7
Fix bug with FeedReader's sort order
2019-07-10 08:04:55 -07:00
Chris Cummer
5bbddcf2ee
Fix off-by-one error when deleting Transmission torrents
2019-07-10 08:04:01 -07:00
Chris Cummer
2e7f242056
HIBP module now wraps error text if an error occurrs
2019-07-09 13:00:41 -07:00
Chris Cummer
b07f3c5e67
Reimpliments the module configuration validation
...
Now supports displaying errors from multiple widgets.
2019-07-07 16:04:43 -07:00
Chris Cummer
2da3344612
Get --module=[modname] working again (broke when position config validation was added)
2019-07-06 01:55:54 -07:00
Chris Cummer
2b2cdf912b
Fix optional help text in NewRelic settings
2019-07-05 23:02:38 -07:00
Chris Cummer
15a88c2566
Merge pull request #491 from Seanstoppable/evenmoremoresettings
...
Add help strings from h-r
2019-07-05 23:01:29 -07:00
Chris Cummer
eff0d55c28
Fix spelling mistake in DefaultFocussedRowColor() name
2019-07-05 22:33:15 -07:00
Chris Cummer
d76f6807cc
Redraw when a Transmission torrent is removed
2019-07-05 21:45:59 -07:00