mirror of
https://github.com/pushbits/server.git
synced 2025-06-22 04:17:25 +02:00
Adjust paths for new repository
This commit is contained in:
parent
434f594629
commit
ad56422838
19 changed files with 38 additions and 38 deletions
|
@ -1,6 +1,6 @@
|
|||
[](https://github.com/eikendev/pushbits/actions)
|
||||
[](https://github.com/pushbits/server/actions)
|
||||
[](https://hub.docker.com/r/eikendev/pushbits)
|
||||

|
||||

|
||||
|
||||
# PushBits
|
||||
|
||||
|
@ -98,9 +98,9 @@ Many thanks to [jmattheis](https://jmattheis.de/) for his well-structured code.
|
|||
|
||||
## Development
|
||||
|
||||
The source code is located on [GitHub](https://github.com/eikendev/pushbits).
|
||||
The source code is located on [GitHub](https://github.com/pushbits/server).
|
||||
You can retrieve it by checking out the repository as follows.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/eikendev/pushbits.git
|
||||
git clone https://github.com/pushbits/server.git
|
||||
```
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"log"
|
||||
"net/http"
|
||||
|
||||
"github.com/eikendev/pushbits/authentication"
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/authentication"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"errors"
|
||||
"net/http"
|
||||
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package api
|
||||
|
||||
import (
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/model"
|
||||
)
|
||||
|
||||
// The Database interface for encapsulating database access.
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/eikendev/pushbits/authentication"
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/authentication"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"log"
|
||||
"net/http"
|
||||
|
||||
"github.com/eikendev/pushbits/authentication"
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/authentication"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"errors"
|
||||
"net/http"
|
||||
|
||||
"github.com/eikendev/pushbits/authentication"
|
||||
"github.com/pushbits/server/authentication"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
|
12
app.go
12
app.go
|
@ -6,12 +6,12 @@ import (
|
|||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"github.com/eikendev/pushbits/authentication/credentials"
|
||||
"github.com/eikendev/pushbits/configuration"
|
||||
"github.com/eikendev/pushbits/database"
|
||||
"github.com/eikendev/pushbits/dispatcher"
|
||||
"github.com/eikendev/pushbits/router"
|
||||
"github.com/eikendev/pushbits/runner"
|
||||
"github.com/pushbits/server/authentication/credentials"
|
||||
"github.com/pushbits/server/configuration"
|
||||
"github.com/pushbits/server/database"
|
||||
"github.com/pushbits/server/dispatcher"
|
||||
"github.com/pushbits/server/router"
|
||||
"github.com/pushbits/server/runner"
|
||||
)
|
||||
|
||||
func setupCleanup(db *database.Database, dp *dispatcher.Dispatcher) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"errors"
|
||||
"net/http"
|
||||
|
||||
"github.com/eikendev/pushbits/authentication/credentials"
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/authentication/credentials"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"errors"
|
||||
"net/http"
|
||||
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@ package credentials
|
|||
import (
|
||||
"log"
|
||||
|
||||
"github.com/eikendev/pushbits/configuration"
|
||||
"github.com/pushbits/server/configuration"
|
||||
|
||||
"github.com/alexedwards/argon2id"
|
||||
)
|
||||
|
|
|
@ -3,8 +3,8 @@ package database
|
|||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/eikendev/pushbits/assert"
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/assert"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
|
|
@ -8,8 +8,8 @@ import (
|
|||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/eikendev/pushbits/authentication/credentials"
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/authentication/credentials"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"gorm.io/driver/mysql"
|
||||
"gorm.io/driver/sqlite"
|
||||
|
|
|
@ -3,8 +3,8 @@ package database
|
|||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/eikendev/pushbits/assert"
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/assert"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/model"
|
||||
|
||||
"github.com/matrix-org/gomatrix"
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/eikendev/pushbits/model"
|
||||
"github.com/pushbits/server/model"
|
||||
)
|
||||
|
||||
// SendNotification sends a notification to the specified user.
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/eikendev/pushbits
|
||||
module github.com/pushbits/server
|
||||
|
||||
go 1.14
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package model
|
|||
import (
|
||||
"log"
|
||||
|
||||
"github.com/eikendev/pushbits/authentication/credentials"
|
||||
"github.com/pushbits/server/authentication/credentials"
|
||||
)
|
||||
|
||||
// User holds information like the name, the secret, and the applications of a user.
|
||||
|
|
|
@ -3,11 +3,11 @@ package router
|
|||
import (
|
||||
"log"
|
||||
|
||||
"github.com/eikendev/pushbits/api"
|
||||
"github.com/eikendev/pushbits/authentication"
|
||||
"github.com/eikendev/pushbits/authentication/credentials"
|
||||
"github.com/eikendev/pushbits/database"
|
||||
"github.com/eikendev/pushbits/dispatcher"
|
||||
"github.com/pushbits/server/api"
|
||||
"github.com/pushbits/server/authentication"
|
||||
"github.com/pushbits/server/authentication/credentials"
|
||||
"github.com/pushbits/server/database"
|
||||
"github.com/pushbits/server/dispatcher"
|
||||
|
||||
"github.com/gin-contrib/location"
|
||||
"github.com/gin-gonic/gin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue