Ivan R.
2c08171c7a
Start using JWT tokens
...
I thought this was a good idea.
Pros: fewer database calls.
Cons: there is no way to revoke the token (except for changing the secret key).
I rewrote the authorization as a middleware. Request handlers no longer need to validate the user.
2023-07-22 13:42:43 +05:00
Ivan R.
7f42a90be6
Add simple config module
2023-07-22 11:33:14 +05:00
dependabot[bot]
5bcb0ac37b
Bump gorm.io/driver/sqlite from 1.5.0 to 1.5.2
...
Bumps [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite ) from 1.5.0 to 1.5.2.
- [Commits](https://github.com/go-gorm/sqlite/compare/v1.5.0...v1.5.2 )
---
updated-dependencies:
- dependency-name: gorm.io/driver/sqlite
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:50:37 +05:00
dependabot[bot]
7600406356
Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:49:40 +05:00
dependabot[bot]
9b00dfdbf8
Bump gorm.io/gorm from 1.25.0 to 1.25.2
...
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm ) from 1.25.0 to 1.25.2.
- [Release notes](https://github.com/go-gorm/gorm/releases )
- [Commits](https://github.com/go-gorm/gorm/compare/v1.25.0...v1.25.2 )
---
updated-dependencies:
- dependency-name: gorm.io/gorm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:47:28 +05:00
dependabot[bot]
b3e570f814
Bump golang.org/x/crypto from 0.5.0 to 0.11.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.5.0 to 0.11.0.
- [Commits](https://github.com/golang/crypto/compare/v0.5.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:47:17 +05:00
dependabot[bot]
595266f8bb
Bump gorm.io/gorm from 1.24.6 to 1.25.0
...
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm ) from 1.24.6 to 1.25.0.
- [Release notes](https://github.com/go-gorm/gorm/releases )
- [Commits](https://github.com/go-gorm/gorm/compare/v1.24.6...v1.25.0 )
---
updated-dependencies:
- dependency-name: gorm.io/gorm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 22:37:09 +05:00
dependabot[bot]
bcf4248742
Bump gorm.io/driver/sqlite from 1.4.4 to 1.5.0
...
Bumps [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite ) from 1.4.4 to 1.5.0.
- [Release notes](https://github.com/go-gorm/sqlite/releases )
- [Commits](https://github.com/go-gorm/sqlite/compare/v1.4.4...v1.5.0 )
---
updated-dependencies:
- dependency-name: gorm.io/driver/sqlite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 22:36:26 +05:00
Ivan R.
16cd7aa635
Initial commit
2023-04-06 10:36:11 +05:00