Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: merge with v1.17.0 #24

Merged
merged 522 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
522 commits
Select commit Hold shift + click to select a range
34d525d
fix(deps): update dependency snakecase-keys to v8 (#5667)
renovate[bot] Apr 10, 2024
01fee1d
fix(deps): update dependency samlify to v2.8.11 (#5458)
renovate[bot] Apr 10, 2024
dd08efe
feat(console): display api resources in org role permission table (#5…
xiaoyijun Apr 11, 2024
c1c91b6
refactor: uncomment feature guard (#5676)
gao-sun Apr 11, 2024
07ed139
feat(console): assign permissions for org roles (#5664)
xiaoyijun Apr 11, 2024
b374065
refactor(core): partially remove got (#5596)
gao-sun Apr 11, 2024
be57ec2
refactor(console): update protected app custom domain field to app do…
charIeszhao Apr 11, 2024
5b03030
fix(core): not allow to modify management api resource (#5626)
wangsijie Apr 11, 2024
b3d94dd
refactor(console): deprecate original organization template page (#5681)
xiaoyijun Apr 11, 2024
6f670b0
feat(console): add paywall for organization template (#5679)
xiaoyijun Apr 11, 2024
97af438
refactor(console): update reservation link (#5683)
gao-sun Apr 11, 2024
f1414d3
chore(deps): update zaproxy/action-full-scan action to v0.10.0 (#5620)
renovate[bot] Apr 11, 2024
9b3d4ef
feat(core): add custom jwt worker deploy (#5682)
simeng-li Apr 12, 2024
543931a
feat(core): undeploy worker scripts when jwt customizer is deleted (#…
simeng-li Apr 12, 2024
97f2d9b
refactor(console,phrases): update organization template phrases (#5688)
xiaoyijun Apr 12, 2024
922a9ea
refactor(console): use route objects
gao-sun Apr 12, 2024
c96b712
refactor(console): split route objects
gao-sun Apr 12, 2024
6ee37a7
Merge pull request #5698 from logto-io/gao-use-route-object
gao-sun Apr 12, 2024
63639ad
Merge pull request #5699 from logto-io/gao-split-route-objects
gao-sun Apr 12, 2024
f7b8040
chore(console): disable route component in pages
gao-sun Apr 12, 2024
568e3dc
feat(core): add jwt-customizer test script deployment (#5686)
simeng-li Apr 14, 2024
d1c5526
feat(console): add api permission content for organization guide (#5697)
xiaoyijun Apr 15, 2024
ca647a1
style(console): align resource icon with resource name (#5694)
xiaoyijun Apr 15, 2024
5dcd153
refactor(console): update org template sidebar icon (#5691)
xiaoyijun Apr 15, 2024
1012d9d
style(console): update signing key sidebar icon (#5692)
xiaoyijun Apr 15, 2024
c08feeb
refactor(phrases): update organization template subtitle (#5693)
xiaoyijun Apr 15, 2024
559331d
refactor(core,schemas): make the jwt customizer script field mandator…
simeng-li Apr 15, 2024
0d94627
fix(console): fix the quota guard layout (#5689)
simeng-li Apr 15, 2024
336aa6f
Merge pull request #5700 from logto-io/gao-add-eslint-rule
gao-sun Apr 15, 2024
077cd85
refactor(console): reorg organization details routes (#5702)
gao-sun Apr 15, 2024
622e003
refactor(console): update tab order on role details page (#5695)
xiaoyijun Apr 15, 2024
1b4c106
chore: add Cloudflare worker config for custom JWT (#5709)
darcyYe Apr 15, 2024
aacbebc
feat(core): add api to fetch organization scopes for a user (#5701)
charIeszhao Apr 15, 2024
23714d3
refactor(console): update check guide button style on org template pa…
xiaoyijun Apr 15, 2024
3cea073
style(console): update organization template layout (#5713)
xiaoyijun Apr 15, 2024
70d8b1d
refactor(console): update console routes (#5715)
xiaoyijun Apr 15, 2024
e86ffa3
fix(console): mutate org roles once a org role is deleted (#5716)
xiaoyijun Apr 15, 2024
d355ac7
feat(core): handle access token with organization api resource (#5653)
wangsijie Apr 16, 2024
94b62fb
style(console): minor custom jwt page style iteration (#5711)
simeng-li Apr 16, 2024
49b60af
chore(test): improve organization user test stability (#5717)
charIeszhao Apr 16, 2024
43430af
feat(core): add customJwt paywall guard to core API (#5708)
simeng-li Apr 16, 2024
de47d6a
chore(core): fix typos in comment (#5718)
wangsijie Apr 16, 2024
368385b
refactor(core): dont throw for status errors in prod (#5690)
gao-sun Apr 16, 2024
46b3c77
chore(console): update incorrect swr cache key usages (#5724)
charIeszhao Apr 16, 2024
75deb2d
chore(deps): update dependency @testing-library/react to v15 (#5726)
renovate[bot] Apr 16, 2024
59acede
feat(console): update user access immediately on tenant role updates …
charIeszhao Apr 16, 2024
d48094b
refactor: remove pnpm script (#5728)
gao-sun Apr 17, 2024
d545303
fix(core): set oidc access denied error code to 403 (#5725)
wangsijie Apr 17, 2024
a2bbc25
feat(console): add plausible
gao-sun Apr 17, 2024
ddd9986
refactor(console,phrases): update phrases for organization role (#5736)
xiaoyijun Apr 17, 2024
2de2939
fix(console): cloud collaboration minor bug fixes (#5734)
charIeszhao Apr 17, 2024
52df3eb
fix(core,console): invitee emails should be case insensitive (#5730)
charIeszhao Apr 17, 2024
8a54136
refactor(console): remove AppInsights
gao-sun Apr 17, 2024
26c215f
Merge pull request #5732 from logto-io/gao-add-plausible
gao-sun Apr 17, 2024
e1d5b8a
refactor: upgrade packages (#5739)
gao-sun Apr 18, 2024
4515787
test(console): assign permissions to organization role (#5729)
xiaoyijun Apr 18, 2024
fec3c0d
Merge pull request #5733 from logto-io/gao-remove-app-insights
gao-sun Apr 18, 2024
c1c746b
refactor: remove AppInsights for React (#5742)
gao-sun Apr 18, 2024
c6adede
fix(console): always display create org button (#5746)
xiaoyijun Apr 18, 2024
bd228bc
fix(console): force dev feature enabled false (#5752)
simeng-li Apr 18, 2024
4aa6db9
chore: upgrade packages (#5749)
gao-sun Apr 18, 2024
8ef021f
feat(core): add redis cluster and tls extra options support (#5619)
alekitto Apr 18, 2024
8508469
chore(deps): update silverhand configs monorepo packages to v6 (major…
renovate[bot] Apr 18, 2024
2e103f5
fix(core): update cloud dependency, cloud client calls
darcyYe Apr 18, 2024
801eae8
chore: apply suggestions from code review
darcyYe Apr 18, 2024
e035377
chore: update util function interface and update comments
darcyYe Apr 18, 2024
959f2d2
chore(console): update custom JWT scripts sample (#5747)
darcyYe Apr 18, 2024
bb4382e
Merge pull request #5745 from logto-io/yemq-update-cloud-client-calls
darcyYe Apr 18, 2024
45fd3b2
fix(console): revert the isDevFeaturesEnabled changes in console (#5755)
simeng-li Apr 19, 2024
d23b433
chore: upgrade json5 to 2.2.3 (#5757)
gao-sun Apr 19, 2024
9707d66
fix(console): pagination bar should be fully visible (#5758)
charIeszhao Apr 19, 2024
15e543a
fix(console): replace ts with js for JWT customizer (#5760)
simeng-li Apr 19, 2024
3ddf63b
fix(console): rotate signing-key dropdown should be visible (#5759)
charIeszhao Apr 19, 2024
0b49f9c
fix(console): copy to clipboard component should display at full widt…
charIeszhao Apr 19, 2024
585ce74
fix(console): fix the jwt creation page idle bug after submit form (#…
simeng-li Apr 22, 2024
fcfa2c7
refactor(console): implement new jwt customizer delete modal (#5765)
simeng-li Apr 22, 2024
711c51c
refactor(console): update organization guide and tenant member router…
charIeszhao Apr 22, 2024
6b4ee7a
chore(phrases): improve phrases on accessing invitations not made for…
charIeszhao Apr 22, 2024
9bece65
chore(experience): package update (#5769)
simeng-li Apr 22, 2024
465c7a4
style(experience): fix the terms of use link style (#5771)
simeng-li Apr 23, 2024
30aec5d
chore(core): fix typo in code comments (#5772)
charIeszhao Apr 23, 2024
9cf03c8
feat(console): add spring boot integration guide (#5740)
simeng-li Apr 23, 2024
b575f57
feat(core): support comma separated resource param (#5773)
charIeszhao Apr 23, 2024
61a2422
chore(console,core): remove custom JWT dev feature guard (#5775)
darcyYe Apr 23, 2024
fec60c8
chore(phrases): update custom JWT console phrases (#5776)
darcyYe Apr 23, 2024
eb8d0f3
chore(deps): update ataylorme/eslint-annotate-action action to v3 (#5…
renovate[bot] Apr 23, 2024
ead2abd
fix(core): bump oidc-provider to fix resource indicator check (#5782)
charIeszhao Apr 24, 2024
2414e52
chore(deps): upgrade formidable (#5780)
gao-sun Apr 24, 2024
f923a8e
feat: add the new dockerize-edge job (#5777)
simeng-li Apr 24, 2024
f0a01a7
refactor(core): update `AuthedRouter` -> `ManagementApiRouter`
gao-sun Apr 24, 2024
f9c7a72
feat(connector): support `client_secret_basic` and `client_secret_jwt…
xiaoyijun Apr 24, 2024
be6fac9
chore: ignore the hidden file found zap alert (#5786)
simeng-li Apr 24, 2024
eb7290b
fix: fix zap config file (#5788)
simeng-li Apr 24, 2024
0359cba
fix: fix zap config file syntax (#5790)
simeng-li Apr 24, 2024
09a1b24
fix(deps): update dependency tar to v7 (#5678)
renovate[bot] Apr 24, 2024
3c4971e
Merge pull request #5784 from logto-io/gao-update-router-name
gao-sun Apr 25, 2024
61e2094
chore(deps): update dependency supertest to v7 (#5791)
renovate[bot] Apr 25, 2024
397dfcd
fix(experience): redirect to sign-in page on socical sign-in error (#…
simeng-li Apr 25, 2024
d6930f9
refactor: reorg the implementation
darcyYe Apr 25, 2024
e8c41b1
feat: support organization custom data (#5785)
gao-sun Apr 25, 2024
012a2c0
Merge pull request #5793 from logto-io/yemq-refactor-jwt-library-methods
darcyYe Apr 26, 2024
204e087
chore: add code coverage token (#5792)
simeng-li Apr 26, 2024
b80934a
fix(experience): use correct callback path for native environments (#…
gao-sun Apr 27, 2024
c92acff
refactor(console): remove useless log title definitions (#5798)
simeng-li Apr 28, 2024
aec6c77
fix(core): fix status code of create new user api (#5735)
wangsijie Apr 28, 2024
bbd399e
fix(experience,core): fix SSO register hook event not triggering bug …
simeng-li Apr 28, 2024
24acae8
feat(schemas): add table for app org resource scope consent (#5803)
wangsijie Apr 29, 2024
2247234
fix: remove the plus sign in front of the phone number (#5801)
kamtorocks Apr 29, 2024
3486b12
fix(core): fix upload file guard (#5810)
wangsijie Apr 30, 2024
2e96eea
refactor: update plausible domain (#5799)
gao-sun Apr 30, 2024
5adf3df
feat(core,schemas): add CRUD for consent organization resource scopes…
wangsijie Apr 30, 2024
a9ccfc7
refactor: implement request id (#5813)
gao-sun May 1, 2024
ac3575a
refactor: remove app insights domains from security headers (#5814)
gao-sun May 1, 2024
3e5ffc4
feat(connector): add hugging face connector (#5797)
xiaoyijun May 6, 2024
b4b8015
fix(core): invitee email check should be case insensitive (#5823)
charIeszhao May 6, 2024
c1c8410
fix(console): hide org resource scopes tab from 3rd-party app modal (…
xiaoyijun May 6, 2024
95682f7
chore(deps): upgrade withtyped packages (#5827)
gao-sun May 6, 2024
4397ca2
refactor(core): optimize init (#5826)
gao-sun May 6, 2024
5eb5d3a
chore(deps): upgrade withtyped packages (#5829)
gao-sun May 7, 2024
f57e21f
refactor(console): make invitee email breakable in invitation list (#…
charIeszhao May 7, 2024
726a65d
feat(core,schemas): add org resource scopes to consent get (#5808)
wangsijie May 7, 2024
0d8d3a0
feat(experience): display org resource scopes on consent page (#5831)
xiaoyijun May 8, 2024
21bb35b
feat: init management api hook middleware function (#5783)
gao-sun May 9, 2024
39e2397
feat(console): add webflow integration guide (#5832)
charIeszhao May 9, 2024
f8221a3
refactor(console): update conversion report timing (#5833)
gao-sun May 9, 2024
0227822
feat(connector): can access all user email even if no public email is…
darcyYe May 9, 2024
7244dad
feat(core,schemas): update consent info (#5822)
wangsijie May 9, 2024
ae5284b
chore(deps): update pnpm to v9 (#5727)
renovate[bot] May 9, 2024
3227f61
feat(console): support assign organization resource scopes for 3rd-pa…
xiaoyijun May 9, 2024
ff65cfb
fix(console): make profile a tenant independent page (#5687)
charIeszhao May 9, 2024
50f336c
fix(console): focus on org socpes tab on app scopes modal reopened (#…
xiaoyijun May 10, 2024
feae37b
fix(console): fix the link social feature on logto cloud (#5838)
charIeszhao May 10, 2024
266af8c
fix(experience): hide scope list if no user scopes and resource scope…
xiaoyijun May 10, 2024
dc0d577
refactor(console): refactor some console global routes (#5841)
charIeszhao May 10, 2024
3d4404f
fix(console): move handle social route to global anonymous route enum…
charIeszhao May 10, 2024
23d40ed
refactor(console, phrases): update resource scopes assignment form ti…
xiaoyijun May 11, 2024
5872172
feat(core,console): enable custom JWT for OSS and can run script in l…
darcyYe May 11, 2024
1ef32d6
chore: add changeset for org api resource (#5719)
wangsijie May 13, 2024
517c733
chore(deps): update dependency @simplewebauthn/browser to v10 (#5703)
renovate[bot] May 13, 2024
d38ddf1
chore(deps): update dependency @simplewebauthn/types to v10 (#5704)
renovate[bot] May 13, 2024
b7d950b
fix(deps): update dependency @simplewebauthn/server to v10 (#5705)
renovate[bot] May 13, 2024
0fc9f83
fix(core): filter scopes for 3rd-party app (#5845)
wangsijie May 13, 2024
393cf44
chore: fix pnpm-lock (#5851)
wangsijie May 13, 2024
f85e1b8
ci(connector): build connectors before publish (#5853)
xiaoyijun May 13, 2024
6fe6f87
chore(console,experience): remove dev flags add changeset for organiz…
xiaoyijun May 13, 2024
e388c66
chore(core,schemas): remove feature guard of organization api resourc…
wangsijie May 13, 2024
cad032a
chore(console): update jwt claims status in plan comparison table (#5…
charIeszhao May 13, 2024
e7a6420
feat(schemas): define data hook events (#5828)
simeng-li May 13, 2024
697ac69
feat(console): add wordpress integration guide (#5844)
wangsijie May 13, 2024
8b74832
ci: use default runner (#5848)
gao-sun May 13, 2024
5acd7ef
refactor(core, schemas): update interaction webhook middleware using …
simeng-li May 13, 2024
1fdd28b
chore: build oauth2 connector on prepack (#5855)
xiaoyijun May 13, 2024
062d217
chore(core): add custom domain host to app insights (#5852)
wangsijie May 13, 2024
f020c59
fix(core): add devFeature guard for DataHooks (#5861)
simeng-li May 14, 2024
304d948
refactor(core): update first admin user preconditions (#5858)
gao-sun May 14, 2024
1c414f1
fix(core): fix consent scopes filter rule for non-3rd-party app (#5859)
wangsijie May 14, 2024
bec2720
refactor(console): do not parameterize guide id (#5863)
gao-sun May 14, 2024
1e24843
chore(phrases): update organization permission column name (#5864)
xiaoyijun May 14, 2024
5660c54
fix(core): should sign out user after deletion or suspension (#5857)
wangsijie May 14, 2024
a6582b2
chore(console): update sdk doc reference links (#5860)
charIeszhao May 14, 2024
7b5a4e3
release: version packages (#5684)
silverhand-bot May 14, 2024
5462ab4
feat(core): trigger user create DataHook event on user registration (…
simeng-li May 15, 2024
ac26e8b
ci: remove corepack (#5867)
gao-sun May 15, 2024
c2a8e45
refactor(console): report first app creation conversion (#5866)
gao-sun May 15, 2024
e04d952
feat(console, phrases): update the supported webhook events (#5856)
simeng-li May 15, 2024
7216f2a
fix(console): update the svelte integration guide (#5869)
simeng-li May 16, 2024
1246d2b
style(console): update webhook list page styles (#5871)
simeng-li May 16, 2024
c558aff
fix(console): improve audit log error handling if the related user ha…
charIeszhao May 16, 2024
5e7bee1
refactor(core,schemas,test): rename DataHook data update event name (…
simeng-li May 16, 2024
1b2359b
chore(deps): update dependency sinon to v18 (#5870)
renovate[bot] May 16, 2024
e216fac
chore: update README.md (#5877)
gao-sun May 17, 2024
7d6fa26
chore(deps): upgrade caniuse-lite (#5875)
gao-sun May 17, 2024
13bfdbd
feat(console): add next auth guide (#5873)
wangsijie May 17, 2024
76fd33b
feat: default user role (#5872)
gao-sun May 17, 2024
a1091ae
refactor(core,schemas): move webhook event payload type definition to…
simeng-li May 17, 2024
88f568f
feat(core): add suctom scopes.updated hook events (#5880)
simeng-li May 17, 2024
330c6bd
feat(core): update test hook payload (#5883)
simeng-li May 17, 2024
dd2f2e9
fix(connector): fix invalid image path in connector readme (#5887)
charIeszhao May 17, 2024
f1d5f72
chore(connector): update wecom connector readme (#5894)
charIeszhao May 17, 2024
e715049
refactor: remove `TenantInfo` type (#5891)
gao-sun May 17, 2024
cb1a38c
refactor(experience): add global loading status on page redirect (#5774)
simeng-li May 20, 2024
c627ea6
fix(phrases): fix legacy sie phrases (#5897)
simeng-li May 20, 2024
46e2375
fix(console): fix Nuxt doc typo (#5899)
RyzeKit May 21, 2024
05dbf54
chore(phrases): update tenant deletion modal content (#5900)
darcyYe May 21, 2024
888c80f
fix(console): add pro tag for custom JWT page (#5901)
darcyYe May 21, 2024
7fb4eb6
fix(console): fix Laravel misspelling (#5903)
RyzeKit May 21, 2024
e762d64
refactor(core): report forwarded headers (#5907)
gao-sun May 21, 2024
38811e1
refactor: remove internal role policies (#5904)
gao-sun May 21, 2024
7f5625d
chore(console): update pricing table for organizations feature (#5909)
charIeszhao May 22, 2024
b5104d8
feat(console,core): remove DataHook devFeature guard (#5898)
simeng-li May 22, 2024
25d67f3
feat: create pre-configured role with m-api access when seeding db (#…
xiaoyijun May 23, 2024
fb20fc1
refactor(console): reorg role transfer component file structure (#5911)
xiaoyijun May 23, 2024
e200cfe
fix(schemas): import `generateStandardId` from correct source (#5920)
xiaoyijun May 24, 2024
07fdd85
fix: add id generation utils for alteration scripts (#5921)
xiaoyijun May 26, 2024
20bf55b
refactor(console): add management api access flag for role options (#…
xiaoyijun May 27, 2024
b9b96d2
refactor(console): add notification for m2m role (#5919)
xiaoyijun May 27, 2024
6f5dea2
fix(console): fix m2m guide curl code syntax error (#5923)
simeng-li May 28, 2024
558c1bc
chore(console): translate i18n phrases (#5905)
charIeszhao May 28, 2024
58fd32e
refactor(console): setup m2m roles after creating m2m app (#5924)
xiaoyijun May 28, 2024
9d1349e
feat(console): support multi-region
gao-sun May 28, 2024
f7e1176
chore(deps): upgrade `@logto/cloud`
gao-sun May 28, 2024
dc8e38f
refactor: fix type issues
gao-sun May 28, 2024
bdaf6d4
refactor(console): show dynamic region info in tenant settings
gao-sun May 28, 2024
06ac416
chore(deps): upgrade `@logto/cloud`
gao-sun May 28, 2024
b10e138
refactor(console): support multi-region for paid plans
gao-sun May 28, 2024
cd7b544
refactor(console): prioritize onboarding check for route redirect
gao-sun May 28, 2024
d8eb471
Merge pull request #5928 from logto-io/gao-add-us-region
gao-sun May 28, 2024
fc3945e
Merge pull request #5929 from logto-io/gao-bump-cloud
gao-sun May 28, 2024
0cba011
Merge pull request #5930 from logto-io/gao-show-region-in-settings
gao-sun May 28, 2024
3f910af
Merge pull request #5931 from logto-io/gao-support-multi-region-paid-…
gao-sun May 28, 2024
c957555
fix(connector): fix GitHub connector GET /emails forbidden error (#5925)
darcyYe May 29, 2024
a330310
fix(console): remove outdated nextjs app router guide (#5862)
wangsijie May 29, 2024
c7aba27
refactor(core): use jwks response from oidc for admin tenant keys (#5…
gao-sun May 29, 2024
94b6883
refactor(console): improve onboarding ux (#5932)
gao-sun May 29, 2024
458746c
fix(core): fix azure oidc sso connector authorization error (#5912)
simeng-li May 29, 2024
87bffee
feat(connector): add dingtalk connector (#5915)
anyidea May 29, 2024
d7c8130
chore(phrases): update cloud collaboration invite modal title (#5939)
charIeszhao May 29, 2024
c5099a3
refactor(console): add prefix to pv path (#5933)
gao-sun May 29, 2024
a0bcc83
refactor: optmize phrases (#5936)
gao-sun May 29, 2024
3250163
feat(console): invite collaborators during onboarding (#5938)
gao-sun May 29, 2024
558986d
fix(core,console): update invalid documentation links in console and …
charIeszhao May 30, 2024
4b75860
docs(core): remove pagination from get organization invitation api do…
charIeszhao May 30, 2024
07ac3e8
chore: update translate cli (#5906)
charIeszhao May 30, 2024
d5f67ec
chore: fix typo (#5942)
gao-sun May 30, 2024
b755e95
refactor(console): fix onboarding issues
gao-sun May 30, 2024
5f5ecab
Merge pull request #5943 from logto-io/gao-fix-onboarding-issues
gao-sun May 30, 2024
b317c7c
feat(console): show banner when only dev tenant found (#5944)
gao-sun May 30, 2024
129cb8d
refactor(phrases): update m2m role creation hint (#5945)
xiaoyijun May 30, 2024
9ff538e
refactor(phrases): update management api notification (#5946)
xiaoyijun May 30, 2024
d8b92e4
refactor(console): sync m2m integration guide (#5941)
xiaoyijun May 30, 2024
0866b6e
feat(console): show dev feature status
gao-sun May 30, 2024
6ecd92d
chore(deps): update dependency nock to v14.0.0-beta.7 (#5952)
renovate[bot] May 31, 2024
0487668
refactor(console): set portal `z-index` properly (#5948)
gao-sun May 31, 2024
d6bb547
Merge pull request #5949 from logto-io/gao-show-dev-features-status
gao-sun May 31, 2024
3927e66
refactor: update naming (#5951)
gao-sun May 31, 2024
0b5b15b
feat(connector): add DingTalk web connector changeset (#5940)
darcyYe May 31, 2024
b8ea480
fix(console): avoid rendering outdated role options (#5953)
xiaoyijun May 31, 2024
9861b8a
refactor(console): remove redundant notification from m2m guide (#5954)
xiaoyijun May 31, 2024
0c70d65
feat(core,toolkit): add new sso_identities claim (#5955)
simeng-li May 31, 2024
522dd02
refactor: improve user experience (#5958)
gao-sun May 31, 2024
a0b1951
feat(console): show version number for oss (#5950)
gao-sun May 31, 2024
e989f08
refactor: remove service log fkey (#5959)
gao-sun May 31, 2024
11f05ce
refactor(console): improve onboarding data and subscription fetching …
gao-sun May 31, 2024
0decba0
release: version packages (#5868)
silverhand-bot May 31, 2024
8eac176
Merge tag 'v1.17.0' into feature/samuele-v1.17.0
SamSalvatico Jun 7, 2024
8e16f92
feat(core): some updates
SamSalvatico Jun 7, 2024
d046b95
chore(core): github actions
SamSalvatico Jun 7, 2024
ab54072
chore(core): added ogcio comments
SamSalvatico Jun 7, 2024
0d66109
chore(core): added ogcio comments
SamSalvatico Jun 7, 2024
a135736
Merge branch 'dev' into feature/samuele-v1.17.0
SamSalvatico Jun 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[comment]: <> (This file has been added on OGCIO fork)
### Ticket:

- [XXX](https://dev.azure.com/OGCIO-Digital-Services/Digital%20Services%20Programme/_workitems/edit/XXX)
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,7 @@ jobs:

- name: Prepack alteration
working-directory: ./alteration
run: |
# Remove corepack commands once a new Logto release is out
corepack enable pnpm
corepack use pnpm@8
pnpm i && pnpm prepack
run: pnpm i && pnpm prepack
# ** End **

- name: Setup Postgres
Expand Down Expand Up @@ -192,4 +188,4 @@ jobs:

- name: Check alteration sequence
working-directory: ./fresh
run: node .scripts/check-alterations-sequence.js
run: node .scripts/check-alterations-sequence.js
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ ENV CI=true

# No need for Docker build
ENV PUPPETEER_SKIP_DOWNLOAD=true

# OGCIO
ENV PORT=3301
# OGCIO
ENV ADMIN_PORT=3302
### Install toolchain ###
RUN npm add --location=global pnpm@^9.0.0
Expand Down Expand Up @@ -40,12 +43,17 @@ RUN rm -rf .scripts .parcel-cache pnpm-*.yaml packages/cloud

###### [STAGE] Seal ######
FROM node:20-alpine as app
# OGCIO
ENV PORT=3301
# OGCIO
ENV ADMIN_PORT=3302
WORKDIR /etc/logto
COPY --from=builder /etc/logto .
# OGCIO
RUN apk add --no-cache jq
# OGCIO
EXPOSE 3301
# OGCIO
EXPOSE 3302

# OGCIO
CMD [ "sh", "-c", "export ENCODED_PASSWORD=$(jq --slurp --raw-input --raw-output @uri <(printf \"%s\" $POSTGRES_PASSWORD)) && export DB_URL=\"postgres://$POSTGRES_USER:$ENCODED_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB_NAME\" && export REDIS_URL=\"redis://$REDIS_HOST:$REDIS_PORT\" && npm run cli db seed -- --swe && npm run cli db alteration deploy latest && npm run ogcio:start"]
2 changes: 2 additions & 0 deletions README.OGCIO.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[comment]: <> (This file has been added on OGCIO fork)

# LogTo per OGCIO

## Get started
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ docker compose -p logto -f - up

#### npm-init

Requires [Node.js](https://nodejs.org/) `^18.12.0` + [PostgreSQL](https://postgresql.org/) `^14.0`.
Requires [Node.js](https://nodejs.org/) `^20.9.0` + [PostgreSQL](https://postgresql.org/) `^14.0`.

```bash
npm init @logto
Expand All @@ -87,11 +87,11 @@ Logto uses the [default browserslist config](https://github.com/browserslist/bro
- Our team takes security seriously, especially when it relates to identity. If you find any existing or potential security issues, please do not hesitate to email 🔒 [[email protected]](mailto:[email protected]).
- About other bug reports, feature requests, and feedback, you can:
- Directly 🙋 [open an issue](https://github.com/logto-io/logto/issues/new) on GitHub;
- 💬 [join our Discord server](https://discord.gg/vRvwuwgpVX) to have a live chat;
- 💬 [Join our Discord server](https://discord.gg/vRvwuwgpVX) to have a live chat.

## Licensing

See the [LICENSE](LICENSE) file for licensing information as it pertains to files in this repository.
[MPL-2.0](LICENSE).

## Contributing

Expand Down
1 change: 1 addition & 0 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This file has been added on OGCIO fork
services:
app:
depends_on:
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,35 @@ services:
"npm run cli db seed -- --swe && npm start"
]
ports:
# OGCIO
- 3301:3301
# OGCIO
- 3302:3302
environment:
- TRUST_PROXY_HEADER=1
# OGCIO
- DB_URL=postgres://postgres:p0stgr3s@postgres:5433/logto
# Mandatory for GitPod to map host env to the container, thus GitPod can dynamically configure the public URL of Logto;
# Or, you can leverage it for local testing.
- ENDPOINT
- ADMIN_ENDPOINT
# OGCIO
- PORT=3301
# OGCIO
- ADMIN_PORT=3302
postgres:
image: postgres:14-alpine
user: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: p0stgr3s
# OGCIO
PGPORT: 5433
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 10s
timeout: 5s
retries: 5
# OGCIO
ports:
- 5433:5433
1 change: 1 addition & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This file has been added on OGCIO fork
TAG = local-logto:latest

build:
Expand Down
2 changes: 1 addition & 1 deletion packages/app-insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"applicationinsights": "^2.9.5"
},
"peerDependencies": {
Expand Down
18 changes: 18 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log

## 1.17.0

### Minor Changes

- 25d67f33f: create a pre-configured role with Management API access when seeding the database

### Patch Changes

- 07ac3e87c: fix the translate CLI command by adding the missing import
- Updated dependencies [25d67f33f]
- Updated dependencies [e04d9523a]
- Updated dependencies [b5104d8c1]
- Updated dependencies [0c70d65c7]
- Updated dependencies [76fd33b7e]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]

## 1.16.0

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/cli",
"version": "1.16.0",
"version": "1.17.0",
"description": "Logto CLI.",
"author": "Silverhand Inc. <[email protected]>",
"homepage": "https://github.com/logto-io/logto#readme",
Expand Down Expand Up @@ -43,13 +43,13 @@
},
"dependencies": {
"@logto/connector-kit": "workspace:^3.0.0",
"@logto/core-kit": "workspace:^2.4.0",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.10.1",
"@logto/phrases": "workspace:^1.11.0",
"@logto/phrases-experience": "workspace:^1.6.1",
"@logto/schemas": "workspace:1.16.0",
"@logto/schemas": "workspace:1.17.0",
"@logto/shared": "workspace:^3.1.1",
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"@silverhand/slonik": "31.0.0-beta.2",
"chalk": "^5.0.0",
"decamelize": "^6.0.0",
Expand Down Expand Up @@ -84,7 +84,7 @@
"eslint": "^8.56.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"sinon": "^17.0.0",
"sinon": "^18.0.0",
"vitest": "^1.4.0"
},
"eslintConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/database/alteration/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { AlterationScript } from '@logto/schemas/lib/types/alteration.js';
import { conditionalString } from '@silverhand/essentials';
import type { DatabasePool } from '@silverhand/slonik';
import type { CommonQueryMethods, DatabasePool } from '@silverhand/slonik';
import chalk from 'chalk';
import type { CommandModule } from 'yargs';

Expand Down Expand Up @@ -39,7 +39,7 @@ export const getLatestAlterationTimestamp = async () => {
};

export const getAvailableAlterations = async (
pool: DatabasePool,
pool: CommonQueryMethods,
compareMode: 'gt' | 'lte' = 'gt'
) => {
const databaseTimestamp = await getCurrentDatabaseAlterationTimestamp(pool);
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/commands/database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const database: CommandModule = {
.command(seed)
.command(alteration)
.command(system)
// OGCIO
.command(ogcio)
.demandCommand(1),
handler: noop,
Expand Down
44 changes: 44 additions & 0 deletions packages/cli/src/commands/database/seed/roles.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import {
PredefinedScope,
getManagementApiResourceIndicator,
createPreConfiguredManagementApiAccessRole,
} from '@logto/schemas';
import { generateStandardId } from '@logto/shared';
import { sql, type CommonQueryMethods } from '@silverhand/slonik';

import { insertInto } from '../../../database.js';

/**
* Create a pre-configured role with Management API access
*
* Caution:
* This function should only be called after the tenant's Management API resource and the related all scope have been created.
*/
export const seedPreConfiguredManagementApiAccessRole = async (
pool: CommonQueryMethods,
tenantId: string
) => {
const role = createPreConfiguredManagementApiAccessRole(tenantId);

await pool.query(insertInto(role, 'roles'));

// Assign Logto Management API permission `all` to the Logto Management API M2M role
await pool.query(sql`
insert into roles_scopes (id, role_id, scope_id, tenant_id)
values (
${generateStandardId()},
${role.id},
(
select scopes.id
from scopes
join resources on
scopes.tenant_id = resources.tenant_id and
scopes.resource_id = resources.id
where resources.indicator = ${getManagementApiResourceIndicator(tenantId)}
and scopes.name = ${PredefinedScope.All}
and scopes.tenant_id = ${tenantId}
),
${tenantId}
)
`);
};
9 changes: 9 additions & 0 deletions packages/cli/src/commands/database/seed/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import { consoleLog, getPathInModule } from '../../../utils.js';

import { appendAdminConsoleRedirectUris, seedTenantCloudServiceApplication } from './cloud.js';
import { seedOidcConfigs } from './oidc-config.js';
import { seedPreConfiguredManagementApiAccessRole } from './roles.js';
import { seedTenantOrganizations } from './tenant-organizations.js';
import {
assignScopesToRole,
Expand Down Expand Up @@ -150,6 +151,14 @@ export const seedTables = async (
await seedOidcConfigs(connection, defaultTenantId);
await seedAdminData(connection, defaultManagementApi);

/**
* Create a pre-configured role for the Logto Management API access
* in the default tenant (the default tenant is the only tenant for the OSS version, and the initial tenant for cloud).
*
* Called after the default tenant's Management API resource and the related all scope have been created.
*/
await seedPreConfiguredManagementApiAccessRole(connection, defaultTenantId);

await createTenant(connection, adminTenantId);
await seedOidcConfigs(connection, adminTenantId);
await seedAdminData(connection, createAdminDataInAdminTenant(defaultTenantId));
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/database/seed/tenant.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createTenantMetadata } from '@logto/core-kit';
import { createTenantDatabaseMetadata } from '@logto/core-kit';
import {
type AdminData,
type UpdateAdminData,
Expand Down Expand Up @@ -26,7 +26,7 @@ import { consoleLog } from '../../../utils.js';

export const createTenant = async (pool: CommonQueryMethods, tenantId: string) => {
const database = await getDatabaseName(pool, true);
const { parentRole, role, password } = createTenantMetadata(database, tenantId);
const { parentRole, role, password } = createTenantDatabaseMetadata(database, tenantId);
const createTenant = {
id: tenantId,
dbUser: role,
Expand Down
7 changes: 5 additions & 2 deletions packages/cli/src/commands/translate/sync-keys/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,10 @@ const traverseNode = async (
await fs.writeFile(targetFilePath, '', { flag: 'w+' });

if (isRoot) {
await fs.appendFile(targetFilePath, "import type { LocalePhrase } from '../../types.js';\n\n");
await fs.appendFile(
targetFilePath,
"import { type DeepPartial } from '@silverhand/essentials';\n\nimport type { LocalePhrase } from '../../types.js';\n\n"
);
}

// Write imports first
Expand Down Expand Up @@ -355,7 +358,7 @@ const traverseNode = async (
await traverseObject(baseline, targetObject, 2);

await (isRoot
? fs.appendFile(targetFilePath, '} satisfies LocalePhrase;\n\n')
? fs.appendFile(targetFilePath, '} satisfies DeepPartial<LocalePhrase>;\n\n')
: fs.appendFile(targetFilePath, '};\n\n'));
await fs.appendFile(targetFilePath, `export default Object.freeze(${identifier});\n`);
};
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-alipay-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Silverhand Inc. <[email protected]>",
"dependencies": {
"@logto/connector-kit": "workspace:^3.0.0",
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"dayjs": "^1.10.5",
"got": "^14.0.0",
"iconv-lite": "^0.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-alipay-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Alipay implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^3.0.0",
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"dayjs": "^1.10.5",
"got": "^14.0.0",
"iconv-lite": "^0.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-aliyun-dm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Aliyun DM connector implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^3.0.0",
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"got": "^14.0.0",
"snakecase-keys": "^8.0.0",
"zod": "^3.22.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-aliyun-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Aliyun SMS connector implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^3.0.0",
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"got": "^14.0.0",
"snakecase-keys": "^8.0.0",
"zod": "^3.22.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-apple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@logto/connector-kit": "workspace:^3.0.0",
"@logto/shared": "workspace:^3.1.0",
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"got": "^14.0.0",
"jose": "^5.0.0",
"snakecase-keys": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-aws-ses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@aws-sdk/client-sesv2": "^3.556.0",
"@aws-sdk/types": "^3.535.0",
"@logto/connector-kit": "workspace:^3.0.0",
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"got": "^14.0.0",
"snakecase-keys": "^8.0.0",
"zod": "^3.22.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-azuread/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@azure/msal-node": "^2.0.0",
"@logto/connector-kit": "workspace:^3.0.0",
"@silverhand/essentials": "^2.9.0",
"@silverhand/essentials": "^2.9.1",
"got": "^14.0.0",
"snakecase-keys": "^8.0.0",
"zod": "^3.22.4"
Expand Down
7 changes: 7 additions & 0 deletions packages/connectors/connector-dingtalk-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @logto/connector-dingtalk-web

## 0.1.0

### Minor Changes

- 0b5b15b96: add DingTalk web connector
Loading