]> jfr.im git - irc/UndernetIRC/cservice-api.git/log
irc/UndernetIRC/cservice-api.git
7 months agochore: update CI badge master
Stefan Wold [Mon, 16 Oct 2023 17:14:33 +0000 (19:14 +0200)] 
chore: update CI badge

7 months agochore: bump github actions versions
Stefan Wold [Mon, 16 Oct 2023 16:46:52 +0000 (18:46 +0200)] 
chore: bump github actions versions

7 months agochore: bump sqlc, goreleaser and golangci-lint
Stefan Wold [Mon, 16 Oct 2023 16:46:11 +0000 (18:46 +0200)] 
chore: bump sqlc, goreleaser and golangci-lint

7 months agochore: bump golang to 1.21
Stefan Wold [Mon, 16 Oct 2023 16:43:24 +0000 (18:43 +0200)] 
chore: bump golang to 1.21

7 months agofeat: add role management support (#107) v0.0.6
Stefan Wold [Sat, 14 Oct 2023 15:13:10 +0000 (17:13 +0200)] 
feat: add role management support (#107)

* feat: WIP adding roles and JWT scopes

* feat: add authorization support using admin level and roles

* chore: add go-mail dep

* feat: add remove users from role endpoint + some tweaks

* docs: changed to redoc and updated API docs

* docs: improve description for the authentication flow

* test: added a few init tests for the role controller

* test: add createRole test

* test: test role removal endpoints

* lint: fix imports in role tests

7 months agochore(deps): bump github.com/redis/go-redis/v9 from 9.1.0 to 9.2.1 (#102)
dependabot[bot] [Sat, 14 Oct 2023 14:11:23 +0000 (16:11 +0200)] 
chore(deps): bump github.com/redis/go-redis/v9 from 9.1.0 to 9.2.1 (#102)

Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.1.0 to 9.2.1.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.1.0...v9.2.1)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
7 months agochore(deps): bump redismock to v9.2.0
Stefan Wold [Sat, 14 Oct 2023 14:08:39 +0000 (16:08 +0200)] 
chore(deps): bump redismock to v9.2.0

7 months agochore(deps): bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2 (#106)
dependabot[bot] [Sat, 14 Oct 2023 14:03:39 +0000 (16:03 +0200)] 
chore(deps): bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2 (#106)

Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.11.1 to 4.11.2.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.11.1...v4.11.2)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
7 months agochore(deps): bump github.com/spf13/viper from 1.16.0 to 1.17.0 (#105)
dependabot[bot] [Sat, 14 Oct 2023 14:01:20 +0000 (16:01 +0200)] 
chore(deps): bump github.com/spf13/viper from 1.16.0 to 1.17.0 (#105)

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
7 months agochore(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0 (#104)
dependabot[bot] [Sat, 14 Oct 2023 13:57:47 +0000 (15:57 +0200)] 
chore(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0 (#104)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/crypto/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
7 months agochore(deps): bump github.com/go-playground/validator/v10 (#103)
dependabot[bot] [Sat, 14 Oct 2023 13:57:33 +0000 (15:57 +0200)] 
chore(deps): bump github.com/go-playground/validator/v10 (#103)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.15.4 to 10.15.5.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.15.4...v10.15.5)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
8 months agochore(deps): bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#99)
dependabot[bot] [Sat, 30 Sep 2023 12:15:28 +0000 (14:15 +0200)] 
chore(deps): bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#99)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/crypto/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
8 months agochore(deps): bump github.com/go-playground/validator/v10 (#100)
dependabot[bot] [Sat, 30 Sep 2023 12:14:59 +0000 (14:14 +0200)] 
chore(deps): bump github.com/go-playground/validator/v10 (#100)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.15.3 to 10.15.4.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.15.3...v10.15.4)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
8 months agorefactor: move generated swag docs to internal
Stefan Wold [Mon, 18 Sep 2023 18:11:07 +0000 (20:11 +0200)] 
refactor: move generated swag docs to internal

8 months agochore(deps): bump github.com/swaggo/swag from 1.16.1 to 1.16.2 (#98)
dependabot[bot] [Mon, 4 Sep 2023 08:12:41 +0000 (10:12 +0200)] 
chore(deps): bump github.com/swaggo/swag from 1.16.1 to 1.16.2 (#98)

Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.16.1 to 1.16.2.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.16.1...v1.16.2)

---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
8 months agochore(deps): bump github.com/swaggo/echo-swagger from 1.4.0 to 1.4.1 (#97)
dependabot[bot] [Mon, 4 Sep 2023 07:51:30 +0000 (09:51 +0200)] 
chore(deps): bump github.com/swaggo/echo-swagger from 1.4.0 to 1.4.1 (#97)

Bumps [github.com/swaggo/echo-swagger](https://github.com/swaggo/echo-swagger) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/swaggo/echo-swagger/releases)
- [Changelog](https://github.com/swaggo/echo-swagger/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/echo-swagger/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/swaggo/echo-swagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
8 months agochore(deps): bump github.com/go-playground/validator/v10 (#96)
dependabot[bot] [Mon, 4 Sep 2023 07:51:13 +0000 (09:51 +0200)] 
chore(deps): bump github.com/go-playground/validator/v10 (#96)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.15.1 to 10.15.3.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.15.1...v10.15.3)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
9 months agofix: use jwt.ParseRSAPUblicKeyFromPEM to get the correct JWKey output (#94) v0.0.5
Stefan Wold [Thu, 24 Aug 2023 18:33:41 +0000 (20:33 +0200)] 
fix: use jwt.ParseRSAPUblicKeyFromPEM to get the correct JWKey output (#94)

9 months agochore(deps): bump github.com/go-playground/validator/v10 (#93) v0.0.4
dependabot[bot] [Tue, 22 Aug 2023 10:26:12 +0000 (12:26 +0200)] 
chore(deps): bump github.com/go-playground/validator/v10 (#93)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.14.1 to 10.15.1.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.14.1...v10.15.1)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
9 months agochore(deps): bump github.com/redis/go-redis/v9 from 9.0.5 to 9.1.0 (#92)
dependabot[bot] [Tue, 22 Aug 2023 10:24:34 +0000 (12:24 +0200)] 
chore(deps): bump github.com/redis/go-redis/v9 from 9.0.5 to 9.1.0 (#92)

Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.0.5 to 9.1.0.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.0.5...v9.1.0)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
9 months agochore(deps): bump github.com/jackc/pgx/v5 from 5.4.2 to 5.4.3 (#91)
dependabot[bot] [Tue, 22 Aug 2023 10:24:19 +0000 (12:24 +0200)] 
chore(deps): bump github.com/jackc/pgx/v5 from 5.4.2 to 5.4.3 (#91)

Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.4.2 to 5.4.3.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.4.2...v5.4.3)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
9 months agochore(deps): bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#90)
dependabot[bot] [Tue, 22 Aug 2023 10:24:08 +0000 (12:24 +0200)] 
chore(deps): bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#90)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/crypto/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
9 months agochore(deps): bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 (#86)
dependabot[bot] [Fri, 4 Aug 2023 20:37:28 +0000 (22:37 +0200)] 
chore(deps): bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 (#86)

Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.4.1 to 5.4.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.4.1...v5.4.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
9 months agochore(deps): bump github.com/labstack/echo/v4 from 4.10.2 to 4.11.1 (#87)
dependabot[bot] [Fri, 4 Aug 2023 20:29:41 +0000 (22:29 +0200)] 
chore(deps): bump github.com/labstack/echo/v4 from 4.10.2 to 4.11.1 (#87)

Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.10.2 to 4.11.1.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.10.2...v4.11.1)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
9 months agorefactor: clean up of main, move echo to routes (#88)
Stefan Wold [Fri, 4 Aug 2023 20:12:38 +0000 (22:12 +0200)] 
refactor: clean up of main, move echo to routes (#88)

* refactor: clean up of main, move echo to routes

* lint: fix imports

11 months agochore(deps): bumped pgx from v4 to v5 (#56)
Stefan Wold [Sat, 1 Jul 2023 16:14:04 +0000 (18:14 +0200)] 
chore(deps): bumped pgx from v4 to v5 (#56)

* chore(deps): bumped pgx from v4 to v5

* test: use pgxpool.New() in integrationtests

11 months agochore(deps): update sqlc and goreleaser (#83)
Stefan Wold [Fri, 30 Jun 2023 16:36:39 +0000 (18:36 +0200)] 
chore(deps): update sqlc and goreleaser (#83)

11 months agochore(deps): bump github.com/spf13/viper from 1.15.0 to 1.16.0 (#78)
dependabot[bot] [Fri, 30 Jun 2023 15:53:45 +0000 (17:53 +0200)] 
chore(deps): bump github.com/spf13/viper from 1.15.0 to 1.16.0 (#78)

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
11 months agochore(deps): bump github.com/golang-migrate/migrate/v4 (#82)
dependabot[bot] [Fri, 30 Jun 2023 15:51:35 +0000 (17:51 +0200)] 
chore(deps): bump github.com/golang-migrate/migrate/v4 (#82)

Bumps [github.com/golang-migrate/migrate/v4](https://github.com/golang-migrate/migrate) from 4.15.2 to 4.16.2.
- [Release notes](https://github.com/golang-migrate/migrate/releases)
- [Changelog](https://github.com/golang-migrate/migrate/blob/master/.goreleaser.yml)
- [Commits](https://github.com/golang-migrate/migrate/compare/v4.15.2...v4.16.2)

---
updated-dependencies:
- dependency-name: github.com/golang-migrate/migrate/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
11 months agochore(deps): bump github.com/go-playground/validator/v10 (#80)
dependabot[bot] [Fri, 30 Jun 2023 15:48:56 +0000 (17:48 +0200)] 
chore(deps): bump github.com/go-playground/validator/v10 (#80)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.14.0 to 10.14.1.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.14.0...v10.14.1)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
11 months agochore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#79)
dependabot[bot] [Fri, 30 Jun 2023 15:48:30 +0000 (17:48 +0200)] 
chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#79)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
11 months agochore(deps): bump github.com/redis/go-redis/v9 from 9.0.4 to 9.0.5 (#76)
dependabot[bot] [Fri, 30 Jun 2023 15:47:59 +0000 (17:47 +0200)] 
chore(deps): bump github.com/redis/go-redis/v9 from 9.0.4 to 9.0.5 (#76)

Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.0.4 to 9.0.5.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.0.4...v9.0.5)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
11 months agorefactor(clean imports): move jwt/v5 related code to the helpers (#75)
Stefan Wold [Fri, 30 Jun 2023 15:47:35 +0000 (17:47 +0200)] 
refactor(clean imports): move jwt/v5 related code to the helpers (#75)

12 months agochore(deps): bump github.com/labstack/echo-jwt/v4 from 4.1.0 to 4.2.0 (#72)
dependabot[bot] [Thu, 25 May 2023 16:16:27 +0000 (18:16 +0200)] 
chore(deps): bump github.com/labstack/echo-jwt/v4 from 4.1.0 to 4.2.0 (#72)

* chore(deps): bump github.com/labstack/echo-jwt/v4 from 4.1.0 to 4.2.0

Bumps [github.com/labstack/echo-jwt/v4](https://github.com/labstack/echo-jwt) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/labstack/echo-jwt/releases)
- [Changelog](https://github.com/labstack/echo-jwt/blob/main/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo-jwt/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo-jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
* chore: update all imports to jwt/v5

---------

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
Co-authored-by: Stefan Wold <redacted>
12 months agochore(deps): bump github.com/go-playground/validator/v10 (#74)
dependabot[bot] [Thu, 25 May 2023 12:02:31 +0000 (14:02 +0200)] 
chore(deps): bump github.com/go-playground/validator/v10 (#74)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.13.0 to 10.14.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.13.0...v10.14.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
12 months agochore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#73)
dependabot[bot] [Thu, 25 May 2023 12:02:09 +0000 (14:02 +0200)] 
chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#73)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
12 months agochore(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#71)
dependabot[bot] [Thu, 25 May 2023 12:01:59 +0000 (14:01 +0200)] 
chore(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#71)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/crypto/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
12 months agochore(deps): bump github.com/redis/go-redis/v9 from 9.0.3 to 9.0.4 (#70)
dependabot[bot] [Thu, 25 May 2023 12:01:44 +0000 (14:01 +0200)] 
chore(deps): bump github.com/redis/go-redis/v9 from 9.0.3 to 9.0.4 (#70)

Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.0.3 to 9.0.4.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.0.3...v9.0.4)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
12 months agochore(deps): bump github.com/go-redis/redismock/v9 from 9.0.2 to 9.0.3 (#66)
dependabot[bot] [Sat, 6 May 2023 12:30:37 +0000 (14:30 +0200)] 
chore(deps): bump github.com/go-redis/redismock/v9 from 9.0.2 to 9.0.3 (#66)

Bumps [github.com/go-redis/redismock/v9](https://github.com/go-redis/redismock) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/go-redis/redismock/releases)
- [Commits](https://github.com/go-redis/redismock/compare/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-redis/redismock/v9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
12 months agochore(deps): bump github.com/ory/dockertest/v3 from 3.9.1 to 3.10.0 (#67)
dependabot[bot] [Sat, 6 May 2023 12:30:22 +0000 (14:30 +0200)] 
chore(deps): bump github.com/ory/dockertest/v3 from 3.9.1 to 3.10.0 (#67)

Bumps [github.com/ory/dockertest/v3](https://github.com/ory/dockertest) from 3.9.1 to 3.10.0.
- [Release notes](https://github.com/ory/dockertest/releases)
- [Commits](https://github.com/ory/dockertest/compare/v3.9.1...v3.10.0)

---
updated-dependencies:
- dependency-name: github.com/ory/dockertest/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
12 months agochore(deps): bump github.com/swaggo/swag from 1.8.12 to 1.16.1 (#68)
dependabot[bot] [Sat, 6 May 2023 12:26:52 +0000 (14:26 +0200)] 
chore(deps): bump github.com/swaggo/swag from 1.8.12 to 1.16.1 (#68)

Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.8.12 to 1.16.1.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.8.12...v1.16.1)

---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
12 months agochore(deps): bump github.com/go-playground/validator/v10 (#69)
dependabot[bot] [Sat, 6 May 2023 12:26:36 +0000 (14:26 +0200)] 
chore(deps): bump github.com/go-playground/validator/v10 (#69)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.12.0 to 10.13.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.12.0...v10.13.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
12 months agochore(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#65)
dependabot[bot] [Sat, 6 May 2023 12:26:05 +0000 (14:26 +0200)] 
chore(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#65)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
13 months agochore(deps): bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 (#64)
dependabot[bot] [Tue, 4 Apr 2023 17:39:57 +0000 (19:39 +0200)] 
chore(deps): bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 (#64)

Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.4...v1.1.5)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
14 months agochore(deps): bump github.com/redis/go-redis/v9 from 9.0.2 to 9.0.3 (#63)
dependabot[bot] [Mon, 3 Apr 2023 16:44:23 +0000 (18:44 +0200)] 
chore(deps): bump github.com/redis/go-redis/v9 from 9.0.2 to 9.0.3 (#63)

Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
14 months agochore: bump sqlc to 1.17.2, update sqlc config to v2 format
Stefan Wold [Sun, 2 Apr 2023 18:53:52 +0000 (20:53 +0200)] 
chore: bump sqlc to 1.17.2, update sqlc config to v2 format

14 months agochore(deps): bump github.com/swaggo/echo-swagger from 1.3.5 to 1.4.0 (#62)
dependabot[bot] [Sun, 2 Apr 2023 17:34:42 +0000 (19:34 +0200)] 
chore(deps): bump github.com/swaggo/echo-swagger from 1.3.5 to 1.4.0 (#62)

Bumps [github.com/swaggo/echo-swagger](https://github.com/swaggo/echo-swagger) from 1.3.5 to 1.4.0.
- [Release notes](https://github.com/swaggo/echo-swagger/releases)
- [Changelog](https://github.com/swaggo/echo-swagger/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/echo-swagger/compare/v1.3.5...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/swaggo/echo-swagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
14 months agochore(deps): bump github.com/swaggo/swag from 1.8.11 to 1.8.12 (#61)
dependabot[bot] [Sun, 2 Apr 2023 17:32:35 +0000 (19:32 +0200)] 
chore(deps): bump github.com/swaggo/swag from 1.8.11 to 1.8.12 (#61)

Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.8.11 to 1.8.12.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.8.11...v1.8.12)

---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
14 months agochore(deps): bump github.com/spf13/viper from 1.7.0 to 1.15.0 (#60)
dependabot[bot] [Mon, 27 Mar 2023 17:33:47 +0000 (19:33 +0200)] 
chore(deps): bump github.com/spf13/viper from 1.7.0 to 1.15.0 (#60)

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.0 to 1.15.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.7.0...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
14 months agotest: use the new configuration in auth integration test
Stefan Wold [Sat, 25 Mar 2023 19:31:26 +0000 (20:31 +0100)] 
test: use the new configuration in auth integration test

14 months agofix: consistent config naming and update config example
Stefan Wold [Sat, 25 Mar 2023 19:28:48 +0000 (20:28 +0100)] 
fix: consistent config naming and update config example

14 months agotest: add timemock to fix flakey redis tests
Stefan Wold [Fri, 24 Mar 2023 21:38:48 +0000 (22:38 +0100)] 
test: add timemock to fix flakey redis tests

14 months agochore(deps): bump github.com/swaggo/swag from 1.8.10 to 1.8.11 (#58)
dependabot[bot] [Fri, 24 Mar 2023 21:31:59 +0000 (22:31 +0100)] 
chore(deps): bump github.com/swaggo/swag from 1.8.10 to 1.8.11 (#58)

Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.8.10 to 1.8.11.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.8.10...v1.8.11)

---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
14 months agorefactor: switch to viper for configuration management (#59)
Stefan Wold [Fri, 24 Mar 2023 21:31:05 +0000 (22:31 +0100)] 
refactor: switch to viper for configuration management (#59)

* refactor: switch to viper for configuration management

* fix: correct ineffectual assignment linting error

* test: improve jwt test coverage

* docs: add doc strings for config

* fix: linting issues in test

14 months agochore(deps): bump github.com/go-playground/validator/v10 (#57)
dependabot[bot] [Mon, 20 Mar 2023 22:54:05 +0000 (23:54 +0100)] 
chore(deps): bump github.com/go-playground/validator/v10 (#57)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.11.2 to 10.12.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.11.2...v10.12.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
14 months agofeat: #47 add user registration endpoint (#55)
Stefan Wold [Mon, 20 Mar 2023 22:51:25 +0000 (23:51 +0100)] 
feat: #47 add user registration endpoint (#55)

* chore: bump golang to version 1.20

* chore: fix make watch

* feat: add functions to check if username or email already exists

* feat: add password column to pendingusers

* chore: update golangci-lint version to support errors.Join()

* fix: replace deprecated math/rand.Seed with secure crypto/rand

* chore: bump golang version to 1.20 for the lint gh action

* chore(sql): add db migrations for the password field

* chore: bump gh action setup-go to v4

* test: add test coverage for db/types/password

* fix: make magic sometimes lead to flakey builds on github

* feat: add user registration endpoint (WIP)

14 months agochore(deps): bump golang.org/x/crypto from 0.6.0 to 0.7.0 (#54)
dependabot[bot] [Sun, 12 Mar 2023 16:37:18 +0000 (17:37 +0100)] 
chore(deps): bump golang.org/x/crypto from 0.6.0 to 0.7.0 (#54)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agochore(deps): bump github.com/jackc/pgx/v4 from 4.18.0 to 4.18.1 (#53)
dependabot[bot] [Tue, 28 Feb 2023 18:10:02 +0000 (19:10 +0100)] 
chore(deps): bump github.com/jackc/pgx/v4 from 4.18.0 to 4.18.1 (#53)

Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.18.0 to 4.18.1.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.1/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.18.0...v4.18.1)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agochore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#52)
dependabot[bot] [Tue, 28 Feb 2023 18:09:43 +0000 (19:09 +0100)] 
chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#52)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agorefactor: change in directory layout to better match golang best practice (#51)
Stefan Wold [Sun, 26 Feb 2023 11:44:47 +0000 (12:44 +0100)] 
refactor: change in directory layout to better match golang best practice (#51)

- main.go moved to cmd/cservice-api
- Because the move of main.go internal/migration wsa moved closed to the migration files
- Always lower case paramaters when querying username or email
- Added one integration test for authentication
- Added password db type to add password validation helper directly on the field

15 months agochore(deps): bump github.com/labstack/echo/v4 from 4.10.1 to 4.10.2 (#50)
dependabot[bot] [Fri, 24 Feb 2023 17:17:40 +0000 (18:17 +0100)] 
chore(deps): bump github.com/labstack/echo/v4 from 4.10.1 to 4.10.2 (#50)

Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.10.1 to 4.10.2.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.10.1...v4.10.2)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agorefactor: remove the confusing enablemultilogout toggle (#46)
Stefan Wold [Tue, 21 Feb 2023 20:29:57 +0000 (21:29 +0100)] 
refactor: remove the confusing enablemultilogout toggle (#46)

15 months agochore(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.3 to 4.5.0 (#44)
dependabot[bot] [Mon, 20 Feb 2023 19:32:52 +0000 (20:32 +0100)] 
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.3 to 4.5.0 (#44)

Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.3...v4.5.0)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agochore(deps): bump github.com/labstack/echo/v4 from 4.10.0 to 4.10.1 (#43)
dependabot[bot] [Mon, 20 Feb 2023 19:32:09 +0000 (20:32 +0100)] 
chore(deps): bump github.com/labstack/echo/v4 from 4.10.0 to 4.10.1 (#43)

Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.10.0 to 4.10.1.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.10.0...v4.10.1)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agofix: VerifyFactor should set refreshtoken in redis (#45)
Stefan Wold [Mon, 20 Feb 2023 19:31:08 +0000 (20:31 +0100)] 
fix: VerifyFactor should set refreshtoken in redis (#45)

- Implemented time mock functionality to avoid flakey tests

15 months agotest: add test for validatehash (#42)
Stefan Wold [Mon, 20 Feb 2023 19:30:46 +0000 (20:30 +0100)] 
test: add test for validatehash (#42)

15 months agofix: follow golang best practice with snake case (#41)
Stefan Wold [Sun, 19 Feb 2023 16:03:27 +0000 (17:03 +0100)] 
fix: follow golang best practice with snake case (#41)

15 months agofeat: #36 add missing user flags (#39)
Stefan Wold [Sat, 18 Feb 2023 21:24:57 +0000 (22:24 +0100)] 
feat: #36 add missing user flags (#39)

15 months agochore(deps): bump golang.org/x/net from 0.6.0 to 0.7.0 (#40)
dependabot[bot] [Sat, 18 Feb 2023 21:22:42 +0000 (22:22 +0100)] 
chore(deps): bump golang.org/x/net from 0.6.0 to 0.7.0 (#40)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agofeat: implement flags helper db type (#35) v0.0.3
Stefan Wold [Mon, 13 Feb 2023 18:23:56 +0000 (19:23 +0100)] 
feat: implement flags helper db type (#35)

15 months agochore(deps): bump github.com/jackc/pgx/v4 from 4.17.2 to 4.18.0 (#33)
dependabot[bot] [Sat, 11 Feb 2023 21:25:37 +0000 (22:25 +0100)] 
chore(deps): bump github.com/jackc/pgx/v4 from 4.17.2 to 4.18.0 (#33)

Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.17.2 to 4.18.0.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.17.2...v4.18.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agochore(deps): bump github.com/jackc/pgconn from 1.13.0 to 1.14.0 (#32)
dependabot[bot] [Sat, 11 Feb 2023 21:22:46 +0000 (22:22 +0100)] 
chore(deps): bump github.com/jackc/pgconn from 1.13.0 to 1.14.0 (#32)

Bumps [github.com/jackc/pgconn](https://github.com/jackc/pgconn) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/jackc/pgconn/releases)
- [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgconn/compare/v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgconn
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agochore(deps): bump golang.org/x/crypto from 0.5.0 to 0.6.0 (#31)
dependabot[bot] [Sat, 11 Feb 2023 21:14:07 +0000 (22:14 +0100)] 
chore(deps): bump golang.org/x/crypto from 0.5.0 to 0.6.0 (#31)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agochore(deps): bump github.com/go-redis/redismock/v9 from 9.0.1 to 9.0.2 (#29)
dependabot[bot] [Sat, 4 Feb 2023 21:19:35 +0000 (22:19 +0100)] 
chore(deps): bump github.com/go-redis/redismock/v9 from 9.0.1 to 9.0.2 (#29)

Bumps [github.com/go-redis/redismock/v9](https://github.com/go-redis/redismock) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/go-redis/redismock/releases)
- [Commits](https://github.com/go-redis/redismock/compare/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: github.com/go-redis/redismock/v9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agochore(deps): bump github.com/redis/go-redis/v9 from 9.0.1 to 9.0.2 (#30)
dependabot[bot] [Sat, 4 Feb 2023 21:19:20 +0000 (22:19 +0100)] 
chore(deps): bump github.com/redis/go-redis/v9 from 9.0.1 to 9.0.2 (#30)

Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
15 months agochore: run dependabot daily
Stefan Wold [Sat, 4 Feb 2023 21:13:13 +0000 (22:13 +0100)] 
chore: run dependabot daily

15 months agochore: update go.mod
Stefan Wold [Sat, 4 Feb 2023 21:12:49 +0000 (22:12 +0100)] 
chore: update go.mod

15 months agorefactor: changed the password validation (#28)
Stefan Wold [Sat, 4 Feb 2023 16:43:12 +0000 (17:43 +0100)] 
refactor: changed the password validation (#28)

* refactor: changed the password validation

- implemented a password interface
- implemented hash generator for both md5 and bcrypt
- refactored the md5 validation
- implemented bcrypt validation

* doc: add missing doc strings for password funcs/types

16 months agochore(deps): bump github.com/go-playground/validator/v10 (#25)
dependabot[bot] [Mon, 30 Jan 2023 19:20:52 +0000 (20:20 +0100)] 
chore(deps): bump github.com/go-playground/validator/v10 (#25)

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.11.1 to 10.11.2.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.11.1...v10.11.2)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
16 months agochore(deps): bump github.com/labstack/echo-jwt/v4 from 4.0.0 to 4.1.0 (#23)
dependabot[bot] [Mon, 30 Jan 2023 19:18:56 +0000 (20:18 +0100)] 
chore(deps): bump github.com/labstack/echo-jwt/v4 from 4.0.0 to 4.1.0 (#23)

Bumps [github.com/labstack/echo-jwt/v4](https://github.com/labstack/echo-jwt) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/labstack/echo-jwt/releases)
- [Changelog](https://github.com/labstack/echo-jwt/blob/main/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo-jwt/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo-jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
16 months agochore(deps): bump github.com/swaggo/swag from 1.8.9 to 1.8.10 (#22)
dependabot[bot] [Mon, 30 Jan 2023 19:18:37 +0000 (20:18 +0100)] 
chore(deps): bump github.com/swaggo/swag from 1.8.9 to 1.8.10 (#22)

Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.8.9 to 1.8.10.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.8.9...v1.8.10)

---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
16 months agochore(deps): bump redis and redismock to 9.0.1 (#27)
Stefan Wold [Mon, 30 Jan 2023 19:17:01 +0000 (20:17 +0100)] 
chore(deps): bump redis and redismock to 9.0.1 (#27)

- Updated package name

Closes #26

16 months agochore: bump version of actions/checkout
Stefan Wold [Sun, 29 Jan 2023 11:57:42 +0000 (12:57 +0100)] 
chore: bump version of actions/checkout

16 months agochore: force fetch all tags
Stefan Wold [Sun, 29 Jan 2023 11:55:15 +0000 (12:55 +0100)] 
chore: force fetch all tags

16 months agochore: update actions in release flow
Stefan Wold [Sun, 29 Jan 2023 11:52:23 +0000 (12:52 +0100)] 
chore: update actions in release flow

16 months agofeat: add gline check (#21)
Stefan Wold [Fri, 27 Jan 2023 00:00:50 +0000 (01:00 +0100)] 
feat: add gline check (#21)

* feat: add gline check

* test: remove unused test

16 months agofix: properly check for ErrNoRows (#20)
Stefan Wold [Thu, 26 Jan 2023 18:36:07 +0000 (19:36 +0100)] 
fix: properly check for ErrNoRows (#20)

16 months agofeat: add ip whitelist check (#19)
Stefan Wold [Mon, 23 Jan 2023 20:02:01 +0000 (21:02 +0100)] 
feat: add ip whitelist check (#19)

* feat: add ip whitelist check

- Added ip whitelist check connected to the db service
- Small refactoring of the globals package

* docs: add package and func documentation

16 months agochore(deps): bump github.com/go-playground/locales from 0.14.0 to 0.14.1 (#18)
dependabot[bot] [Mon, 23 Jan 2023 20:01:02 +0000 (21:01 +0100)] 
chore(deps): bump github.com/go-playground/locales from 0.14.0 to 0.14.1 (#18)

Bumps [github.com/go-playground/locales](https://github.com/go-playground/locales) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/go-playground/locales/releases)
- [Commits](https://github.com/go-playground/locales/compare/v0.14.0...v0.14.1)

---
updated-dependencies:
- dependency-name: github.com/go-playground/locales
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <redacted>
Signed-off-by: dependabot[bot] <redacted>
Co-authored-by: dependabot[bot] <redacted>
16 months agofix: use the server configuration when starting echo (#17) v0.0.2
Stefan Wold [Sun, 22 Jan 2023 15:54:29 +0000 (16:54 +0100)] 
fix: use the server configuration when starting echo (#17)

16 months agorefactor: updated the API authentication flow (#16)
Stefan Wold [Sun, 22 Jan 2023 15:44:18 +0000 (16:44 +0100)] 
refactor: updated the API authentication flow (#16)

* refactor: updated the API authentication flow

* style: fix code analysis complaints

16 months agotest: should have used testify assert (#15)
Stefan Wold [Sat, 21 Jan 2023 15:14:12 +0000 (16:14 +0100)] 
test: should have used testify assert (#15)

16 months agotest: add unit test for GenerateJWKS() (#14)
Stefan Wold [Sat, 21 Jan 2023 14:35:11 +0000 (15:35 +0100)] 
test: add unit test for GenerateJWKS() (#14)

* test: add unit test for GenerateJWKS()

* style: lint fixes

16 months agofeat: implementation of input validator (#13)
Stefan Wold [Sat, 21 Jan 2023 01:08:53 +0000 (02:08 +0100)] 
feat: implementation of input validator (#13)

* feat: implementation of input validator

Current translation support is en_US for validation errors, prepared
to support any language in the future.

* fix: remove debug printing

* chore: stop linter from installing go itself

* chore: bump linter action to v3

* chore: remove cached golang for the linter

* test: added unit test for the validator

* fix: missing imports

* docs: add some function docs to please the analyzer

16 months agostyle(lint): fix linting issues (#12)
Stefan Wold [Tue, 17 Jan 2023 21:24:34 +0000 (22:24 +0100)] 
style(lint): fix linting issues (#12)

16 months agodocs: update README.me with quality and coverage badges (#11)
Stefan Wold [Tue, 17 Jan 2023 20:21:22 +0000 (21:21 +0100)] 
docs: update README.me with quality and coverage badges (#11)

16 months agochore: add codacy coverage reporter (#10)
Stefan Wold [Tue, 17 Jan 2023 20:12:57 +0000 (21:12 +0100)] 
chore: add codacy coverage reporter (#10)

* chore: add codacy coverage reporter

* chore: force coverage parser to go

16 months agochore: replace gox with goreleaser (#8) v0.0.1
Stefan Wold [Mon, 16 Jan 2023 21:06:51 +0000 (22:06 +0100)] 
chore: replace gox with goreleaser (#8)

* chore: replace gox with goreleaser

* chore: only use gobuilder for releases

16 months agochore: added labeler and PR lint check for semantic commit msgs (#7)
Stefan Wold [Mon, 16 Jan 2023 19:47:31 +0000 (20:47 +0100)] 
chore: added labeler and PR lint check for semantic commit msgs (#7)

* chore: added labeler and PR lint check for semantic commit msgs

* chore: grant labeler the correct permissions

* chore: remove api url

16 months agofix: simplify oath code (#6)
Stefan Wold [Mon, 16 Jan 2023 19:17:24 +0000 (20:17 +0100)] 
fix: simplify oath code (#6)

* fix: simplify oath code

* fix: set exec permissions on script