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

2391 Commits

Author SHA1 Message Date
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
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
Casey Primozic
4c9990bafd
Implement initial twitterstats module
* Create module skeleton based off of the existing twitter module
  * Strip out unused pieces and try to make it as minimal as possible
 * Implement settings parsing, converting the untyped `screenNames` slice into an slice of strings
 * Implement initial minimal display, showing a table with all usernames and their follower count + # of tweets (using dummy metrics for now)
2019-10-22 11:58:20 -07:00
Chris Cummer
d7b0669796 Add @Daanikus as a contributor 2019-10-21 21:19:48 -07:00
Chris Cummer
97bf42045b
Merge pull request #712 from Daanikus/close-file
Close unclosed file
2019-10-21 21:19:11 -07:00
Chris Cummer
7f89620225 Add @hemu as a contributor 2019-10-21 21:15:40 -07:00
Chris Cummer
d5478af03a
Merge pull request #710 from hemu/add-bargraph-test
Add tests for bargraph view
2019-10-21 21:14:58 -07:00
Chris Cummer
be3ad2d769
Update CHANGELOG.md 2019-10-21 21:13:45 -07:00
Chris Cummer
8c328f01e7 Merge branch 'indradhanush-indradhanush/add-vendor-check-to-builds' 2019-10-21 21:12:18 -07:00
Chris Cummer
e9cd22f082 Merge branch 'indradhanush/add-vendor-check-to-builds' of github.com:indradhanush/wtf into indradhanush-indradhanush/add-vendor-check-to-builds 2019-10-21 21:11:04 -07:00
Chris Cummer
a64e026b4b
Update CHANGELOG.md 2019-10-21 21:10:23 -07:00
Chris Cummer
a8d11390fe Add @3mard as a contributor 2019-10-21 21:09:13 -07:00
Chris Cummer
cb636881c3 Merge branch 'master' of github.com:wtfutil/wtf 2019-10-21 21:08:14 -07:00
Chris Cummer
f6871385f5
Merge pull request #706 from caalberts/improve-gitlab-calls
Improve gitlab calls
2019-10-21 21:05:19 -07:00
Daanikus
db9f3c7b99 close unclosed file 2019-10-22 17:00:43 +13:00
hmuar
0fd763805a Add tests for bargraph view for full coverage 2019-10-20 18:15:22 -07:00
Indradhanush Gupta
80539def51 Update go.mod and go.sum
Running `go mod tidy` results in these changes
2019-10-20 17:06:33 +05:30
Indradhanush Gupta
d399073695 Add script to check for uncommitted vendor changes in build 2019-10-20 16:47:36 +05:30
Omar
e7a42e05b5
chore: adjust ToDo to use ScrollableWidget 2019-10-20 13:10:15 +02:00