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

84 commits

Author SHA1 Message Date
Luis Lopez Cardona
bc2a0ac039
feat(core): database connection timeout env overwrite support (#6187) (#6674)
* feat(core): database connection timeout env overwrite support (#6187)

* chore: add changeset

---------

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2024-10-18 14:26:34 +08:00
simeng-li
ed37356ee3
refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest (#6012)
* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest

decouple isDevFeatureEnabled with isIntegrationTest ENV variables

* chore: update environment variable get method

update environment variable get method
2024-06-17 10:30:16 +08:00
Gao Sun
76fd33b7ed
feat: default user role (#5872)
* feat: default user role

* chore: add tests and changeset

* refactor: show warning for deprecated env

* chore: fix tests
2024-05-17 16:02:05 +08:00
Gao Sun
21bb35b127
feat: init management api hook middleware function (#5783)
* feat: init management api hook middleware function

* refactor: fix type issues

* feat(core): implement auto triggered management api hooks

implement auto triggered managment api hooks

* refactor(console,core,schemas): rename the managementHook to dataHook

rename the managementHooke to dataHook and redefine the types

* feat(core): add dev feature guard

add dev feature guard

* chore: update changeset

update changeset

* refactor(core,console,schemas,shared): update the webhook logics

update the webhook logics. Address some PR review comments

* fix(test): fix integration tests

fix integration tests

* fix(test): remove legacy code

remove legacy code

* refactor(core,schemas): refactor the hook library code

refactor the webhooks library code. address some comments

* fix(core): address rebase issue

update console log using getConsoleLogFromContext

* fix(core): fix ut

fix ut

* fix(core): refactor data webhook code

refactor data webhook codes

* refactor(core): clean up some management api webhook code

clean up some management api webhook code

---------

Co-authored-by: simeng-li <simeng@silverhand.io>
2024-05-09 11:19:01 +08:00
Gao Sun
a9ccfc738d
refactor: implement request id (#5813)
* refactor: implement request id

* refactor: fix tests

* refactor: add unit tests
2024-05-01 15:49:01 +00:00
renovate[bot]
8508469abf
chore(deps): update silverhand configs monorepo packages to v6 (major) (#5750)
* chore: upgrade configs

* refactor: fix lint errors

* refactor: fix lint errors

* refactor: fix stylelint issues

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-18 12:26:37 +00:00
Gao Sun
b3740656f5
refactor(core): partially remove got (#5596)
* refactor(core): partially remove got

* refactor: use shared form-urlencoded headers
2024-04-11 07:16:53 +00:00
Gao Sun
3f152a8cab
refactor: remove jest 2024-03-28 14:49:15 +08:00
Gao Sun
e22eb3a9d2
refactor: remove slonik from shared 2024-03-16 00:50:10 +08:00
Charles Zhao
50f8756721
fix(phrases,shared): only allow lowercase letters, numbers and hyphens in subdomains (#5332) 2024-01-30 12:33:08 +08:00
wangsijie
e1bbbd9ebf
feat(core,shared,phrases): check subdomain when creating protected app (#5217) 2024-01-16 16:30:03 +08:00
wangsijie
acb7fd3fea
feat(core): case insensitive usernames (#5170)
* feat(core): case insensitive usernames

* test(core): add case insensitive username test cases

---------

Co-authored-by: Tc001 <tc001@t0.lv>
2023-12-28 10:57:47 +08:00
wangsijie
7c09ac850f
refactor(core,console,shared): use getUserDisplayName function (#4977) 2023-12-13 03:01:07 +00:00
Gao Sun
42fd8a08fd
chore(shared): add JSDoc comments (#5080) 2023-12-10 22:31:21 +08:00
Gao Sun
5b2e4c87b1
Merge pull request #4725 from logto-io/gao-console-org-12
refactor(core,console): fixing to-dos
2023-10-24 23:42:06 -05:00
Gao Sun
bc5a1039f0
refactor(core,console): fixing to-dos 2023-10-24 15:44:00 +08:00
wangsijie
2c5db0d66a
fix(core): set totp qrcode service and user name (#4703) 2023-10-24 07:13:36 +00:00
wangsijie
cc81d8de33
chore(core,shared): add isDevFeatureEnabled to envset (#4707) 2023-10-20 17:41:29 +08:00
Gao Sun
7178657935
refactor!: optimize schema types 2023-10-11 16:41:31 +08:00
Gao Sun
18181f892e
refactor(shared)!: standardize id and secret generators (#4550)
* refactor(shared)!: standardize id and secret generators

* refactor: fix tests
2023-09-22 13:43:56 +08:00
Gao Sun
310698b0d2
refactor(cli): polish cli output (#4545)
* refactor(cli): polish cli output

* chore: add changeset
2023-09-18 18:27:25 +08:00
simeng-li
760e97eee5
refactor(cloud): clarify the isTest scope (#4310)
clarify the isTest scope
2023-08-10 14:08:13 +08:00
wangsijie
5ccdd7f31a
feat(core,schemas): record daily active users (#4113) 2023-07-07 15:14:29 +08:00
Xiao Yijun
d369e0c863
refactor(console): remove webhook creation limit (#3903) 2023-05-26 10:44:41 +08:00
Xiao Yijun
1b6bb9b1cf
feat(console): add webhook creation limit reminder (#3852) 2023-05-17 16:17:00 +08:00
Gao Sun
83367569fa
refactor: align console log (#3684)
add a shared ConsoleLog class for unified console logging.
2023-04-10 17:48:19 +00:00
Gao Sun
4a64d267b6
feat: implement central cache
with Redis as the default choice.
2023-04-07 14:29:35 +08:00
Gao Sun
0fbd31059f
refactor: fix ui import 2023-04-04 17:06:04 +08:00
Gao Sun
aa203308f0
refactor: reorg packages
update `@logto/shared` to a non-business package
and put business components into `@logto/*kit`.
2023-04-04 16:28:48 +08:00
simeng-li
1c431e7a59
feat(core): apply standard security headers 1/2 (#3590)
* feat(core): add some basic security headers

add some basic security headers

* chore(core): add some comments

add some comments

* chore(core): update the refererPolicy configs

update the refererPolicy configs

* chore(core): update helmet middleware

update helmet middleware

* feat(core): add csp headers to the mainflow and ac http requests 2/2 (#3613)

* feat(core): add csp headers to the mainflow requests

add csp headers to the mainflow requests

* chore(core): add ui and console security headers

add ui and console security headers

* fix(core): remove unused middleware

remove unused middleware

* fix(ui): set terms iframe sandbox

set terms iframe sandbox allow same origin

* fix(core): update security headers middleware

update security headers middleware

* chore(core): add changesets

* chore(core): address rebase conflict

address rebase conflict
2023-04-03 10:24:50 +08:00
Gao Sun
c200169886
refactor: add app insights package (#3637)
* refactor: add app insights package

* refactor: fix dependencies
2023-03-30 13:36:46 +08:00
renovate[bot]
93bc915609
chore(deps): update silverhand configs monorepo packages to v3.0.0 (#3585)
* chore(deps): update silverhand configs monorepo packages to v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-24 16:28:36 +00:00
Gao Sun
d27499c553
refactor(cloud,core): report exception to Applicaiton Insights
when status code >= 500 or other unhandled expcetions occurred.
2023-03-19 10:40:17 +08:00
Gao Sun
169c4450eb
refactor: use essentials tryThat and trySafe 2023-03-18 13:02:51 +08:00
Gao Sun
e0fad2dccd
refactor: implement ttl cache 2023-03-17 13:59:59 +08:00
wangsijie
5b8d8c8c14
feat(cloud,schemas): add demo social connectors for tenant (#3444) 2023-03-17 10:21:48 +08:00
wangsijie
76b49de1f0
feat(core,console): display demo connectors (#3425) 2023-03-15 17:09:26 +08:00
Gao Sun
4ef49ed93c
Merge pull request #3391 from logto-io/gao-use-env-to-set-pg-pool
refactor: support setting pool sizes by env variable
2023-03-15 16:43:47 +08:00
wangsijie
0f2d5d56a1
feat(cloud): add demo connector configs on tenant create (#3422) 2023-03-15 16:26:36 +08:00
wangsijie
63938d6d4b
feat(cli,core,shared): install demo connectors only in cloud (#3414) 2023-03-15 15:24:31 +08:00
Gao Sun
9c48f98fa1
refactor: support setting pool sizes by env variable 2023-03-14 23:02:44 +08:00
Gao Sun
0b45c8f487
refactor: fix schema types (#3379)
by separating CreateSchema and Schema. also no need for explicitly
set generic type for database builders like `buildInsertIntoWithPool()`.
2023-03-14 12:45:13 +08:00
Gao Sun
3287c2c232
refactor: use URL class 2023-03-08 10:47:10 +08:00
Gao Sun
afe39f6f46
refactor: fix cloud dev (#3281) 2023-03-03 11:04:22 +00:00
Gao Sun
a76ce24bee
refactor: seed data for multi-tenancy 2 2023-03-03 14:11:19 +08:00
Gao Sun
76a04d97b3
feat(cloud): POST /tenants 2023-02-20 00:27:12 +08:00
Gao Sun
ed4db56254
chore: upgrade configs 2023-02-16 23:49:03 +08:00
Gao Sun
95a44929a5
feat: init multi-tenancy environment (#2929) 2023-01-18 20:38:05 +08:00
wangsijie
5d862f617f
feat(core): list roles filter by userId (#2893) 2023-01-10 17:04:27 +08:00
Gao Sun
954664bd28
refactor(core,shared): EnvSet class 2023-01-07 17:22:15 +08:00