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

299 commits

Author SHA1 Message Date
simeng-li
007607dc38
fix: fix edge dockerize not triggered bug (#5077)
* fix: fix edge dockerize not triggered bug

fix edge dockerize not triggered bug

* chore: update workflow syntax

update workflow syntax
2023-12-08 07:41:34 +00:00
renovate[bot]
741de8c259
chore(deps): update actions/github-script action to v7 (#4874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 21:14:35 +08:00
simeng-li
8e07825f17
refactor(schemas): add new sso_connector_id column to the users_sso_identities table (#4843)
* refactor(schemas): add new sso_connector_id column to the users_sso_identities table

add new sso_connector_id column to the users_sso_identities table

* refactor(schemas): add new sso_connector_id row to the users_sso_identities table

add new sso_connector_id row to the users_sso_identities table

* fix(schemas): fix alteration script

fix alteration script

* fix(schemas): fix alteration script

fix alteration script

* feat(core): add single sign on authentication api (#4814)

* feat(core): add single sign on authentication api

add single sign on authentication api

* feat(core): finish up the single sign on authentication api

finish up the single sign on authentication api

* chore(core): fix typo

fix typo

* test(core): add ut for getSsoAuthorizationUrl method

add ut for getSsoAuthorizationUrl method

* fix(core): fix the userSsoIdentities sql

fix the userSsoIdentities sql

* test(core): add unit tests

add unit tests

* fix(core): saml sso rebase fix

saml sso rebase fix

* fix(core): fix rebase issue
 fix rebase issue

* feat(core): add sso email guard to interaction endpoint (#4838)

* feat(core): add sso email guard to interaction endpoint

add sso email guard to interaction endpoint

* fix(core): fix unit tests

fix unit tests

* chore(core): split files

split files
2023-11-08 08:55:45 +00:00
simeng-li
735dcb67a8
ci: add alteration scripts compatibility test jobs (#4627)
* feat: refactor the integration-test ci job using custom interaction

- refactor the integration-test ci job using custom action
- add db alteration integration-tests

* fix: fix the detection git diff

fix the detection git diff

* fix: should not throw error if grep statement return empty

should not throw error if grep statement return empty

* feat: update the action reference

update the action reference

* chore: update the integration test action ref

update the integration test action ref
2023-10-23 11:02:33 +08:00
simeng-li
54fd29e41f
feat(schemas): create sso_connectors table (#4694)
* feat(schemas): create sso_connectors table

create sso_connectors table

* chore(schemas): add comments

add comments

* fix(schemas): remove dummy comments

remove dummy comments

* fix(schemas): fix schema typo

fix schema typo

* fix(schemas): adjust the alteration column order

adjust the alteration column order

* fix(schemas): drop policy

drop policy

* chore: fix the db alteration compare job tag version

fix the db alteration compare job tag version

* fix(schemas): set sso table order

set sso table order

* fix(schemas): fix alteration script

fix alteration script
2023-10-20 10:46:09 +08:00
simeng-li
a0b9d38992
fix: fix experience codecov report (#4561)
fix experience codecov report
2023-09-20 11:49:51 +08:00
Gao Sun
fb100ce0f0
refactor(console): add isDevFeaturesEnabled env const (#4506) 2023-09-15 15:43:03 +08:00
Gao Sun
e1fac554db
test: add console tests for password policy (#4493)
* test: add console tests for password policy

* test: increase time duration

* test: fix sequencer

* chore: add jest-pptr config

* ci: separate experience and console tests

* test: skip tests of unpublished features
2023-09-14 17:28:00 +08:00
Gao Sun
e8b0b1d020
chore: password policy release prep (#4488) 2023-09-14 10:32:46 +08:00
renovate[bot]
65f83aeb58
chore(deps): update docker/setup-buildx-action action to v3 (#4486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 09:23:34 +00:00
renovate[bot]
82acef8927
chore(deps): update docker/metadata-action action to v5 (#4485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 09:22:29 +00:00
renovate[bot]
1733e6a955
chore(deps): update docker/build-push-action action to v5 (#4483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 17:03:00 +08:00
renovate[bot]
0032fed7f9
chore(deps): update docker/login-action action to v3 (#4484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 17:02:45 +08:00
Gao Sun
62822a1d7e
ci: always show logs for integration tests (#4471) 2023-09-12 10:04:44 +08:00
renovate[bot]
c5fcb017ca
chore(deps): update crazy-max/ghaction-import-gpg action to v6 (#4462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 01:11:32 +08:00
renovate[bot]
ef0e38249f
chore(deps): update actions/checkout action to v4 (#4431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 16:13:24 +08:00
renovate[bot]
1af47e545d
chore(deps): update supercharge/redis-github-action action to v1.7.0 (#4421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 14:41:15 +08:00
renovate[bot]
b263c4137b
chore(deps): update zaproxy/action-full-scan action to v0.7.0 (#4394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 17:24:30 +08:00
Gao Sun
bb43810bbc
chore: update stale issue workflow (#4393) 2023-08-24 13:54:51 +00:00
renovate[bot]
0ff7251165
chore(deps): update ataylorme/eslint-annotate-action action to v2 (#4383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 23:55:55 +08:00
tison
583e2fcded
ci: changeset workflow is invalid on pull_request (#4303) 2023-08-10 17:11:16 +08:00
renovate[bot]
5c7018062a
chore(deps): update zaproxy/action-full-scan action to v0.6.0 (#4284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 10:49:57 +08:00
simeng-li
64e78024e0
ci(core): disable cloud metadata rule in zap (#4277)
* ci(core): disable cloud metadata rule in zap

disable cloud metadata rule in zap

* fix: update rule files

update rule files

* fix: update the conf file

update the conf file

* fix: revert docker settings

revert docker settings
2023-08-03 10:17:14 +08:00
renovate[bot]
2417984fbe
chore(deps): update supercharge/redis-github-action action to v1.6.0 (#4259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-29 11:40:04 +08:00
renovate[bot]
38b9ae417c
chore(deps): update zaproxy/action-full-scan action to v0.5.1 (#4125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-06 14:17:02 +08:00
Gao Sun
e89ccd4d4c
refactor: cloud cleanup (#4103)
* refactor: cleanup cloud

* chore: fix cloud dependencies

* chore: update LICENSE
2023-07-03 14:33:19 +08:00
renovate[bot]
03e131c199
chore(deps): update zaproxy/action-full-scan action to v0.5.0 (#4098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 21:05:42 +08:00
simeng-li
9b64dbea11
chore: add repository event dispatch job on logto master push (#4035)
add repository event dispatch job on logto master push
2023-06-15 15:47:16 +08:00
wangsijie
81f053dfd8
feat(core,schemas): get fallback origin from cf api (#4005) 2023-06-09 02:35:28 +00:00
Gao Sun
bf803cbf14
ci: fix deploy workflow (#3989) 2023-06-07 15:52:37 +08:00
wangsijie
fa0dbafe81
feat(core): integrate with cloudflare (#3919)
* feat(phrases): add phrases

* feat(core): add domains library

* feat(core): integrate cloudflare

* chore: changeset

* fix: read envset inside

* fix: fix cloudflare request

* fix: fix integration test envset problem

* fix: cr fixes
2023-06-01 15:32:49 +08:00
Darcy Ye
1b57f26533
feat(cloud,test): add DELETE /tenants/:id API (#3900) 2023-05-30 02:50:06 +00:00
Darcy Ye
8cbf87bb73
feat(schemas,cli,core,cloud): add manage tenant self scope (#3865) 2023-05-26 17:38:09 +08:00
Gao Sun
1ae02ff420
ci: update release workflow (#3848) 2023-05-16 17:22:40 +08:00
Gao Sun
3796866b67
fix(console): eliminate unexpected /token calls (#3757)
refactor: fix AppInsights context extra rendering issue
2023-04-27 18:34:38 +08:00
Gao Sun
42e5dab7c6
ci: update release workflow (#3742)
use the target deployment environment `dev` and `prod` to tag current
deployed images instead of `sha-*` since it is unstable and unclear. remove
`sha-*` tagged and untagged images regularly.
2023-04-23 17:47:28 +08:00
Gao Sun
4b6ad4c8c5
chore: allow setting appinsights string in core Dockerfile (#3717)
since we are tracking the main flow for Logto Cloud, it is required to pass
an ApplicationInsights connection string to make it works.
2023-04-19 18:05:43 +08:00
Gao Sun
d475ef9c03
chore: fix version workflow 2023-04-17 22:18:47 +08:00
Gao Sun
5ef2d7fb48
ci: remove duplicate version script (#3704) 2023-04-17 16:44:06 +08:00
Gao Sun
b2b15723b5
chore: update changesets config (#3703)
chore: update changeset config
2023-04-17 16:22:39 +08:00
Gao Sun
45cc8f4fb0
test(core): add cache tests 2023-04-07 17:41:22 +08:00
renovate[bot]
e19860c1a6
chore(deps): update peter-evans/create-pull-request action to v5 (#3677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 01:00:28 +08:00
Gao Sun
f97ebaa3db
refactor: update pubilsh flow 2023-04-02 17:05:18 +08:00
Gao Sun
612a1d5301
refactor: use connector link in workflows 2023-04-02 14:12:30 +08:00
renovate[bot]
4f4fbe5076
chore(deps): update pnpm to v8 (#3628)
* chore(deps): update pnpm to v8

* ci: update workflow

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-30 18:51:20 +08:00
Gao Sun
a33173d9c9
ci: add staging environments (#3616) 2023-03-28 12:00:28 +08:00
Gao Sun
e87ff837cd
refactor(console): update admin endpoint pattern (#3605) 2023-03-27 13:51:34 +00:00
renovate[bot]
ca30a4985d
chore(deps): update actions/stale action to v8 (#3598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 18:15:31 +08:00
Gao Sun
c22daded89
ci: separate core and cloud env (#3594)
* ci: separate core and cloud env

for better env management

* chore: update app name vars
2023-03-23 08:26:06 +00:00
Gao Sun
2794f6d07e
ci: fix typo (#3557) 2023-03-21 11:28:39 +08:00
Gao Sun
5ebc51500c
chore: update README.md (#3556)
* chore: update README.md

* ci: update workflows

* chore: update README.md
2023-03-21 01:29:17 +08:00
Gao Sun
28e9fa4290
release: core v1.0.0 (#3554)
* chore: move changesets

* release: core v1.0.0

* chore: update workflow
2023-03-20 23:57:04 +08:00
Gao Sun
aa4bc35e70
ci: fix app insights connection string 2023-03-20 17:43:30 +08:00
Gao Sun
a688b242ea
chore: set app insights connection string in cloud Dockerfile (#3536) 2023-03-20 14:32:24 +08:00
Gao Sun
da82e6f1c6
ci: fix concurrency group for release (#3507) 2023-03-19 20:26:26 +08:00
Gao Sun
d68ab0345b
ci: separate core and cloud deployment (#3504) 2023-03-19 07:12:54 +00:00
Gao Sun
998be42978
ci: deploy to staging slot and swap (#3501) 2023-03-19 14:24:41 +08:00
Gao Sun
bc7fbddab1
ci: use short sha for deployment 2023-03-19 10:40:18 +08: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
8f8c5d4233
ci: use large runner for regular releases 2023-03-17 13:59:59 +08:00
Gao Sun
0666f8bb71
ci: fix core dev build (#3427) 2023-03-15 17:58:07 +08:00
Gao Sun
e39fcc5200
ci: add cloud connectors when build for dev (#3426) 2023-03-15 17:41:18 +08:00
Gao Sun
b8906bd49b
refactor: fix code and release workflow 2023-03-14 23:14:22 +08:00
Xiao Yijun
b1b5200876
feat(console): inspire me (#3360) 2023-03-13 13:58:58 +08:00
Gao Sun
8026bdbeb8
ci: fix release workflow (#3376) 2023-03-13 03:22:01 +00:00
Gao Sun
e22f7222ea
ci: refactor release workflow (#3371) 2023-03-12 21:32:13 +08:00
Gao Sun
5149551f16
ci: fix release cloud workflow (#3356) 2023-03-10 09:47:14 +00:00
Gao Sun
6c4a9c336f
ci: release cloud prod (#3351) 2023-03-10 16:13:09 +08:00
Gao Sun
c685558263
ci: update cloud env name (#3307) 2023-03-06 15:05:35 +00:00
Gao Sun
9c487c99dc
ci: add deploy cloud workflow (#3306) 2023-03-06 14:48:58 +00:00
Gao Sun
bc6b79f783
ci: fix workflow 2023-03-06 13:45:14 +08:00
Gao Sun
94209ada00
ci: fix workflow 2023-03-06 00:48:50 +08:00
Gao Sun
ac065ac60c
refactor: init cloud ui tests 2023-03-05 22:07:02 +08:00
silverhand-bot
cda2c821cd
release: version core packages (#3225)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-02-25 23:15:42 +08:00
Gao Sun
6858f3c8dc
refactor: move console sie to database (#3171) 2023-02-21 21:24:43 +08:00
Gao Sun
4d54b1ca86
ci: build cloud Docker image (#3154) 2023-02-21 10:44:35 +08:00
renovate[bot]
794405bc1d
chore(deps): update snok/container-retention-policy action to v2 (#3133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 00:16:52 +08:00
Gao Sun
039d6dff3a
ci: build arm64 per release (#3120) 2023-02-15 19:04:36 +08:00
Gao Sun
bd63bcbe7c
ci: fix release permissions (#3119) 2023-02-15 17:47:11 +08:00
Gao Sun
525bd403d5
ci: use depot to build docker image (#3116) 2023-02-15 17:02:59 +08:00
Gao Sun
6b09da2f5d
refactor: fix alteration 2023-02-09 18:31:14 +08:00
Gao Sun
99837b4e48
refactor: use RLS 2023-02-08 18:58:45 +08:00
Gao Sun
700107f59b
refactor(test): update integration ui test 2023-02-06 17:42:22 +08:00
Gao Sun
df1bb9fd38
refactor: update seed data (#3044) 2023-02-02 18:36:18 +08:00
renovate[bot]
7c59ca8e7a
chore(deps): update docker/build-push-action action to v4 (#3031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-01 23:21:58 +08:00
Gao Sun
70527c4bbc
ci: align workflow concurrency (#2987) 2023-01-19 11:22:17 +08:00
Gao Sun
d71c407548
ci: use current version for alteration test (#2976) 2023-01-18 13:23:24 +08:00
Gao Sun
d868e6ee49
feat(cli): rollback command for alteration (#2975) 2023-01-18 05:12:57 +00:00
Gao Sun
03a8e84e2f
refactor: fix alteration issues and add tests 2023-01-17 17:52:54 +08:00
renovate[bot]
327cc1640b
chore(deps): update actions/stale action to v7 (#2696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 17:10:56 +08:00
Gao Sun
bc9f8906a7
ci: deploy db alteration before app (#2871) 2023-01-09 15:28:42 +08:00
Gao Sun
40980b3ada
ci: manually dispatch and add sanity check in workflow (#2838) 2023-01-07 21:14:17 +08:00
renovate[bot]
50c4d68693
chore(deps): update ikalnytskyi/action-setup-postgres action to v4 (#2816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 14:09:10 +08:00
Gao Sun
e1d70bc9cf
ci: turn off zap issue (#2807) 2023-01-03 15:40:21 +08:00
Gao Sun
c2948b1900
ci: use node 18 as default (#2786) 2023-01-03 15:39:58 +08:00
Gao Sun
0451de5024
ci: use depth 0 in checkout to fetch all tags (#2785) 2022-12-30 14:20:42 +08:00
Gao Sun
f7a2bdf7a8
ci: separate release groups (#2775) 2022-12-30 13:49:00 +08:00
wangsijie
b5b1e5f258
ci: check alteration sequence (#2746) 2022-12-30 10:50:56 +08:00
Gao Sun
74c1532a38
ci: fix publish workflow (#2762) 2022-12-30 10:46:28 +08:00
Gao Sun
77bad4b1e7
refactor: add official connectors in dist (#2768) 2022-12-30 10:42:34 +08:00