module: change path to github.com/beeper/groupme

Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
Sumner Evans 2022-10-21 09:48:03 -05:00
parent 07d2cae5b2
commit 4d37d06c58
No known key found for this signature in database
GPG Key ID: 8904527AB50022FD
23 changed files with 41 additions and 42 deletions

View File

@ -14,7 +14,7 @@ repos:
- id: go-imports-repo
args:
- "-local"
- "github.com/beeper/hungryserv"
- "github.com/beeper/groupme"
- "-w"
- id: go-vet-repo-mod
# - id: go-staticcheck-repo-mod

View File

@ -1,9 +1,7 @@
# Matrix GroupMe Go Bridge
A Matrix-GroupMe puppeting bridge
### [Wiki](https://github.com/karmanyaahm/matrix-groupme-go/wiki)
### [Features & Roadmap](https://github.com/karmanyaahm/matrix-groupme-go/blob/master/ROADMAP.md)
[Features & Roadmap](./ROADMAP.md)
## Discussion
Matrix room: [#groupme-go-bridge:malhotra.cc](https://matrix.to/#/#groupme-go-bridge:malhotra.cc)

View File

@ -24,9 +24,9 @@ import (
"strconv"
"strings"
"github.com/karmanyaahm/matrix-groupme-go/database"
"github.com/karmanyaahm/matrix-groupme-go/types"
whatsappExt "github.com/karmanyaahm/matrix-groupme-go/whatsapp-ext"
"github.com/beeper/groupme/database"
"github.com/beeper/groupme/types"
whatsappExt "github.com/beeper/groupme/whatsapp-ext"
"maunium.net/go/maulogger/v2"
"maunium.net/go/mautrix"

View File

@ -26,7 +26,7 @@ import (
"maunium.net/go/mautrix/event"
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/types"
"github.com/beeper/groupme/types"
)
type BridgeConfig struct {

View File

@ -31,7 +31,7 @@ import (
"maunium.net/go/mautrix/event"
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/database"
"github.com/beeper/groupme/database"
)
var NoSessionFound = crypto.NoSessionFound

View File

@ -40,7 +40,7 @@ func NewSQLCryptoStore(db *Database, userID id.UserID, ghostIDFormat string) *SQ
raw, _ := db.DB.DB()
return &SQLCryptoStore{
SQLCryptoStore: crypto.NewSQLCryptoStore(raw, db.dialect, "", "",
[]byte("github.com/karmanyaahm/matrix-groupme-go"),
[]byte("github.com/beeper/groupme"),
&cryptoLogger{db.log.Sub("CryptoStore")}),
UserID: userID,
GhostIDFormat: ghostIDFormat,

View File

@ -30,7 +30,7 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/schema"
"github.com/karmanyaahm/matrix-groupme-go/database/upgrades"
"github.com/beeper/groupme/database/upgrades"
)
type Database struct {

View File

@ -18,10 +18,10 @@ package database
import (
log "maunium.net/go/maulogger/v2"
"github.com/karmanyaahm/matrix-groupme-go/groupmeExt"
"github.com/karmanyaahm/matrix-groupme-go/types"
"maunium.net/go/mautrix/id"
"github.com/beeper/groupme/groupmeExt"
"github.com/beeper/groupme/types"
)
type MessageQuery struct {

View File

@ -24,7 +24,7 @@ import (
log "maunium.net/go/maulogger/v2"
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/types"
"github.com/beeper/groupme/types"
)
// JID is the puppet or the group

View File

@ -21,7 +21,7 @@ import (
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/types"
"github.com/beeper/groupme/types"
)
type PuppetQuery struct {

View File

@ -1,9 +1,10 @@
package database
import (
"github.com/karmanyaahm/matrix-groupme-go/types"
log "maunium.net/go/maulogger/v2"
"maunium.net/go/mautrix/id"
"github.com/beeper/groupme/types"
)
type ReactionQuery struct {

View File

@ -22,7 +22,7 @@ import (
log "maunium.net/go/maulogger/v2"
"github.com/karmanyaahm/matrix-groupme-go/types"
"github.com/beeper/groupme/types"
"maunium.net/go/mautrix/id"
)

View File

@ -24,7 +24,7 @@ import (
"maunium.net/go/mautrix/format"
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/types"
"github.com/beeper/groupme/types"
)
var italicRegex = regexp.MustCompile("([\\s>~*]|^)_(.+?)_([^a-zA-Z\\d]|$)")

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/karmanyaahm/matrix-groupme-go
module github.com/beeper/groupme
go 1.15

View File

@ -3,8 +3,8 @@ package groupmeExt
import (
"context"
"github.com/beeper/groupme/types"
"github.com/karmanyaahm/groupme"
"github.com/karmanyaahm/matrix-groupme-go/types"
)
type Client struct {

View File

@ -9,8 +9,8 @@ import (
"io/ioutil"
"net/http"
"github.com/beeper/groupme/types"
"github.com/karmanyaahm/groupme"
"github.com/karmanyaahm/matrix-groupme-go/types"
)
type Message struct{ groupme.Message }

View File

@ -34,10 +34,10 @@ import (
"maunium.net/go/mautrix/event"
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/config"
"github.com/karmanyaahm/matrix-groupme-go/database"
"github.com/karmanyaahm/matrix-groupme-go/database/upgrades"
"github.com/karmanyaahm/matrix-groupme-go/types"
"github.com/beeper/groupme/config"
"github.com/beeper/groupme/database"
"github.com/beeper/groupme/database/upgrades"
"github.com/beeper/groupme/types"
)
var (

View File

@ -30,7 +30,7 @@ import (
"maunium.net/go/mautrix/format"
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/database"
"github.com/beeper/groupme/database"
)
type MatrixHandler struct {

View File

@ -30,8 +30,8 @@ import (
"maunium.net/go/mautrix/event"
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/database"
"github.com/karmanyaahm/matrix-groupme-go/types"
"github.com/beeper/groupme/database"
"github.com/beeper/groupme/types"
)
type MetricsHandler struct {

View File

@ -55,10 +55,10 @@ import (
"maunium.net/go/mautrix/id"
"maunium.net/go/mautrix/pushrules"
"github.com/karmanyaahm/matrix-groupme-go/database"
"github.com/karmanyaahm/matrix-groupme-go/groupmeExt"
"github.com/karmanyaahm/matrix-groupme-go/types"
whatsappExt "github.com/karmanyaahm/matrix-groupme-go/whatsapp-ext"
"github.com/beeper/groupme/database"
"github.com/beeper/groupme/groupmeExt"
"github.com/beeper/groupme/types"
whatsappExt "github.com/beeper/groupme/whatsapp-ext"
)
func (bridge *Bridge) GetPortalByMXID(mxid id.RoomID) *Portal {

View File

@ -28,10 +28,10 @@ import (
"maunium.net/go/mautrix/appservice"
"maunium.net/go/mautrix/id"
"github.com/karmanyaahm/matrix-groupme-go/database"
"github.com/karmanyaahm/matrix-groupme-go/groupmeExt"
"github.com/karmanyaahm/matrix-groupme-go/types"
whatsappExt "github.com/karmanyaahm/matrix-groupme-go/whatsapp-ext"
"github.com/beeper/groupme/database"
"github.com/beeper/groupme/groupmeExt"
"github.com/beeper/groupme/types"
whatsappExt "github.com/beeper/groupme/whatsapp-ext"
)
var userIDRegex *regexp.Regexp

View File

@ -34,11 +34,11 @@ import (
"maunium.net/go/mautrix/format"
"maunium.net/go/mautrix/id"
"github.com/beeper/groupme/database"
"github.com/beeper/groupme/groupmeExt"
"github.com/beeper/groupme/types"
whatsappExt "github.com/beeper/groupme/whatsapp-ext"
"github.com/karmanyaahm/groupme"
"github.com/karmanyaahm/matrix-groupme-go/database"
"github.com/karmanyaahm/matrix-groupme-go/groupmeExt"
"github.com/karmanyaahm/matrix-groupme-go/types"
whatsappExt "github.com/karmanyaahm/matrix-groupme-go/whatsapp-ext"
)
type User struct {

View File

@ -17,7 +17,7 @@
package whatsappExt
import (
"github.com/karmanyaahm/matrix-groupme-go/types"
"github.com/beeper/groupme/types"
)
type CreateGroupResponse struct {