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

207 Commits

Author SHA1 Message Date
dependabot-preview[bot]
f5df6b826e
Bump github.com/shirou/gopsutil (#831)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 2.19.12+incompatible to 2.20.1+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v2.19.12...v2.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 14:55:41 -08:00
Chris Cummer
ad49c70e5b Merge branch 'master' into dependabot/go_modules/github.com/xanzy/go-gitlab-0.23.0 2020-01-31 04:06:56 -08:00
Chris Cummer
f2692b0fb7 Merge branch 'master' into dependabot/go_modules/github.com/nicklaw5/helix-0.5.5 2020-01-31 04:06:00 -08:00
Chris Cummer
0b3e22e9b9 Merge branch 'master' into dependabot/go_modules/gopkg.in/yaml.v2-2.2.8 2020-01-31 04:05:00 -08:00
Chris Cummer
b1fba82bed Merge branch 'master' into dependabot/go_modules/github.com/zorkian/go-datadog-api-2.26.0+incompatible 2020-01-31 04:04:03 -08:00
dependabot-preview[bot]
5fac24d73b
Bump github.com/xanzy/go-gitlab from 0.22.3 to 0.23.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.22.3 to 0.23.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.22.3...v0.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 06:33:09 +00:00
dependabot-preview[bot]
2f5963596e
Bump github.com/nicklaw5/helix from 0.5.4 to 0.5.5
Bumps [github.com/nicklaw5/helix](https://github.com/nicklaw5/helix) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/nicklaw5/helix/releases)
- [Commits](https://github.com/nicklaw5/helix/compare/v0.5.4...v0.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 06:41:34 +00:00
dependabot-preview[bot]
da1654baa7
Bump gopkg.in/yaml.v2 from 2.2.7 to 2.2.8
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.7...v2.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 06:35:38 +00:00
dependabot-preview[bot]
bd004d6844
Bump github.com/zorkian/go-datadog-api
Bumps [github.com/zorkian/go-datadog-api](https://github.com/zorkian/go-datadog-api) from 2.25.0+incompatible to 2.26.0+incompatible.
- [Release notes](https://github.com/zorkian/go-datadog-api/releases)
- [Commits](https://github.com/zorkian/go-datadog-api/compare/v2.25.0...v2.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 06:46:37 +00:00
dependabot-preview[bot]
b178c913d2
Bump github.com/shirou/gopsutil
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 2.19.11+incompatible to 2.19.12+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v2.19.11...v2.19.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 06:41:17 +00:00
Chris Cummer
b0d706199f Fix go.mod merge conflict
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-01-15 21:40:27 -08:00
dependabot-preview[bot]
bca635087c Bump github.com/xanzy/go-gitlab from 0.22.2 to 0.22.3 (#820)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.22.2 to 0.22.3.
- [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.22.2...v0.22.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 21:32:54 -08:00
dependabot-preview[bot]
d0f00890e1 Bump github.com/pkg/errors from 0.8.1 to 0.9.1 (#819)
Bumps [github.com/pkg/errors](https://github.com/pkg/errors) from 0.8.1 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases)
- [Commits](https://github.com/pkg/errors/compare/v0.8.1...v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 21:32:00 -08:00
dependabot-preview[bot]
beccd014f6 Bump github.com/alecthomas/chroma from 0.7.0 to 0.7.1 (#814)
Bumps [github.com/alecthomas/chroma](https://github.com/alecthomas/chroma) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v0.7.0...v0.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 11:01:37 -08:00
dependabot-preview[bot]
b344b36b68 Bump github.com/shirou/gopsutil (#807)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 2.19.11+incompatible to 2.19.12+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v2.19.11...v2.19.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 11:01:25 -08:00
Sean Smith
a876c1257d Upgrade tview
Should fix #618
2020-01-08 22:46:09 -05:00
Chris Cummer
e679a981da
WTF-758 Open HN comments if there's no external link (#802)
If an HN story has no external link associated with it,
open the HN comments page for the story.

Closes #758

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-30 22:21:59 -05:00
Bjoern Weidlich
86b32b3f9f Adding twitch module to display top streams (#805) 2019-12-30 22:20:53 -05:00
dependabot-preview[bot]
c149ef699f Bump google.golang.org/api from 0.14.0 to 0.15.0 (#800)
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/google/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/google/google-api-go-client/compare/v0.14.0...v0.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 07:23:50 -08:00
Chris Cummer
10f761dbcb
20191217 gosec (#796)
* Add gosec to the Makefile

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

* Fix some issues found by gosec

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-17 14:59:16 -08:00
Chris Cummer
cde904ff08
Use errcheck to find unhandled errors (#795)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-17 08:26:16 -08:00
Chris Cummer
140dd553e0
WTF-781 Todoist project ID conversion (#789)
* WTF-781 Switch Todoist IDs from `int` to `string`

On platforms that convert an `int` to `int32`, like the Raspberry Pi,
an `int` is not large enough to store Todoist project IDs.

Using a `string` ensures this never becomes a problem.

Fixes #781

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-16 20:25:52 -08:00
Chris Cummer
3a388fba23
20191215 code improvements (#790)
* Upgrade godo to latest
* Fix a bunch of issues found by
* Running staticcheck on a codebase for the first time is a sobering experience
* go mod tidy
* More static improvements

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-16 20:25:29 -08:00
dependabot-preview[bot]
e71038ccf2 Bump github.com/digitalocean/godo from 1.22.0 to 1.29.0 (#791)
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo) from 1.22.0 to 1.29.0.
- [Release notes](https://github.com/digitalocean/godo/releases)
- [Changelog](https://github.com/digitalocean/godo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/digitalocean/godo/compare/v1.22.0...v1.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 16:41:53 -08:00
Chris Cummer
b7f8ec5ae2
Use WTF's version of spotigopher (#787)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-14 21:24:18 -08:00
Chris Cummer
58299c2efa
WTF-484 DigitalOcean module (#782)
* WTF-484 DigitalOcean module stubbed out
* WTF-484 Delete droplets via Ctrl-d
* WTF-484 Rebasing off master after a long time away
* WTF-484 Improve DigitalOcean display
* WTF-484 Can shutdown and restart the selected droplet
* WTF-484 Display info about the selected droplet using the ? key
* WTF-484 Display info about the selected droplet using the Return key
* WTF-484 Greatly improve the utils.Truncate function
* WTF-484 Display a droplet's features in the info modal
* WTF-484 Change reboot key from r to b to not conflict with refresh
* WTF-484 Panic if a keyboard control is mapped to the same character more than once
* WTF-484 Colorize droplet status indicator
* WTF-484 Extract view.InfoTable out into a reusable component
2019-12-13 11:33:29 -08:00
dependabot-preview[bot]
c259e80721 Bump github.com/olekukonko/tablewriter from 0.0.3 to 0.0.4 (#776)
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/olekukonko/tablewriter/releases)
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.3...v0.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 16:58:50 -08:00
dependabot-preview[bot]
d1ed36a547 Bump github.com/xanzy/go-gitlab from 0.22.1 to 0.22.2 (#775)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.22.1 to 0.22.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.22.1...v0.22.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 06:26:07 -08:00
dependabot-preview[bot]
297978b104 Bump github.com/shirou/gopsutil (#772)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 2.19.10+incompatible to 2.19.11+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v2.19.10...v2.19.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 06:24:37 -08:00
Chris Cummer
31926fd4a7
Integrate vendored NewRelic dependency (#767)
The NewRelic module relies on yfronto/newrelic, which no longer exists.
yfronto deleted that directory quite awhile ago, and since then it has
been vendored.

But vendoring a missing repository creates problems when trying to
update the vendored code.

This PR brings the yfronto/newrelic code into the mainline.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-01 20:47:02 -08:00
dependabot-preview[bot]
e19409d278 Bump github.com/adlio/trello from 1.4.0 to 1.6.0 (#769)
Bumps [github.com/adlio/trello](https://github.com/adlio/trello) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/adlio/trello/releases)
- [Commits](https://github.com/adlio/trello/compare/v1.4.0...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-29 05:12:43 -08:00
dependabot-preview[bot]
48882ef759 Bump github.com/alecthomas/chroma from 0.6.8 to 0.7.0 (#762)
Bumps [github.com/alecthomas/chroma](https://github.com/alecthomas/chroma) from 0.6.8 to 0.7.0.
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v0.6.8...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 05:40:25 -08:00
dependabot-preview[bot]
758296f973 Bump github.com/olekukonko/tablewriter from 0.0.2 to 0.0.3 (#761)
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.2 to 0.0.3.
- [Release notes](https://github.com/olekukonko/tablewriter/releases)
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.2...v0.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 05:38:54 -08:00
dependabot-preview[bot]
a51dd30e7a Bump github.com/pkg/profile from 1.3.0 to 1.4.0 (#759)
Bumps [github.com/pkg/profile](https://github.com/pkg/profile) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/pkg/profile/releases)
- [Commits](https://github.com/pkg/profile/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 05:37:57 -08:00
dependabot-preview[bot]
4d5722b5e9 Bump gopkg.in/yaml.v2 from 2.2.5 to 2.2.7 (#757)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.5 to 2.2.7.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.5...v2.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 05:36:41 -08:00
dependabot-preview[bot]
80698d5d23 Bump google.golang.org/api from 0.13.0 to 0.14.0 (#756)
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/google/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/google/google-api-go-client/compare/v0.13.0...v0.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 05:34:54 -08:00
dependabot-preview[bot]
558dfd92c6 Bump github.com/xanzy/go-gitlab from 0.22.0 to 0.22.1 (#755)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.22.0 to 0.22.1.
- [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.22.0...v0.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 05:33:19 -08:00
dependabot-preview[bot]
fdf6e000cb Bump github.com/zorkian/go-datadog-api (#751)
Bumps [github.com/zorkian/go-datadog-api](https://github.com/zorkian/go-datadog-api) from 2.24.0+incompatible to 2.25.0+incompatible.
- [Release notes](https://github.com/zorkian/go-datadog-api/releases)
- [Commits](https://github.com/zorkian/go-datadog-api/compare/v2.24.0...v2.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 21:01:51 -08:00
Rui Chen
996de81ecd Remove go 1.12 support (goproxy syntax issue) 2019-11-10 15:24:55 -05:00
dependabot-preview[bot]
e8bc58043f Bump github.com/xanzy/go-gitlab from 0.21.0 to 0.22.0 (#739)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.21.0 to 0.22.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.21.0...v0.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-09 11:26:59 -08:00
dependabot-preview[bot]
867576c249 Bump github.com/olekukonko/tablewriter from 0.0.1 to 0.0.2 (#737)
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/olekukonko/tablewriter/releases)
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.1...v0.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-09 11:26:41 -08:00
dependabot-preview[bot]
d81891f6cc Bump github.com/shirou/gopsutil (#736)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 2.19.9+incompatible to 2.19.10+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v2.19.9...v2.19.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-09 11:26:24 -08:00
dependabot-preview[bot]
777bcd08b6 Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.5 (#735)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.4...v2.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-09 11:25:55 -08:00
Chris Cummer
200dbcc03c
WTF-730 Fix missing color key config error (#738)
* WTF-730 Fix missing color key config error

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

* WTF-730 Add Subheading color formatting to modules

Users can now set a `subheading` color in their config to change the
color of subheadings in widget display.

Defaults to `red`.

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

* WTF-730 Fix oustanding color issues

Clean up missing color config changes not addressed in earlier commits.

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

* Remove unused dependency

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

* WTF-730 Base cleanup

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

* WTF-730 Fix a few bugs related to color config changes

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

* WTF-730 Fix issues with PagerDuty subheading display

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

* WTF-730 Fix bug with Todo list colour rendering

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-11-09 11:21:45 -08:00
Chris Cummer
1bfca29d17
WTF-657 Add spec coverage for cfg/common_settings.go (#728)
* WTF-657 Add spec coverage for cfg/common_settings.go

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

* WTF-657 Add spec coverage for cfg/position_validation.go

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

* WTF-657 Add spec coverage for cfg/validations.go

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

* WTF-657 Add spec coverage for checklist/checklist.go

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

* WTF-657 Add spec coverage for checklist/checklist_item.go

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

* WTF-657 Add spec coverage for utils/conversions.go

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

* WTF-657 Get rid of utils.Home() function

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

* WTF-657 Add spec coverage for utils/homedir.go

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

* WTF-657 Add spec coverage for utils/text.go

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

* WTF-657 Clean up utils/utils.go

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-10-30 17:35:00 -07:00
dependabot-preview[bot]
83b98e4a03 Bump google.golang.org/api from 0.11.0 to 0.13.0 (#726)
* Bump google.golang.org/api from 0.11.0 to 0.13.0

Bumps [google.golang.org/api](https://github.com/google/google-api-go-client) from 0.11.0 to 0.13.0.
- [Release notes](https://github.com/google/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/google/google-api-go-client/compare/v0.11.0...v0.13.0)

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

* Tidy go.sum

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-10-30 06:30:45 -07:00
Cizer Pereira
47941026f2 fix: validation build issues 2019-10-24 18:44:24 +02:00
Cizer Pereira
22b40ff0ec fix: mark favorite with 2019-10-24 18:37:16 +02:00
C123R
6a3a5ea7ec
Merge branch 'master' into master 2019-10-24 15:34:26 +02:00
Cizer Pereira
e7e1463181 feat: Add new widget for football scores and standings 2019-10-24 15:28:01 +02:00