Chris Cummer
aae98e40e3
WTF-1031 WIP
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-21 02:51:13 -08:00
Chris Cummer
ee13fd83cc
WTF-1031 Rename WtfApp.app to WtfApp.tviewApp
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-21 02:51:13 -08:00
David Bouchare
9ba22f656b
Close the response body ( #1036 )
2020-12-18 20:20:05 -08:00
Chris Cummer
190b06182f
Merge branch 'kris' of github.com:stone/wtf into stone-kris
2020-12-02 13:53:55 -08:00
David Bouchare
b2168be56e
Edit comment ( #1033 )
2020-12-02 13:52:06 -08:00
Fredrik Steen
cf808dd09b
Fix inconsistent configuration name.
2020-11-30 17:44:28 +01:00
Fredrik Steen
90d672b2f2
Add krisinformation module
...
A module to parse the feed from: https://www.krisinformation.se/en
Krisinformation.se is a web site run by the Swedish Civil Contingencies Agency
that compiles and convey warnings, alerts, and emergency information from
Swedish authorities to the public.
Features:
- Filter on country (all messages)
- Filter on county (only show county specific messages)
- Distance (only show message within a certain distance)
- Set a max age for displaying messages
- Set a maximum number of messages displayed
2020-11-30 16:26:51 +01:00
Chris Cummer
e195453573
Use explicit documentation paths for modules that are nested into subdirectories
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:18:46 -08:00
Chris Cummer
d6a0797bf2
Simplify the inclusion of the Common config settings into each module
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:18:46 -08:00
Chris Cummer
f9a06540f1
Simplify the view loading for the keyboard widget
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:12:15 -08:00
Chris Cummer
4a820dd0e5
Make every widget a keyboard widget
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:12:15 -08:00
Chris Cummer
3521ebf6e8
Rename SigilStr to PaginationMarker
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:07:30 -08:00
David Bouchare
aae1cf55cc
[CircleCI] Add configurable number of builds to settings ( #1025 )
...
* Add configurable build number to settings
* Review feedback: number of builds
2020-11-21 18:21:02 -08:00
Toon Schoenmakers
f58e244cf6
Handle errors from the grafana api by displaying the error message ( #1015 )
2020-10-29 09:33:55 -07:00
Chris Cummer
546f73d56c
Merge branch 'grafana' of github.com:schoentoon/wtf into schoentoon-grafana
2020-10-22 09:27:22 -07:00
Jade
fd8298dfd1
go lint fix
2020-10-19 20:59:26 +01:00
Jade
a728d448cb
update the views
2020-10-19 20:51:39 +01:00
Toon Schoenmakers
441e82a3bd
Added grafana alerts widget
2020-10-19 19:03:15 +02:00
Jade
d152a8beee
fix go lint
2020-10-19 01:07:04 +01:00
Jade
5c6833a0df
add the module to the widget_maker.go
2020-10-19 00:42:03 +01:00
Jade
4d3e9506e4
added finnhub mod
2020-10-19 00:03:07 +01:00
Jade
63462ac8ef
add finnhub modules
2020-10-16 23:18:02 +01:00
Chris Cummer
f84142553c
WTF-986 User-definable DigitalOcean columns ( #1001 )
...
* WTF-986 Wrap the DigitalOcean droplet in our own droplet
This gives us something to build off while still providing the
underlying functionality of the original droplet instance.
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-986 Dynamically display droplet attributes based on defined column names
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-986 Read DigitalOcean column configuration from settings
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-986 Extract the reflection bits into a Reflective package
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-14 09:29:58 -07:00
Jason Schweier
0ab72ab7bb
Default domain for gitlab ( #1000 )
...
* Add a default domain for gitlab
* Remove trailing whitespace
2020-10-13 09:39:05 -07:00
Chris Cummer
21bdf18e98
Remove a redundant byte conversion
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-11 20:10:57 -07:00
Miha Frangež
b8c9f96db2
UptimeRobot: option to show offline monitors first
2020-10-11 20:09:18 -07:00
Miha Frangež
dd4899a07c
UptimeRobot: improve uptime formatting
2020-10-11 20:09:18 -07:00
Miha Frangež
6908e744e1
Make CI happy
2020-10-11 20:09:18 -07:00
Miha Frangež
7f05fbcda5
Implemented UptimeRobot widget
...
This is the first working version of the UptimeRobot module, as discussed in #979
2020-10-11 20:09:18 -07:00
Chris Cummer
9f94e8c63a
Add an app exit banner message
2020-10-11 16:55:16 -07:00
Chris Cummer
4064d42fed
Fix go.mod conflict
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-08 12:29:32 -07:00
Sean Smith
7643109c63
Fix unlocking bug noticed during refactor
2020-10-08 08:17:52 -04:00
Todd Trimble
2f70693656
Correct minor typo in clock settings help text ( #993 )
2020-10-07 22:11:39 -07:00
Sean Smith
e23cec2897
Let pty be optional
2020-10-07 19:40:26 -04:00
Sean Smith
34154620f6
Handle error handling better
...
Don't panic
Add function due to reuse
Catch all errors to appease CI
2020-10-07 19:40:26 -04:00
Sean Smith
57bf5c7417
Have cmdrunner use a tty
...
This lets us get proper coloring
Fixes #577
2020-10-07 19:40:26 -04:00
Chris Cummer
450483791f
Obey the linter; make the linter happy
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-07 16:06:57 -07:00
Sean Smith
3c63eee8d3
Create generalized todo module ( #982 )
...
* Create generalized todo module
Makes existing modules "backends"
This gives us a consistent interface
* Fix check issues
* Fix lint errors
* Make changes to stay on wtfutil todoist fork
2020-10-07 14:58:24 -07:00
Chris Cummer
87ce0d887e
Pretty format the GitHub stats
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-06 20:05:19 -07:00
Chris Cummer
f7d99c5eff
Don't trim whitespace from beginning of widget
...
Some widgets format the output using whitespace padding
at the beginning.
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-06 20:00:50 -07:00
Sean Smith
fcc2a211df
Add natural ordering for clocks
...
This turns locations into an ordered array, so we can have a 'natural' ordering
This is backwards compatible
Resolves #896
2020-10-03 13:10:50 -04:00
Ying Fan Chong
9a366ffeb9
Fix sorting for feed without published date
2020-10-02 20:35:20 +08:00
Ying Fan Chong
bdf642b773
Fix help text
2020-10-01 22:24:33 +08:00
Ying Fan Chong
184b3744c2
Apply gofmt
2020-10-01 22:16:19 +08:00
Ying Fan Chong
c4ca3d9b2a
Add capability to switch content between title, link and title+content
2020-10-01 22:12:31 +08:00
Chris Cummer
5e44a01699
Sort exchange rates alphabetically and group same base rates by row color
...
Before this, exchange rates were read from a map, which meant the
display order was random.
This ensures that the list of exchange rates displays in a consistent
order and visually denotes rates for the same currency.
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-09-29 10:06:46 -07:00
Tim Hwang
9b0f4a50e8
fix: fix Jira module title formatting
...
Closes #942 . Filing to get the ball rolling, happy to change anything.
2020-07-29 10:32:34 -04:00
Chris Cummer
fa5b35b27b
WTF-897 Wrap exchange rate error messages for easier viewing
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-27 17:22:14 -07:00
Chris Cummer
fd91a48f58
WTF-897 Exchange Rate improvements
...
Allows the user to set the precision for their exchange rate values.
Config setting:
```
exchangerates:
precision: 3
```
Default is `7`.
Also aligns converted values along the decimal place for improved
aesthetics.
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-27 17:21:36 -07:00
Chris Cummer
a0e34507db
Fix merge conflict
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-27 17:17:17 -07:00