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

Fix references to old Github repo location with new one

This commit is contained in:
Anand Sudhir Prayaga 2018-11-28 14:47:06 +01:00
parent 17f6b49450
commit c8b6eb2b60
101 changed files with 186 additions and 186 deletions

View File

@ -5,9 +5,9 @@ go:
sudo: false sudo: false
before_install: before_install:
# Make sure travis builds work for forks # Make sure travis builds work for forks
- mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil
- test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true - test ! -d $GOPATH/src/github.com/wtfutil/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil/wtf || true
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/wtfutil/wtf
- cd $HOME/gopath/src/github.com/senorprogrammer/wtf - cd $HOME/gopath/src/github.com/wtfutil/wtf
script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests/... script: go get ./... && go get github.com/go-test/deep && go test -v github.com/wtfutil/wtf/wtf_tests/...

View File

@ -18,8 +18,8 @@
### 🐞 Fixed ### 🐞 Fixed
* Google Calendar module now displays all-day events ([#306](https://github.com/senorprogrammer/wtf/issues/306) by [@nicholas-eden](https://github.com/nicholas-eden)) * Google Calendar module now displays all-day events ([#306](https://github.com/wtfutil/wtf/issues/306) by [@nicholas-eden](https://github.com/nicholas-eden))
* Google Calendar configuration much improved ([#326](https://github.com/senorprogrammer/wtf/issues/326) by [@dvdmssmnn](https://github.com/dvdmssmnn)) * Google Calendar configuration much improved ([#326](https://github.com/wtfutil/wtf/issues/326) by [@dvdmssmnn](https://github.com/dvdmssmnn))
## 0.3.0 ## 0.3.0
@ -31,7 +31,7 @@
### 🐞 Fixed ### 🐞 Fixed
* Textfile module now watches files for changes ([#276](https://github.com/senorprogrammer/wtf/issues/276) by @senporprogrammer) * Textfile module now watches files for changes ([#276](https://github.com/wtfutil/wtf/issues/276) by @senporprogrammer)
* Nav shortcuts now use numbers rather than letters to allow the use of letters in widget menus * Nav shortcuts now use numbers rather than letters to allow the use of letters in widget menus
* Twitter widget no longer crashes app when closing the help modal * Twitter widget no longer crashes app when closing the help modal
@ -47,8 +47,8 @@
### 🐞 Fixed ### 🐞 Fixed
* Textfile syntax highlighting now included in stand-alone binary ([#261](https://github.com/senorprogrammer/wtf/issues/261) by @senporprogrammer) * Textfile syntax highlighting now included in stand-alone binary ([#261](https://github.com/wtfutil/wtf/issues/261) by @senporprogrammer)
* Config param now supports relative paths starting with `~` ([#295](https://github.com/senorprogrammer/wtf/issues/295) by @anandsudhir) * Config param now supports relative paths starting with `~` ([#295](https://github.com/wtfutil/wtf/issues/295) by @anandsudhir)
## 0.2.1 ## 0.2.1
#### Aug 17, 2018 #### Aug 17, 2018
@ -61,10 +61,10 @@
* Twitter screen name now configurable in configuration file (@senorprogrammer) * Twitter screen name now configurable in configuration file (@senorprogrammer)
* Gerrit module no longer dies if it can't connect to the server (@anandsudhir) * Gerrit module no longer dies if it can't connect to the server (@anandsudhir)
* Pretty Weather properly displays colours again (([#298](https://github.com/senorprogrammer/wtf/issues/298) by @bertl4398) * Pretty Weather properly displays colours again (([#298](https://github.com/wtfutil/wtf/issues/298) by @bertl4398)
* Clocks row colour configuration fixed (([#282](https://github.com/senorprogrammer/wtf/issues/282) by @anandsudhir) * Clocks row colour configuration fixed (([#282](https://github.com/wtfutil/wtf/issues/282) by @anandsudhir)
* Sigils no longer display when there's only one option (([#291](https://github.com/senorprogrammer/wtf/issues/291) by @anandsudhir) * Sigils no longer display when there's only one option (([#291](https://github.com/wtfutil/wtf/issues/291) by @anandsudhir)
* Jira module now responds to the "/" key (([#268](https://github.com/senorprogrammer/wtf/issues/268)) by @senorprogrammer) * Jira module now responds to the "/" key (([#268](https://github.com/wtfutil/wtf/issues/268)) by @senorprogrammer)
## 0.2.0 ## 0.2.0
#### Aug 3, 2018 #### Aug 3, 2018

View File

@ -1,9 +1,9 @@
[![All Contributors](https://img.shields.io/badge/all_contributors-53-orange.svg?style=flat-square)](#contributors) [![All Contributors](https://img.shields.io/badge/all_contributors-53-orange.svg?style=flat-square)](#contributors)
[![Build Status](https://travis-ci.com/senorprogrammer/wtf.svg?branch=master)](https://travis-ci.com/senorprogrammer/wtf) [![Build Status](https://travis-ci.com/wtfutil/wtf.svg?branch=master)](https://travis-ci.com/wtfutil/wtf)
[![Gitter Chat](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) [![Gitter Chat](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)
[![Twitter](https://img.shields.io/badge/follow-on%20twitter-blue.svg)](https://twitter.com/wtfutil) [![Twitter](https://img.shields.io/badge/follow-on%20twitter-blue.svg)](https://twitter.com/wtfutil)
[![Go Report Card](https://goreportcard.com/badge/github.com/senorprogrammer/wtf)](https://goreportcard.com/report/github.com/senorprogrammer/wtf) [![Go Report Card](https://goreportcard.com/badge/github.com/wtfutil/wtf)](https://goreportcard.com/report/github.com/wtfutil/wtf)
# WTF # WTF
@ -18,11 +18,11 @@ Follow [on Twitter](https://twitter.com/wtfutil) for news and latest updates.
## Quick Start ## Quick Start
[Download and run the latest binary](https://github.com/senorprogrammer/wtf/releases) or install from source: [Download and run the latest binary](https://github.com/wtfutil/wtf/releases) or install from source:
```bash ```bash
go get -u github.com/senorprogrammer/wtf go get -u github.com/wtfutil/wtf
cd $GOPATH/src/github.com/senorprogrammer/wtf cd $GOPATH/src/github.com/wtfutil/wtf
make install make install
make run make run
``` ```

View File

@ -108,7 +108,7 @@ wtf:
width: 3 width: 3
refreshInterval: 8 refreshInterval: 8
repositories: repositories:
- "/Users/chris/go/src/github.com/senorprogrammer/wtf" - "/Users/chris/go/src/github.com/wtfutil/wtf"
github: github:
enabled: true enabled: true
position: position:
@ -119,8 +119,8 @@ wtf:
refreshInterval: 300 refreshInterval: 300
repositories: repositories:
repo-name: "owner id" repo-name: "owner id"
wtf: "senorprogrammer" wtf: "wtfutil"
username: "senorprogrammer" username: "wtfutil"
jira: jira:
colors: colors:
rows: rows:

View File

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
// A Client represents the data required to connect to the BambooHR API // A Client represents the data required to connect to the BambooHR API

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
//"time" //"time"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Item struct { type Item struct {

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -9,7 +9,7 @@ import (
"math/rand" "math/rand"
"time" "time"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
var started = false var started = false

View File

@ -6,8 +6,8 @@ import (
"os" "os"
"github.com/olebedev/config" "github.com/olebedev/config"
"github.com/senorprogrammer/wtf/logger" "github.com/wtfutil/wtf/logger"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
// ConfigDirV1 defines the path to the first version of configuration. Do not use this // ConfigDirV1 defines the path to the first version of configuration. Do not use this
@ -127,7 +127,7 @@ func LoadConfigFile(filePath string) *config.Config {
cfg, err := config.ParseYamlFile(absPath) cfg, err := config.ParseYamlFile(absPath)
if err != nil { if err != nil {
fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.config/wtf\033[0m directory.\n See \033[1;34mhttps://github.com/senorprogrammer/wtf\033[0m for details.") fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.config/wtf\033[0m directory.\n See \033[1;34mhttps://github.com/wtfutil/wtf\033[0m for details.")
fmt.Printf(" %s\n", err.Error()) fmt.Printf(" %s\n", err.Error())
os.Exit(1) os.Exit(1)
} }

View File

@ -1,7 +1,7 @@
package checklist package checklist
import ( import (
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
// ChecklistItem is a module for creating generic checklist implementations // ChecklistItem is a module for creating generic checklist implementations

View File

@ -4,9 +4,9 @@ import (
"testing" "testing"
"github.com/olebedev/config" "github.com/olebedev/config"
. "github.com/senorprogrammer/wtf/checklist"
"github.com/senorprogrammer/wtf/wtf"
. "github.com/stretchr/testify/assert" . "github.com/stretchr/testify/assert"
. "github.com/wtfutil/wtf/checklist"
"github.com/wtfutil/wtf/wtf"
) )
/* -------------------- CheckMark -------------------- */ /* -------------------- CheckMark -------------------- */

View File

@ -10,7 +10,7 @@ import (
"net/url" "net/url"
"os" "os"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const APIEnvKey = "WTF_CIRCLE_API_KEY" const APIEnvKey = "WTF_CIRCLE_API_KEY"

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -4,7 +4,7 @@ import (
"sort" "sort"
"time" "time"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type ClockCollection struct { type ClockCollection struct {

View File

@ -3,7 +3,7 @@ package clocks
import ( import (
"fmt" "fmt"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func (widget *Widget) display(clocks []Clock, dateFormat string, timeFormat string) { func (widget *Widget) display(clocks []Clock, dateFormat string, timeFormat string) {

View File

@ -5,7 +5,7 @@ import (
"time" "time"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -6,7 +6,7 @@ import (
"strings" "strings"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type TextColors struct { type TextColors struct {

View File

@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -7,7 +7,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
var baseURL = "https://min-api.cryptocompare.com/data/price" var baseURL = "https://min-api.cryptocompare.com/data/price"

View File

@ -8,7 +8,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
var baseURL = "https://min-api.cryptocompare.com/data/top/exchanges" var baseURL = "https://min-api.cryptocompare.com/data/top/exchanges"

View File

@ -5,9 +5,9 @@ import (
"sync" "sync"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/cryptoexchanges/cryptolive/price" "github.com/wtfutil/wtf/cryptoexchanges/cryptolive/price"
"github.com/senorprogrammer/wtf/cryptoexchanges/cryptolive/toplist" "github.com/wtfutil/wtf/cryptoexchanges/cryptolive/toplist"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
// Widget define wtf widget to register widget later // Widget define wtf widget to register widget later

View File

@ -3,7 +3,7 @@ package datadog
import ( import (
"os" "os"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
datadog "github.com/zorkian/go-datadog-api" datadog "github.com/zorkian/go-datadog-api"
) )

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
datadog "github.com/zorkian/go-datadog-api" datadog "github.com/zorkian/go-datadog-api"
) )

View File

@ -6,8 +6,8 @@ import (
"path/filepath" "path/filepath"
goFlags "github.com/jessevdk/go-flags" goFlags "github.com/jessevdk/go-flags"
"github.com/senorprogrammer/wtf/help" "github.com/wtfutil/wtf/help"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Flags struct { type Flags struct {

View File

@ -3,7 +3,7 @@ package gcal
import ( import (
"time" "time"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"google.golang.org/api/calendar/v3" "google.golang.org/api/calendar/v3"
) )

View File

@ -18,8 +18,8 @@ import (
"sort" "sort"
"time" "time"
"github.com/senorprogrammer/wtf/cfg" "github.com/wtfutil/wtf/cfg"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"golang.org/x/oauth2" "golang.org/x/oauth2"
"golang.org/x/oauth2/google" "golang.org/x/oauth2/google"
"google.golang.org/api/calendar/v3" "google.golang.org/api/calendar/v3"

View File

@ -6,7 +6,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func (widget *Widget) sortedEvents() ([]*CalEvent, []*CalEvent) { func (widget *Widget) sortedEvents() ([]*CalEvent, []*CalEvent) {

View File

@ -5,7 +5,7 @@ import (
"time" "time"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -3,7 +3,7 @@ package gerrit
import ( import (
"fmt" "fmt"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func (widget *Widget) display() { func (widget *Widget) display() {

View File

@ -2,7 +2,7 @@ package gerrit
import ( import (
glb "github.com/andygrunwald/go-gerrit" glb "github.com/andygrunwald/go-gerrit"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type GerritProject struct { type GerritProject struct {

View File

@ -10,7 +10,7 @@ import (
glb "github.com/andygrunwald/go-gerrit" glb "github.com/andygrunwald/go-gerrit"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -5,7 +5,7 @@ import (
"strings" "strings"
"unicode/utf8" "unicode/utf8"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func (widget *Widget) display() { func (widget *Widget) display() {

View File

@ -5,7 +5,7 @@ import (
"os/exec" "os/exec"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type GitRepo struct { type GitRepo struct {

View File

@ -3,7 +3,7 @@ package git
import ( import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"io/ioutil" "io/ioutil"
"log" "log"
"sort" "sort"

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/google/go-github/github" "github.com/google/go-github/github"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func (widget *Widget) display() { func (widget *Widget) display() {

View File

@ -6,7 +6,7 @@ import (
"os" "os"
ghb "github.com/google/go-github/github" ghb "github.com/google/go-github/github"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"golang.org/x/oauth2" "golang.org/x/oauth2"
) )

View File

@ -3,7 +3,7 @@ package github
import ( import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -3,7 +3,7 @@ package gitlab
import ( import (
"fmt" "fmt"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func (widget *Widget) display() { func (widget *Widget) display() {

View File

@ -5,7 +5,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
glb "github.com/xanzy/go-gitlab" glb "github.com/xanzy/go-gitlab"
) )

View File

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/senorprogrammer/wtf/logger" "github.com/wtfutil/wtf/logger"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"io" "io"
"io/ioutil" "io/ioutil"
"net/http" "net/http"

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"strconv" "strconv"
) )

View File

@ -18,7 +18,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"golang.org/x/oauth2" "golang.org/x/oauth2"
"golang.org/x/oauth2/google" "golang.org/x/oauth2/google"
sheets "google.golang.org/api/sheets/v4" sheets "google.golang.org/api/sheets/v4"

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
sheets "google.golang.org/api/sheets/v4" sheets "google.golang.org/api/sheets/v4"
) )

View File

@ -8,7 +8,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -3,12 +3,12 @@ package help
import ( import (
"fmt" "fmt"
"github.com/senorprogrammer/wtf/git" "github.com/wtfutil/wtf/git"
"github.com/senorprogrammer/wtf/github" "github.com/wtfutil/wtf/github"
"github.com/senorprogrammer/wtf/textfile" "github.com/wtfutil/wtf/textfile"
"github.com/senorprogrammer/wtf/todo" "github.com/wtfutil/wtf/todo"
"github.com/senorprogrammer/wtf/todoist" "github.com/wtfutil/wtf/todoist"
"github.com/senorprogrammer/wtf/weatherservices/weather" "github.com/wtfutil/wtf/weatherservices/weather"
) )
func Display(moduleName string) { func Display(moduleName string) {

View File

@ -9,7 +9,7 @@ import (
"text/template" "text/template"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
// Widget widget struct // Widget widget struct

View File

@ -8,7 +8,7 @@ import (
"text/template" "text/template"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -10,7 +10,7 @@ import (
"net/url" "net/url"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func Create(jenkinsURL string, username string, apiKey string) (*View, error) { func Create(jenkinsURL string, username string, apiKey string) (*View, error) {

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"os" "os"
"strconv" "strconv"
) )

View File

@ -12,7 +12,7 @@ import (
"os" "os"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func IssuesFor(username string, projects []string, jql string) (*SearchResult, error) { func IssuesFor(username string, projects []string, jql string) (*SearchResult, error) {

View File

@ -5,7 +5,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"strconv" "strconv"
) )

View File

@ -9,7 +9,7 @@ import (
"strings" "strings"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const maxBufferSize int64 = 1024 const maxBufferSize int64 = 1024

88
main.go
View File

@ -11,50 +11,50 @@ import (
"github.com/pkg/profile" "github.com/pkg/profile"
"github.com/radovskyb/watcher" "github.com/radovskyb/watcher"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/bamboohr" "github.com/wtfutil/wtf/bamboohr"
"github.com/senorprogrammer/wtf/bargraph" "github.com/wtfutil/wtf/bargraph"
"github.com/senorprogrammer/wtf/cfg" "github.com/wtfutil/wtf/cfg"
"github.com/senorprogrammer/wtf/circleci" "github.com/wtfutil/wtf/circleci"
"github.com/senorprogrammer/wtf/clocks" "github.com/wtfutil/wtf/clocks"
"github.com/senorprogrammer/wtf/cmdrunner" "github.com/wtfutil/wtf/cmdrunner"
"github.com/senorprogrammer/wtf/cryptoexchanges/bittrex" "github.com/wtfutil/wtf/cryptoexchanges/bittrex"
"github.com/senorprogrammer/wtf/cryptoexchanges/blockfolio" "github.com/wtfutil/wtf/cryptoexchanges/blockfolio"
"github.com/senorprogrammer/wtf/cryptoexchanges/cryptolive" "github.com/wtfutil/wtf/cryptoexchanges/cryptolive"
"github.com/senorprogrammer/wtf/datadog" "github.com/wtfutil/wtf/datadog"
"github.com/senorprogrammer/wtf/flags" "github.com/wtfutil/wtf/flags"
"github.com/senorprogrammer/wtf/gcal" "github.com/wtfutil/wtf/gcal"
"github.com/senorprogrammer/wtf/gerrit" "github.com/wtfutil/wtf/gerrit"
"github.com/senorprogrammer/wtf/git" "github.com/wtfutil/wtf/git"
"github.com/senorprogrammer/wtf/github" "github.com/wtfutil/wtf/github"
"github.com/senorprogrammer/wtf/gitlab" "github.com/wtfutil/wtf/gitlab"
"github.com/senorprogrammer/wtf/gitter" "github.com/wtfutil/wtf/gitter"
"github.com/senorprogrammer/wtf/gspreadsheets" "github.com/wtfutil/wtf/gspreadsheets"
"github.com/senorprogrammer/wtf/hackernews" "github.com/wtfutil/wtf/hackernews"
"github.com/senorprogrammer/wtf/ipaddresses/ipapi" "github.com/wtfutil/wtf/ipaddresses/ipapi"
"github.com/senorprogrammer/wtf/ipaddresses/ipinfo" "github.com/wtfutil/wtf/ipaddresses/ipinfo"
"github.com/senorprogrammer/wtf/jenkins" "github.com/wtfutil/wtf/jenkins"
"github.com/senorprogrammer/wtf/jira" "github.com/wtfutil/wtf/jira"
"github.com/senorprogrammer/wtf/logger" "github.com/wtfutil/wtf/logger"
"github.com/senorprogrammer/wtf/mercurial" "github.com/wtfutil/wtf/mercurial"
"github.com/senorprogrammer/wtf/newrelic" "github.com/wtfutil/wtf/newrelic"
"github.com/senorprogrammer/wtf/opsgenie" "github.com/wtfutil/wtf/opsgenie"
"github.com/senorprogrammer/wtf/power" "github.com/wtfutil/wtf/power"
"github.com/senorprogrammer/wtf/resourceusage" "github.com/wtfutil/wtf/resourceusage"
"github.com/senorprogrammer/wtf/security" "github.com/wtfutil/wtf/security"
"github.com/senorprogrammer/wtf/spotify" "github.com/wtfutil/wtf/spotify"
"github.com/senorprogrammer/wtf/spotifyweb" "github.com/wtfutil/wtf/spotifyweb"
"github.com/senorprogrammer/wtf/status" "github.com/wtfutil/wtf/status"
"github.com/senorprogrammer/wtf/system" "github.com/wtfutil/wtf/system"
"github.com/senorprogrammer/wtf/textfile" "github.com/wtfutil/wtf/textfile"
"github.com/senorprogrammer/wtf/todo" "github.com/wtfutil/wtf/todo"
"github.com/senorprogrammer/wtf/todoist" "github.com/wtfutil/wtf/todoist"
"github.com/senorprogrammer/wtf/travisci" "github.com/wtfutil/wtf/travisci"
"github.com/senorprogrammer/wtf/trello" "github.com/wtfutil/wtf/trello"
"github.com/senorprogrammer/wtf/twitter" "github.com/wtfutil/wtf/twitter"
"github.com/senorprogrammer/wtf/weatherservices/prettyweather" "github.com/wtfutil/wtf/weatherservices/prettyweather"
"github.com/senorprogrammer/wtf/weatherservices/weather" "github.com/wtfutil/wtf/weatherservices/weather"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"github.com/senorprogrammer/wtf/zendesk" "github.com/wtfutil/wtf/zendesk"
) )
var focusTracker wtf.FocusTracker var focusTracker wtf.FocusTracker

View File

@ -5,7 +5,7 @@ import (
"strings" "strings"
"unicode/utf8" "unicode/utf8"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func (widget *Widget) display() { func (widget *Widget) display() {

View File

@ -7,7 +7,7 @@ import (
"path" "path"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type MercurialRepo struct { type MercurialRepo struct {

View File

@ -3,7 +3,7 @@ package mercurial
import ( import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -3,7 +3,7 @@ package newrelic
import ( import (
"os" "os"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
nr "github.com/yfronto/newrelic" nr "github.com/yfronto/newrelic"
) )

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
nr "github.com/yfronto/newrelic" nr "github.com/yfronto/newrelic"
) )

View File

@ -6,7 +6,7 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type OnCallResponse struct { type OnCallResponse struct {

View File

@ -5,7 +5,7 @@ import (
"strings" "strings"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const TimeRegExp = "^(?:\\d|[01]\\d|2[0-3]):[0-5]\\d" const TimeRegExp = "^(?:\\d|[01]\\d|2[0-3]):[0-5]\\d"

View File

@ -8,7 +8,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
var batteryState string var batteryState string

View File

@ -7,7 +7,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const SingleQuotesRegExp = "'(.*)'" const SingleQuotesRegExp = "'(.*)'"

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -4,9 +4,9 @@ import (
"code.cloudfoundry.org/bytefmt" "code.cloudfoundry.org/bytefmt"
"fmt" "fmt"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf"
"github.com/shirou/gopsutil/cpu" "github.com/shirou/gopsutil/cpu"
"github.com/shirou/gopsutil/mem" "github.com/shirou/gopsutil/mem"
"github.com/wtfutil/wtf/wtf"
"math" "math"
"time" "time"
) )

View File

@ -7,7 +7,7 @@ import (
"runtime" "runtime"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
/* -------------------- Exported Functions -------------------- */ /* -------------------- Exported Functions -------------------- */

View File

@ -5,7 +5,7 @@ package security
import ( import (
"os/exec" "os/exec"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func DnsServers() []string { func DnsServers() []string {

View File

@ -1,13 +1,13 @@
package security package security
import ( import (
"bytes"
"os/exec" "os/exec"
"os/user"
"runtime" "runtime"
"strings" "strings"
"bytes"
"os/user"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const osxFirewallCmd = "/usr/libexec/ApplicationFirewall/socketfilterfw" const osxFirewallCmd = "/usr/libexec/ApplicationFirewall/socketfilterfw"

View File

@ -9,7 +9,7 @@ import (
"runtime" "runtime"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
/* -------------------- Exported Functions -------------------- */ /* -------------------- Exported Functions -------------------- */

View File

@ -6,7 +6,7 @@ import (
"os/exec" "os/exec"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func LoggedInUsers() []string { func LoggedInUsers() []string {

View File

@ -7,7 +7,7 @@ import (
"strings" "strings"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -7,7 +7,7 @@ import (
"strings" "strings"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -5,7 +5,7 @@ import (
"runtime" "runtime"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
// https://github.com/yelinaung/wifi-name/blob/master/wifi-name.go // https://github.com/yelinaung/wifi-name/blob/master/wifi-name.go

View File

@ -6,8 +6,8 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf"
"github.com/sticreations/spotigopher/spotigopher" "github.com/sticreations/spotigopher/spotigopher"
"github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -9,8 +9,8 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/logger" "github.com/wtfutil/wtf/logger"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"github.com/zmb3/spotify" "github.com/zmb3/spotify"
) )

View File

@ -2,7 +2,7 @@ package status
import ( import (
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -7,7 +7,7 @@ import (
"runtime" "runtime"
"strings" "strings"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type SystemInfo struct { type SystemInfo struct {

View File

@ -5,7 +5,7 @@ import (
"time" "time"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -15,7 +15,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/radovskyb/watcher" "github.com/radovskyb/watcher"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -5,8 +5,8 @@ import (
"strconv" "strconv"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/checklist" "github.com/wtfutil/wtf/checklist"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const checkWidth = 4 const checkWidth = 4
@ -15,7 +15,7 @@ func (widget *Widget) display() {
str := "" str := ""
newList := checklist.NewChecklist() newList := checklist.NewChecklist()
offset := 0 offset := 0
for idx, item := range widget.list.UncheckedItems() { for idx, item := range widget.list.UncheckedItems() {
str = str + widget.formattedItemLine(idx, item, widget.list.SelectedItem(), widget.list.LongestLine()) str = str + widget.formattedItemLine(idx, item, widget.list.SelectedItem(), widget.list.LongestLine())
@ -24,7 +24,7 @@ func (widget *Widget) display() {
} }
for idx, item := range widget.list.CheckedItems() { for idx, item := range widget.list.CheckedItems() {
str = str + widget.formattedItemLine(idx + offset, item, widget.list.SelectedItem(), widget.list.LongestLine()) str = str + widget.formattedItemLine(idx+offset, item, widget.list.SelectedItem(), widget.list.LongestLine())
newList.Items = append(newList.Items, item) newList.Items = append(newList.Items, item)
} }

View File

@ -6,9 +6,9 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/cfg" "github.com/wtfutil/wtf/cfg"
"github.com/senorprogrammer/wtf/checklist" "github.com/wtfutil/wtf/checklist"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"
) )

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const checkWidth = 4 const checkWidth = 4

View File

@ -6,7 +6,7 @@ import (
"github.com/darkSasori/todoist" "github.com/darkSasori/todoist"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -10,7 +10,7 @@ import (
"net/url" "net/url"
"os" "os"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
var TRAVIS_HOSTS = map[bool]string{ var TRAVIS_HOSTS = map[bool]string{

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
"strings" "strings"
) )

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/adlio/trello" "github.com/adlio/trello"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func GetCards(client *trello.Client, lists map[string]string) (*SearchResult, error) { func GetCards(client *trello.Client, lists map[string]string) (*SearchResult, error) {

View File

@ -6,7 +6,7 @@ import (
"github.com/adlio/trello" "github.com/adlio/trello"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -6,7 +6,7 @@ import (
"os" "os"
"strconv" "strconv"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
/* NOTE: Currently single application ONLY /* NOTE: Currently single application ONLY

View File

@ -8,7 +8,7 @@ import (
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -24,7 +24,7 @@ ways. It also adds substantial functionality beyond termbox.
* [tview](https://github.com/rivo/tview) - rich interactive widgets for terminal UIs * [tview](https://github.com/rivo/tview) - rich interactive widgets for terminal UIs
* [tui-go](https://github.com/marcusolsson/tui-go) - UI library for terminal apps * [tui-go](https://github.com/marcusolsson/tui-go) - UI library for terminal apps
* [gomandelbrot](https://github.com/rgm3/gomandelbrot) - Mandelbrot! * [gomandelbrot](https://github.com/rgm3/gomandelbrot) - Mandelbrot!
* [WTF](https://github.com/senorprogrammer/wtf)- Personal information dashboard for your terminal * [WTF](https://github.com/wtfutil/wtf)- Personal information dashboard for your terminal
* [browsh](https://github.com/browsh-org/browsh) - A fully-modern text-based browser, rendering to TTY and browsers ([video](https://www.youtube.com/watch?v=HZq86XfBoRo)) * [browsh](https://github.com/browsh-org/browsh) - A fully-modern text-based browser, rendering to TTY and browsers ([video](https://www.youtube.com/watch?v=HZq86XfBoRo))
## Pure Go Terminfo Database ## Pure Go Terminfo Database

View File

@ -6,7 +6,7 @@ import (
"strings" "strings"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Widget struct { type Widget struct {

View File

@ -5,7 +5,7 @@ import (
"strings" "strings"
owm "github.com/briandowns/openweathermap" owm "github.com/briandowns/openweathermap"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
func (widget *Widget) display() { func (widget *Widget) display() {

View File

@ -6,7 +6,7 @@ import (
owm "github.com/briandowns/openweathermap" owm "github.com/briandowns/openweathermap"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/rivo/tview" "github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
const HelpText = ` const HelpText = `

View File

@ -3,8 +3,8 @@ package bargraph_test
import ( import (
"testing" "testing"
. "github.com/senorprogrammer/wtf/wtf"
. "github.com/stretchr/testify/assert" . "github.com/stretchr/testify/assert"
. "github.com/wtfutil/wtf/wtf"
) )
// MakeData - Create sample data // MakeData - Create sample data
@ -15,12 +15,12 @@ func makeData() []Bar {
var stats [lineCount]Bar var stats [lineCount]Bar
stats[0] = Bar{ stats[0] = Bar{
Label: "Jun 27, 2018", Label: "Jun 27, 2018",
Percent: 20, Percent: 20,
} }
stats[1] = Bar{ stats[1] = Bar{
Label: "Jul 09, 2018", Label: "Jul 09, 2018",
Percent: 80, Percent: 80,
} }
@ -35,6 +35,6 @@ func TestOutput(t *testing.T) {
Equal(t, Equal(t,
"Jun 27, 2018[[red]****[white] ] 20\nJul 09, 2018[[red]****************[white] ] 80\n", "Jun 27, 2018[[red]****[white] ] 20\nJul 09, 2018[[red]****************[white] ] 80\n",
result, result,
) )
} }

View File

@ -3,8 +3,8 @@ package wtf_tests
import ( import (
"testing" "testing"
. "github.com/senorprogrammer/wtf/wtf"
. "github.com/stretchr/testify/assert" . "github.com/stretchr/testify/assert"
. "github.com/wtfutil/wtf/wtf"
) )
func TestASCIItoTviewColors(t *testing.T) { func TestASCIItoTviewColors(t *testing.T) {

View File

@ -4,8 +4,8 @@ import (
"testing" "testing"
"time" "time"
. "github.com/senorprogrammer/wtf/wtf"
. "github.com/stretchr/testify/assert" . "github.com/stretchr/testify/assert"
. "github.com/wtfutil/wtf/wtf"
) )
func TestIsToday(t *testing.T) { func TestIsToday(t *testing.T) {

View File

@ -3,7 +3,7 @@ package wtf_tests
import ( import (
"testing" "testing"
. "github.com/senorprogrammer/wtf/wtf" . "github.com/wtfutil/wtf/wtf"
) )
func TestPosition(t *testing.T) { func TestPosition(t *testing.T) {

View File

@ -3,8 +3,8 @@ package wtf_tests
import ( import (
"testing" "testing"
. "github.com/senorprogrammer/wtf/wtf"
. "github.com/stretchr/testify/assert" . "github.com/stretchr/testify/assert"
. "github.com/wtfutil/wtf/wtf"
) )
/* -------------------- CenterText() -------------------- */ /* -------------------- CenterText() -------------------- */

View File

@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/senorprogrammer/wtf/wtf" "github.com/wtfutil/wtf/wtf"
) )
type Resource struct { type Resource struct {

Some files were not shown because too many files have changed in this diff Show More