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

2938 Commits

Author SHA1 Message Date
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
Chris Cummer
acfafb0607
Update CHANGELOG.md 2020-11-08 16:26:20 -08:00
Chris Cummer
9abd6a60fa go mod tidy
Signed-off-by: Chris Cummer <chriscummer@me.com>
v0.34.0
2020-11-08 16:19:13 -08:00
Chris Cummer
234e36bd7e
Update CHANGELOG.md 2020-11-08 16:18:51 -08:00
dependabot-preview[bot]
1d38174162
Bump golang.org/x/text from 0.3.3 to 0.3.4 (#1014)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.3...v0.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-08 16:18:30 -08:00
dependabot-preview[bot]
7fbf21d700
Bump github.com/zorkian/go-datadog-api (#1010)
Bumps [github.com/zorkian/go-datadog-api](https://github.com/zorkian/go-datadog-api) from 2.29.0+incompatible to 2.30.0+incompatible.
- [Release notes](https://github.com/zorkian/go-datadog-api/releases)
- [Commits](https://github.com/zorkian/go-datadog-api/compare/v2.29.0...v2.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-08 16:17:55 -08:00
dependabot-preview[bot]
ab2df7e10c
Bump github.com/xanzy/go-gitlab from 0.38.2 to 0.39.0 (#1013)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.38.2 to 0.39.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.38.2...v0.39.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-08 16:17:28 -08:00
dependabot-preview[bot]
d530f72075
Bump github.com/digitalocean/godo from 1.48.0 to 1.52.0 (#1019)
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo) from 1.48.0 to 1.52.0.
- [Release notes](https://github.com/digitalocean/godo/releases)
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalocean/godo/compare/v1.48.0...v1.52.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-08 16:17:01 -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
bd01083ad6 Add @YuviGold as a contributor 2020-10-24 13:55:47 -07:00
Chris Cummer
7bb6aead0e Exit message call out in readme
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-23 01:31:52 -07:00
Chris Cummer
52b5ac4f0c
Update CHANGELOG.md 2020-10-22 09:30:09 -07:00
Chris Cummer
546f73d56c Merge branch 'grafana' of github.com:schoentoon/wtf into schoentoon-grafana 2020-10-22 09:27:22 -07:00
Chris Cummer
03b6ad6f08
Update CHANGELOG.md 2020-10-21 21:04:42 -07:00
Chris Cummer
47da77a382 Add @applegreengrape as a contributor 2020-10-21 21:03:01 -07:00
Chris Cummer
1dbc28618d Merge branch 'finnhub_mod_for_stocks' of github.com:applegreengrape/wtf into applegreengrape-finnhub_mod_for_stocks 2020-10-21 21:00:18 -07:00
Chris Cummer
0f0b28bdf6 go mod tidy
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-21 04:14:28 -07:00
Chris Cummer
57a965b0d6
Update CHANGELOG.md 2020-10-21 04:10:03 -07:00
dependabot-preview[bot]
f6eac2d7bc
Bump github.com/xanzy/go-gitlab from 0.38.1 to 0.38.2 (#1007)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.38.1 to 0.38.2.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.38.1...v0.38.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-21 04:09:45 -07:00
Chris Cummer
944db701e4
Update CHANGELOG.md 2020-10-21 04:09:27 -07:00
dependabot-preview[bot]
f31168c4fd
Bump github.com/digitalocean/godo from 1.46.0 to 1.48.0 (#1005)
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo) from 1.46.0 to 1.48.0.
- [Release notes](https://github.com/digitalocean/godo/releases)
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalocean/godo/compare/v1.46.0...v1.48.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-21 04:09:01 -07:00
Jade
fd8298dfd1 go lint fix 2020-10-19 20:59:26 +01:00