Darcy Ye
eea4d4cd3e
refactor(core): should not use login to store session info ( #2017 )
2022-09-28 21:01:10 +08:00
Xiao Yijun
2c1610d665
refactor(console,core,phrases): replace LanguageKey
with LangaugeTag
in phrase-ui related code ( #2024 )
2022-09-28 18:16:23 +08:00
Gao Sun
2db331e19f
refactor(core): copy alteration scripts before executing ( #2021 )
2022-09-28 15:25:54 +08:00
Gao Sun
5bd54484b4
refactor(core): update filename to alteration ( #2015 )
2022-09-27 07:52:39 +00:00
IceHe
7ce55a8458
feat(core,phrases): add GET /phrase route ( #1959 )
2022-09-27 07:36:03 +00:00
Gao Sun
2d069cbebf
refactor(schemas): auto update next alteration scripts ( #2008 )
...
* refactor(schemas): auto update next alteration scripts
* refactor(schemas): update eslint config
* refactor(core): log when alteration is done
2022-09-27 14:43:17 +08:00
wangsijie
10c1be6eb7
fix(core,schemas): move alteration types into schemas src ( #2005 )
2022-09-26 17:29:44 +08:00
wangsijie
2cb4091039
refactor(core,schemas): rename migration to alteration ( #2002 )
2022-09-26 16:38:27 +08:00
wangsijie
af1ccf6ffa
Merge pull request #2001 from logto-io/sijie-log-4238-create-tables-state
...
feat(core): update migration state after db init
2022-09-26 15:56:54 +08:00
wangsijie
f904b88f56
feat(core): update migration state after db init
2022-09-26 15:44:48 +08:00
wangsijie
450130b4b8
Merge pull request #1990 from logto-io/sijie-log-4232-migration-timestamp
...
feat(core,schemas): use timestamp to version migrations
2022-09-26 13:54:46 +08:00
Darcy Ye
ec3fa4715d
chore(core): remove unnecessary updateLastSignInAt ( #1982 )
2022-09-26 03:28:18 +00:00
wangsijie
bb4bfd3d41
feat(core,schemas): use timestamp to version migrations
2022-09-26 11:27:12 +08:00
wangsijie
bf1d281905
feat(core): check migration state before app start ( #1979 )
2022-09-23 16:31:46 +08:00
wangsijie
f4cf89fb8d
fix(core): filter out connector-kit ( #1987 )
2022-09-23 07:38:31 +00:00
Gao Sun
082e82b3bf
refactor(schemas): decouple migration scripts
2022-09-23 15:03:32 +08:00
Gao Sun
88b1384ccb
refactor(core): use default import for migration scripts
2022-09-23 15:03:32 +08:00
Gao Sun
b367cd3380
refactor(core): add migration scripts for #1973
2022-09-23 15:03:32 +08:00
simeng-li
ddb0e47950
feat(ui): add passwordless switch ( #1976 )
...
add passwordless switch
2022-09-23 10:33:00 +08:00
wangsijie
9a89c1a200
feat(core): deploy migration in transaction mode ( #1980 )
2022-09-23 10:22:13 +08:00
Gao Sun
d4fc7b3e5f
refactor(core)!: update koaAuth()
to inject detailed auth info ( #1977 )
...
* refactor(core)!: update `koaAuth()` to inject detailed auth info
* test(core): add auth context to unit test requester
2022-09-22 15:48:11 +00:00
Gao Sun
cd9c6978a3
feat(core): machine to machine apps
2022-09-22 22:12:16 +08:00
Darcy Ye
acdc86c856
feat(core): add POST /session/forgot-password/reset ( #1972 )
2022-09-22 03:30:45 +00:00
wangsijie
7cc2f4d142
feat(core,schemas): migration deploy cli ( #1966 )
2022-09-22 10:35:23 +08:00
simeng-li
5f81cd1ef5
refactor(core): refactor admin user auth check logic ( #1970 )
...
* refactor(core): refactor admin user auth check logic
refactor admin user auth check logic
* test(core): add ut
add ut
* test(core): add integration test
add integration test
* fix(test): fix integration test
fix integration test
2022-09-21 11:18:00 +08:00
Darcy Ye
1ea39f3463
feat(core): add POST /session/forgot-password/{email,sms}/verify-passcode ( #1968 )
2022-09-20 08:38:08 +00:00
Darcy Ye
af2600d828
feat(core): add POST /session/forgot-password/{email,sms}/send-passcode ( #1963 )
2022-09-20 14:14:27 +08:00
IceHe
a1aef26905
feat(core): cannot delete custom phrase used as default language in sign-in exp ( #1951 )
2022-09-19 10:18:03 +00:00
Charles Zhao
54892ea6d9
chore: bump toolkit to v1.0.0-beta.13
2022-09-19 17:16:19 +08:00
Charles Zhao
2f92b43864
fix: bump react sdk and essentials toolkit to support CJK characters in idToken
2022-09-17 09:59:27 +08:00
Gao Sun
42586eff88
refactor: remove shared packages ( #1946 )
...
* refactor: remove shared packages
* refactor: fix error
2022-09-16 11:25:43 +00:00
wangsijie
0ca0096d0d
chore: revert "Merge pull request #1927 from logto-io/sijie-log-4160-… ( #1939 )
...
* chore: revert "Merge pull request #1927 from logto-io/sijie-log-4160-protected-access"
This reverts commit 0567fc6347
, reversing
changes made to c01384141d
.
* chore: revert "feat(core): add ts to interaction result (#1917 )"
This reverts commit e01042cbcd
.
2022-09-16 17:01:34 +08:00
IceHe
5fe0cf4257
feat(core): add GET /custom-phrases route ( #1935 )
2022-09-15 20:15:33 +08:00
IceHe
0ae13f091b
feat(core): add PUT /custom-phrases/:languageKey route ( #1907 )
2022-09-15 14:49:23 +08:00
Gao Sun
8d22b5c468
refactor(core)!: update user scopes ( #1922 )
...
* refactor(core)!: update user scopes
* refactor(core): add tests
* refactor: update per review
2022-09-15 11:12:33 +08:00
wangsijie
0567fc6347
Merge pull request #1927 from logto-io/sijie-log-4160-protected-access
...
feat(core,phrases): add check protected access function
2022-09-14 18:13:39 +08:00
wangsijie
e405ef7bb8
feat(core,phrases): add check protected access function
2022-09-14 16:58:09 +08:00
Charles Zhao
c01384141d
Merge pull request #1920 from logto-io/charles-log-4163-support-capital-y-in-command-line-prompt
...
fix: support capital letter "Y" in command line prompt
2022-09-14 16:32:42 +08:00
IceHe
c72be69bea
feat(core): add DELETE /custom-phrases/:languageKey route ( #1919 )
2022-09-14 16:28:58 +08:00
wangsijie
e01042cbcd
feat(core): add ts to interaction result ( #1917 )
2022-09-14 11:35:49 +08:00
Charles Zhao
416f4e86e3
fix: support capital letter "Y" in command line prompt
2022-09-13 18:52:46 +08:00
IceHe
7242aa8c2b
feat(core,schemas): add phrases schema and GET /custom-phrases/:languageKey route ( #1905 )
2022-09-13 17:36:37 +08:00
Xiao Yijun
ecdf06ef39
feat(core): save empty string as null value in DB ( #1901 )
2022-09-09 11:15:40 +08:00
Xiao Yijun
5bdb6755d2
feat(core): support base64 format OIDC_PRIVATE_KEYS
config in .env
file ( #1903 )
2022-09-08 09:49:36 +00:00
silverhand-bot
8335e1ff0a
release: v1.0.0-beta.9
2022-09-07 16:21:37 +00:00
Darcy Ye
2e0ab8988a
chore(schemas,core,console): rename ConnectorDto to ConnectorResponse ( #1884 )
2022-09-07 16:12:18 +08:00
wangsijie
c6764f95f7
fix: fetch connectors list from npm ( #1894 )
2022-09-07 16:09:46 +08:00
Darcy Ye
c97d8610d9
chore(connector-core,core,phrases): use try catch on JSON.parse ( #1857 )
2022-09-06 02:40:35 +08:00
Zezao
f268ecb1a8
feat: add Portuguese translation
2022-09-05 19:51:50 +08:00
Wang Sijie
44117ae1da
chore: remove connectors ( #1880 )
2022-09-05 18:22:59 +08:00
Wang Sijie
52b9dd8569
feat(core)!: load connectors by folder ( #1879 )
2022-09-05 17:49:11 +08:00
Gao Sun
8c451b4e3c
chore: upgrade silverhand packages ( #1854 )
2022-09-01 17:03:49 +08:00
silverhand-bot
301bd23b49
release: v1.0.0-beta.8
2022-09-01 06:11:38 +00:00
Gao Sun
139dec727d
refactor: connector-core types ( #1843 )
...
* refactor: connector-core types
* refactor: fix rebase issues
* refactor: remove unused types
* refactor: fix connector error code
* refactor(core): add comments
* refactor: remove unused types
2022-09-01 04:21:42 +00:00
Darcy Ye
923bedcda4
chore(connector-core): connector error codes use i18n key as enum string literals ( #1833 )
2022-08-31 17:12:13 +08:00
Kyungyoon Kim
1f9e820eb6
feat(connector): add kakao connector ( #1826 )
...
* feat(connector): add kakao connector
* fix(connector): kakao when user profile is null bug fix
* chore(connector): update kakao connector readme
* chore(connector): delete changelog
* chore(connector): delete unused lib
* test(connector): update test
* fix: pnpm lock
* fix: fix test
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-08-31 10:59:59 +08:00
Wang Sijie
d952d8660d
refactor(phrases,shared,connector-core): move language key to shared ( #1838 )
2022-08-30 16:53:49 +08:00
silverhand-bot
3d92f35589
release: v1.0.0-beta.6
2022-08-30 05:44:34 +00:00
Darcy Ye
9fa1bdfa19
chore(core): function naming should stick to camel case ( #1834 )
2022-08-29 11:27:33 +00:00
Wang Sijie
8db355287c
refactor(connector): apply new design ( #1817 )
...
* feat(core,connector-core): add connector core (#1803 )
* feat(core,connector-core): add connector core
* fix: create connector function
* refactor(connector): change connectors dependency from connector-types to connector-core (#1812 )
* refactor(connector,core): change the connectors dependency from connector-types to connector-core
* refactor(core): do not need to test validator for specific connector implementation
* refactor(connector): remove unnecessary code snippets
* refactor(connector): keep UT placeholder for passwordless connectors
Co-authored-by: wangsijie <wangsijie@silverhand.io>
* fix(core): fix IT description and undestructure error (#1818 )
fix(connector): fix connector routes and IT typos
* fix(connector): remove @logto/connector-types as it will not be used anymore (#1819 )
fix(connector): remove @logto/connector-types as it will not be used anymore
* chore(connector): rename db in logto connector (#1821 )
chore(connector): rename LogtoConnector db to dbEntry
Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2022-08-26 16:25:08 +08:00
Gao Sun
a66890dc53
refactor(core): use consts for session prefix ( #1811 )
...
* refactor(core): use consts for session prefix
* refactor(core): fix session route util
2022-08-24 22:49:05 +08:00
Gao Sun
a2043a6804
Merge pull request #1810 from logto-io/gao-log-3981-core-check-sign-in-mode-and-guard
...
feat(core): guard session with sign-in mode
2022-08-24 14:26:57 +08:00
Gao Sun
1d412662b6
refactor(core): fix test
2022-08-23 20:03:07 +08:00
Xiao Yijun
224ba4c608
refactor(core): flatten router parameter context types ( #1809 )
2022-08-23 18:42:39 +08:00
Gao Sun
a8a3de3544
feat(core): guard session with sign-in mode
2022-08-23 18:29:05 +08:00
Gao Sun
3d6763934f
refactor(core): session routes
2022-08-23 17:34:00 +08:00
Gao Sun
35a4b7289a
refactor: watch all packages when dev ( #1796 )
2022-08-22 14:58:39 +08:00
silverhand-bot
a9241c5862
release: v1.0.0-beta.5
2022-08-19 13:49:33 +00:00
Gao Sun
4afdf3cb4c
feat(core): set user default roles from env ( #1793 )
2022-08-19 16:53:19 +08:00
Gao Sun
84c0d8f845
refactor(core): replace argon2
with hash-wasm
( #1794 )
2022-08-19 13:47:24 +08:00
Gao Sun
87d3a53b65
feat(core): hasura authn ( #1790 )
...
* feat(core): hasura authn
* refactor(core): fix test error
2022-08-18 14:10:17 +00:00
Xiao Yijun
72e7341c3d
refactor(core): import getEnvAsStringArray
from silverhand/essentials
( #1787 )
...
* refactor(core): import `getEnvAsStringArray` from `silverhand/essentials`
* chore: bump `@silverhand/essentials` to `1.2.0`
2022-08-17 11:40:50 +08:00
Gao Sun
2c6171c2f9
refactor(core,console)!: remove /me
apis ( #1781 )
...
* refactor(core,console)!: remove `/me` apis
* fix(phrases): add missing fr phrase
2022-08-15 20:45:29 +08:00
Gao Sun
a6bb2f7ec2
feat(core): enable userinfo endpoint ( #1783 )
...
* feat(core): enable userinfo endpoint
* fix(deps): move snake-case to production deps
2022-08-15 20:45:13 +08:00
simeng-li
163c23b9bd
fix(core): fix ac & ui proxy under subpath deployment ( #1761 )
...
fix ac & ui procy under subpath deployment
2022-08-15 09:50:18 +08:00
Gao Sun
166da40210
refactor(core): update app secret length to 21 ( #1773 )
2022-08-12 23:38:10 +08:00
renovate[bot]
a9f99db54e
fix(deps): update dependency slonik to v30 ( #1744 )
...
* fix(deps): update dependency slonik to v30
* fix(core): await for `createPool()`
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-08-12 09:27:54 +00:00
Xiao Yijun
cb60b993cb
chore(core): update inaccurate content in readPrivateKeys
method ( #1768 )
2022-08-12 11:59:14 +08:00
silverhand-bot
e42172e757
release: v1.0.0-beta.4
2022-08-11 13:48:19 +00:00
Xiao Yijun
8870f9cef0
chore(core): remove redundant try catch in readPrivateKeys
( #1764 )
2022-08-11 12:03:29 +00:00
Xiao Yijun
f6db981600
feat(core)!: use comma separated values as a string array in the env file ( #1762 )
2022-08-11 19:43:55 +08:00
Xiao Yijun
5624ea423a
refactor(core): remove redundant isBuffer('base64url')
( #1749 )
2022-08-08 07:33:12 +00:00
Xiao Yijun
00bab4c095
feat(core): support signing key rotation ( #1732 )
2022-08-08 14:00:24 +08:00
Charles Zhao
c7e5ae3b6b
Merge pull request #1731 from logto-io/renovate/major-react-monorepo
...
chore(deps): update react monorepo to v18 (major)
2022-08-08 13:58:15 +08:00
Gao Sun
925dc052d7
refactor: upgrade i18next
2022-08-06 00:47:58 +08:00
IceHe.Life
6327eb6c57
refactor(core,schemas,ui): fix non-consistent type definitions ( #1742 )
2022-08-05 23:42:16 +08:00
IceHe.Life
11a11fc6c2
refactor: simplify jest.config.ts ( #1741 )
2022-08-05 18:43:32 +08:00
Gao Sun
08bea22195
chore(deps): upgrade packages ( #1738 )
...
* chore(deps): upgrade packages
* refactor: update per lint report
* chore(deps): upgrade configs
* fix(ui): lint rules compatibility
* chore: remove unused override
* chore(deps): upgrade jest config
2022-08-05 05:58:31 +00:00
renovate[bot]
21a0c8f635
fix(deps): update dependency slonik to v29 ( #1700 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 19:29:02 +08:00
IceHe.Life
3b7f86e2a2
refactor(core): replace deprecated .nonempty() with .min(1) for ZodString ( #1727 )
2022-08-03 15:20:34 +08:00
Wang Sijie
543ee04f53
feat(core,schemas): add application secret ( #1715 )
2022-08-02 16:18:50 +08:00
silverhand-bot
1e568e02c9
release: v1.0.0-beta.3
2022-08-01 15:02:50 +00:00
Kyungyoon Kim
d1900e1854
chore(phrases): add translation ko_KR ( #1677 )
...
chore(connector): add translation ko_KR
chore(phrases): add translation ko_KR
test: add mock translation for ko_KR
Update packages/phrases-ui/src/locales/ko-kr.ts
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
Update packages/phrases-ui/src/locales/ko-kr.ts
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
chore(phrases): update translation ko_KR
chore(phrases): edit translation ko_KR, make more friendly
chore(phrases): fix typo
chore(phrases): make translation smooth ko_KR
chore(phrases): edit translation ko_KR
chore(console): add translation ko_KR
chore(phrases): add korean language for login ui
2022-07-30 14:48:50 +00:00
Ufuk ARSLAN
411a8c2fa2
feat(phrases): tr language ( #1707 )
...
* feat(phrases): tr language added except admin
* feat(phrases): tr language added for admin and connectors
* refactor(phrases): tr language fix
2022-07-30 21:48:45 +08:00
IceHe.Life
77250c6135
test(core): improve the coverage of koa-log ( #1683 )
2022-07-27 15:09:19 +08:00
simeng-li
61177ca2a1
chore(test): add dotenv ( #1681 )
...
* chore(test): integration test update
add dotenv
* chore(core): update pnpm lock
update pnpm lock
2022-07-27 02:09:13 +00:00
Ufuk ARSLAN
875a828831
feat(connector): azure active directory connector added ( #1662 )
...
* feat(connector): azure active directory connector added
* refactor(connector): apply code review suggestions
* refactor: removed PKCE
* chore: update package and lockfile
* refactor(connector): fix typo
* refactor(connector): polish code
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-26 23:31:25 +08:00
silverhand-bot
c2050b7ccc
release: v1.0.0-beta.2
2022-07-25 17:03:50 +00:00
Darcy Ye
fe5a10e92e
chore(connector): fix connector validator type ( #1667 )
2022-07-25 13:51:59 +08:00
IceHe.life
379410e090
refactor(test): remove unnecessary expect.objectContaining ( #1659 )
2022-07-22 18:10:30 +08:00
Gao Sun
4bf6483ff4
feat(core): api GET /me ( #1650 )
2022-07-21 13:35:39 +00:00
renovate[bot]
6e96d73a7c
fix(deps): update dependency koa-router to v12 ( #1596 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 23:02:06 +08:00
simeng-li
c56ddec84a
fix(core): resolve some core no-restricted-syntax lint error ( #1606 )
...
* fix(core): resolve some core no-restricted-syntax lint error
resolve some core no-restricted-syntax lint error
* fix(core): cr fix
2022-07-20 10:28:48 +00:00
Wang Sijie
bb245adbb9
feat(core): refresh token rotation reuse interval ( #1617 )
...
* feat(core): refresh token rotation reuse interval
* refactor: apply suggestions from code review
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-20 15:50:39 +08:00
Xiao Yijun
708523ed52
feat(core): support integration test env config ( #1619 )
2022-07-20 14:21:13 +08:00
silverhand-bot
3af4f547ed
release: v1.0.0-beta.1
2022-07-19 01:05:03 +00:00
IceHe.xyz
0ed9452cc7
refactor(core): remove unused getEnabledSocialConnectorIds ( #1585 )
2022-07-18 18:28:10 +08:00
Gao Sun
e7c5e63304
refactor: remove import react ( #1558 )
2022-07-15 10:01:42 +00:00
Gao Sun
6c39790180
feat(core): add response guard ( #1542 )
...
* feat(core): add response guard
* refactor(core): print error if not prod
2022-07-15 17:01:51 +08:00
Darcy Ye
a01130ce8f
chore(connector): rename connector packages ( #1550 )
2022-07-15 14:48:52 +08:00
silverhand-bot
af5e3b416e
release: v1.0.0-beta.0
2022-07-14 16:40:44 +00:00
simeng-li
6b58d8a161
fix(ui,core): fix i18n issue ( #1548 )
...
* fix(ui,core): fix i18n issue
fix i18n issue
* fix(core): cr fix
cr fix
2022-07-14 13:36:32 +00:00
Darcy Ye
6b9ad580ae
fix(connector): refactor ConnectorInstance as class ( #1541 )
2022-07-14 07:56:57 +00:00
Darcy Ye
0297f6c52f
fix(connector): passwordless connector send test msg with unsaved config ( #1539 )
...
* fix(connector): passwordless connector sendTestMsg with unsaved config
* refactor: apply suggestions from code review
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-14 00:16:19 +00:00
Gao Sun
23a1fe3aff
refactor: upgrade configs ( #1537 )
...
* refactor: upgrade configs
* fix(schemas): remove eslintignore
2022-07-13 16:39:30 +00:00
Darcy Ye
88a54aaa9e
fix(connector): fix connector getConfig and validateConfig type ( #1530 )
2022-07-14 00:12:01 +08:00
renovate[bot]
24c7b99c45
chore(deps): update dependency @silverhand/jest-config to ^0.15.0 ( #1527 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:44:25 +08:00
renovate[bot]
1cddf81a78
chore(deps): update dependency @silverhand/ts-config to ^0.15.0 ( #1528 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:29:10 +08:00
IceHe.xyz
434e97d5cf
chore: bump eslint-config and eslint-config-react 0.15.0 ( #1521 )
...
* chore: bump eslint-config 0.15.0
* chore: bump eslint-config-react 0.15.0
* style: no explicit any
2022-07-12 23:00:05 +08:00
simeng-li
3e76de0ac9
feat(core): add admin guard to signin ( #1523 )
...
* feat(core): add admin guard to signin
add admin guard to signin
* fix(core): cr update
cr update
* fix(core): naming update
naming update
2022-07-12 13:58:02 +00:00
Xiao Yijun
acefafed72
refactor: rename DTO
-> Dto
( #1522 )
2022-07-12 18:35:51 +08:00
IceHe.xyz
94a67bfb42
refactor(core): simplify increasePasscodeTryCount and consumePasscode ( #1513 )
2022-07-11 14:56:12 +00:00
IceHe.xyz
f479a1566f
refactor(core): split updatePasscode into increasePasscodeTryCount and consumePasscode ( #1510 )
2022-07-11 21:54:26 +08:00
Wang Sijie
adadcbe216
feat(core): read connector packages env ( #1478 )
2022-07-11 02:11:23 +00:00
silverhand-bot
ca8ec4862a
release: v1.0.0-alpha.4
2022-07-08 16:49:39 +00:00
Darcy Ye
378c75116c
refactor(core): refactor connector general error message ( #1501 )
2022-07-09 00:13:06 +08:00
Darcy Ye
82ed2fe169
chore: remove TODOs with linear issues ( #1495 )
...
* chore: remove TODOs with linear issues
* chore: remove simeng TODOs
* chore: remove simeng TODOs
2022-07-08 14:47:55 +00:00
Darcy Ye
7da1de33e9
feat(connector): connector error handler, throw errmsg on general errors ( #1458 )
2022-07-08 21:11:31 +08:00
simeng-li
ead79eab72
refactor(core): add findEntityById utils ( #1448 )
...
add findEntityById utils
2022-07-08 19:54:55 +08:00
Wang Sijie
be0d9326e4
refactor(core): remove InvalidInputError ( #1477 )
2022-07-08 17:19:53 +08:00
Gao Sun
81b63f07bb
feat: expose zod error ( #1474 )
2022-07-08 16:05:43 +08:00
simeng-li
78e06d5c7f
fix(core): add session check ( #1453 )
...
add session check
2022-07-08 10:38:24 +08:00
silverhand-bot
c7def1124d
release: v1.0.0-alpha.3
2022-07-07 16:40:33 +00:00
renovate[bot]
ff6f2235ea
fix(deps): update dependency koa-router to v11 ( #1406 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 20:48:08 +08:00
renovate[bot]
a76a13d9ec
chore(deps): update dependency @shopify/jest-koa-mocks to v5 ( #1413 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 20:47:33 +08:00
simeng-li
d5d6c5ed08
fix(core,ui): remove todo comments ( #1454 )
...
remove todo comments
2022-07-07 18:10:46 +08:00
IceHe.xyz
100bffbc6a
feat(core): append additional yaml responses to swagger.json ( #1407 )
2022-07-07 09:48:46 +00:00
silverhand-bot
577433ae2d
release: v1.0.0-alpha.2
2022-07-07 04:54:25 +00:00
simeng-li
0240e5cac2
chore(core): add default ttl settings ( #1429 )
...
add default ttl settings to avoid oidc warning
2022-07-06 20:33:25 +08:00
Xiao Yijun
181e8a228d
chore(core): remove needless todo ( #1436 )
2022-07-06 16:27:12 +08:00
Charles Zhao
45395ff74e
refactor: improve allow CORS tooltip wording ( #1427 )
2022-07-05 21:09:57 +08:00
silverhand-bot
fcd70d1232
release: v1.0.0-alpha.1
2022-07-05 12:34:34 +00:00
Gao Sun
1e96221acf
chore: update docker compose
2022-07-05 19:56:20 +08:00
Gao Sun
273720ea8c
refactor(core): use ENDPOINT
to replace original env urls ( #1416 )
...
* refactor(core): use `ENDPOINT` to replace original env urls
* refactor(core): log endpoint if needed
* refactor: update AC App ID in tests
* fix(core): oidc issuer
* refactor: remove unnecessary `.toString()`
2022-07-05 10:01:49 +00:00
Charles Zhao
a98fb94e5c
refactor: by default allow redirect URIs for CORS access ( #1420 )
...
* refactor: by default allow redirect URIs for CORS access
* refactor: improve wording
Co-authored-by: IceHe.xyz <icehe@silverhand.io>
Co-authored-by: IceHe.xyz <icehe@silverhand.io>
2022-07-05 17:36:43 +08:00
IceHe.xyz
5559fb10c3
fix(core): do not titlize tags of .well-known APIs ( #1412 )
2022-07-05 04:33:47 +00:00
silverhand-bot
6a83732185
release: v1.0.0-alpha.0
2022-07-04 14:58:52 +00:00
simeng-li
d649755c3e
refactor(ui): refactor default logo ( #1402 )
...
* refactor(ui): refactor default logo
refactor default logo
* fix(ui): default logo update
default logo update
* style(ui): add darkLogo
add darkLogo
2022-07-04 10:43:49 +00:00
Gao Sun
5c685d9412
refactor: sign-in content ( #1398 )
...
* refactor: sign-in content
* fix: update phrase key
2022-07-04 16:26:39 +08:00
Gao Sun
2fd3833481
refactor(core): db seed question ( #1381 )
...
* refactor(core): db seed question
* refactor(core): per code review
2022-07-04 02:53:05 +00:00
silverhand-bot
2caed68c88
release: v0.1.2-alpha.5
2022-07-03 09:04:51 +00:00
silverhand-bot
2faf429e5b
release: v0.1.2-alpha.4
2022-07-03 08:33:26 +00:00
simeng-li
8c4fea093d
refactor(ui): refactor ac signin exp ( #1367 )
...
* refactor(ui): refactor ac signin exp
refactor ac signin exp
* fix(ui): adjust style
adjust style
* fix(ui): cr fix
cr fix
2022-07-03 15:50:29 +08:00
silverhand-bot
e588ba204a
release: v0.1.2-alpha.3
2022-07-03 06:54:10 +00:00
Gao Sun
6c323403b3
feat(core): auto sign-out ( #1369 )
...
* feat(core): auto sign-out
* fix(core): path when start from root
* refactor(core): per review
2022-07-02 13:55:22 +00:00
silverhand-bot
2fa633a99b
release: v0.1.2-alpha.2
2022-07-02 09:11:16 +00:00
silverhand-bot
e234f64cec
release: v0.1.2-alpha.1
2022-07-02 04:24:46 +00:00
silverhand-bot
9396808fa4
release: v0.1.2-alpha.0
2022-07-02 02:29:37 +00:00
Charles Zhao
a3f42413e9
refactor: get-started task corresponding keys in DB
2022-07-02 09:53:11 +08:00
silverhand-bot
39890c1c29
release: v0.1.1-alpha.0
2022-07-01 19:18:23 +00:00
simeng-li
84aa0e866d
refactor(core): refactor root path ( #1352 )
...
* refactor(core): refactor root path
refactor root path
* fix(core): comment fix
comment fix
2022-07-01 10:00:08 +00:00
simeng-li
084a2bcd03
refactor(core): update sign-in-settings api path ( #1339 )
...
update sign-in-settings api path
2022-07-01 17:14:38 +08:00
Gao Sun
21ca4d3d62
chore(core): upgrade oidc-provider
2022-06-30 10:44:09 +08:00
Gao Sun
3c7c29dd0c
refactor(core): disable userinfo endpoint ( #1310 )
...
* refactor(core): disable userinfo endpoint
* chore: upgrade @logto/react
* refactor(core): update doc link
2022-06-30 02:29:29 +00:00
Wang Sijie
a4d0a940bd
feat(core,console): change admin user password ( #1268 )
2022-06-29 03:13:26 +00:00
Darcy Ye
05db12492c
fix(core): fix connector readme and configTemplate content parsing ( #1267 )
2022-06-28 13:35:56 +08:00
Darcy Ye
53781d619d
fix(core): signing in with a non-existing username should throw invalid credentials ( #1239 )
2022-06-27 13:53:23 +08:00
simeng-li
6865efff27
refactor(ui): refactor app notification logic ( #1241 )
...
refactor app notification logic
2022-06-27 13:22:17 +08:00
Darcy Ye
8da9add6b8
refactor(connector-*): load config template and readme contents while initialization ( #1252 )
2022-06-27 10:00:37 +08:00
Darcy Ye
097aade2e2
feat(connectors): handle authorization callback parameters in each connector respectively ( #1166 )
...
* feat(connectors): handle authorization callback parameters in each connector respectively
2022-06-26 18:03:53 +08:00
Wang Sijie
2c413341d1
feat(console): sie form reorg ( #1218 )
2022-06-24 02:26:30 +00:00
Gao Sun
89e3d68168
ci: dockerize ( #1190 )
...
* ci: dockerize
* ci: fix docker compose
* ci: run dockerize on master push only
* refactor: add .gitignore to .dockerignore
2022-06-23 11:17:02 +00:00
Charles Zhao
98d3f64d46
refactor: email/sms connector test API
2022-06-23 17:58:28 +08:00
Darcy Ye
98f808320b
feat(core,connectors): update Aliyun logo and add logo_dark to Apple, Github ( #1194 )
...
* feat(core,connectors): add logoDark to connector metadata
* feat(connectors): update Aliyun logo and add logoDark for Apple, Github
2022-06-23 11:12:29 +08:00
Charles Zhao
fa20d03058
Merge pull request #1196 from logto-io/charles-log-3160-add-config-param-to-connector-test-api
...
refactor(connector,core): add config param to email/sms connector test API
2022-06-22 17:58:37 +08:00
Wang Sijie
012562e2a8
fix(core): remove unavailable social sign in targets on save ( #1201 )
2022-06-22 16:56:06 +08:00
Charles Zhao
f53aceff6f
refactor(connector,core): add config param to email/sms connector test API
2022-06-22 15:39:43 +08:00
Xiao Yijun
a3d3a79dd9
fix(console): update user data ( #1184 )
2022-06-22 03:36:43 +00:00
Wang Sijie
9194a6ee54
feat(console,core): hide admin user ( #1182 )
...
* feat(console,core): hide admin user
* fix: extract hideAdminUser
* test: add tests for hideAdminUser
2022-06-22 02:22:15 +00:00
Darcy Ye
ad86bc8e12
fix(core,console): delete specific user identities by target ( #1176 )
2022-06-21 23:26:23 +08:00
Charles Zhao
477b5988a9
refactor(console): application sdk integration guide
2022-06-21 17:23:33 +08:00
simeng-li
e0793facb9
fix(core): settings api should not throw session not found error ( #1157 )
...
settings api shouyld not throw session not found error
2022-06-21 08:56:01 +08:00
simeng-li
4f32ad3a51
feat(core): register with admin role ( #1140 )
...
* feat(core): register with admin role
register user with admin role
* fix(core): cr fix
cr fix
2022-06-20 03:32:50 +00:00
simeng-li
b42f4ba1ff
feat(ac): implement admin console welcome page ( #1139 )
...
implement admin console welcome page
2022-06-20 10:58:27 +08:00
simeng-li
837ad523ce
feat(core): add role table seed ( #1145 )
...
* fix(core): add default role db seed
add defaylt role db seed
* fix(table): add role table default seed
add role table default seed
* fix(db): cr fix
cr fix
2022-06-20 02:22:23 +00:00
Wang Sijie
3cf34b5911
fix(core): align jsonb replace mode ( #1138 )
2022-06-17 14:45:39 +08:00
Darcy Ye
41e37a7995
feat(core): identities key should use target not connectorId ( #1115 )
...
* feat(core): identities key should use target not connectorId
* refactor(core): make test file size in limit
* feat(console): use target in user connectors (#1134 )
Co-authored-by: Wang Sijie <wangsijie@silverhand.io>
2022-06-17 11:00:02 +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
simeng-li
f640dad52f
feat(core): add sign-in-mode ( #1132 )
...
* feat(core): add sign-in-mode
add sign-in-mode
* fix(core): remove console.log
remove console.log
* fix(ui): hide secondary signin section
hide secondary signin section if is under register mode
* fix(core): ci fix
ci fix
2022-06-17 10:36:07 +08:00
IceHe.xyz
511012da92
feat(core): convert Zod union, literal and string guards to OpenAPI schemas ( #1126 )
...
* feat(core): convert Zod union and literal guards to OpenAPI schemas
* feat(core): parse swagger schema format with Zod string checks
* test(core): unexpected zod string check
* test(core): unexpected zod literal check
2022-06-16 16:46:38 +08:00
IceHe.xyz
a26299941f
feat(core): append page and page_size to the query parameters in swagger.json ( #1120 )
...
* feat(core): append page and page_size to the query parameters in swagger.json
* refactor(core): simplify hasPagination
* chore(core): add a comment to note why name the pagination middleware function
2022-06-15 15:13:04 +08:00
Xiao Yijun
9262a6f3be
fix(console): update terms of use ( #1122 )
2022-06-15 12:16:37 +08:00
Darcy Ye
985fe7203a
refactor(core): separate session routes and UTs ( #1104 )
...
* refactor(core): separate session routes and UTs
* refactor(core): reorganize and rename files
2022-06-14 21:48:05 +08:00
Darcy Ye
efa9491749
feat(core): add switch of enabling object fully replace when updating DB ( #1107 )
...
* feat(core): add switch of enabling object fully replace when updating DB
* feat(core): assign default jsonbMode value if possible
2022-06-14 21:38:10 +08:00
Charles Zhao
0014a4696b
chore: remove only-allow pnpm from all sub-packages
2022-06-14 17:18:13 +08:00
Wang Sijie
a790248c09
fix(core): remove name regex ( #1109 )
2022-06-14 11:36:03 +08:00
IceHe.xyz
7339a85a1b
feat(core): any-type parameter shows empty object in swagger example ( #1110 )
2022-06-13 10:32:52 +00:00
IceHe.xyz
75ac874a2d
feat(core): dau curve contains 0 count points ( #1105 )
2022-06-13 16:18:16 +08:00
Darcy Ye
1b8190addf
feat(core): align connector error handler middleware with ConnectorErrorCodes ( #1063 )
...
* feat(core): align connector error handler middleware with ConnectorErrorCodes
* feat(phrases,core): fix locale error descriptions
2022-06-10 10:25:28 +08:00
Darcy Ye
bcc05e521d
feat(core): remove unnecessary variable check and unused route ( #1084 )
2022-06-09 16:24:47 +08:00
Xiao Yijun
b9ca929ccc
refactor(core): remove unused /users/:userId/custom-data
APIs ( #1086 )
2022-06-09 16:23:56 +08:00
simeng-li
f6f562a8ba
feat(core): add welcome route ( #1080 )
...
* feat(core): add welcome route
add welcome route
* fix(ui): fix some koa middleware
fix some koa middleware
* fix(core): ut fix
ut fix
* refactor(core): refactor welcome user guard
refactor welcome user guard
2022-06-09 11:42:52 +08:00
Charles Zhao
fc35c5d8dc
refactor(core): remove unnecessary console.log
2022-06-07 22:46:56 +08:00
Charles Zhao
39b1d74cfd
Merge pull request #1068 from logto-io/charles-log-2740-koaAuth-should-return-403-on-non-admin-role
...
fix(core): koaAuth should return 403 instead of 401 on non-admin role
2022-06-07 22:43:58 +08:00
Charles Zhao
ee16eeb966
fix(core): koaAuth should return 403 instead of 401 on non-admin role
2022-06-07 19:13:40 +08:00
IceHe.xyz
2ba11215ed
feat(core): log error body ( #1065 )
2022-06-07 10:16:14 +00:00
Gao Sun
69e32cb646
refactor(core): remove confusing assertThat
signature ( #1066 )
2022-06-07 16:26:04 +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
3145c9b348
feat(core): convert route guards to swagger.json ( #1047 )
...
* feat(core): convert route guards to swagger.json
* test(core): swaggerRoutes
* refactor(core): simplify buildParameters
* chore(core): describe 'any' data type of OpenAPI schema in zodTypeToSwagger
* chore(core): improve the description 'any' data type of OpenAPI schema in zodTypeToSwagger
2022-06-07 07:24:57 +00:00
IceHe.xyz
8af2f953cf
feat(core): make GET /api/swagger.json contain all api routes ( #1008 )
2022-06-05 14:34:50 +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
Darcy Ye
2e08fa3816
chore(core,locale): fix error messages of signing in with non-existing username ( #1035 )
...
* chore(core,locale): fix error messages
* chore(core,locale): add input parameter guard and fix comment
* chore(core,locale): add nonempty string guard for username
2022-06-02 08:29:17 +00:00
Gao Sun
36c958a11d
refactor(core): recognize developer id in header ( #1031 )
2022-06-02 08:01:33 +00: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
Charles Zhao
5a1fa14a98
fix(core): update roleNames to role_names to resolve 401 errors
2022-06-02 12:10:35 +08:00
Gao Sun
d4f38bce2b
feat(core): add etag for settings api ( #1011 )
2022-06-01 16:56:23 +08:00
Gao Sun
124d7acf49
refactor(core): use snake_case for extra claims ( #1017 )
2022-06-01 16:02:23 +08:00
Gao Sun
8a52c84e32
refactor(core): align role_names
claim with DB ( #1016 )
2022-06-01 07:43:16 +00:00
Gao Sun
7781d49667
feat(core): set claims for profile
scope ( #1013 )
2022-06-01 15:00:10 +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
Darcy Ye
5fc2fc6ff7
chore(connectors): config template md files to json files ( #987 )
...
* chore(connectors): config template md files to json files
* chore(connectors): fix path of reading config-template files
2022-05-31 12:58:24 +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
IceHe.xyz
2ae4e2eccf
feat(core): order logs by created_at desc ( #993 )
2022-05-30 09:40:03 +00:00
IceHe.xyz
28198590fa
fix(core): allow empty condition in logs ( #991 )
2022-05-30 09:30:18 +00:00
Wang Sijie
4768181bf7
fix(console,core): only show enabled connectors in sign in methods ( #988 )
2022-05-30 16:28:04 +08:00
IceHe.xyz
1420bb28ce
feat(core,shared): get /dashboard/users/active ( #953 )
...
* feat(core,shared): get /dashboard/users/active
* refactor(core): get /dashboard/users/active
* refactor(core): get /dashboard/users/active
* refactor(core): simplify GET /dashboard/users/active
* refactor(core): simplify dashboardRoutes
2022-05-30 13:51:58 +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
Gao Sun
8d17f9d73a
Merge pull request #973 from logto-io/gao-update-apple-connector
...
refactor(connector): remove apple js sdk
2022-05-28 22:08:50 +08:00
Darcy Ye
ae97e7bd27
refactor(core, connector): fix code to fit new ESlint rule ( #942 )
...
* refactor(core): separate/refactor connector route UTs
* refactor(connector-wechat*): fix wechat connectors error handler to fit new eslint rule
* refactor(connector-wechat*): fix error handler
2022-05-27 21:21:23 +08:00
simeng-li
545a3929e4
fix(core): fix preview session not found bug ( #970 )
...
* fix(core): fix preview session not found bug
fix preview session not found bug
* fix(core): cr fix
cr fix
2022-05-27 19:58:40 +08:00
Gao Sun
52c745d41f
refactor(connector): remove apple js sdk
2022-05-27 19:06:06 +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
simeng-li
909535f4af
fix(core): update proxy guard middleware ( #963 )
...
update proxy guard middleware
2022-05-26 16:54:40 +08:00
IceHe.xyz
45a977790e
feat(core): get /dashboard/users/new ( #940 )
2022-05-26 11:24:52 +08:00
IceHe.xyz
c4bb0de7d4
feat(core): get /dashboard/users/total ( #936 )
...
* feat(core): get /dashboard/users/total
* test(core): get /dashboard/users/total
2022-05-25 16:54:21 +08:00
Wang Sijie
077ed120f0
fix(core): prevent session lost for bind social ( #948 )
2022-05-25 15:26:40 +08:00
IceHe.xyz
bddf47bf90
feat(core): get /logs/:id ( #934 )
2022-05-25 14:59:02 +08:00
Darcy Ye
96796203dd
feat(native-connectors): pass random state to native connector sdk ( #922 )
...
* feat(native-connectors): pass random state to native connector SDK
* refactor(connector-*): update type GetAuthorizationUri
* refactor(core): fix input params order
2022-05-25 14:23:53 +08:00
simeng-li
cf360b9c15
feat(core): add admin role validation to the koaAuth ( #920 )
...
* feat(core): add admin role validation to the koaAuth
add admin role validation to the koaAuth
* fix(core): cr fix
cr fix
2022-05-24 16:42:28 +08:00
Wang Sijie
5b44b7194e
feat(core): serve connector logo ( #931 )
2022-05-24 13:54:37 +08:00
Darcy Ye
054b0f7b6a
feat: remove target, platform from connector schema and add id to metadata ( #930 )
...
* feat(core,schema,connectors): remove target,platform form connector schema and add id to metadata
* feat(schema,ui,console): unwrap ConnectorMetadata in ConnectorDTO
* feat(schema,ui,console): connector id use dashline instead of underscore
* feat(connector-alipay*): fix typos
* feat(connector-alipay*): remove unnecessary type declaration
2022-05-24 11:39:44 +08:00
Darcy Ye
10d30ee309
refactor(core): remove getConnectorInstanceByType ( #921 )
...
* feat(core): remove getConnectorInstanceByType
* feat(connectors): add UTs
2022-05-23 23:39:36 +08:00
Gao Sun
43d4fd23fd
refactor: remove AC client dependency ( #917 )
...
* refactor: remove AC client dependency
* refactor: admin console URL and management API indicator
* fix: typo
2022-05-23 11:18:48 +00:00
Wang Sijie
16ec018b71
fix: connectors platform ( #925 )
2022-05-23 17:54:05 +08:00
Xiao Yijun
fe99928a41
fix(core): revert add custom claims to id token ( #919 )
...
This reverts commit 9ccda932a4
.
2022-05-22 03:33:13 +00:00
simeng-li
207c404aeb
feat(core): empty path sould redirect to the console page ( #915 )
...
* feat(core): empty path sould redirect to the console page
empty path should redirect to the console page
* fix(core): remove console log
remove console log
* fix(core): cr fix
cr fix
2022-05-22 10:32:04 +08:00
IceHe.xyz
5d7f2e436c
refactor(core,schemas): remove passcode in logs ( #916 )
2022-05-20 17:04:22 +00:00
Xiao Yijun
9ccda932a4
feat(core): add custom claims to id token ( #911 )
2022-05-20 22:37:47 +08:00
Xiao Yijun
d65999514f
fix(core): update role names ( #913 )
2022-05-20 17:59:55 +08:00