From 6fe4f8b60758678f84a7cb017948e6ad60857c38 Mon Sep 17 00:00:00 2001 From: Erhan Yakut <yakuter@gmail.com> Date: Sun, 5 Jul 2020 22:32:44 +0300 Subject: [PATCH] changed pass-wall to passwall --- CONTRIBUTING-TR.md | 8 +-- CONTRIBUTING.md | 8 +-- README.md | 66 ++++++------------- app.json | 2 +- cmd/passwall-server/main.go | 8 +-- go.mod | 2 +- internal/api/auth.go | 6 +- internal/api/bank_account.go | 6 +- internal/api/credit_card.go | 6 +- internal/api/email.go | 6 +- internal/api/health.go | 2 +- internal/api/health_test.go | 4 +- internal/api/helper.go | 2 +- internal/api/login.go | 6 +- internal/api/login_test.go | 4 +- internal/api/note.go | 6 +- internal/api/passwords.go | 6 +- internal/api/server.go | 6 +- internal/api/system.go | 6 +- internal/api/user.go | 6 +- internal/app/auth.go | 2 +- internal/app/bank_account.go | 4 +- internal/app/credit_card.go | 4 +- internal/app/email.go | 4 +- internal/app/login.go | 4 +- internal/app/migration.go | 2 +- internal/app/note.go | 4 +- internal/app/password.go | 4 +- internal/app/server.go | 4 +- internal/app/user.go | 4 +- internal/router/auth.go | 4 +- internal/router/router.go | 4 +- .../bankaccount/bank_account_repository.go | 2 +- .../creditcard/credit_card_repository.go | 2 +- internal/storage/database.go | 18 ++--- internal/storage/email/email_repository.go | 2 +- internal/storage/login/login_repository.go | 2 +- .../storage/login/login_repository_test.go | 2 +- internal/storage/note/note_repository.go | 2 +- internal/storage/repository.go | 2 +- internal/storage/server/server_repository.go | 2 +- internal/storage/token/token_repository.go | 2 +- internal/storage/user/user_repository.go | 2 +- public/index.html | 2 +- 44 files changed, 112 insertions(+), 138 deletions(-) diff --git a/CONTRIBUTING-TR.md b/CONTRIBUTING-TR.md index ea8c475..255669b 100644 --- a/CONTRIBUTING-TR.md +++ b/CONTRIBUTING-TR.md @@ -7,17 +7,17 @@ PassWall'e yardım etmek mi istiyorsun? Mükemmel, aramıza hoşgeldin. Bu dokü ------------ - "Nasıl yapılır?" soruları için [StackOverflow](https://stackoverflow.com/questions/tagged/passwall). -- Hata (Bug) bildirimi, özellik (feature) önerisi veya proje kaynak kodu için [GitHub](https://github.com/pass-wall/passwall-server/issues). +- Hata (Bug) bildirimi, özellik (feature) önerisi veya proje kaynak kodu için [GitHub](https://github.com/passwall/passwall-server/issues). - Konu tartışmaları için [Slack](https://passwall.slack.com). - E-posta ile iletişim için [hello@passwall.io](mailto:hello@passwall.io). Katkıda bulunacak bir şeyi nasıl bulabilirim ? ------------ -1. Öncelikle katkıda bulunulacak her konunun bir issue'su olması gerektiğini unutmayın. Bunun için [issue](https://github.com/pass-wall/passwall-server/issues) sayfasına bakabilirsiniz. +1. Öncelikle katkıda bulunulacak her konunun bir issue'su olması gerektiğini unutmayın. Bunun için [issue](https://github.com/passwall/passwall-server/issues) sayfasına bakabilirsiniz. -1. Issue sayfasında öncelikle [help wanted](https://github.com/pass-wall/passwall-server/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) issue'larına bakın. +1. Issue sayfasında öncelikle [help wanted](https://github.com/passwall/passwall-server/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) issue'larına bakın. -1. Sonrasında koddaki [// TODO:](https://github.com/pass-wall/passwall-server/search?q=TODO&unscoped_q=TODO) kısımlarını düzeltmeyi deneyebilirsiniz. +1. Sonrasında koddaki [// TODO:](https://github.com/passwall/passwall-server/search?q=TODO&unscoped_q=TODO) kısımlarını düzeltmeyi deneyebilirsiniz. 1. Eğer yeni bir özellik (feature) olarak iyi bir fikriniz varsa veya bir hata (bug) bulursanız bu konuda bir konu (issue) açmaktan çekinmeyin ve eğer konu üzerinde çalışmak istiyorsanız mutlaka belirtin. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7723d81..d9efe7b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,16 +8,16 @@ Get in touch ------------ - Ask usage questions ("How do I?") on [StackOverflow](https://stackoverflow.com/questions/tagged/passwall). -- Report bugs or suggest features on [GitHub issues](https://github.com/pass-wall/passwall-server/issues). +- Report bugs or suggest features on [GitHub issues](https://github.com/passwall/passwall-server/issues). - Discuss topics on [Slack](https://passwall.slack.com). - Email us at [hello@passwall.io](mailto:hello@passwall.io). How to find something to contribute? ------------ -1. First look for [help wanted](https://github.com/pass-wall/passwall-server/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) issues. +1. First look for [help wanted](https://github.com/passwall/passwall-server/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) issues. -1. Then you can try to fix [// TODO:](https://github.com/pass-wall/passwall-server/search?q=TODO&unscoped_q=TODO)'s in the code. +1. Then you can try to fix [// TODO:](https://github.com/passwall/passwall-server/search?q=TODO&unscoped_q=TODO)'s in the code. 1. If you have a good idea as a `feature` or find a `bug`, feel free to open an issue about it and tell us that you want to work on this subject. @@ -90,7 +90,7 @@ on how to send one :) # Navigate to the newly cloned directory cd <repo-name> # Assign the original repo to a remote called "upstream" - git remote add upstream https://github.com/pass-wall/<repo-name> + git remote add upstream https://github.com/passwall/<repo-name> ``` 2. If you cloned a while ago, get the latest changes from upstream: diff --git a/README.md b/README.md index 1ad7df4..20824fd 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ **PassWall Server** is the core backend for open source password manager PassWall platform. Using this server, you can safely store your passwords and access them from anywhere. -[](https://github.com/pass-wall/passwall-server/blob/master/LICENSE) -[](https://github.com/pass-wall/passwall-server/issues) -[](https://travis-ci.org/pass-wall/passwall-server) -[](https://coveralls.io/github/pass-wall/passwall-server?branch=master) +[](https://github.com/passwall/passwall-server/blob/master/LICENSE) +[](https://github.com/passwall/passwall-server/issues) +[](https://travis-ci.org/passwall/passwall-server) +[](https://coveralls.io/github/passwall/passwall-server?branch=master) [](https://hub.docker.com/u/passwall/) [](https://heroku.com/deploy) @@ -14,41 +14,24 @@ I promise all the coffee you have ordered will be spent on this project [](https://www.patreon.com/bePatron?u=33541638) ## Clients -PassWall can be used by these clients or you can write your own client by using [API Documentation](https://documenter.getpostman.com/view/3658426/SzYbyHXj) -[PassWall Web](https://github.com/pass-wall/passwall-web) -[PassWall Desktop](https://github.com/pass-wall/passwall-desktop) -[PassWall Mobile](https://github.com/pass-wall/passwall-mobile) +**PassWall Server** can be used with [**PassWall Desktop**](https://github.com/passwall/passwall-desktop) -The screenshot of Passwall Desktop working with Passwall Server is as follows - +<p align="center"> + <img src="https://www.yakuter.com/wp-content/yuklemeler/passwall-screenshot.png" alt="" width="800" height="450" /> +</p> ## API Documentation -API documentation available at: -[Click to see at Public Postman](https://documenter.getpostman.com/view/3658426/SzYbyHXj) - -## DEMO -**Address:** https://passwall-server.herokuapp.com -**Username:** passwall -**Password:** password - -## Database supoort -PassWall works with **PostgreSQL** databases. Settings required for connection to database are in **./store/config.yml**. - -## What's possible with PassWall Server? -Currently, this project is focused on storing URL, username and password which is basically called **Login** at PassWall. - -An admin can; -- View and search logins -- Create login with automatically generated strong password -- Update login -- Delete login -- Import logins from other password managers -- Export logins as CSV format - -## Authentication and Security -This server uses **JWT Token** to secure endpoints. So user must generate token with **/auth/signin** first. Then with generated token, all endpoints in API documentation can be reachable. - -User information for signin is in **config.yml** file. +API documentation available at [Postman Public Directory](https://documenter.getpostman.com/view/3658426/SzYbyHXj) + +## Database support +PassWall works with **PostgreSQL** databases. + +## Configuration +When PassWall Server starts, it automatically generates **config.yml** in the folders below: +**MacOS:** $HOME/Library/Application Support/passwall-server +**Windows:** $APPDATA/passwall-server +**Linux:** $HOME/.config/passwall-server + ## Security 1. PassWall uses The Advanced Encryption Standard (AES) encryption algorithm with Galois/Counter Mode (GCM) symmetric-key cryptographic mode. Passwords encrypted with AES can only be decrypted with the passphrase defined in the **config.yml** file. @@ -90,11 +73,9 @@ These environment variables are accepted: Install Go to your computer. Pull the server repo. Execute the command in server folder. ``` -go run ./cmd/passwall-server/main.go +go run ./cmd/passwall-server ``` -The server uses config file end environment variables. If you want to set variables manually, just change **config-sample.yml** to **config.yml** in **store** folder. - ## Docker ``` @@ -107,13 +88,6 @@ cp ./store/config-sample.yml ./store/config.yml docker run --name passwall-server --rm -v $(pwd)/store:/app/store -p 3625:3625 passwall/passwall-server ``` -## Import -There are different kinds of password managers. Almost all of them can export login information as CSV file. Here is an example CSV file (let's say example.csv). - - -You need to fill the import form as below picture. - - ## Hello Contributors 1. Don't send too much commit at once. It will be easier for us to do a code review. diff --git a/app.json b/app.json index aa9cd51..826298c 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "name": "Passwall API", "description": "Open Source Password Manager API", - "repository": "https://github.com/pass-wall/passwall-server", + "repository": "https://github.com/passwall/passwall-server", "logo": "https://avatars1.githubusercontent.com/u/63540685", "keywords": ["go", "golang", "api","password manager","password","manager"] } diff --git a/cmd/passwall-server/main.go b/cmd/passwall-server/main.go index 68a6c3a..848c454 100644 --- a/cmd/passwall-server/main.go +++ b/cmd/passwall-server/main.go @@ -7,10 +7,10 @@ import ( "time" _ "github.com/heroku/x/hmetrics/onload" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/config" - "github.com/pass-wall/passwall-server/internal/router" - "github.com/pass-wall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/config" + "github.com/passwall/passwall-server/internal/router" + "github.com/passwall/passwall-server/internal/storage" ) func main() { diff --git a/go.mod b/go.mod index 5a8a5fb..4b9b72c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pass-wall/passwall-server +module github.com/passwall/passwall-server go 1.14 diff --git a/internal/api/auth.go b/internal/api/auth.go index d744717..7e1cc47 100644 --- a/internal/api/auth.go +++ b/internal/api/auth.go @@ -7,9 +7,9 @@ import ( "github.com/dgrijalva/jwt-go" "github.com/go-playground/validator/v10" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" ) var ( diff --git a/internal/api/bank_account.go b/internal/api/bank_account.go index c72cdde..71e0451 100644 --- a/internal/api/bank_account.go +++ b/internal/api/bank_account.go @@ -5,9 +5,9 @@ import ( "net/http" "strconv" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/gorilla/mux" ) diff --git a/internal/api/credit_card.go b/internal/api/credit_card.go index 7505e87..6b41f3a 100644 --- a/internal/api/credit_card.go +++ b/internal/api/credit_card.go @@ -5,9 +5,9 @@ import ( "net/http" "strconv" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/gorilla/mux" ) diff --git a/internal/api/email.go b/internal/api/email.go index 26f569f..befab63 100644 --- a/internal/api/email.go +++ b/internal/api/email.go @@ -5,9 +5,9 @@ import ( "net/http" "strconv" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/gorilla/mux" ) diff --git a/internal/api/health.go b/internal/api/health.go index 9486ac5..36b3ffb 100644 --- a/internal/api/health.go +++ b/internal/api/health.go @@ -3,7 +3,7 @@ package api import ( "net/http" - "github.com/pass-wall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/internal/storage" ) var ( diff --git a/internal/api/health_test.go b/internal/api/health_test.go index 1da0661..3ede2de 100644 --- a/internal/api/health_test.go +++ b/internal/api/health_test.go @@ -6,8 +6,8 @@ import ( "net/http/httptest" "testing" - "github.com/pass-wall/passwall-server/internal/config" - "github.com/pass-wall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/internal/config" + "github.com/passwall/passwall-server/internal/storage" ) func TestHealthCheck(t *testing.T) { diff --git a/internal/api/helper.go b/internal/api/helper.go index 4f1ac07..3152e6b 100644 --- a/internal/api/helper.go +++ b/internal/api/helper.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "github.com/pass-wall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/app" ) // SetArgs ... diff --git a/internal/api/login.go b/internal/api/login.go index e33f7e1..8c3586c 100644 --- a/internal/api/login.go +++ b/internal/api/login.go @@ -6,9 +6,9 @@ import ( "net/http" "strconv" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/gorilla/mux" ) diff --git a/internal/api/login_test.go b/internal/api/login_test.go index 59f53cd..4e533cb 100644 --- a/internal/api/login_test.go +++ b/internal/api/login_test.go @@ -14,8 +14,8 @@ import ( "github.com/go-test/deep" "github.com/gorilla/mux" "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/stretchr/testify/assert" ) diff --git a/internal/api/note.go b/internal/api/note.go index 9d9e3db..ca26bca 100644 --- a/internal/api/note.go +++ b/internal/api/note.go @@ -5,9 +5,9 @@ import ( "net/http" "strconv" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/gorilla/mux" ) diff --git a/internal/api/passwords.go b/internal/api/passwords.go index 042b1a6..9a54d99 100644 --- a/internal/api/passwords.go +++ b/internal/api/passwords.go @@ -4,9 +4,9 @@ import ( "encoding/json" "net/http" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/spf13/viper" ) diff --git a/internal/api/server.go b/internal/api/server.go index e773f76..791b38c 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -6,9 +6,9 @@ import ( "net/http" "strconv" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/gorilla/mux" ) diff --git a/internal/api/system.go b/internal/api/system.go index 067964b..24a0645 100644 --- a/internal/api/system.go +++ b/internal/api/system.go @@ -10,9 +10,9 @@ import ( "path/filepath" "github.com/gorilla/mux" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/spf13/viper" "gopkg.in/yaml.v2" ) diff --git a/internal/api/user.go b/internal/api/user.go index 21028b3..84d5ad0 100644 --- a/internal/api/user.go +++ b/internal/api/user.go @@ -6,9 +6,9 @@ import ( "strconv" "github.com/go-playground/validator/v10" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/gorilla/mux" ) diff --git a/internal/app/auth.go b/internal/app/auth.go index 70d3e52..e467ff1 100644 --- a/internal/app/auth.go +++ b/internal/app/auth.go @@ -6,7 +6,7 @@ import ( "time" "github.com/dgrijalva/jwt-go" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" uuid "github.com/satori/go.uuid" "github.com/spf13/viper" diff --git a/internal/app/bank_account.go b/internal/app/bank_account.go index 85ec74a..c2af286 100644 --- a/internal/app/bank_account.go +++ b/internal/app/bank_account.go @@ -3,8 +3,8 @@ package app import ( "encoding/base64" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/spf13/viper" ) diff --git a/internal/app/credit_card.go b/internal/app/credit_card.go index e6ceb86..22b7ef0 100644 --- a/internal/app/credit_card.go +++ b/internal/app/credit_card.go @@ -3,8 +3,8 @@ package app import ( "encoding/base64" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/spf13/viper" ) diff --git a/internal/app/email.go b/internal/app/email.go index e173d90..fb7a443 100644 --- a/internal/app/email.go +++ b/internal/app/email.go @@ -3,8 +3,8 @@ package app import ( "encoding/base64" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/spf13/viper" ) diff --git a/internal/app/login.go b/internal/app/login.go index b7f0278..0441ceb 100644 --- a/internal/app/login.go +++ b/internal/app/login.go @@ -3,8 +3,8 @@ package app import ( "encoding/base64" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/spf13/viper" ) diff --git a/internal/app/migration.go b/internal/app/migration.go index 64d8369..e8a739d 100644 --- a/internal/app/migration.go +++ b/internal/app/migration.go @@ -3,7 +3,7 @@ package app import ( "log" - "github.com/pass-wall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/internal/storage" ) // MigrateSystemTables runs auto migration for the system models (Token and User), diff --git a/internal/app/note.go b/internal/app/note.go index 0b87ff4..c58eb36 100644 --- a/internal/app/note.go +++ b/internal/app/note.go @@ -3,8 +3,8 @@ package app import ( "encoding/base64" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/spf13/viper" ) diff --git a/internal/app/password.go b/internal/app/password.go index 36f338a..35b7b24 100644 --- a/internal/app/password.go +++ b/internal/app/password.go @@ -1,8 +1,8 @@ package app import ( - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" ) // FindSamePassword ... diff --git a/internal/app/server.go b/internal/app/server.go index 898d8e6..7cf7e31 100644 --- a/internal/app/server.go +++ b/internal/app/server.go @@ -3,8 +3,8 @@ package app import ( "encoding/base64" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" "github.com/spf13/viper" ) diff --git a/internal/app/user.go b/internal/app/user.go index 08737b5..c65a7be 100644 --- a/internal/app/user.go +++ b/internal/app/user.go @@ -3,8 +3,8 @@ package app import ( "fmt" - "github.com/pass-wall/passwall-server/internal/storage" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/model" uuid "github.com/satori/go.uuid" ) diff --git a/internal/router/auth.go b/internal/router/auth.go index 8d5a176..94aea4c 100644 --- a/internal/router/auth.go +++ b/internal/router/auth.go @@ -8,8 +8,8 @@ import ( "strings" "github.com/dgrijalva/jwt-go" - "github.com/pass-wall/passwall-server/internal/app" - "github.com/pass-wall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/internal/app" + "github.com/passwall/passwall-server/internal/storage" "github.com/urfave/negroni" ) diff --git a/internal/router/router.go b/internal/router/router.go index 36f8826..44ee973 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -6,8 +6,8 @@ import ( "github.com/gorilla/mux" "github.com/urfave/negroni" - "github.com/pass-wall/passwall-server/internal/api" - "github.com/pass-wall/passwall-server/internal/storage" + "github.com/passwall/passwall-server/internal/api" + "github.com/passwall/passwall-server/internal/storage" ) // Router ... diff --git a/internal/storage/bankaccount/bank_account_repository.go b/internal/storage/bankaccount/bank_account_repository.go index c2fc3d6..d577279 100644 --- a/internal/storage/bankaccount/bank_account_repository.go +++ b/internal/storage/bankaccount/bank_account_repository.go @@ -2,7 +2,7 @@ package bankaccount import ( "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" ) // Repository ... diff --git a/internal/storage/creditcard/credit_card_repository.go b/internal/storage/creditcard/credit_card_repository.go index d335acc..59e39e3 100644 --- a/internal/storage/creditcard/credit_card_repository.go +++ b/internal/storage/creditcard/credit_card_repository.go @@ -2,7 +2,7 @@ package creditcard import ( "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" ) // Repository ... diff --git a/internal/storage/database.go b/internal/storage/database.go index 0fd4b37..a66d755 100644 --- a/internal/storage/database.go +++ b/internal/storage/database.go @@ -5,15 +5,15 @@ import ( "github.com/jinzhu/gorm" _ "github.com/jinzhu/gorm/dialects/postgres" - "github.com/pass-wall/passwall-server/internal/config" - "github.com/pass-wall/passwall-server/internal/storage/bankaccount" - "github.com/pass-wall/passwall-server/internal/storage/creditcard" - "github.com/pass-wall/passwall-server/internal/storage/email" - "github.com/pass-wall/passwall-server/internal/storage/login" - "github.com/pass-wall/passwall-server/internal/storage/note" - "github.com/pass-wall/passwall-server/internal/storage/server" - "github.com/pass-wall/passwall-server/internal/storage/token" - "github.com/pass-wall/passwall-server/internal/storage/user" + "github.com/passwall/passwall-server/internal/config" + "github.com/passwall/passwall-server/internal/storage/bankaccount" + "github.com/passwall/passwall-server/internal/storage/creditcard" + "github.com/passwall/passwall-server/internal/storage/email" + "github.com/passwall/passwall-server/internal/storage/login" + "github.com/passwall/passwall-server/internal/storage/note" + "github.com/passwall/passwall-server/internal/storage/server" + "github.com/passwall/passwall-server/internal/storage/token" + "github.com/passwall/passwall-server/internal/storage/user" ) // Database is the concrete store provider. diff --git a/internal/storage/email/email_repository.go b/internal/storage/email/email_repository.go index 551cfec..7fbda7e 100644 --- a/internal/storage/email/email_repository.go +++ b/internal/storage/email/email_repository.go @@ -2,7 +2,7 @@ package email import ( "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" ) // Repository ... diff --git a/internal/storage/login/login_repository.go b/internal/storage/login/login_repository.go index be1858f..6786164 100644 --- a/internal/storage/login/login_repository.go +++ b/internal/storage/login/login_repository.go @@ -2,7 +2,7 @@ package login import ( "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" ) // Repository ... diff --git a/internal/storage/login/login_repository_test.go b/internal/storage/login/login_repository_test.go index 5841ac6..0695992 100644 --- a/internal/storage/login/login_repository_test.go +++ b/internal/storage/login/login_repository_test.go @@ -8,7 +8,7 @@ import ( "github.com/DATA-DOG/go-sqlmock" "github.com/go-test/deep" "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" "github.com/stretchr/testify/assert" ) diff --git a/internal/storage/note/note_repository.go b/internal/storage/note/note_repository.go index d8ad4e4..0f3b582 100644 --- a/internal/storage/note/note_repository.go +++ b/internal/storage/note/note_repository.go @@ -2,7 +2,7 @@ package note import ( "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" ) // Repository ... diff --git a/internal/storage/repository.go b/internal/storage/repository.go index 7028552..1f0b98b 100644 --- a/internal/storage/repository.go +++ b/internal/storage/repository.go @@ -3,7 +3,7 @@ package storage import ( "time" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" uuid "github.com/satori/go.uuid" ) diff --git a/internal/storage/server/server_repository.go b/internal/storage/server/server_repository.go index 870a5ab..1422ebb 100644 --- a/internal/storage/server/server_repository.go +++ b/internal/storage/server/server_repository.go @@ -2,7 +2,7 @@ package server import ( "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" ) // Repository ... diff --git a/internal/storage/token/token_repository.go b/internal/storage/token/token_repository.go index 6dee676..1ffd2ef 100644 --- a/internal/storage/token/token_repository.go +++ b/internal/storage/token/token_repository.go @@ -4,7 +4,7 @@ import ( "time" "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" uuid "github.com/satori/go.uuid" ) diff --git a/internal/storage/user/user_repository.go b/internal/storage/user/user_repository.go index d47db79..46e7956 100644 --- a/internal/storage/user/user_repository.go +++ b/internal/storage/user/user_repository.go @@ -4,7 +4,7 @@ import ( "log" "github.com/jinzhu/gorm" - "github.com/pass-wall/passwall-server/model" + "github.com/passwall/passwall-server/model" "golang.org/x/crypto/bcrypt" ) diff --git a/public/index.html b/public/index.html index c54f22e..382eabb 100644 --- a/public/index.html +++ b/public/index.html @@ -38,7 +38,7 @@ <h1>PassWall</h1> <h2>Open Source Password Manager</h2> <div class="notfound-social"> <a href="https://twitter.com/pass_wall"><i class="fa fa-twitter"></i></a> - <a href="https://github.com/pass-wall"><i class="fa fa-github"></i></a> + <a href="https://github.com/passwall"><i class="fa fa-github"></i></a> </div> </div> </div>