Skip to content

Commit

Permalink
Merge branch 'master' into skip-certificate-check-jira
Browse files Browse the repository at this point in the history
  • Loading branch information
anandsudhir committed Jun 14, 2018
2 parents 3a519c4 + c8b22eb commit d1103aa
Show file tree
Hide file tree
Showing 193 changed files with 19,396 additions and 324 deletions.
14 changes: 2 additions & 12 deletions .github/ISSUE_TEMPLATE/Bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,8 @@ name: Bug Report
about: Something is broken?
---

### Bug Report
#### What's the problem?

#### Summary
<!-- Provide a summary desciribing the problem you are experiencing. -->

##### What is the current behaviour?
<!-- wtf crashes-->
#### How did you expect it to behave?

### How to reproduce

##### If the current behaviour is a bug, please provide the steps to reproduce it.
<!-- A great way to do this is to provide screenshots and commands.* -->

##### What do you think the expected behaviour should be?
<!--What do you think should happen?-->
13 changes: 4 additions & 9 deletions .github/ISSUE_TEMPLATE/Feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ name: Feature Request
about: You have a neat idea that should be implemented?
---

### Feature Request
<!-- Fill in the relevant information below to help triage your issue. -->
#### What problem does this solve?


#### How do envision it working?

| Q | A
|------------ | ------
| New Feature | yes
| RFC | yes/no
| BC Break | yes/no

#### Summary
<!-- Provide a summary of the feature you would like to see implemented. -->
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/Support.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: ❓ Support Question
about: Have a problem that you can't figure out?
---

| Q | A
|------------ | -----
| Version | 0.0.4
#### Support Question
<!-- Describe the issue you are facing here. -->
#### What problem are you having and how can we help?


13 changes: 4 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE/Improvement.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ name: Improvement
about: You have some improvement to make wtf better?
---

### Improvement
<!-- Fill in the relevant information below to help triage your issue. -->
#### What problem does this solve?


#### Is this related to an existing Issue? If so, which one?

| Q | A
|------------ | ------
| New Feature | yes
| RFC | yes/no
| BC Break | yes/no

#### Summary
<!-- Provide a summary of the improvement you are submitting. -->
11 changes: 2 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE/Other.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
name: Other
about: You have some other ideas you want to introduce?
about: You have some other ideas you want to introduce?
---

<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->

**What kind of change does this PR introduce?**
<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->
#### What problem does this solve?

**Summary**
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->
<!-- Try to link to an open issue for more information. -->

**Does this PR introduce a breaking change?**
<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->

**Other information**
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Misc
.DS_Store
gcal/client_secret.json
gspreadsheets/client_secret.json
#intellij idea
.idea/

Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ builds:
- linux
goarch:
- amd64

archive:
wrap_in_directory: true
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: go
go:
- "1.10"
sudo: false
before_install:
# Make sure travis builds work for forks
- mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer
- test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf
- cd $HOME/gopath/src/github.com/senorprogrammer/wtf

script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests
8 changes: 7 additions & 1 deletion Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
name = "github.com/google/go-github"
branch = "master"

[[constraint]]
name = "github.com/xanzy/go-gitlab"
branch = "master"

[[constraint]]
name = "github.com/jessevdk/go-flags"
version = "1.4.0"
Expand Down
108 changes: 105 additions & 3 deletions LICENSE.md

Large diffs are not rendered by default.

33 changes: 8 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<p align="right">
<img src="https://travis-ci.com/senorprogrammer/wtf.svg?branch=master" />
</p>

<p align="center">
<img src="./docs/img/wtf.jpg?raw=true" title="WTF" width="852" height="240" />
<img src="./docs/img/wtf.jpg?raw=true" title="WTF" width="852" height="240" />
</p>

A personal terminal-based dashboard utility, designed for
Expand All @@ -13,8 +17,7 @@ displaying infrequently-needed, but very important, daily data.

### Installation from Source

*Note:* This has only been tested to build against Go 1.9.2. It won't
work with Go versions < 1.7, and only _may_ work on other versions.
**Note:** WTF is _only_ compatible with Go versions **1.9.2** or later. It currently _does not_ compile with `gccgo`.

```bash
go get -u github.com/senorprogrammer/wtf
Expand All @@ -27,7 +30,7 @@ Or [download the latest binary](https://github.com/senorprogrammer/wtf/releases)

## Support

Chat on Gitter:
Chat on Gitter
[![Join the chat at https://gitter.im/wtfutil/Lobby](https://badges.gitter.im/wtfutil/Lobby.svg)](https://gitter.im/wtfutil/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Documentation
Expand All @@ -39,27 +42,6 @@ documentation. Here's some short-cuts:
* [Configuration](http://wtfutil.com/posts/configuration/)
* [Module Documentation](http://wtfutil.com/posts/modules/)

And a "probably up-to-date" list of currently-implemented modules:

* [BambooHR](http://wtfutil.com/posts/modules/bamboohr/)
* [World Clocks](http://wtfutil.com/posts/modules/clocks/)
* [Command Runner](http://wtfutil.com/posts/modules/cmdrunner/)
* [Google Calendar](http://wtfutil.com/posts/modules/gcal/)
* [Git](http://wtfutil.com/posts/modules/git/)
* [GitHub](http://wtfutil.com/posts/modules/github/)
* [IPInfo](http://wtfutil.com/posts/modules/ipinfo/)
* [Jira](http://wtfutil.com/posts/modules/jira/)
* [New Relic](http://wtfutil.com/posts/modules/newrelic/)
* [OpsGenie](http://wtfutil.com/posts/modules/opsgenie)
* [Power](http://wtfutil.com/posts/modules/power/)
* [PrettyWeather](http://wtfutil.com/posts/modules/prettyweather/)*
* [Security](http://wtfutil.com/posts/modules/security/)
* [Textfile](http://wtfutil.com/posts/modules/textfile/)
* [Todo List](http://wtfutil.com/posts/modules/todo/)
* [Weather](http://wtfutil.com/posts/modules/weather/)

*experimental

## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests.
Expand Down Expand Up @@ -95,3 +77,4 @@ Many thanks to all these developers.
<p align="center">
<img src="./docs/img/dude_wtf.png?raw=true" title="Dude WTF" width="251" height="201" />
</p>

27 changes: 27 additions & 0 deletions _sample_configs/bargraph_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
wtf:
colors:
border:
focusable: darkslateblue
focused: orange
normal: gray
grid:
columns: [40, 40]
rows: [13, 13, 4]
refreshInterval: 1
mods:
bargraph:
colors:
from:
name: coral
displayName: grey
to:
name: white
price: green
enabled: true
position:
top: 2
left: 0
height: 2
width: 2
refreshInterval: 30
updateInterval: 15
33 changes: 33 additions & 0 deletions _sample_configs/complex_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,25 @@ wtf:
refreshInterval: 300
secretFile: "~/.wtf/gcal/client_secret.json"
withLocation: true
gspreadsheets:
enabled: true
secretFile: "~/.wtf/gspreadsheets/client_secret.json"
refreshInterval: "300"
sheetId: "id_of_google_spreadsheet"
colors:
values: "green"
cells:
names:
- "Cell 1 name"
- "Cell 2 name"
addresses:
- "A1"
- "A2"
position:
top: 0
left: 0
width: 1
height: 1
git:
commitCount: 5
enabled: true
Expand Down Expand Up @@ -199,3 +218,17 @@ wtf:
width: 1
refreshInterval: 90
tempUnit: "C"
blockfolio:
enabled: true
displayHoldings: true
refreshInterval: 400
device_token: "device token here, you can find how to get it here https://github.com/bob6664569/blockfolio-api-client"
colors:
name: blue
grows: green
drop: red
position:
top: 3
left: 1
width: 1
height: 1
53 changes: 53 additions & 0 deletions _site/content/posts/modules/circleci.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
title: "CircleCI"
date: 2018-06-10T19:26:08-04:00
draft: false
---

Added in `v0.0.7`.

Displays build information for your CircleCI account.

<img src="/imgs/modules/circleci.png" width="609" height="150" alt="circleci screenshot" />

## Source Code

```bash
wtf/circleci/
```

## Required ENV Variables

<span class="caption">Key:</span> `WTF_CIRCLE_API_KEY` <br />
<span class="caption">Value:</span> Your <a href="https://circleci.com/account/api">CircleCI API</a>
token.

## Keyboard Commands

None.

## Configuration

```yaml
circleci:
enabled: true
position:
top: 4
left: 1
height: 1
width: 2
refreshInterval: 900
```
### Attributes
`enabled` <br />
Determines whether or not this module is executed and if its data displayed onscreen. <br />
Values: `true`, `false`.

`position` <br />
Defines where in the grid this module's widget will be displayed. <br />

`refreshInterval` <br />
How often, in seconds, this module will update its data. <br />
Values: A positive integer, `0..n`.
2 changes: 1 addition & 1 deletion _site/content/posts/modules/cryptocurrencies/bittrex.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Get the last 24 hour summary of cryptocurrencies market using [Bittrex](https://
wtf/cryptoexchanges/bittrex/
```

## Required ENV Vars
## Required ENV Variables

None.

Expand Down
Loading

0 comments on commit d1103aa

Please sign in to comment.