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

2408 Commits

Author SHA1 Message Date
Chris Cummer
bf85d4b144
IPInfo styling (#744)
* WIP

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

* Fix the colour scheme for IPInfo to match other modules

Now uses standard label and text colours.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-11-12 20:10:26 -08:00
Chris Cummer
1fda7492e4
Update FUNDING.yml 2019-11-11 21:42:33 -08:00
Chris Cummer
f873baea7f
Update CHANGELOG.md 2019-11-10 11:29:57 -08:00
Chris Cummer
a6468c585b Remove docker from the build pipeline
Docker continues to be a pain in the ass.

Signed-off-by: Chris Cummer <chriscummer@me.com>
v0.24.0
2019-11-10 11:26:33 -08:00
Chris Cummer
251e3fe10d
Add warning for empty grid values (#741)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-11-09 15:13:30 -08:00
Chris Cummer
b2093314f0 Fix grid: key issue when key is present
Really do need it to work with and without a grid: key.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-11-09 14:13:47 -08:00
Chris Cummer
5bbbda22aa Remove stray grid: key from dynamic_config.yml
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-11-09 14:11:36 -08:00
Chris Cummer
a18fce88ac
WTF-718 Fixes missing grid issue when running CmdRunner (#740)
Closes #718 and closes #730.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-11-09 14:09:13 -08:00
Chris Cummer
7c22408636 Tidy go.mod
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-11-09 11:30:00 -08: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
c16560decd Merge branch 'dependabot/go_modules/github.com/alecthomas/chroma-0.6.9' 2019-11-09 11:25:14 -08:00
Chris Cummer
5bed417faa Fix merge conflict in go.mod
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-11-09 11:24:59 -08:00
Chris Cummer
e081222531
Update CHANGELOG.md 2019-11-09 11:22:53 -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
dependabot-preview[bot]
11b174288b
Bump github.com/alecthomas/chroma from 0.6.8 to 0.6.9
Bumps [github.com/alecthomas/chroma](https://github.com/alecthomas/chroma) from 0.6.8 to 0.6.9.
- [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.6.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 07:25:53 +00: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
Chris Cummer
837dc92cfc
Remove Hacktoberfest message 2019-10-30 06:58:59 -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
Chris Cummer
b36cb5cf5e
Update CHANGELOG.md 2019-10-29 18:08:05 -07:00
Chris Cummer
0d11940004
Update CHANGELOG.md 2019-10-29 18:03:35 -07:00
Chris Cummer
ada434b3c3
Merge pull request #715 from Ameobea/twitterstats
Twitterstats
2019-10-29 17:55:57 -07:00
Casey Primozic
a99af9a091
Support both bearer + consumer tokens for Twitter modules
* Add support to both the twitter and twitterstats modules for authenticating using both bearer tokens as well as consumer key + secret.
  * A bearer token is defaulted to if it's supplied
  * Add this support to both the twitterstats module as well as to the existing twitter module, modifying its functionality to re-use the same HTTP client and handle authentication upfront via oauth2
2019-10-29 03:15:57 -07:00
Chris Cummer
41c301fd7c
Update CHANGELOG.md 2019-10-25 08:01:52 -07:00
Chris Cummer
516a8b3da7
Update CHANGELOG.md 2019-10-25 08:01:30 -07:00
Chris Cummer
263d3ec994 Add @madepolli as a contributor 2019-10-25 07:59:43 -07:00
Chris Cummer
59501353e7
Merge pull request #724 from madepolli/modded_resourceusage
modded resourceusage
2019-10-25 07:58:11 -07:00
Chris Cummer
90321636c3
Update CHANGELOG.md 2019-10-25 07:53:59 -07:00
Chris Cummer
663de7d37f Add @C123R as a contributor 2019-10-25 07:52:54 -07:00
Chris Cummer
7030eecbdd
Merge pull request #720 from C123R/master
Adds football fixtures/standings widget
2019-10-25 07:52:06 -07:00
Matjaž Depolli
900d0d0ea5 modded resourceusage 2019-10-25 12:54:16 +02:00
Cizer Pereira
5261325771 fix: resolve PR commits 2019-10-25 08:27:14 +02:00
Chris Cummer
c230853364
Merge pull request #723 from wtfutil/20191024-go-mod-tidy
Tidy go.mod
2019-10-24 10:41:10 -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
Chris Cummer
f3839d6cca Tidy go.mod
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-10-24 04:12:59 -07:00
Chris Cummer
a8fae544c4
Merge pull request #722 from wtfutil/dependabot/go_modules/github.com/xanzy/go-gitlab-0.21.0
Bump github.com/xanzy/go-gitlab from 0.20.1 to 0.21.0
2019-10-24 04:11:55 -07:00
Chris Cummer
581a28f6ec
Merge pull request #721 from wtfutil/dependabot/go_modules/github.com/alecthomas/chroma-0.6.8
Bump github.com/alecthomas/chroma from 0.6.7 to 0.6.8
2019-10-24 04:10:12 -07:00
Chris Cummer
dd4438d4a9
Merge pull request #717 from hemu/add-view-tests
Add keyboard widget tests
2019-10-24 04:09:02 -07:00
dependabot-preview[bot]
3c21afef6d
Bump github.com/xanzy/go-gitlab from 0.20.1 to 0.21.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.20.1 to 0.21.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.20.1...v0.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 06:46:25 +00:00
dependabot-preview[bot]
54c0739674
Bump github.com/alecthomas/chroma from 0.6.7 to 0.6.8
Bumps [github.com/alecthomas/chroma](https://github.com/alecthomas/chroma) from 0.6.7 to 0.6.8.
- [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.7...v0.6.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 06:45:56 +00:00
Casey Primozic
d82eda1933
Improvements to twitterstats code from review
* Unmarshal directly into a `TwitterStats` struct by using json struct annotations
 * Pull stats fetching for a single user out into its own function so that closing the request body is done after each request and the HTTP request can be re-used for multiple usernames' stats
 * Improve type casting code used in settings parsing logic
2019-10-23 11:49:33 -07:00
hmuar
20e30fdefc rename tests to be consistent with other test files 2019-10-22 23:53:21 -07:00
hmuar
b934096832 add tests for keyboard_widget 2019-10-22 23:52:58 -07:00
Casey Primozic
3c95d8e39d
Improve styling + remove unused code
* Got rid of unused struct fields, unused settings, added some comments to functions + structs
2019-10-22 13:23:17 -07:00
Casey Primozic
0be63a404c
Implement Twitter API fetching for twitterstats
* Create Oauth2 client configured for Twitter and create a HTTP client out of that
 * Fetch user stats for each of the users, parse out of JSON, and return stats as stats structs
2019-10-22 12:42:11 -07:00