Commit Graph

15 Commits

Author SHA1 Message Date
Jannis Mattheis
bf6d8eee85 fix: map oidc user to iss/sub 2026-06-20 14:07:49 +02:00
Jannis Mattheis
cbf5b07c90 feat: add created at to all models 2026-05-09 20:11:06 +02:00
Jannis Mattheis
c256025b9f fix: return client id and elevatedUntil on /current/user 2026-04-19 19:24:18 +02:00
饺子w (Yumechi)
496c166981 chore: Migrate github.com/jinzhu/gorm to gorm.io/gorm (#863)
* chore: Migrate github.com/jinzhu/gorm to gorm.io/gorm

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* chore: drop singleton connection limit on sqlite3 backend

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* enhance: database logging

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* Revert "chore: drop singleton connection limit on sqlite3 backend"

This reverts commit b494a3bd1f.

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* typo

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* rename unique_index -> uniqueIndex

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* drop uniqueIndex on primary key

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* migrate fully to new gorm tag format

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* specify unique index name

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* remove pluginConf duplicate index

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* disable auto migrate FK

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-10-29 22:23:10 +00:00
Jannis Mattheis
fcd9b88bb7 Fix required mismatch in update & create user
This shouldn't break the api.
2022-09-10 16:47:22 +02:00
饺子w
909fb80d48 limit indexed string field to 180 char (#184) 2019-04-13 23:20:09 +08:00
eternal-flame-AD
e5b24f4c92 Add plugin feature
Fixed database migration
Added a plugin system based on the go plugin package
2019-02-09 12:52:01 +01:00
Jannis Mattheis
db60d2f0e7 Use correct models in user apis 2018-02-28 20:22:25 +01:00
Jannis Mattheis
3a2da09186 Improve documentation 2018-02-28 20:22:25 +01:00
Jannis Mattheis
9c47b73b1d Move models and add docu to models 2018-02-18 12:56:42 +01:00
Jannis Mattheis
28584184b1 Formatting 2018-02-11 14:33:59 +01:00
Jannis Mattheis
bbb82bd2b0 Add user api 2018-02-10 23:11:24 +01:00
Jannis Mattheis
6770e6b654 Enable golint and fix golint-errors like adding documentation 2018-01-28 15:56:28 +01:00
Jannis Mattheis
8a989dc29a Remove token and add app and client token & Adjust tests 2018-01-27 20:31:56 +01:00
Jannis Mattheis
d76ab85396 Add models 2018-01-23 18:03:51 +01:00