0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
Commit graph

26 commits

Author SHA1 Message Date
Darcy Ye
632b8b1d84
refactor(schemas,core,console): use JsonObject instead of ArbitraryObject (#3730) 2023-04-24 11:11:27 +08:00
Gao Sun
0481a450be
refactor: decouple admin tenant and user tenant 2023-02-11 14:38:16 +08:00
Gao Sun
99837b4e48
refactor: use RLS 2023-02-08 18:58:45 +08:00
Gao Sun
de4b0bae16
refactor: add function and trigger to set tenant_id 2023-01-28 19:26:29 +08:00
Gao Sun
ba44eb5fc6
refactor(schemas): init tenant sqls 2023-01-28 12:58:42 +08:00
wangsijie
61f4e7fd2d
feat: add users_roles table and remove role_names (#2525) 2023-01-04 15:39:27 +08:00
Gao Sun
93cd6a27d0
refactor(schemas): add name index on users (#2668) 2022-12-15 10:50:48 +08:00
wangsijie
73bb938c3c
feat(schemas): add user is suspended column (#2305)
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-11-04 10:10:01 +08:00
IceHe
cce2d40160
refactor(core): count new users by created_at (#2027) 2022-09-29 15:32:43 +08:00
IceHe.xyz
3ac01d72f9
feat(schemas): make users.avatar URL length 2048 (#1141) 2022-06-17 17:04:04 +08:00
IceHe.xyz
9d8ef7632b
fix(schemas): remove user foreign key on application id (#964) 2022-05-26 17:44:32 +08:00
Gao Sun
5909727ebc
refactor(core): use argon2 for password encryption (#738)
* refactor(core): use argon2 for password encryption

* refactor(core): adjust time cost
2022-05-06 16:38:38 +08:00
Wang Sijie
a0b4b98c35
feat(console): add column lastSignIn in user management (#679)
* feat(core): user last sign in

* fix(core): rename last_sign_in to last_sign_in_at for updating its timestamptz value

* fix: rename column name in frontend

* fix: test

* fix: toLocaleDateString

Co-authored-by: IceHe.xyz <icehe@silverhand.io>
2022-05-05 16:22:43 +08:00
IceHe.xyz
4521c3c8d1
feat(core,schemas): save application id that the user first consented (#688)
* feat(core,schemas): save application id which the user first consented

* chore(core): fix grammatical mistake and typos
2022-05-05 06:57:20 +00:00
IceHe.xyz
77e0b4fec6
refactor(schemas): conform id length (#555) 2022-04-18 15:27:58 +08:00
Xiao Yijun
76aba43ae3
refactor(core): replace arbitrary data guard type with arbitrary object guard (#290) 2022-02-28 11:22:48 +08:00
Xiao Yijun
861833c01a
refactor(core): add prefix for password_encryption_method (#281) 2022-02-24 18:01:17 +08:00
Xiao Yijun
e8cbe00d3a
feat(core): add custom_data to the user schema (#230) 2022-02-15 16:59:28 +08:00
Wang Sijie
e8c2b100a3
feat: set profiles from social connector (#226) 2022-02-14 16:03:13 +08:00
Wang Sijie
e7458f8a2b
feat(schema): user identities (#215) 2022-02-09 12:55:06 +08:00
simeng-li
0105d19d99
feat(core): add user roles related api (#204)
* feat(core): add user role related api

add user roles related api

* fix: insert array to db fix

insert array to db fix

* feat(core): add role related routes config

add role related routes config

* fix(core): update user role patch error type

update user role patch error type

* fix(core): cr fix

cr fix

* fix(core): cr fix
cr fix

* fix(core): cr fix
 cr fix
2022-01-28 13:33:57 +08:00
simeng-li
9f23dbbb2a
feat(schema): add roles table (#202)
* feat(schema): add roles table

add roles table

* fix(chema): ci fix

ci fix

* fix(cr): cr fix

- rename userRoles to roleNames
- rename role table colmn name

* fix(ut): fix ut

fix ut
2022-01-27 10:48:55 +08:00
Gao Sun
0584979dbb
refactor: user_name -> username 2021-07-25 17:40:50 +08:00
Gao Sun
efa550834a
feat: generate enum types from SQL 2021-07-25 17:40:50 +08:00
Gao Sun
70a4c6f15a
Add password encryption salt 2021-07-25 17:40:50 +08:00
Gao Sun
68d67016ae
Add user table 2021-07-25 17:40:49 +08:00