0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
Commit graph

770 commits

Author SHA1 Message Date
wangsijie
660352c439
feat(console): init sign in exp page 2022-04-12 15:38:33 +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
Wang Sijie
1f6f0a3796
fix(console): change border color to color-component-border (#528) 2022-04-12 12:06:15 +08:00
simeng-li
85c9eabfca
feat(core): add sign-in-settings api for client use (#534)
add sample sign-in-settigns api for client use
2022-04-12 12:05:29 +08:00
Gao Sun
3718a18286
refactor(docs): optimize React get started (#532) 2022-04-12 12:05:04 +08:00
simeng-li
2b0a1a9190
fix(ui): fix svg radio box icon fill color (#533)
fix svg radio box icon fill color
2022-04-12 12:04:02 +08:00
Wang Sijie
b8b5840936
feat(console): contact us (#509)
* feat(console): contact us

* refactor: extract Contact from Item

* fix: cr

* fix: cr
2022-04-11 10:02:37 +00:00
Xiao Yijun
06ea931d64
feat(console): link button component (#527) 2022-04-11 16:46:10 +08:00
Gao Sun
72aa2f53e6
feat(cli): integrate with command line (#526) 2022-04-11 08:25:57 +00:00
Gao Sun
32e9afe047
fix(docs): package name (#525) 2022-04-11 08:24:17 +00:00
Gao Sun
2b2196c553
Merge pull request #524 from logto-io/gao-log-2134-create-database
feat(cli): create database
2022-04-11 16:21:33 +08:00
IceHe.xyz
26c3e1fe2c
fix(core): extraClientMetadata properties (#530) 2022-04-11 14:22:16 +08:00
Gao Sun
2d5f1196a2
Merge pull request #523 from logto-io/gao-log-2128-seed-queries-cli-function 2022-04-11 14:11:15 +08:00
Gao Sun
3fedbd791b
feat(cli): create database 2022-04-10 13:06:12 +08:00
Gao Sun
06ff890358
fix(core): test cases 2022-04-09 22:06:41 +08:00
Gao Sun
ada4da2fbf
feat(cli): seed tables 2022-04-09 21:53:53 +08:00
simeng-li
aa9cc806bf
feat(ui): add social apis (#518)
add social apis
2022-04-09 12:20:21 +08:00
IceHe.xyz
fb65c65893
feat(core,schemas): cors allowed origins (#507)
* feat(schemas): cors allowed origins of application in custom OIDC client metadata

* refactor(schemas): rename CustomClientMetadataType to CustomClientMetadataKey

* feat(core): cors allowed origins
2022-04-08 18:16:20 +08:00
IceHe.xyz
5625b8838c
refactor(core): split mock.ts into __mocks__/*.ts (#510)
* chore(core,ui): coverage ignore src/__mocks__/

* chore(core): build excludes src/__mocks__/

* refactor(core): split mock.ts into __mocks__/*.ts
2022-04-08 09:47:09 +00:00
Gao Sun
b055362d34
feat(cli): init (#521) 2022-04-08 16:58:32 +08:00
Gao Sun
91c79bb44c
Merge pull request #520 from logto-io/gao-remove-resource-scopes
refactor(core): remove resource scopes
2022-04-08 16:15:50 +08:00
Xiao Yijun
3a8b9d7bd7
feat(core): validate redirect uris of application (#519) 2022-04-08 16:13:51 +08:00
Gao Sun
0499024fdf
refactor(core): remove resource scopes 2022-04-08 16:07:34 +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
Gao Sun
c1ab443e41
feat(docs): init React SDK tutorial (#516) 2022-04-08 13:47:31 +08:00
Wang Sijie
a6e0d19766
fix(console): fix ac ui issues (#505)
* fix: contact us

* fix: text input block

* fix: outline send button

* fix: color border

* fix: nav link

* fix: copy to clipboard border radis set to 6

* fix: add plus icon in buttons

* fix: set cn font size to 12 in sidebar section

* Revert "fix: set cn font size to 12 in sidebar section"

This reverts commit 11899731e7.

* fix: change color-primary-40 to color-primary

* fix: revert color-border

* fix: text input parent line height
2022-04-08 12:30:03 +08:00
Wang Sijie
ad769cd4a8
fix(console): fix placeholder image padding (#512) 2022-04-08 11:20:34 +08:00
simeng-li
b78a9cf82e
feat(ui): add page level loading layer (#513)
* feat(ui): add page level loading layer

add page level loading layer

* fix(ui): cr fix remove loading status in api-hook

remove loading status in api-hook
2022-04-08 10:12:26 +08:00
Gao Sun
acacd456c4
fix(console): get started folder naming (#517) 2022-04-08 09:36:47 +08:00
IceHe.xyz
7eb2e41936
refactor(core): remove find-many (#511) 2022-04-07 21:16:59 +08:00
Xiao Yijun
f811d32371
refactor(console): add paginations for applications and resources (#495) 2022-04-07 20:36:46 +08:00
Charles Zhao
86c2d37892
fix(console): get-started markdown file paths 2022-04-07 18:16:30 +08:00
Gao Sun
39833e4a42
fix: enable hmr in parcel projects (#514) 2022-04-07 17:47:40 +08:00
Charles Zhao
e1701f0799
Merge pull request #506 from logto-io/charles-chore-refactor-connectors-components
chore(console): refactor connectors children components
2022-04-07 16:12:49 +08:00
simeng-li
55a37d8baf
fix(bug): display request message for now (#508)
display request message for now
2022-04-07 15:48:02 +08:00
Charles Zhao
0619c183af
chore(console): refactor connectors children components 2022-04-07 12:20:04 +08:00
IceHe.xyz
e969e15e3e
test(core): guard sign-in methods and social connector ids (#498)
* test(core): sign-in-methods guard of sign-in experience

* test(core): social-sign-in-connector-ids guard of sign-in experience

* test(core): guard branding of sign-in experience
2022-04-07 12:18:27 +08:00
Charles Zhao
8cc6a1d138
Merge pull request #502 from logto-io/charles-log-1683-support-input-fields-in-get-started-steps
feat(console): support input form fields in get-started steps
2022-04-07 12:14:41 +08:00
Charles Zhao
3ddc177f8e
feat(console): support input form fields in get-started steps 2022-04-07 12:07:27 +08:00
IceHe.xyz
9d15b584ca
test(core): guard terms of use and language info (#497)
* test(core): terms-of-use guard of sign-in experience

* test(core): add null test cases for guards of sign-in experience

* test(core): language-info guard of sign-in experience
2022-04-07 12:04:09 +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
IceHe.xyz
b0de73a4a1
test(core): get sign-in experience (#499) 2022-04-07 11:42:20 +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
ff925372e5
refactor(ui): refactor i18n phrases in logto main flow (#501)
* refactor(ui): refactor i18n phrases in logto main flow

refactor i18n phrases in logto main flow

* fix(ui): cr fix

remove debug code
2022-04-06 15:38:53 +08:00
Darcy Ye
09703896f3
fix(core): fix default enable value of new connectors (#500) 2022-04-06 15:34:18 +08:00
simeng-li
6f85098853
refactor(ui): update react rout version (#492)
update react route version
2022-04-06 15:01:12 +08:00
Charles Zhao
8b2f873041
Merge pull request #496 from logto-io/charles-log-2098-fix-page-scroll-not-work-on-monaco-editor
fix(console): page scroll should work when scrolling on monaco editor
2022-04-06 14:44:47 +08:00
Wang Sijie
766156fb6b
feat(console): store filters in url search params (#493) 2022-04-06 14:08:11 +08:00
Gao Sun
4a904f2953
ci: upload eslint annotations (#490)
* ci: upload eslint annotations

* ci: update `upload-annotations.yml`
2022-04-06 06:06:34 +00:00
IceHe.xyz
71465ca999
feat(schemas,core,phrases)!: add type to connector schema and sync to DB (#491)
* feat(schemas,core,phrases)!: add type in connector schema and sync to DB

* chore(core): fix code about connector type
2022-04-06 12:11:06 +08:00
Charles Zhao
442e6935ad
fix(console): page scroll should work when scrolling on monaco editor 2022-04-06 11:55:41 +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
5a0c91dbba
Merge pull request #482 from logto-io/charles-log-1682-support-code-editor-in-get-started-steps
feat(console): support code editor in get-started steps
2022-04-02 12:59:18 +08:00
Charles Zhao
e4d2641bd0
feat(console): support code editor in get-started steps 2022-04-02 12:55:22 +08:00
Charles Zhao
08dd968127
Merge pull request #481 from logto-io/charles-log-2000-refactor-get-started-guide
refactor(console): promote and re-use get-started component in both applications and connectors
2022-04-02 12:37:43 +08:00
Charles Zhao
8aaf3c0051
refactor(console): promote and re-use get-started component 2022-04-02 12:34:24 +08:00
simeng-li
04d00fc11f
feat(ui): update pages (#479)
* feat(ui): update pages

update page routing and render logics

* chore(ui): component renaming

component renaming
2022-04-02 11:35:33 +08:00
IceHe.xyz
812841494a
feat(core): update social sign-in connector IDs only when social sign-in is enabled (#488) 2022-04-02 11:34:55 +08:00
IceHe.xyz
58d03ae715
feat(core,phrases): validate social sign-in method with social connector IDs (#485) 2022-04-01 17:57:29 +08:00
Xiao Yijun
44eb14fd6b
fix(console): input outline should be red in the error state on focused (#484) 2022-04-01 17:27:41 +08:00
Wang Sijie
3ac019c4b7
fix(console): add textField class to application details formfields (#489) 2022-04-01 17:23:50 +08:00
IceHe.xyz
efdb24833e
feat(core,phrases): validate sign-in methods with enabled connectors (#480) 2022-04-01 16:32:45 +08:00
Wang Sijie
039f3d0cbb
fix(console): adjust styles on table (#476) 2022-04-01 16:17:54 +08:00
Wang Sijie
36cfdf4b16
feat(console): sticky footer in details page (#486) 2022-04-01 16:13:43 +08:00
IceHe.xyz
bf94ee2d10
feat(core,phrases): validate there must be one and only one primary sign-in method (#475) 2022-04-01 13:52:01 +08:00
Xiao Yijun
b416ee877e
feat(console): multi-text-input (#472) 2022-04-01 13:45:57 +08:00
IceHe.xyz
2356c2ae2e
feat(core): validate sign-in experience branding and terms of use (#477) 2022-04-01 13:40:32 +08:00
Wang Sijie
c9a8855c0d
Merge pull request #468 from logto-io/sijie--log-1975-table-scroll
feat(console): table scroll
2022-04-01 13:40:09 +08:00
Darcy Ye
2a153c2b6d
feat(core): add wechat-native connector (#470)
* feat(core): add wechat-native connector

* feat(core): add wechat native getAuthorizationUri UT
2022-03-31 18:03:51 +08:00
Darcy Ye
004fe65d5a
feat(core): validate connector config before enabling (#478)
* feat(core): validate connector config before enabling

* feat(core): remove code redundancy
2022-03-31 18:02:35 +08:00
Charles Zhao
48bd57c94e
chore: bump version of configs 2022-03-31 15:18:34 +08:00
wangsijie
7feafe8d21
feat(console): table scroll 2022-03-31 14:49:40 +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
simeng-li
6a61ea29f5
feat(ui): add passwordless container (#469)
* feat(ui): add passwordless container

add email & phone passwordless container
add secondary sign-in page

* feat(ui): uncomment code after rebase latest code

uncomment code after rebase latest code
2022-03-31 13:57:01 +08:00
simeng-li
67939ea2bb
feat(ui): add CreateAccount Container (#457)
* feat(ui): add CreateAccount Container

add CreatAccount Container

* fix(ui): fix regex

* fix(ui): remove useless test change

remove useless test update
2022-03-31 13:49:39 +08:00
Darcy Ye
84f30fe04b
fix(core): fix did not mock request error which results in timeouts (#471) 2022-03-30 18:31:42 +08:00
simeng-li
0444efd844
feat(ui): add password less related api (#459)
* feat(ui): add password less related api

add password less related api

* test(ui): add api ut

add api ut
2022-03-30 15:04:27 +08:00
Wang Sijie
10fc7e4205
feat(console): support icon in text-input (#458)
* feat(console): support icon in text-input

* feat(console): user search (#460)

* fix: inputValue empty

* fix: remove contional
2022-03-30 14:01:18 +08:00
Charles Zhao
34992a2116
Merge pull request #462 from logto-io/charles-log-2031-refactor-title-subtitle-styles
refactor(console): match design mockups by adjusting fonts, paddings, etc
2022-03-30 11:57:36 +08:00
Darcy Ye
c0337f502d
fix(core): fix wechat web response code and related UTs (#461) 2022-03-29 23:59:47 +08:00
IceHe.xyz
f260d2bb56
fix(core): error message interpolation (#465) 2022-03-29 21:47:12 +08:00
Charles Zhao
e297dcbb33
Merge pull request #463 from logto-io/charles-update-code-comments
chore(console): update code comments in markdown util
2022-03-29 18:07:41 +08:00
Wang Sijie
eb1b20cdac
refactor(console): remove zero-colspan (#464) 2022-03-29 17:54:29 +08:00
Charles Zhao
329966e206
chore(console): update code comments in markdown util 2022-03-29 17:41:03 +08:00
Charles Zhao
5cc177381f
refactor(console): match design mockups by adjusting fonts, paddings, etc 2022-03-29 17:01:45 +08:00
Xiao Yijun
58ab342c47
refactor(console): the submit state of forms (#455) 2022-03-29 12:58:53 +08:00
Wang Sijie
d557d9b65c
fix(console): align button icon size to 20 (#456) 2022-03-29 11:26:48 +08:00
Wang Sijie
1d71064a88
feat(console): extract total number from headers for useSWR (#448) 2022-03-28 15:39:42 +08:00
Wang Sijie
9a437e3c0d
feat(console): table empty state (#446)
* feat(console): table empty state

* fix: cr
2022-03-28 15:03:11 +08:00
Wang Sijie
7d76428e57
fix(console): prevent css overiding in table-loading (#454) 2022-03-28 15:02:28 +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
a08abfd4c6
Merge pull request #432 from logto-io/charles-log-1919-dynamically-load-get-started-markdown-metadata
feat(core): provide a means to fetch get-started markdown metadata
2022-03-28 14:56:15 +08:00
Xiao Yijun
791801a7df
feat(console): modal layout dimensions (#440) 2022-03-28 14:00:03 +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
45a82f97c1
feat(ui): re-implement username signin page (#447)
* feat(ui): re-implement username signin page

re-implement username signin page

* fix(ui): username signin CR fix

username signin CR fix
2022-03-28 09:40:47 +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
IceHe.xyz
14ac317358
refactor(core): make initConnectors check existing connectors in DB once (#451)
* refactor(core): make initConnectors check existing connectors in DB once

* refactor(core): remove unnecessary hasConnector
2022-03-25 15:55:51 +08:00
Darcy Ye
82d104a0d3
feat(core): add DELETE /users/:userId/identities/:connectorId (#437)
* feat(core): add DELETE /users/:userId/identities/:connectorId

* feat(core): add user query methods UT cases for better testing coverage

* feat(core): rewrite deletion of connector info from user identities using postgresql operator
2022-03-25 15:48:53 +08:00
Wang Sijie
3f8cc6af69
refactor(console): use nullable in form type (#452) 2022-03-25 15:16:57 +08:00
Wang Sijie
b46cfd2bc3
refactor(console): use colgroup in table (#445) 2022-03-25 14:46:37 +08:00
IceHe.xyz
2ee88d19ee
refactor(core): make getConnectorInstances access DB only once (#429)
* refactor(core): make getConnectorInstances access DB only once

* test(core): make getConnectorInstances access DB only once

* refactor(core): getConnectorInstanceByType merge .filter into .find for running in one loop
2022-03-25 14:45:34 +08:00
IceHe.xyz
28625f6894
feat(core): order connectors by enabled desc, id asc (#430) 2022-03-25 12:26:42 +08:00
Charles Zhao
028c7d6a56
refactor(console): minor adjustments made to plain button styles 2022-03-24 22:20:13 +08:00
Wang Sijie
b6323113fa
feat(console): table error component (#442)
* feat(console): table error component

* fix: pr
2022-03-24 15:02:31 +08:00
Xiao Yijun
a918dce05f
feat(console): save changes in application detail page (#439) 2022-03-24 11:55:13 +08:00
Wang Sijie
d2c0f623c6
feat(console): table loading component (#441) 2022-03-24 11:48:39 +08:00
IceHe.xyz
04ba181a64
fix(core): missing some commits (#444) 2022-03-23 18:54:26 +08:00
Xiao Yijun
847e018b02
feat(console): readme in details (#438) 2022-03-23 10:34:25 +00:00
IceHe.xyz
d9670fd709
refactor(core): get sign-in experience (#426)
* feat(core): getEnabledSocialConnectorIds

* test(core): getEnabledSocialConnectorIds

* refactor(core): get sign-in experience

* test(core): get sign-in experience
2022-03-23 12:44:48 +08:00
Wang Sijie
3998f39db7
feat(console): add connector (#428)
* feat(console): add connector

* feat(console): delete connector (#433)

* feat(console): add connector

* feat(console): delete connector

* fix: rebase error
2022-03-23 11:57:14 +08:00
simeng-li
2680ab7cea
feat(ui): add toast component (#425)
* feat(ui): add toast component

add toast component

* fix(ui): prevent eventListener bind multiple times

prevent eventListener bind multiple times

* fix(ui): toast cr
 fix

toast cr fix
2022-03-23 11:50:33 +08:00
Wang Sijie
e8b4862843
feat(console): user details connectors (#434)
* feat(console): user details connectors

* fix: is submiting
2022-03-23 11:48:42 +08:00
Xiao Yijun
4f41162ac3
refactor(console): refactor modals with modallayout (#435) 2022-03-22 17:40:06 +08:00
Darcy Ye
2e08ec9db0
fix(core): fix response code for requesting wechat APIs (#422) 2022-03-22 09:41:25 +08:00
Xiao Yijun
ec8ecf262a
feat(console): delete application (#417) 2022-03-21 17:43:13 +08:00
Xiao Yijun
3e99ac172a
feat(console): modal layout (#419) 2022-03-21 09:29:06 +00: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
139a388508
fix(console): api resource table data style (#420) 2022-03-21 14:12:48 +08:00
Wang Sijie
8ae2d7964b
fix(console): add readonly style for text input (#421) 2022-03-21 12:26:16 +08:00
Wang Sijie
c4a0299b1c
feat(console): user details settings (#403) 2022-03-21 11:48:27 +08:00
Darcy Ye
fa757c3d12
feat(core): add wechat-web connector (#394)
* feat(core): add WeChat connector as well as corresponding UTs

* feat(core): move TODO from comment block
2022-03-18 17:39:20 +08:00
Charles Zhao
b196d21ca2
Merge pull request #409 from logto-io/charles-log-1804-log-1681-quick-start-guide-ui
feat(console): show get started guide on application creation success
2022-03-18 16:51:00 +08:00
Xiao Yijun
9a9166f45a
fix(console): operation button align in api resource detail (#416) 2022-03-18 08:45:32 +00:00
Charles Zhao
54c80383c6
feat(console): show get started guide on application creation success 2022-03-18 16:15:10 +08:00
Xiao Yijun
3c0ff36817
feat(console): add another for redirect uris in application details (#387) 2022-03-18 16:02:37 +08:00
Wang Sijie
97c3aa37ea
feat(console): change password (#414)
* feat(console): change password

* fix: rename to reset password
2022-03-18 07:46:47 +00:00
IceHe.xyz
c3d447b081
test(core): connectors (#413) 2022-03-18 15:42:03 +08:00
simeng-li
ee85a25d79
feat(ui): textual ui components (#404)
* feat(ui): error message & text link

error message & text link

* feat(ui): add tos, divider and text link components

tos, divider and text link components

* fix(ui): update the usage of error message

update the usage of error message
2022-03-18 15:34:38 +08:00
Wang Sijie
8144cfee79
feat(console): add styles for code editor (#415) 2022-03-18 15:25:10 +08:00
Wang Sijie
93dee847f6
feat(console): delete user (#406)
* feat(console): delete user

* fix: fix lint

* fix: min width
2022-03-18 03:51:45 +00:00
Wang Sijie
4a73e22d2b
feat(console): add component UnnamedTrans (#401) 2022-03-18 11:20:23 +08:00
Wang Sijie
32b058467c
fix(console): button inline flex (#407)
* fix(console): button inline flex

* fix(console): change to inline-flex in button
2022-03-18 08:46:02 +08:00
Wang Sijie
a3ba8a8065
fix(console): icon button classname (#408) 2022-03-18 08:45:47 +08:00
IceHe.xyz
8dd05f776f
chore(core): fix connector typos (#411) 2022-03-17 23:01:15 +08:00
Gao Sun
f085f08a8e
refactor(console): update sidebar styles (#402) 2022-03-17 17:30:01 +08:00
simeng-li
0feeee263a
feat(ui): add button components (#400)
* feat(ui): add button components

add button components

* fix(ui): add conncetor name i18n

add connector name i18n

* fix(ui): remove useless noop click function

remove useless noop click function
2022-03-17 16:42:03 +08:00
Wang Sijie
6f3c762632
fix(console): tab nav link font (#399) 2022-03-16 17:21:07 +08:00
Gao Sun
bfc8a64c44
refactor(console): add dev origin to allowed CORS domain in OIDC (#397) 2022-03-16 16:35:45 +08:00
Wang Sijie
305b6aefb9
fix(console): change status component type (#398) 2022-03-16 16:20:24 +08:00
Wang Sijie
31a171f202
feat(console): icon button (#396)
* feat(console): icon button

* fix: eye size
2022-03-16 16:20:08 +08:00
simeng-li
0d76b91271
feat(ui): add passcode input component (#384)
* feat(ui): add passcode input component

add passcode input component

* fix(ui): cr fix

code review fix

* refactor(ui): refactor style sheets

refactor style sheets
2022-03-16 16:04:27 +08:00
Wang Sijie
ee175e70fc
feat(console): button with title and icon (#393) 2022-03-16 15:55:15 +08:00
Gao Sun
5c89fe7cec
feat(console): not found page (#395) 2022-03-16 07:49:30 +00: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
IceHe.xyz
b288e8eb6c
refactor(core): rename sign-in-experience api paths from sign-in-ex to sign-in-exp (#392) 2022-03-16 15:25:26 +08:00
Wang Sijie
bff4a9860d
Merge pull request #383 from logto-io/sijie--log-1705-user-detail-header
feat(console): user details header
2022-03-16 14:48:47 +08:00
Xiao Yijun
78b2e3be30
feat(console): delete api resource (#389) 2022-03-16 14:47:31 +08:00
Wang Sijie
a77b94231e
feat(console): create user (#388)
* feat(console): create user

* fix: handle error
2022-03-16 14:45:15 +08: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
IceHe.xyz
9f3fc5a5cc
feat(schemas): sign-in-experiences (#361)
* chore(schemas): remove useless table sign_in_methods

* feat(schemas): sign-in-experiences

* chore(core): update mock.ts and sign-in-experience.test.ts about sign-in-experiences schema

* chore(core): fix typo in test
2022-03-15 16:46:23 +08:00
Gao Sun
cf159121ba
refactor(console): merge utilities folder 2022-03-15 15:19:01 +08:00
wangsijie
f0ff2b3906
feat(console): user details header 2022-03-15 14:00:02 +08:00
Charles Zhao
649aadf310
Merge pull request #382 from logto-io/charles--add-outline-and-plain-button-types
feat(console): add outline and plain button types
2022-03-15 13:58:50 +08:00
Gao Sun
4d9fdeb391
refactor(console): update per review 2022-03-15 13:46:51 +08:00
Gao Sun
b9dab8a9da
fix(console): connect sign in with core 2022-03-15 13:46:50 +08:00
Gao Sun
38d8196794
feat(console): integrate React SDK 2022-03-15 13:46:49 +08:00
Charles Zhao
d02112f6a4
feat(console): add outline and plain button types 2022-03-15 13:44:00 +08:00
Charles Zhao
bd4d3a44fc
refactor(console): tonal palette colors and theme mixins 2022-03-15 13:38:05 +08:00
Xiao Yijun
22a6278a9b
feat(console): application details settings (#381) 2022-03-15 12:42:42 +08:00
Wang Sijie
f25cb8adae
feat(console): action menu (#364)
* feat(console): action menu

* fix: button props

* refactor: merge useLayoutEffect
2022-03-15 04:34:54 +00:00
Wang Sijie
b23c0083db
refactor(console): drawer component (#379) 2022-03-15 03:38:09 +00:00
Wang Sijie
6640c0c18d
feat(console): markdown component (#378) 2022-03-15 11:31:50 +08:00
Xiao Yijun
9b89971d34
refactor(console): application detail header (#376) 2022-03-14 19:50:06 +08:00
Wang Sijie
f0ab8f0c96
feat(console): init users page (#380) 2022-03-14 17:13:24 +08:00
Darcy Ye
f2bfc30ef9
feat(core): fix connector route tests (#377) 2022-03-14 14:06:34 +08:00
Darcy Ye
cde61b77b1
feat(core): add README.md for connectors (#362)
* feat(core): add README.md for connectors

* feat(core): add README.md files' existence check

* feat(core): fix path of README.md
2022-03-14 11:17:24 +08:00
Wang Sijie
74d7dd6603
feat(console): wrap ky to handle response error (#370)
* feat(console): wrap ky to handle response error

* fix: handle error without body
2022-03-14 03:17:04 +00:00
Xiao Yijun
043b20a05a
feat(console): connector sender test (#367) 2022-03-14 11:11:37 +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
Darcy Ye
9ed146645b
revert(core): manually revert forgot password logic (#365)
* Revert "feat(core): add email forgot password flow (send/verify passcode) (#336)"

* Revert "feat(core): post /session/forgot-password/phone/verify-passcode-and-reset-password (#334)"

* Revert "feat(core): add forgot password send a passcode to phone route (#326)"
2022-03-11 17:45:42 +08:00
Gao Sun
38df1ec8f4
chore: upgrade packages 2022-03-11 16:30:22 +08:00
Xiao Yijun
acde45f534
refactor(console): buildDetailsLink in api resources page (#355) 2022-03-11 04:10:04 +00:00
Charles Zhao
4c9bd7dbe4
fix(console): mismatched form field registry 2022-03-10 22:34:15 +08:00
IceHe.xyz
4eb2c6ca42
feat(core): findAllApplications order by createdAt desc (#344)
* feat(core): find many data order by

* test(core): find many data order by

* feat(core): findAllApplications order by createdAt desc

* test(core): findAllApplications order by createdAt desc
2022-03-10 15:50:05 +08:00
Charles Zhao
1b42586b34
refactor(console): restore paddings to Card component 2022-03-10 15:01:05 +08:00
Wang Sijie
223b8a2444
feat(console): connector config (#358)
* feat(console): connector config

* fix(console): page layout issues

* feat(console): saved toast

* fix: style lint

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2022-03-10 06:47:32 +00:00
simeng-li
e390110b8b
feat(ui): seperate password input with normal input (#350)
* feat(ui): seperate password input with normal input

seperate password input with normal input

* fix(ui): cr fix update input field icon event

update input field icon event

* fix(ui): remove console log

remove console log
2022-03-10 14:28:57 +08:00
Darcy Ye
811fe39852
feat(core): add email forgot password flow (send/verify passcode) (#336)
* feat(core): add email forgot password flow (send/verify passcode)

* feat(core): reset password once passcode verification succeed

* feat(core): remove username+password existence check

* feat(core): fix phone not exist error code
2022-03-10 14:15:20 +08:00
Xiao Yijun
c67cf2b2bd
refactor(console): replace the text-filed css with mixin in the application create form (#353) 2022-03-10 13:17:55 +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
Charles Zhao
d7c0d4bf80
Merge pull request #356 from logto-io/charles-log-1864-fix-admin-console-page-layout-issues
fix(console): page layout issues
2022-03-10 12:50:32 +08:00
Charles Zhao
db61e15cd9
fix(console): page layout issues 2022-03-10 12:45:32 +08:00
Darcy Ye
67aad46a2c
test(core): add UTs for connector route (#357) 2022-03-10 11:54:33 +08:00
Wang Sijie
012db5e07d
feat(console): connector detail readme (#351) 2022-03-10 11:38:20 +08:00
Xiao Yijun
05bbc9c2d3
feat(console): api resource details (#352) 2022-03-09 17:56:50 +08:00
Gao Sun
17e218f77d
feat(console): conditional navigation after create app (#346) 2022-03-09 16:11:43 +08:00
Gao Sun
10c2b464b1
refactor(console): support to in <ItemPreview> (#345) 2022-03-09 16:11:08 +08:00
Wang Sijie
dab3c12bea
feat(console): connector details header (#348) 2022-03-09 15:54:46 +08:00
simeng-li
6fcc682f4f
feat(ui): update input field (#342)
* feat(ui): update input field

update input field using latest design

* feat(ui):  add error status border

add error status border

* fix(ui): cr fix

cr fix

* fix(ui): fix icon center bug

fix icon center bug
2022-03-09 15:35:45 +08:00
Wang Sijie
8f94a0d76b
feat(console): default button style (#349) 2022-03-09 15:32:11 +08:00
Xiao Yijun
58b281f370
feat(console): create resource page (#343) 2022-03-09 04:37:11 +00:00
Wang Sijie
88053163e6
feat(console): connectors (#338)
* feat(console): connectors

* refactor: connector row
2022-03-09 12:32:44 +08:00
Gao Sun
1df1aee010
refactor(console): improve create app form ux (#340)
* refactor(console): improve create app form ux

* refactor(console): update i18n
2022-03-09 04:24:33 +00:00
Gao Sun
c46fb704bf
feat(console): applications list navigation (#341) 2022-03-08 21:09:32 +08:00
simeng-li
4a004cfbb8
feat(ui): add Branding component (#335)
* feat(ui): add branding component

add branding component

* fix(ui): restore old dark stying

restore old dard styling

* fix(ui): cr fix

code review fix

* fix(ui): cr fix

cr fix
2022-03-08 16:12:27 +08:00
Darcy Ye
9e677ca97a
feat(core): post /session/forgot-password/phone/verify-passcode-and-reset-password (#334)
* feat(core): add post /session/forgot-password/phone/verify-passcode and UT

* feat(core): reset password once passcode verification succeed
2022-03-08 16:09:06 +08:00
Gao Sun
1399c9258e
chore: upgrade configs (#339) 2022-03-08 15:58:55 +08:00
Wang Sijie
4cc45696a8
feat(core): only allow one enabled sms/email (#337) 2022-03-08 15:57:57 +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
71e5da6216
feat(console): app details header (#327)
* feat(console): init app details

* feat(console): loading app details from api

* fix(console): back to app i18n

* refactor(console): add img placeholder alt
2022-03-08 14:53:49 +08:00
Gao Sun
00541dda78
Merge pull request #324 from logto-io/gao-init-app-form
feat(console): init app create form
2022-03-08 14:42:33 +08:00
Gao Sun
3bbfe905bb
feat(console): app type description 2022-03-08 12:39:58 +08:00
IceHe.xyz
31779e0a3d
feat(core): facebook connector (#321)
* feat(core): facebook connector

* test(core): facebook connector
2022-03-08 12:39:55 +08:00
Gao Sun
c4dace9a51
fix(console): set modal app element 2022-03-08 12:19:10 +08: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
Wang Sijie
387ee50684
feat(console): init connectors (#332) 2022-03-08 11:10:46 +08:00
Gao Sun
d035047ee8
feat(console): implement tooltip and integrate with copy (#323) 2022-03-07 10:54:05 +00:00
IceHe.xyz
fc113fba99
refactor(core): simplify check-and-throw-ConnectorError with assertThat (#333) 2022-03-07 16:08:05 +08:00
Darcy Ye
b14c30beca
feat(core): add forgot password send a passcode to phone route (#326)
* feat(core): add forgot password send a passcode to phone route

* feat(core): add UT for forget password send passcode to phone flow
2022-03-07 15:10:36 +08:00
Wang Sijie
12769e277b
feat(console): init connector page (#331) 2022-03-07 13:58:07 +08:00
IceHe.xyz
607a5344c2
chore(core): add TODO comments for adding the real connector logo URL (#330) 2022-03-07 13:49:57 +08:00
IceHe.xyz
c42b2a5a67
refactor(core): remove unnecessary check in github and aliyun-sms connector (#329) 2022-03-07 13:41:28 +08:00
IceHe.xyz
3dd7d496ef
test(core): fix typos in connectors/*/index.test.ts (#328) 2022-03-07 12:01:24 +08:00
Xiao Yijun
f6a0aa8bd6
feat(console): api resources list page (#322) 2022-03-06 19:56:51 +08: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
06fd253754
refactor(console): update sidebar styles (#318) 2022-03-04 15:33:33 +08:00
Gao Sun
80e32f2987
fix(console): styles 2022-03-04 15:18:34 +08:00
Gao Sun
5b0caa5d97
feat(console): add table row hover effect 2022-03-04 13:45:34 +08:00
Gao Sun
f31a6e0db8
feat(console): copy to clipboard 2022-03-04 13:34:35 +08:00
Gao Sun
b30c431140
feat(console): init console table 2022-03-04 13:10:39 +08:00
Gao Sun
92a40a4e6c
feat(console): applications layout (#316)
* feat(console): applications layout

* feat(console): button disabled style
2022-03-04 12:47:02 +08:00
Gao Sun
5dcf1b92f3
refactor(console): title i18n (#315) 2022-03-03 17:44:44 +08:00
Gao Sun
ab15ee8555
feat(console): init api resources (#313) 2022-03-03 17:44:25 +08:00
Gao Sun
a265a3434b
fix(console): tab route link (#314) 2022-03-03 17:42:47 +08:00
Gao Sun
9e0f60ebc8
fix(console): set base url when needed (#312)
* fix(console): set base url when needed

* fix(console): replace `a` with `Link`

* refactor(console): update var name
2022-03-03 15:44:42 +08:00
Gao Sun
b9b3637300
feat(console): theme (#311)
* feat(console): theme

* feat(console): use css var for font
2022-03-03 07:15:33 +00: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
14d6c9e18a
feat(console): topbar (#310)
* feat(console): topbar

* refactor(console): move logo to assets folder
2022-03-03 07:00:20 +00:00
Gao Sun
365c63b2c7
feat(core): connect console (#306)
* feat(core): connect console

* fix(core): prod spa dist

* fix(core): test

* test(core): refactor spa proxy tests
2022-03-03 14:25:32 +08:00
Darcy Ye
5734333dea
test(core): add UT for aliyun sms (#305)
* test(core): add UT for aliyun sms

* test(core): define some params as top-level consts
2022-03-02 16:50:26 +08:00
Xiao Yijun
8ae42e9666
feat(core): google connector (#300) 2022-03-02 16:26:07 +08:00
Xiao Yijun
dcd84086f6
refactor(core): slonik error handling (#307) 2022-03-02 15:44:57 +08:00
Darcy Ye
16396cf231
test(core): add UTs for session routes (#299)
* test(core): add email not exists check to sign-in email code verification

* test(core): add remaining UTs except for /session/consent

* test(core): fix username validity check according to new username rules

* test(core): remove UT for /session/consent as an individual PR

* test(core): fix error code 500
2022-03-02 14:16:09 +08:00
IceHe.xyz
c5a9eef852
chore(core): fix typos (#303)
* chore(core): fix typos in routes/session.ts

* chore(core): fix typos in utils/password.ts

* chore(core): fix Connector typos

* chore(core): fix typos in connectors/utilities/aliyun.ts

* chore(core): fix 'custom' typos in database/update-where.test.ts

* chore(core): fix typos in middleware/koa-oidc-error-handler.ts
2022-03-02 12:24:07 +08: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
Wang Sijie
ba2b499637
test(core): session consent (#304) 2022-03-02 11:24:15 +08:00
Gao Sun
c782a7db8b
refactor(console): update per review 2022-03-01 22:59:02 +08:00
Wang Sijie
4d7ea642a0
refactor(core): session tests (#302) 2022-03-01 17:03:41 +08:00
IceHe.xyz
62c6c3812a
chore(phrases): fix typos in locales/en.ts (#301) 2022-03-01 14:26:27 +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
Wang Sijie
7af6973079
test(core): aliyun-dm (#295) 2022-03-01 11:04:20 +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
f505d87638
feat(console): implement sidebar 2022-02-28 18:48:00 +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
fb6a1dc236
test(core): add ut for queires (#287)
* test(core): add ut for queires

add ut for queries

* test(core): add user query ut

add user query ut

* fix(core): remove test code

remove console log
2022-02-28 14:30:27 +08:00
Wang Sijie
c9400d0a4d
test(core): github and connector utilities (#291) 2022-02-28 06:27:45 +00:00