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
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