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

181 commits

Author SHA1 Message Date
Gao Sun
9aa4caa826
refactor(core): fulfill correct applicationType when needed (#126)
* refactor(core): fulfill correct `applicationType` when needed

* refactor(core): use enum for application type

* refactor(core): do not filter undefined automatically
2021-10-11 09:55:17 +00:00
Gao Sun
0b23a5a793
fix: use port 5001 for ui dev (#125) 2021-10-08 14:10:44 +08:00
Gao Sun
1c3338f657
fix(core): load dist files when needed (#123) 2021-09-28 12:45:04 +08:00
simeng-li
34e979d7d9
fix(schema): update db-entries generation job (#120)
On Node 16.x.x fs.rmdir throw err if dir does not exist
Also from Node 16.x.x fs.rmdir will be deprecated, use fs.rm instead
2021-09-28 10:02:30 +08:00
simeng-li
4ea5f65982
fix(core): add redirectURI to the response body of register endpoint /user (#119)
* fix(ui): hide loading status

should hide loading status while a http error is thrown

* fix(ui): use api-hooks for consent request

integrate api-hooks for the consent page request

* fix(ui): add redirectURI to the response body of register endpoint

Fix the use registration flow, should redirect after a success registration callback
2021-09-24 17:00:26 +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
8e291b51bf
test(core): add unit tests for generateUserId() (#113) 2021-09-08 10:29:14 +08:00
Gao Sun
7ae7912642
refactor: adopt new ESLint rule set for FP (#111) 2021-09-07 20:24:27 +08:00
Gao Sun
af942d2027
feat(core): add status api and health check after deployment (#110) 2021-09-06 10:40:06 +08:00
Gao Sun
5b36355537
test(core): add unit tests for database insert into factory (#109) 2021-09-06 10:39:39 +08:00
Gao Sun
54105fc614
fix(schemas): move zod into dependencies (#108) 2021-09-03 16:54:10 +08:00
Gao Sun
ed204f91c5
feat(core): GET /applications (#107) 2021-09-01 20:51:34 +08:00
Gao Sun
5d5d43deee
feat(core): GET /application/:id (#106) 2021-09-01 18:23:53 +08:00
Gao Sun
211a5a1760
Merge pull request #104 from logto-io/gao-log-45
feat(core): detect language from querystring and header
2021-09-01 17:58:32 +08:00
Gao Sun
67cef28f27
test(ui): fix react-i18next warning in jest (#105) 2021-09-01 17:53:12 +08:00
Gao Sun
9ccb66ddfd
refactor(core): update per comments 2021-09-01 17:52:55 +08:00
Gao Sun
7c6602a1ac
refactor(core): fixing router types 2021-09-01 17:35:23 +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
1352cce911
test(core): add unit tests for database utils (#95)
* test(core): add unit tests for database utils

* test(core): add tests for `conditionalSql()`
2021-08-28 21:48:06 +08:00
Gao Sun
625520d75a
refactor: throw an error when requesting invalid scope (#94) 2021-08-28 10:50:38 +08:00
Gao Sun
4694c0d5ce
refactor: use 404 when not found 2021-08-27 17:13:49 +08:00
Gao Sun
6b6210feee
feat: PATCH /application/:id 2021-08-27 17:07:15 +08:00
Gao Sun
334cc5903a
refactor: accept rest data while creating application 2021-08-27 17:07:11 +08:00
Gao Sun
8902d66bde
refactor(core): database insert.ts -> insert-into.ts (#92) 2021-08-27 12:47:55 +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
ee1133cf49
Merge pull request #87 from logto-io/gao-log-22 2021-08-26 13:39:55 +08:00
Gao Sun
4973053fda
refactor: integrate zod in schemas (#90) 2021-08-26 13:05:23 +08:00
Gao Sun
a918a0ce8d
fix(core): bearerToken -> bearerTokenIdentifier 2021-08-25 23:42:03 +08:00
Gao Sun
af11f18e40
feat: DELETE /application/:id 2021-08-25 23:42:03 +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
f48534ed18
refactor: unify timestamp usage 2021-08-18 16:36:52 +08:00
Gao Sun
6f604f40c2
refactor: improved error code of buildInsertInto() 2021-08-18 11:54:05 +08:00
Gao Sun
acc2031e82
refactor: update SchemaValuePrimitive and add docs for convertToPrimitive() 2021-08-18 00:45:46 +08:00
Gao Sun
b192b7d17c
feat: POST /applicaiton 2021-08-18 00:24:00 +08:00
Gao Sun
acd8157a0d
feat: validate access token if needed 2021-08-15 23:39:03 +08:00
Gao Sun
bb7c8184f7
feat: init application api 2021-08-14 21:39:37 +08:00
Gao Sun
96bf7cee77
refactor(core): re-org files 2021-08-12 19:39:28 +08:00
simeng-li
a3a2624c5b Merge pull request #75 from logto-io/simeng-api-schema
refactor(core): move api errorType to schemas package flow
2021-08-11 23:12:02 +08:00
Simeng Li
f6229641aa refactor: add phrases dependency to schema 2021-08-11 23:07:39 +08:00