Skip to content

Commit 12bf117

Browse files
Release v0.2.3
2 parents da4c37f + 142fd5e commit 12bf117

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+381
-801
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: 1.16
18+
go-version: 1.17
1919

2020
- name: Fix go.sum for dependabot branches
2121
if: ${{ startsWith(github.ref, 'refs/heads/dependabot/go_modules/') }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ jobs:
2222

2323
- name: Checkout master
2424
run: |
25-
git clone https://github.com/47-11/spotifete.git ./
25+
git clone https://github.com/partyoffice/spotifete.git ./
2626
git checkout -f master
2727
2828
- name: Create release tag
2929
run: |
3030
git tag v${{ github.event.inputs.version }}
31-
git push https://Nikos410:${{ secrets.GITHUB_TOKEN }}@github.com/47-11/spotifete.git v${{ github.event.inputs.version }}
31+
git push https://Nikos410:${{ secrets.GITHUB_TOKEN }}@github.com/partyoffice/spotifete.git v${{ github.event.inputs.version }}
3232
3333
- name: Merge master back into develop
3434
run: |
3535
git checkout -f develop
3636
git merge --ff-only master
37-
git push https://Nikos410:${{ secrets.GITHUB_TOKEN }}@github.com/47-11/spotifete.git develop
37+
git push https://Nikos410:${{ secrets.GITHUB_TOKEN }}@github.com/partyoffice/spotifete.git develop
3838
3939
- name: Set up Go
4040
uses: actions/setup-go@v2
4141
with:
42-
go-version: 1.16
42+
go-version: 1.17
4343

4444
- name: Build executable
4545
run: CGO_ENABLED=0 go build -v -o ./ ./...

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

33
Copyright (c) 2020 47-11
4+
Copyright (c) 2021 partyoffice
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

authentication/cookie.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package authentication
22

33
import (
44
"errors"
5-
"github.com/47-11/spotifete/database/model"
5+
"net/http"
6+
67
"github.com/getsentry/sentry-go"
78
"github.com/gin-gonic/gin"
89
"github.com/google/logger"
9-
"net/http"
10+
"github.com/partyoffice/spotifete/database/model"
1011
)
1112

1213
const sessionCookieName = "SF_SESSION_ID"

authentication/session.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package authentication
22

33
import (
44
"crypto/rand"
5-
"github.com/47-11/spotifete/database"
6-
"github.com/47-11/spotifete/database/model"
7-
. "github.com/47-11/spotifete/shared"
85
"math/big"
6+
7+
"github.com/partyoffice/spotifete/database"
8+
"github.com/partyoffice/spotifete/database/model"
9+
. "github.com/partyoffice/spotifete/shared"
910
)
1011

1112
var letterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")

authentication/spotify.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
package authentication
22

33
import (
4-
"github.com/47-11/spotifete/config"
5-
"github.com/47-11/spotifete/database/model"
6-
. "github.com/47-11/spotifete/shared"
4+
"net/http"
5+
"sync"
6+
77
"github.com/gin-gonic/gin"
8+
"github.com/partyoffice/spotifete/config"
9+
"github.com/partyoffice/spotifete/database/model"
10+
. "github.com/partyoffice/spotifete/shared"
811
"github.com/zmb3/spotify"
912
"golang.org/x/oauth2"
10-
"net/http"
11-
"sync"
1213
)
1314

1415
func NewClientForToken(token *oauth2.Token) spotify.Client {

database/database.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
package database
22

33
import (
4-
"github.com/47-11/spotifete/config"
5-
"github.com/47-11/spotifete/logging"
4+
"io"
5+
"log"
6+
"os"
7+
"sync"
8+
"time"
9+
610
_ "github.com/golang-migrate/migrate/v4/database/postgres"
711
_ "github.com/golang-migrate/migrate/v4/source/file"
812
"github.com/google/logger"
13+
"github.com/partyoffice/spotifete/config"
14+
"github.com/partyoffice/spotifete/logging"
915
"gorm.io/driver/postgres"
1016
"gorm.io/gorm"
1117
gormLogger "gorm.io/gorm/logger"
12-
"io"
13-
"log"
14-
"os"
15-
"sync"
16-
"time"
1718
)
1819

1920
var connection *gorm.DB

database/model/playlistMetadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package model
22

33
import (
4-
"github.com/47-11/spotifete/shared"
4+
"github.com/partyoffice/spotifete/shared"
55
"github.com/zmb3/spotify"
66
)
77

database/model/trackMetadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package model
22

33
import (
4-
"github.com/47-11/spotifete/shared"
4+
"github.com/partyoffice/spotifete/shared"
55
"github.com/zmb3/spotify"
66
"strings"
77
)

go.mod

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
module github.com/47-11/spotifete
1+
module github.com/partyoffice/spotifete
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3 // indirect
77
github.com/containerd/containerd v1.5.0-beta.1 // indirect
8-
github.com/coreos/bbolt v1.3.2 // indirect
9-
github.com/coreos/etcd v3.3.13+incompatible // indirect
108
github.com/fsnotify/fsnotify v1.5.1 // indirect
119
github.com/getsentry/sentry-go v0.11.0
1210
github.com/gin-contrib/cors v1.3.1
@@ -17,26 +15,51 @@ require (
1715
github.com/hashicorp/errwrap v1.1.0 // indirect
1816
github.com/hashicorp/go-multierror v1.1.1 // indirect
1917
github.com/jackc/pgx/v4 v4.13.0 // indirect
18+
github.com/json-iterator/go v1.1.12 // indirect
2019
github.com/leodido/go-urn v1.2.1 // indirect
21-
github.com/mattn/go-isatty v0.0.13 // indirect
20+
github.com/lib/pq v1.10.3 // indirect
21+
github.com/mattn/go-isatty v0.0.14 // indirect
2222
github.com/mitchellh/mapstructure v1.4.1 // indirect
2323
github.com/patrickmn/go-cache v2.1.0+incompatible
24-
github.com/prometheus/tsdb v0.7.1 // indirect
24+
github.com/pelletier/go-toml v1.9.4 // indirect
2525
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
2626
github.com/spf13/cast v1.4.1 // indirect
2727
github.com/spf13/jwalterweatherman v1.1.0 // indirect
2828
github.com/spf13/viper v1.8.1
29-
github.com/ugorji/go v1.2.6 // indirect
3029
github.com/zmb3/spotify v1.3.0
3130
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
32-
golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect
31+
golang.org/x/net v0.0.0-20210908191846-a5e095526f91 // indirect
3332
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
34-
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
33+
golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0 // indirect
3534
golang.org/x/text v0.3.7 // indirect
3635
google.golang.org/appengine v1.6.7 // indirect
3736
google.golang.org/protobuf v1.27.1 // indirect
38-
gopkg.in/ini.v1 v1.62.0 // indirect
37+
gopkg.in/ini.v1 v1.63.0 // indirect
3938
gopkg.in/yaml.v2 v2.4.0 // indirect
40-
gorm.io/driver/postgres v1.1.0
41-
gorm.io/gorm v1.21.14
39+
gorm.io/driver/postgres v1.1.1
40+
gorm.io/gorm v1.21.15
41+
)
42+
43+
require (
44+
github.com/gin-contrib/sse v0.1.0 // indirect
45+
github.com/go-playground/locales v0.14.0 // indirect
46+
github.com/go-playground/universal-translator v0.18.0 // indirect
47+
github.com/golang/protobuf v1.5.2 // indirect
48+
github.com/hashicorp/hcl v1.0.0 // indirect
49+
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
50+
github.com/jackc/pgconn v1.10.0 // indirect
51+
github.com/jackc/pgio v1.0.0 // indirect
52+
github.com/jackc/pgpassfile v1.0.0 // indirect
53+
github.com/jackc/pgproto3/v2 v2.1.1 // indirect
54+
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
55+
github.com/jackc/pgtype v1.8.1 // indirect
56+
github.com/jinzhu/inflection v1.0.0 // indirect
57+
github.com/jinzhu/now v1.1.2 // indirect
58+
github.com/magiconair/properties v1.8.5 // indirect
59+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
60+
github.com/modern-go/reflect2 v1.0.2 // indirect
61+
github.com/spf13/afero v1.6.0 // indirect
62+
github.com/spf13/pflag v1.0.5 // indirect
63+
github.com/subosito/gotenv v1.2.0 // indirect
64+
github.com/ugorji/go/codec v1.2.6 // indirect
4265
)

0 commit comments

Comments
 (0)