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
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
- mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil
- 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/wtfutil/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
* 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 configuration much improved ([#326](https://github.com/senorprogrammer/wtf/issues/326) by [@dvdmssmnn](https://github.com/dvdmssmnn))
* 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/wtfutil/wtf/issues/326) by [@dvdmssmnn](https://github.com/dvdmssmnn))
## 0.3.0
@ -31,7 +31,7 @@
### 🐞 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
* Twitter widget no longer crashes app when closing the help modal
@ -47,8 +47,8 @@
### 🐞 Fixed
* Textfile syntax highlighting now included in stand-alone binary ([#261](https://github.com/senorprogrammer/wtf/issues/261) by @senporprogrammer)
* Config param now supports relative paths starting with `~` ([#295](https://github.com/senorprogrammer/wtf/issues/295) by @anandsudhir)
* 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/wtfutil/wtf/issues/295) by @anandsudhir)
## 0.2.1
#### Aug 17, 2018
@ -61,10 +61,10 @@
* Twitter screen name now configurable in configuration file (@senorprogrammer)
* 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)
* Clocks row colour configuration fixed (([#282](https://github.com/senorprogrammer/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)
* Jira module now responds to the "/" key (([#268](https://github.com/senorprogrammer/wtf/issues/268)) by @senorprogrammer)
* 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/wtfutil/wtf/issues/282) 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/wtfutil/wtf/issues/268)) by @senorprogrammer)
## 0.2.0
#### 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)
[![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)
[![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
@ -18,11 +18,11 @@ Follow [on Twitter](https://twitter.com/wtfutil) for news and latest updates.
## 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
go get -u github.com/senorprogrammer/wtf
cd $GOPATH/src/github.com/senorprogrammer/wtf
go get -u github.com/wtfutil/wtf
cd $GOPATH/src/github.com/wtfutil/wtf
make install
make run
```

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,8 +6,8 @@ import (
"os"
"github.com/olebedev/config"
"github.com/senorprogrammer/wtf/logger"
"github.com/senorprogrammer/wtf/wtf"
"github.com/wtfutil/wtf/logger"
"github.com/wtfutil/wtf/wtf"
)
// 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)
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())
os.Exit(1)
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

88
main.go
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,8 +5,8 @@ import (
"strconv"
"github.com/rivo/tview"
"github.com/senorprogrammer/wtf/checklist"
"github.com/senorprogrammer/wtf/wtf"
"github.com/wtfutil/wtf/checklist"
"github.com/wtfutil/wtf/wtf"
)
const checkWidth = 4
@ -15,7 +15,7 @@ func (widget *Widget) display() {
str := ""
newList := checklist.NewChecklist()
offset := 0
offset := 0
for idx, item := range widget.list.UncheckedItems() {
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() {
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)
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@ import (
"fmt"
"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) {

View File

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

View File

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

View File

@ -8,7 +8,7 @@ import (
"github.com/dustin/go-humanize"
"github.com/gdamore/tcell"
"github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf"
"github.com/wtfutil/wtf/wtf"
)
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
* [tui-go](https://github.com/marcusolsson/tui-go) - UI library for terminal apps
* [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))
## Pure Go Terminfo Database

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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