Browse Source

Moved to new namespace

master
konrad 1 year ago
parent
commit
d553ca743b
Signed by: kolaente <konrad@kola-entertainments.de> GPG Key ID: F40E70337AB24C9B

+ 1
- 1
.drone.yml View File

@@ -1,6 +1,6 @@
workspace:
base: /srv/app
path: src/git.mowie.cc/konrad/Library
path: src/git.kolaente.de/konrad/Library

clone:
git:

+ 2
- 2
Makefile View File

@@ -1,5 +1,5 @@
DIST := dist
IMPORT := git.mowie.cc/konrad/Library
IMPORT := git.kolaente.de/konrad/Library

SED_INPLACE := sed -i

@@ -21,7 +21,7 @@ EXTRA_GOFLAGS ?=

LDFLAGS := -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" -X "main.Tags=$(TAGS)"

PACKAGES ?= $(filter-out git.mowie.cc/konrad/Library/integrations,$(shell go list ./... | grep -v /vendor/))
PACKAGES ?= $(filter-out git.kolaente.de/konrad/Library/integrations,$(shell go list ./... | grep -v /vendor/))
SOURCES ?= $(shell find . -name "*.go" -type f)

TAGS ?=

+ 1
- 1
Readme.md View File

@@ -6,7 +6,7 @@

An application to manage your library, books and authors.

API Docs: https://git.mowie.cc/konrad/Library/wiki/API
API Docs: https://git.kolaente.de/konrad/Library/wiki/API

Download the latest release: https://storage.kolaente.de/minio/library-release/
(`master` is up-to-date with the master branch and can contain bugs, if you want a stable version, choose a version from the list)

+ 2
- 2
main.go View File

@@ -1,8 +1,8 @@
package main

import (
"git.mowie.cc/konrad/Library/models"
"git.mowie.cc/konrad/Library/routes"
"git.kolaente.de/konrad/Library/models"
"git.kolaente.de/konrad/Library/routes"

"context"
"fmt"

+ 1
- 1
routes/api/v1/author_delete.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/author_show.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/authors_add_update.go View File

@@ -2,7 +2,7 @@ package v1

import (
"encoding/json"
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/authors_list.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
)

+ 1
- 1
routes/api/v1/book_delete.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/book_show.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/books_add_update.go View File

@@ -2,7 +2,7 @@ package v1

import (
"encoding/json"
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/books_list.go View File

@@ -5,7 +5,7 @@ import (
"net/http"

"fmt"
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
)

// BookList is the handler to list books

+ 1
- 1
routes/api/v1/items_add_update.go View File

@@ -2,7 +2,7 @@ package v1

import (
"encoding/json"
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/items_delete.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/items_list.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
)

+ 1
- 1
routes/api/v1/items_show.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/publishers_add_update.go View File

@@ -2,7 +2,7 @@ package v1

import (
"encoding/json"
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/publishers_delete.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/publishers_list.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
)

+ 1
- 1
routes/api/v1/publishers_show.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/status.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/token_check.go View File

@@ -2,7 +2,7 @@ package v1

import (
"fmt"
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/dgrijalva/jwt-go"
"github.com/labstack/echo"
)

+ 1
- 1
routes/api/v1/user_add_update.go View File

@@ -2,7 +2,7 @@ package v1

import (
"encoding/json"
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/user_delete.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/user_show.go View File

@@ -1,7 +1,7 @@
package v1

import (
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
"net/http"
"strconv"

+ 1
- 1
routes/api/v1/user_update_password.go View File

@@ -4,7 +4,7 @@ import (
"net/http"
"strconv"

"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
)


+ 1
- 1
routes/api/v1/users_list.go View File

@@ -3,7 +3,7 @@ package v1
import (
"net/http"

"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/labstack/echo"
)


+ 1
- 1
routes/login.go View File

@@ -3,7 +3,7 @@ package routes
import (
"crypto/md5"
"encoding/hex"
"git.mowie.cc/konrad/Library/models"
"git.kolaente.de/konrad/Library/models"
"github.com/dgrijalva/jwt-go"
"github.com/labstack/echo"
"net/http"

+ 2
- 2
routes/routes.go View File

@@ -4,8 +4,8 @@ import (
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"

"git.mowie.cc/konrad/Library/models"
apiv1 "git.mowie.cc/konrad/Library/routes/api/v1"
"git.kolaente.de/konrad/Library/models"
apiv1 "git.kolaente.de/konrad/Library/routes/api/v1"
)

// NewEcho registers a new Echo instance

Loading…
Cancel
Save