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

965 commits

Author SHA1 Message Date
renovate[bot]
86cd3aa73a
chore(deps): update dependency ky to ^0.31.0 (#1223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-24 13:13:05 +08:00
Charles Zhao
1e76f7713f
refactor(console): add dark images with parcel svg transformer plugin 2022-06-23 01:02:10 +08:00
renovate[bot]
870555366c
chore(deps): update parcel monorepo to v2.6.2 (#1200)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 19:16:59 +08:00
renovate[bot]
3a6996bb4c
chore(deps): update parcel monorepo to v2.6.1 (#1149) 2022-06-20 16:12:48 +08:00
Darcy Ye
f8710e147d
feat(core): add smtp connector (#1131)
* feat(connector-smtp): add smtp connector

* feat(connector-smtp): fix UTs
2022-06-17 10:52:35 +08:00
Xiao Yijun
8d27adce39
test(integration): username and password flow (#1111) 2022-06-16 13:00:01 +08:00
Gao Sun
04118fa3f1
refactor: remove docs (#1121)
* refactor: remove docs

* chore: update deps
2022-06-14 22:17:17 +08:00
simeng-li
93ad8d7769
style(docs): update some doc styles (#1118)
update some doc styles
2022-06-14 10:01:43 +00:00
Gao Sun
f5aae98da1
Merge pull request #1112 from logto-io/gao-add-docs
docs(en-US): init get started
2022-06-14 16:33:34 +08:00
Gao Sun
2401f6e19f
docs(en-US): init get started 2022-06-13 21:54:14 +08:00
Darcy Ye
5516e18fe1
fix(github): fix the way of parsing github getAccessToken response (#1094)
* fix(github): fix the way of parsing Github getAccessToken response

* fix(github): fix getAccessToken response mock
2022-06-10 12:12:58 +08:00
Charles Zhao
33f8adb2fc
refactor: bump react sdk 0.1.15 and use callback function instead of url 2022-06-09 15:32:43 +08:00
Wang Sijie
c38fab89e1
feat(console): dashboard blocks and curve (#1076) 2022-06-09 14:41:30 +08:00
Gao Sun
f2b44b49f9
feat: use user level custom data to save preferences (#1045)
* feat: use user level custom data to save preferences

* fix(console): bugs

* refactor(console): per review

* refactor(core): update return order

* fix(core): error constructor
2022-06-07 16:05:24 +08:00
IceHe.xyz
00e32f08da
docs: api reference (#1048)
* docs: api reference

* chore(docs): add peer denpendencies for redoc-cli
2022-06-07 08:01:07 +00:00
Charles Zhao
85a055efa4
feat(demo-app): implement (part 2)
* dark mode
* i18n
* sign out
* fetch userinfo
2022-06-06 20:17:25 +08:00
Charles Zhao
79ea8b2c68
Merge pull request #1043 from logto-io/charles-log-2815-replace-user-api-with-oidc-me
refactor(console): replace user api with fetchUserInfo
2022-06-06 10:19:31 +08:00
renovate[bot]
28779e847f
chore(deps): update dependency openapi-types to v12 (#1046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 16:35:36 +08:00
Charles Zhao
87f5f3b9ed
refactor(console): replace user api with fetchUserInfo 2022-06-02 22:48:55 +08:00
Gao Sun
91e2f055f2
feat(demo-app): implementation (3/3) (#1021)
* feat(core): seed demo app for fresh DB

* feat(core): throw 404 when demo app deleted

* fix(core): import

* fix: lockfile
2022-06-02 07:32:46 +00:00
renovate[bot]
d1b9f9d28a
chore(deps): update dependency lint-staged to v13 (#1019)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-02 13:19:09 +08:00
Darcy Ye
ff291dfd27
chore(connectors): remove unused jest-matcher-specific-error in connector packages (#1024) 2022-06-02 12:03:11 +08:00
Charles Zhao
fb34cdc379
fix(console): bump react sdk to 0.1.13 to resolve sign in issue 2022-06-01 23:01:48 +08:00
Gao Sun
d4f38bce2b
feat(core): add etag for settings api (#1011) 2022-06-01 16:56:23 +08:00
Gao Sun
2812d6de46
refactor(core): serve static middleware (#1010)
* refactor(core): serve static middleware

* chore(deps): remove unused package

* refactor(core): per review

* fix(core): test

* refactor(core): using endsWith to detect index
2022-06-01 05:12:15 +00:00
Charles Zhao
5a09e7d6aa
feat(console): add user dropdown and sign out button 2022-05-31 19:17:33 +08:00
Gao Sun
7f4f4f84ad
feat(demo-app): implementation (#982)
* feat(demo-app): init card

* feat(demo-app): ui

* feat(demo-app): sign in using React SDK

* fix: typo
2022-05-31 04:39:03 +00:00
Gao Sun
ad0aa8e0c2
feat(demo-app): init (#979) 2022-05-29 21:11:58 +08:00
Gao Sun
877bbc0d2c
fix: revert "chore(deps): update parcel monorepo to v2.6.0" 2022-05-29 14:19:09 +08:00
renovate[bot]
bc8eabfa21
chore(deps): update docusaurus monorepo to v2.0.0-beta.21 (#974)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 14:13:42 +08:00
Gao Sun
a686b1707a
refactor: social connectors (#975)
* refactor: social connectors

* refactor(connectors): remove unused fixme comment

* fix(connectors): test
2022-05-29 05:59:00 +00:00
Charles Zhao
2cd70efaba
refactor(console): improve error handling in admin console 2022-05-28 23:46:15 +08:00
renovate[bot]
00b74d5e90
chore(deps): update parcel monorepo to v2.6.0 (#971)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-27 22:02:11 +08:00
Gao Sun
7400ed8896
feat(connector): apple (#966)
* feat(connector): apple

* feat(connector): apple

* fix(connector): test

* refactor(connector): per review

* refactor(connector): update issue number

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-05-27 15:43:42 +08:00
renovate[bot]
ffbb1eea0f
chore(deps): update dependency lerna to v5 (#954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 23:06:11 +08:00
simeng-li
48607219f5
style(ui): implement dynamic color theme (#938)
* style(ui): implement dynamic color theme

implement dynamic color theme

* fix(ui): avoid precision issue

avoid precision issue

* fix(ui): fix typo

* fix(ui): fix typo

fix typo
2022-05-25 09:58:54 +08:00
Wang Sijie
5b44b7194e
feat(core): serve connector logo (#931) 2022-05-24 13:54:37 +08:00
Darcy Ye
9589aeafec
feat(connector-alipay-native): add Alipay Native connector (#873)
* feat(connector-alipay-native): add Alipay Native connector

* feat(connector-alipay-native): add Alipay Native connector to initialization
2022-05-20 13:40:40 +08:00
renovate[bot]
e5cb163dc2
chore(deps): update dependency @shopify/jest-koa-mocks to v4 (#904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 10:41:09 +08:00
simeng-li
9859213e19
refactor(ui): refactor terms modal as a promisified function (#897)
refactor terms modal as a promisified function
2022-05-20 09:59:40 +08:00
Darcy Ye
d7ce13d260
feat(connector-twilio-sms): add twilio sms connector (#881)
* feat(connector-twilio-sms): add twilio sms connector

* feat(connector-twilio-sms): add twilio sms connector to initialization
2022-05-20 09:56:16 +08:00
Xiao Yijun
85a407c5f6
feat: update field check rules (#854) 2022-05-18 04:12:51 +00:00
Charles Zhao
93b4966f59
Merge pull request #872 from logto-io/charles-log-2508-upgrade-react-sdk-0.1.7-in-ac
fix(console): upgrade react-sdk and integrate session expired page
2022-05-18 12:03:44 +08:00
Darcy Ye
b887655827
feat(connector-sendgrid-email): add sendgrid email connector (#850)
* feat(connector-sendgrid-mail): add SendGrid Mail connector

* feat(core): add SendGrid Mail connector to initializer and fix usageType
2022-05-18 11:39:36 +08:00
Charles Zhao
a814e2c829
fix(console): upgrade react-sdk 0.1.7 2022-05-18 10:13:31 +08:00
renovate[bot]
b5bdfcbc5b
chore(deps): update dependency @silverhand/jest-config to ^0.14.0 (#869)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 13:33:53 +00:00
renovate[bot]
552355a6c9
chore(deps): update commitlint monorepo to v17 (#848)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 21:28:49 +08:00
renovate[bot]
33baaa8c36
chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0 (#797)
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0

* chore(deps): upgrade stylelint to v14

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-17 13:20:17 +00:00
renovate[bot]
8a012a393d
chore(deps): update dependency @silverhand/ts-config to ^0.14.0 (#859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 11:04:12 +00:00
renovate[bot]
83dd78e847
chore(deps): update dependency @silverhand/ts-config-react to ^0.14.0 (#863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:48:33 +00:00
renovate[bot]
3316bbf429
chore(deps): update dependency @silverhand/eslint-config to ^0.14.0 (#866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:42:15 +00:00
renovate[bot]
66b57ad4d5
chore(deps): update dependency @silverhand/eslint-config to ^0.13.0 (#858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 18:07:13 +08:00
Gao Sun
f4526a9a3f
refactor: use @silverhand/jest-config (#861) 2022-05-17 17:32:41 +08:00
Gao Sun
3031e3a6f1
test: setup integration test package (#853) 2022-05-17 08:59:57 +00:00
simeng-li
d8c62c14a6
fix(ui): relocate svg jest config (#856)
relocate svg jest config
2022-05-17 16:32:02 +08:00
simeng-li
58e07fbd79
refactor(ui): add svg transformer (#849)
* refactor(ui): introduce svgr transformer

use svgr transformer to translate svg files into react component direactly

* fix(ui): fix stroke color

fix stroke color

* fix(ui): remove unused classname

remove unused classname
2022-05-17 02:26:55 +00:00
Charles Zhao
f30994ef5c
Merge pull request #829 from logto-io/charles-log-2190-improve-dark-theme-styles
refactor(console): adjust dark theme styles per updated UX design
2022-05-14 21:59:23 +08:00
Charles Zhao
8ecf800f90
chore: use cross-env to make 'pnpm dev' compatible on windows 2022-05-14 21:09:31 +08:00
Charles Zhao
2a738376ea
refactor(console): adjust dark theme styles per updated UX design 2022-05-14 20:51:55 +08:00
Darcy Ye
8e1533a702
feat(core): update connector db schema (#732)
* feat(core): update connector db schema

* feat(core): eliminate code redundancy for UTs

* feat(core): delete insertConnector on conflict logic and fix UTs

* feat(core): fix UI according to new connector type implementation

* feat(core): removed unused getConnectorByTargetAndPlatform methods

* feat(core): deprecate the function that updateConnector by giving target and platform

* feat(core): keep SSOT on combination of connector and corresponding metadata

* feat(core): rename index name in db
2022-05-12 12:17:17 +08:00
Renovate Bot
5044eee783
chore(deps): update dependency @silverhand/ts-config-react to ^0.12.0 2022-05-11 12:43:28 +00:00
Renovate Bot
d36abe1ee5
chore(deps): update dependency @silverhand/ts-config to ^0.12.0 2022-05-11 12:26:08 +00:00
Renovate Bot
d5ef7ddbe3
chore(deps): update dependency @silverhand/eslint-config to ^0.12.0 2022-05-11 11:48:42 +00:00
renovate[bot]
1872cfcc0f
chore(deps): update dependency @silverhand/eslint-config-react to ^0.11.0 (#776)
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.11.0

* chore: add comments

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-11 06:32:03 +00:00
renovate[bot]
87a9f8a2ae
chore(deps): update dependency @silverhand/eslint-config to ^0.11.0 (#775)
* chore(deps): update dependency @silverhand/eslint-config to ^0.11.0

* chore: add comments

* fix: lockfile

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-11 06:13:06 +00:00
simeng-li
5c02ec3bda
feat(ui): init destop styling foundation (#787)
* feat(ui): init  destop styling foundation

init desktop styling

* fix(ui): cr fix

* style(ui): enable mobile and desktop global class

enable mobile and desktop global class
2022-05-11 03:30:35 +00:00
Charles Zhao
7648a21fd4
Merge pull request #773 from logto-io/charles-log-2304-replace-monaco-editor-with-prism-highlighter
refactor(console): replace monaco editor with prism highlighter
2022-05-10 11:00:17 +08:00
Renovate Bot
43db7374c9
chore(deps): update dependency @silverhand/ts-config to ^0.11.0 2022-05-09 16:15:27 +00:00
Renovate Bot
3d0001ea5a
chore(deps): update dependency @silverhand/ts-config-react to ^0.11.0 2022-05-09 15:35:56 +00:00
Charles Zhao
1f55f779e6
refactor(console): replace monaco editor with prism highlighter 2022-05-09 22:05:15 +08:00
renovate[bot]
aae0b55e26
chore(deps): update dependency husky to v8 (#758)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 14:49:58 +08:00
Xiao Yijun
2d09553561
docs: downgrade docusaurus to v2.0.0-beta.18 (#759) 2022-05-09 12:52:50 +08:00
Charles Zhao
c1b6c32d24
refactor(console): separate mdx usages from docs 2022-05-07 17:29:38 +08:00
simeng-li
0f5491b392
fix(console): prevent autofill background color (#749)
prevent autofill background color
2022-05-07 11:43:31 +08:00
Darcy Ye
e71cf7ea67
feat(core): separate social sign-in api (#735)
* feat(core): separate social sign-in api

* feat(core): rename APIs
2022-05-07 10:50:37 +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
renovate[bot]
cda06aa16d
chore(deps): update docusaurus monorepo to v2.0.0-beta.20 (#720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-06 09:36:34 +08:00
Charles Zhao
ade40e1e15
chore(console): update react sdk to v0.1.5 2022-05-05 21:01:58 +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
Gao Sun
38c453908c
chore: upgrade lockfile version (#718) 2022-05-05 09:52:09 +08:00
simeng-li
34d798b645
fix(ui): fix ui i18n package error (#713)
fix ui i18n package error
2022-04-29 20:28:08 +08:00
Darcy Ye
4957952366
Merge pull request #705 from logto-io/yemq-fix-connector-initialization
feat(core): fix connectors initialization
2022-04-29 16:25:38 +08:00
simeng-li
15dd1a767e
fix(ui): ui design review fix (#697)
* fix(ui): ui restyling

ui restyling

* fix(ui): fix styling and translation
fix styling and translation

* refactor(ui): add universal primary button color

add universal primary button color
2022-04-29 11:49:21 +08:00
simeng-li
e761be6756
refactor(ui): add debounced loading (#692)
* refactor(ui): add debounced loading

add debounced loading

* fix(ui): cr fix

cr fix
2022-04-29 11:48:21 +08:00
Darcy Ye
c6f2546126
feat(core): fix connectors' initialization 2022-04-29 11:31:07 +08:00
Charles Zhao
cd9ce73228
Merge pull request #702 from logto-io/charles-log-2171-refactor-sdk-integration-guide-with-mdx
refactor(console): sdk integration guide with mdx
2022-04-28 21:06:04 +08:00
Charles Zhao
ea91fbaa51
refactor(console): sdk integration guide with mdx
show response error toast
2022-04-28 20:59:08 +08:00
renovate[bot]
13cfbf5610
chore(deps): update dependency tsc-watch to v5 (#700)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 18:18:15 +08:00
renovate[bot]
38b8505aa3
chore(deps): update dependency lint-staged to v12 (#698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 08:23:59 +00:00
Darcy Ye
e56a4894b7
feat(core): wrap wechat connector (#676)
* feat(core): wrap wechat web connector

* feat(core): wrap wechat native connector

* feat(core): fix dependency and remove query-string.stringify()
2022-04-28 15:55:49 +08:00
renovate[bot]
82f7d488bd
chore(deps): update dependency lint-staged to v12 (#689)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 15:37:21 +08:00
Gao Sun
8b22cf4c89
fix: lockfile (#694) 2022-04-28 15:18:40 +08:00
Darcy Ye
2049b4f73a
feat(core): wrap google connector (#674)
* feat(core): wrap google connector

* feat(core): connectors package.json private should be FALSE

* feat(core): fix dependency and remove query-string.stringify()
2022-04-28 15:16:05 +08:00
Darcy Ye
3a956fae10
feat(core): wrap github connector (#673)
* feat(core): wrap github connector

* feat(core): connectors package.json private should be FALSE

* feat(core): fix dependency and remove query-string.stringify()
2022-04-28 15:01:55 +08:00
Darcy Ye
a06d3ee73c
feat(core): wrap aliyun short message service connector (#670)
* feat(core): wrap Aliyun short message service connector

* feat(core): connectors package.json private should be FALSE

* feat(core): fix dependencies and remove query-string.stringify()
2022-04-28 14:48:18 +08:00
renovate[bot]
712cd795d0
chore(deps): update dependency tsc-watch to v5 (#690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 05:40:40 +00:00
Darcy Ye
cbd6cfae8a
feat(core): wrap facebook connector (#672)
* feat(core): wrap facebook connector

* feat(core): connectors package.json private should be FALSE
2022-04-27 12:48:42 +08:00
Darcy Ye
54b62094c8
feat(core): wrap aliyun direct mail connector (#660)
* feat(core): wrap aliyun direct mail connector

* feat(core): remove copyfiles and reorganize files
2022-04-26 19:32:41 +08:00
Gao Sun
2715383ca2
fix: deps 2022-04-26 14:20:09 +08:00
Gao Sun
f5c7faf775
refactor: move cli -> core 2022-04-26 14:11:15 +08:00
IceHe.xyz
3aa4342f2e
feat(core,schemas): make it type-safer to log (#656) 2022-04-26 11:31:07 +08:00
Darcy Ye
68a64d3ef5
feat(core): wrap alipay web connector (#643)
* feat(core): wrap Alipay web connector and fix UTs/dependencies accordingly

* feat(core): changed some utils functions' modifier from public to private

* feat(core): fix node version

* feat(core): removed unnecessary dependency
2022-04-26 01:57:32 +00:00
Darcy Ye
de5221d84b
feat(core): rebuild to keep pnpm-lock up to date 2022-04-24 20:54:40 +08:00
Darcy Ye
f669f6b657
feat(core): fix packages' dependencies 2022-04-24 20:53:34 +08:00
Darcy Ye
0ae081ad56
feat(core): remove redundancy and reorganize code 2022-04-24 20:53:34 +08:00
Darcy Ye
715e77ec09
feat(core): fix 2022-04-24 20:53:34 +08:00
Darcy Ye
edf5053581
feat(core): wrap logto/shared and logto/connector-types 2022-04-24 20:53:31 +08:00
renovate[bot]
25814d92ef
fix(deps): update dependency slonik to v28 (#649)
* fix(deps): update dependency slonik to v28

* fix: build

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 10:34:18 +00:00
Gao Sun
2d7918a224
feat(jest-config): init package (#644)
* feat(jest-config): init package

* chore(deps): upgrade `@types/jest`

* fix(core): add jest-matcher dependency

add jest-matcher dependency

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-04-24 18:02:18 +08:00
renovate[bot]
88e58b8b0c
fix(deps): update dependency jose to v4 (#646)
* fix(deps): update dependency jose to v4

* fix(deps): update jose usage

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 13:55:47 +08:00
renovate[bot]
f846872dc5
fix(deps): update dependency koa-body to v5 (#647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 13:52:02 +08:00
renovate[bot]
fbc8bed6a4
fix(deps): update dependency i18next to v21 (#645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:58:54 +08:00
renovate[bot]
06d1f1e906
chore(deps): update dependency openapi-types to v11 (#635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:54:45 +08:00
renovate[bot]
e03426b36d
chore(deps): update dependency tsc-watch to v5 (#637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:53:37 +08:00
renovate[bot]
d79c1e94f8
chore(deps): update dependency @testing-library/react to v13 (#631) 2022-04-23 12:03:43 +08:00
renovate[bot]
7b485aebab
chore(deps): update dependency lint-staged to v12 (#634) 2022-04-22 16:46:39 +00:00
renovate[bot]
19640ec849
chore(deps): update commitlint monorepo to v16 (#626)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 18:14:23 +08:00
renovate[bot]
4399dea218
fix(deps): update dependency dotenv to v16 (#624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 18:07:35 +08:00
Gao Sun
c12c7ee03d
chore: add package script (#607) 2022-04-22 10:02:54 +00:00
renovate[bot]
603b2e1cfe
chore(deps): update dependency @types/node to v16 (#623)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:43:31 +00:00
renovate[bot]
3e9a99d607
fix(deps): update dependency monaco-editor to ^0.33.0 (#618)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:13:47 +00:00
renovate[bot]
2a03b68865
fix(deps): update dependency ky to ^0.30.0 (#617)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:12:04 +00:00
Gao Sun
6a62e32fa5
refactor(core): inquire when required env not found (#586)
* refactor(core): inquire when required env not found

* refactor(core): add comments for create DB pool
2022-04-21 16:13:59 +08:00
Wang Sijie
d7ebf6c6e7
feat(console): add connectors transfer component (#568) 2022-04-19 10:22:40 +00:00
Xiao Yijun
975e715c47
fix(core): revert add oidc config to application response (#566) 2022-04-18 22:30:57 +08:00
Wang Sijie
975ed6b6c3
feat(console): color picker (#541)
* feat(console): add experience form fields

* feat(console): color picker
2022-04-18 15:57:37 +08:00
Xiao Yijun
d238168ebf
feat(core): add oidc config to the response of application apis (#536) 2022-04-14 14:48:56 +08:00
Darcy Ye
2f22a81a8f
feat(core): add Alipay web connector (#522) 2022-04-14 12:22:30 +08:00
simeng-li
7dba17b867
feat(ui): add social web login flow (#531)
* feat(ui): add social web login flow

add social web login flow

* fix(ui): cr fix

code review fix

* fix(ui): fix typo

fix typo

* refactor(ui): social api renaming

social api renaming
2022-04-12 15:03:38 +08:00
Gao Sun
72aa2f53e6
feat(cli): integrate with command line (#526) 2022-04-11 08:25:57 +00:00
Gao Sun
3fedbd791b
feat(cli): create database 2022-04-10 13:06:12 +08:00
Gao Sun
ada4da2fbf
feat(cli): seed tables 2022-04-09 21:53:53 +08:00
Gao Sun
b055362d34
feat(cli): init (#521) 2022-04-08 16:58:32 +08:00
simeng-li
c927aeee93
feat(ui): impelment signin methods links component (#504)
implement signin methods link component
2022-04-08 15:21:40 +08:00
IceHe.xyz
9e25a097bb
test(core): guard branding of sign-in experience (#494)
* chore(core,ui): upgrade jest related dev dependencies to latest versions

* test(core): branding guard of sign-in experience
2022-04-07 11:56:21 +08:00
Gao Sun
ab50cf1168
feat: init docs (#503)
* feat: init docs

* refactor: add missing dependencies

* fix: filter out docs for annotations
2022-04-07 09:45:01 +08:00
simeng-li
6f85098853
refactor(ui): update react rout version (#492)
update react route version
2022-04-06 15:01:12 +08:00
simeng-li
b098dd5f59
feat(ui): implement passcode page (#487)
* feat(ui): update pages

update page routing and render logics

* chore(ui): component renaming

component renaming

* feat(ui): implement passcode page

implement passcode page

* chore(ui): component renaming

component renaming
2022-04-02 13:07:39 +08:00
Charles Zhao
48bd57c94e
chore: bump version of configs 2022-03-31 15:18:34 +08:00
IceHe.xyz
cd63388ab1
feat(schemas): zod type guards of sign-in experience jsonb fields (#473)
* feat(schemas): guard branding logo url and terms-of-use content url

* feat(schemas): guard branding logo url non-optional

* feat(schemas): guard branding colors and slogan nonempty

* chore(core,schemas): upgrade zod dependency version from 3.8.1 to 3.14.3

* feat(schemas): jsonb types guard hex color values

* feat(core): hex color regex
2022-03-31 14:19:12 +08:00
Wang Sijie
fd8ea43f0b
feat(console): pagination (#453)
* feat(console): pagination

* fix: large number

* fix: new icon
2022-03-28 15:01:50 +08:00
Charles Zhao
7033bdc2cd
feat(core): provide API to fetch get-started markdown metadata 2022-03-28 13:50:40 +08:00
simeng-li
b99c11e211
feat(ui): implement Confirm Modal (#449)
* feat(ui): implement Confirm Modal

add Confirm Modal

* fix(ui): remove lock file

remove lock filee

* fix(ui): confirmModal CR fix

confirmModal CR fix
2022-03-28 09:36:39 +08:00
Charles Zhao
f256c2c38c
feat(core): copy markdown files to build folder when building project 2022-03-21 14:27:44 +08:00
Xiao Yijun
3c0ff36817
feat(console): add another for redirect uris in application details (#387) 2022-03-18 16:02:37 +08:00
Gao Sun
1bc9568083
feat(console): send access token in requests (#386)
* feat(console): send access token in requests

* fix(console): upgrade SDK and fulfill resources

* fix(console): build
2022-03-16 07:34:03 +00:00
simeng-li
86030ab97c
feat(ui): implement phonenumber input field (#372)
* feat(ui): implement phonenumber input field

implement phonenumber input field

* fix(ui): phone input ui fix

phone input ui fix

* fix(ui): should not show error if not interacted

should not show error if not interacted

* fix(ui): fix styling

fix styling

* feat(ui): add typeMode for phone input

add typeMode for phone input

* chore(ui): update pnpm-lock

update pnpm-lock
2022-03-15 17:31:13 +08:00
Gao Sun
38d8196794
feat(console): integrate React SDK 2022-03-15 13:46:49 +08:00
Wang Sijie
6640c0c18d
feat(console): markdown component (#378) 2022-03-15 11:31:50 +08:00
Wang Sijie
29b52b2a88
feat(console): code editor component (#366)
* feat(console): code editor component

* fix: peer dep for monaco

* fix: options type
2022-03-13 07:04:26 +00:00
Gao Sun
38df1ec8f4
chore: upgrade packages 2022-03-11 16:30:22 +08:00
Gao Sun
33fa309064
feat(console): show toast after app created (#354)
* feat(console): show toast after app created

* feat(console): use css var for shadow
2022-03-10 12:52:56 +08:00
Gao Sun
1399c9258e
chore: upgrade configs (#339) 2022-03-08 15:58:55 +08:00
Gao Sun
0cc32cadf3
feat(console): app create form (#325)
* feat(console): app type description

* refactor(console): remove unused code

* feat(console): complete app create form inputs

* feat(console): create app form submit

* fix(console): update per review
2022-03-08 07:13:45 +00:00
Gao Sun
295314e693
feat(console): implement radio input and form 2022-03-08 12:19:08 +08:00
Gao Sun
2196b217fd
feat(console): init app create form 2022-03-08 12:18:35 +08:00
Gao Sun
d035047ee8
feat(console): implement tooltip and integrate with copy (#323) 2022-03-07 10:54:05 +00:00
Gao Sun
bb1d3c0a37
feat(console): retrieve applications from api (#320)
* feat(console): retrieve applications from api

* fix(console): i18n key

* fix(console): update per review
2022-03-04 17:26:34 +08:00
Gao Sun
cc8bb825fb
feat(console): active tab by route (#309)
* feat(console): active tab by route

* refactor(console): export sidebar utils and consts in index
2022-03-03 07:02:30 +00:00
Gao Sun
572d5ad6a5
Merge pull request #298 from logto-io/gao-log-1626-top-bar-side-bar-and-layout
feat(console): sidebar
2022-03-02 12:22:43 +08:00
simeng-li
b03a666fde
ci(core): add codecov github action (#297)
* ci(core): add codecov github action

add codecov github action

* ci(core): update codecov uploader

update codecov uoloader

* ci(core): delete useless codecov yml

delete codecov yml

* chore(core): remove deprecated packages

remove deprecated pacakages
2022-03-01 11:05:25 +08:00
Gao Sun
a74d2b0aa6
chore: upgrade configs 2022-02-28 22:51:29 +08:00
Gao Sun
a89e3d1eb7
feat(console): fulfill tab sections and items 2022-02-28 22:39:15 +08:00
Gao Sun
02e9b8fde4
refactor(console): use consts and i18n 2022-02-28 22:18:01 +08:00
Gao Sun
9dca1e8083
fix(schemas): remove unused dependency (#296) 2022-02-28 15:47:10 +08:00
Gao Sun
f7925d9332
chore: upgrade configs and eslint (#294)
* chore: upgrade configs and eslint

* chore: update lockfile

* fix(ui): stylelint
2022-02-28 15:21:48 +08:00
simeng-li
2109b7be31
test(core): add ut for application query (#282)
add ut for appliction query
2022-02-25 13:52:29 +08:00
Gao Sun
b31e90dab2
refactor(core): use custom koa-router types (#267) 2022-02-22 08:33:55 +00:00
simeng-li
8fa169cba1
test(core): add admin-user route UT (#252)
* test(core): add admin-user route ut

add admin-user route ut

* fix(ut): remove redundent code

remove mockKoaAuthMiddleware

* feat(core): update pnpm.lock

update pnpm.lock
2022-02-21 10:45:31 +08:00
Gao Sun
47ccb4da02
refactor(ui): integrate new ui (#260) 2022-02-20 14:12:07 +08:00
Gao Sun
4981786204
refactor(ui): migrate files 2/2 (#257) 2022-02-19 15:14:23 +08:00
Gao Sun
46d1fee353
refactor(ui): migrate files 1/2 (#251) 2022-02-18 17:11:54 +08:00
Gao Sun
011f073efe
feat(ui): init ui-new package (#245) 2022-02-18 07:25:54 +08:00
Gao Sun
13f6b59ad4
chore: upgrade configs (#243) 2022-02-16 19:06:58 +08:00
Gao Sun
eb319a3b89
refactor: upgrade TypeScript (#241) 2022-02-16 15:17:43 +08:00
Gao Sun
5ce8c18652
feat(console): init (#239)
* feat(console): init

* refactor: remove unused tsconfig props

* fix: lint error
2022-02-16 15:04:34 +08:00
Charles Zhao
f30cae7377
chore: upgrade eslint-config to v0.6.1 2022-01-27 19:26:34 +08:00
IceHe.xyz
070506f934
refactor(phrases): replace Normalize with NormalizeKeyPaths (#192) 2022-01-24 17:26:08 +08:00
Wang Sijie
aaa6f4dcc2
feat(github): getAccessToken (#186)
* feat(github): getAccessToken

* fix: pr
2022-01-21 07:26:14 +00:00
simeng-li
aafc258ad9
ci(codecov): add jest coverage report (#167)
* ci(codecov): add jest coverage report

add coverage report on core and ui project
add codecov uploader job

* ci: add report upload github workflow action

add report upload github workflow action

* ci: fix ci replace github test actions with test:report

 fix ci replace github test actions with test:report
2022-01-10 10:04:00 +08:00
IceHe.xyz
a66abbc251
Revert "chore: update silverhand/configs dependency and fix the scope of eslint-disable rule (#157)" (#162)
This reverts commit 7ff8550845.
2021-12-29 03:56:55 +00:00
Darcy Ye
7ff8550845
chore: update silverhand/configs dependency and fix the scope of eslint-disable rule (#157)
* chore: fix the scope of eslint-disable rule

* chore: update silverhand/configs to v0.5.0 and fix linting error accordingly

* chore: fix linting error
2021-12-29 11:05:06 +08:00
Darcy Ye
dd7a385363
chore: update dependency of ESLint to version 8.1.0 or later (#155)
* chore: update eslint version to 8.1.0

* chore: update silverhand configs dependency

* chore: update silverhand configs dependency and fix code block according to linting rules
2021-12-20 14:20:23 +08:00
Xiao Yijun
bb04df5a09
refactor(core): replace querystring with query-string (#151) 2021-12-06 17:32:31 +08:00
Wang Sijie
838ae3fad9
feat: add koa-pagination (#143)
* feat: add koa-pagination

* fix: pr fix
2021-11-30 11:06:50 +08:00
simeng-li
6d5b9e5bcc
chore(chore): bump oidc-provider version (#132)
bump oidc-provider version to 7.10.0 to remove the 16.+ node warnings
2021-11-15 11:02:24 +08:00
simeng-li
8861175520
chore(ui): add global-this polyfill to ky (#131)
ky uses globalThis which is not supported on older browsers.
add @ungap/global-this polyfill ontop of ky imports
2021-11-08 14:52:01 +08:00
Gao Sun
5f60fe491a
fix(core): snakecase OIDC client metadata keys (#127) 2021-10-12 17:27:11 +08:00
Gao Sun
7c69896126
refactor: @logto/essentials -> @silverhand/essentials (#118)
* refactor: `@logto/essentials` -> `@silverhand/essentials`

* chore: remove useless comment
2021-09-16 23:48:06 +08:00
Gao Sun
5ccf903b4a
chore: upgrade configs (#117) 2021-09-16 16:54:32 +08:00
Gao Sun
7dfa31d86c
chore(core): upgrade oidc-provider (#116) 2021-09-15 15:57:32 +08:00
Gao Sun
2c93ef9237
chore: upgrade configs (#114) 2021-09-08 14:13:42 +08:00
Gao Sun
7ae7912642
refactor: adopt new ESLint rule set for FP (#111) 2021-09-07 20:24:27 +08:00
Gao Sun
54105fc614
fix(schemas): move zod into dependencies (#108) 2021-09-03 16:54:10 +08:00
Gao Sun
43456aae9b
feat(core): detect language from querystring and header 2021-09-01 17:08:28 +08:00
Gao Sun
806e99de61
refactor: replace plain assert with a more strict version (#103) 2021-08-31 22:45:28 +08:00
Gao Sun
00c8211160
chore: upgrade configs (#102) 2021-08-31 21:03:13 +08:00
Gao Sun
635fa92853
test(core): add tests for database insert-into.ts (#99) 2021-08-31 00:48:33 +08:00
Gao Sun
bb040cbeee
chore: enforce default export name on React files (#101) 2021-08-30 22:28:08 +08:00
Gao Sun
4be1bd3cad
chore: lint-staged for all packages (#100) 2021-08-30 22:26:58 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config (#98) 2021-08-30 11:30:54 +08:00
Gao Sun
154ddfac2b
fix: use lerna exec and FORCE_COLOR=1 for colorful outputs (#93) 2021-08-27 12:47:34 +08:00
Gao Sun
4973053fda
refactor: integrate zod in schemas (#90) 2021-08-26 13:05:23 +08:00
Gao Sun
27ec6fcb00
ci: run commitlint on PR title (#88) 2021-08-25 23:36:11 +08:00
simeng-li
b1bf5eccf0
feat: (ui) Read and show error from API response (#84)
Implemet useApi hooks to handle client side request
read loading & error status from the useApi hook
2021-08-23 21:29:58 +08:00
Gao Sun
58b8ac3957
refactor: use composite run steps and remove eslint formatter 2021-08-20 18:16:00 +08:00
Gao Sun
cd57fe8866
feat(core): setup jest 2021-08-20 14:53:23 +08:00
Gao Sun
acd8157a0d
feat: validate access token if needed 2021-08-15 23:39:03 +08:00
Simeng Li
f6229641aa refactor: add phrases dependency to schema 2021-08-11 23:07:39 +08:00
Gao Sun
2c6a64892a
chore: add preinstall script to packages 2021-08-10 15:29:32 +08:00
Simeng Li
8830228aae Add register moweb page 2021-08-02 21:34:00 +08:00
Gao Sun
181f198260 Merge pull request #51 from logto-io/gao--refactor-routes
refactor(core): align `next()` usage and add prod mode for ui proxy
2021-07-30 13:58:57 +08:00
Gao Sun
45828ad6c5
chore(ui): enable jest testing 2021-07-30 03:42:39 +08:00
Gao Sun
e5d49504ac
refactor(core): align next() usage and add prod mode for ui proxy 2021-07-30 02:21:47 +08:00
Gao Sun
4eb8d93d56
chore: yarn -> pnpm 2021-07-29 17:46:28 +08:00