1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

2959 Commits

Author SHA1 Message Date
Chris Cummer
0035e479c8
Update CHANGELOG.md 2021-03-18 22:01:18 -07:00
Chris Cummer
6f0605d145 Add @LKaemmerling as a contributor 2021-03-18 21:59:56 -07:00
Lukas Kämmerling
0a89786826
Enhance Kubernetes module with Replica Count (Deployments) (#1062)
This commit adds the ReadyReplicas and Total Replicas count, the information is useful if you want to look over a new release of your application and k8s and want to know how many pods are ready/started from k8s. Otherwise the deployment option of this module is not that useful.

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2021-03-18 21:57:40 -07:00
David Bouchare
02db55a136
Fix city key (#1061)
* Fix city

* Trigger Build to see if lint is still failing
2021-03-15 20:27:49 -07:00
Chris Cummer
15769f21d0
WTF-1057 Use long-form git SHA in staticcheck github action (#1058)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2021-03-01 08:55:08 -08:00
David Bouchare
cf3229e0cd
Add a few more tests (#1056)
* Add test for SumInts()

* Add a few more tests in utils

* Minor update for SumInts test
2021-03-01 08:33:42 -08:00
Chris Cummer
7c12523139 Add @xntrik as a contributor 2021-02-04 00:52:26 -08:00
Chris Cummer
369a59e25d
Update CHANGELOG.md 2021-02-04 00:51:45 -08:00
Christian Frichot
a8b0fa897a
Add Asana Module (#1052)
* Add Asana Module

* Add Asana Module to the widget_maker

* Asana Module - addressing linting concerns

* Asana Module - ran go mod tidy
2021-02-04 00:51:03 -08:00
David Bouchare
6ecec4f149
Update test (#1050) 2021-01-24 20:49:10 -08:00
Chris Cummer
f48b17269c Add @pgaxatte as a contributor 2021-01-22 10:03:10 -08:00
Pierre Gaxatte
6fcd74bb82
Fix documentation links to wtfutil.com (#1048) 2021-01-22 10:02:01 -08:00
Fredrik Steen
ddfc439c41
Fix for potential runtime panic (#1046)
Switch error checking around, so we don't check the StatusCode before
handling client errors.
2021-01-20 09:03:27 -08:00
Chris Cummer
7c3d476def
Update CHANGELOG.md 2021-01-16 12:37:35 -08:00
David Bouchare
49109c77f7
[several modules] Close the response body (#1040) 2021-01-16 12:36:29 -08:00
Chris Cummer
a5f66588e7
Update CHANGELOG.md 2021-01-16 12:35:44 -08:00
Fredrik Steen
2341446376 Healthcecks module
Healthchecks.io is a service for monitoring cron jobs and similar
periodic processes.

Hosted: https://healthchecks.io/
API-Doc: https://healthchecks.io/docs/api/
GitHub: https://github.com/healthchecks/healthchecks

This module can be used both with hosted and self-hosted healthchecks.
2021-01-16 12:33:15 -08:00
Chris Cummer
9a703dd78b Deleted the Finnhub client test. It requires an API key to pass, and thats not acceptible
Signed-off-by: Chris Cummer <chriscummer@me.com>
2021-01-16 12:32:52 -08:00
Chris Cummer
767a18ad86
Update CHANGELOG.md 2021-01-03 13:57:17 -08:00
Chris Cummer
f55024b352
Update CHANGELOG.md 2021-01-03 13:56:56 -08:00
Chris Cummer
4b8b735a46 Add @zye1996 as a contributor v0.35.0 2021-01-03 10:35:23 -08:00
Chris Cummer
8068ffeb7d
Update CHANGELOG.md 2021-01-03 10:34:44 -08:00
zye1996
5783473cfa
fix requests url for cryptolive (#1042)
Co-authored-by: yzy <zhenyi@sensor.com>
2021-01-03 10:32:37 -08:00
Chris Cummer
d341c21f4b
Add support for the 'language' setting in the covid module (#1039)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-29 13:46:08 -08:00
Chris Cummer
b434e79b9b
Update CHANGELOG.md 2020-12-29 13:37:50 -08:00
David Bouchare
2f2df04478
[modules] Add new covid tracker module (#1037)
* Add draft of covid module

* Work on pointers

* Add country stats

* Remove recovered, stays at 0

* Handle response code

* One struct for both

* List of countries

* Add test

* Add test for countries

* Fix typos

* Format numbers based on language/locale
2020-12-29 13:33:14 -08:00
Chris Cummer
d7da659b8b
Add support for user-configuration language tag specification. (#1038)
Adds a new top-level configuration key called "language":

```yaml
wtf:
  langauge: "ja-JP"
```

Users can now define which BCP 47 language tag to use to format any
text or numbers that currently support localization. Defaults to
"en-CA".

Acceptible values: any BCP 47 language tag recognized by the Go
"language" package.

Good luck to you figuring out what that cannonical list is. After a
morning of trying to suss it out, I have no idea.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-29 12:14:20 -08:00
Chris Cummer
fd794707cd
☢️ WTF-1031 Support multiple simultaneous configurations (#1032)
* WTF-1031 Rename WtfApp.app to WtfApp.tviewApp

Signed-off-by: Chris Cummer <chriscummer@me.com>

* WTF-1031 Add scaffolding for main to support multiple WtfApp instances

Signed-off-by: Chris Cummer <chriscummer@me.com>

* WTF-1031 WIP

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Remove common functionality from KeyboardWidget and into Base

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Augment with some descriptive comments

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Add full support for multiple app instances via the AppManager.

Still to do:

* Config support for multiple apps/multiple config files
* The ability to switch between apps

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Move SetTerminal out of main and into its own file

Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-21 03:25:41 -08:00
David Bouchare
9ba22f656b
Close the response body (#1036) 2020-12-18 20:20:05 -08:00
Chris Cummer
c41411b97e Fix the goreleaser action 'on' clause
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-06 11:38:15 -08:00
Chris Cummer
56469d8db3
Add goreleaser github action (#1035)
Creates a new release when a new tag is pushed up to GitHub.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-06 11:36:32 -08:00
Chris Cummer
4cde3c7781
Update CHANGELOG.md 2020-12-02 13:56:33 -08:00
Chris Cummer
2246300740 Add @stone as a contributor 2020-12-02 13:55:17 -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
68906edf49
Update CHANGELOG.md 2020-11-27 10:54:18 -08:00
Chris Cummer
14729b2bfd
Update CHANGELOG.md 2020-11-27 10:53:32 -08:00
Chris Cummer
20a8c1aa9c
Update CHANGELOG.md 2020-11-27 10:53:23 -08: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
2430fe9f56 Opening docs in browser is working, but only for keyboard modules
This needs to work for all modules, which means effectively
every module just became a keyboard module, if it is focusable.

That's an interesting development.

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
Chris Cummer
a18f77bfad
Back onto grandcolline/golang-github-actions (#1030)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 21:06:11 -08:00
Chris Cummer
7e0f10223c
Update CHANGELOG.md 2020-11-21 18:26:29 -08:00
Chris Cummer
727b6f5a58 Add @dabcoder as a contributor 2020-11-21 18:23:11 -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