Charles Zhao
d015aa934c
feat(core,phrases): add re-authentication check function for protected access ( #2327 )
2022-11-09 15:38:07 +08:00
Charles Zhao
ec36266a1b
feat(core): add sign-in timestamp in session interaction ( #2325 )
2022-11-09 15:10:37 +08:00
wangsijie
854e373b81
Merge branch 'master' into merge/suspend
2022-11-09 11:05:32 +08:00
wangsijie
55dd05862e
Merge pull request #2171 from logto-io/feature/sie-v2
...
feat: sie v2
2022-11-09 10:18:20 +08:00
wangsijie
c8a7efb0cc
Merge branch 'feature/sie-v2' into merge/sie-v2
2022-11-09 08:45:19 +08:00
wangsijie
e699e3fb62
fix(core,schemas): fix email and sms verification for continue route ( #2349 )
2022-11-08 22:59:43 +08:00
wangsijie
5c81d6f147
Merge branch master into merge/sie-v2
2022-11-08 22:58:36 +08:00
Gao Sun
60a23f1b19
refactor(core): throw proper error in OIDC functions ( #2331 )
2022-11-08 12:30:51 +00:00
Gao Sun
183ebfd856
refactor(core): reuse connector reading function in cli ( #2332 )
2022-11-08 12:29:26 +00:00
Xiao Yijun
22cb416713
feat(core): remove unavailable social connector targets in the sie ( #2328 )
2022-11-08 19:10:22 +08:00
Gao Sun
b3a91141a7
Merge pull request #2343 from logto-io/gao-log-4346-replace-dayjs-with-something-better
...
refactor: replace dayjs with date-fns
2022-11-08 16:54:34 +08:00
Gao Sun
494c4ae483
refactor(core): optimize translation strictly partial check ( #2333 )
2022-11-07 19:29:19 +08:00
Gao Sun
931750f468
refactor: replace parse()
with native Date
2022-11-07 14:44:40 +08:00
Gao Sun
15bb084b6e
refactor: replace dayjs with date-fns
2022-11-07 14:33:47 +08:00
Gao Sun
877eb892c9
refactor(core): use isTrue()
to check params ( #2321 )
2022-11-04 22:25:58 +08:00
simeng-li
6f58f30ed0
feat(ui): add forgot password link
...
add forgot password link
2022-11-04 17:31:12 +08:00
İhsan Güldür
938608e72b
feat: add case insensitive user search ( #2300 )
...
Co-authored-by: wangsijie <wangsijie94@gmail.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-11-04 10:47:54 +08:00
wangsijie
73bb938c3c
feat(schemas): add user is suspended column ( #2305 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-11-04 10:10:01 +08:00
wangsijie
5e571936c9
chore: remove old sign in methods ( #2295 )
2022-11-03 18:23:12 +08:00
Xiao Yijun
42de419f44
Merge branch master
into merge/sie-v2
2022-11-03 11:31:42 +08:00
wangsijie
1c50efe632
feat: remove forgot password control ( #2291 )
2022-11-03 10:31:57 +08:00
wangsijie
386e021e76
feat(core): check username ( #2290 )
2022-11-01 16:52:57 +08:00
wangsijie
f419fc8279
feat(core): continue sign in with social ( #2281 )
2022-11-01 10:08:47 +08:00
Gao Sun
229a786255
feat(core): hasura unauthed access support ( #2278 )
2022-10-31 18:18:13 +08:00
wangsijie
bf73837839
feat(core): require set a password ( #2272 )
2022-10-31 11:37:06 +08:00
wangsijie
415c24aace
feat(core): password sign in with phone or email ( #2266 )
2022-10-28 15:05:02 +08:00
wangsijie
95cf53b59a
refactor(core): rename username password routes ( #2263 )
2022-10-27 15:45:00 +08:00
wangsijie
50170cfcbf
feat(core): enable forgot password check ( #2257 )
2022-10-27 11:50:48 +08:00
simeng-li
b5512b9213
refactor(core): rename phone signInMethod to sms ( #2252 )
...
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-10-26 14:47:13 +08:00
Xiao Yijun
9271f4e3dc
chore: fix type import lint error
2022-10-24 14:57:20 +08:00
Xiao Yijun
9b97775fc0
chore: merge master into feature/sie-v2
2022-10-24 13:50:26 +08:00
Xiao Yijun
bab7a607db
refactor: update language kit ( #2232 )
2022-10-24 12:26:11 +08:00
Gao Sun
f56b5b5c48
refactor: fix lint errors
2022-10-21 14:03:35 +08:00
wangsijie
5959372325
Merge branch master into merge/sie-v2
...
merge
2022-10-21 10:43:56 +08:00
simeng-li
e0aaf64f82
fix(core): let ac SIE language load from default SIE language settings
...
let ac SIE language load from default SIR language settings
2022-10-20 18:40:45 +08:00
wangsijie
06ae2aff15
Revert "chore: merge master into sie-v2 ( #2182 )" ( #2216 )
2022-10-20 17:03:18 +08:00
wangsijie
2e5f332edc
feat(core): limit sign in method ( #2213 )
2022-10-20 15:36:50 +08:00
wangsijie
387bc21384
feat(core): control forgot password ( #2212 )
2022-10-20 14:41:41 +08:00
Darcy Ye
d38543122d
Merge pull request #2039 from logto-io/feature/decouple-passcode-verification
...
refactor(core,phrases,schemas): decouple passcode verification
2022-10-20 11:17:48 +08:00
wangsijie
55eb5f038d
feat(core): guard sign up methods ( #2194 )
2022-10-20 10:57:49 +08:00
Gao Sun
365b80ab13
chore: update contributing ( #2209 )
2022-10-19 14:47:59 +00:00
Gao Sun
79c6c1de93
refactor: require database name in URL ( #2198 )
2022-10-19 07:38:56 +00:00
wangsijie
e5f8139880
chore: merge master into sie-v2 ( #2182 )
...
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
Co-authored-by: IceHe <icehe@silverhand.io>
Co-authored-by: Gao Sun <gao@silverhand.io>
Co-authored-by: simeng-li <simeng@silverhand.io>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
Co-authored-by: Mahesh Vagicherla <59088937+b4s36t4@users.noreply.github.com>
Co-authored-by: FlurryNight <47457170+FlurryNight@users.noreply.github.com>
Co-authored-by: Lukas <lukas@slucky.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 15:44:49 +08:00
Xiao Yijun
8bb82e981e
fix(schemas): field name in sie db data type should be camel-case ( #2178 )
...
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-10-18 11:52:15 +08:00
Darcy Ye
025456c16d
chore: merge master and fix conflicts
2022-10-14 17:55:58 +08:00
wangsijie
5823e063d1
feat(core): update sie ( #2128 )
2022-10-14 13:26:04 +08:00
Gao Sun
39a5347ac9
chore: upgrade Silverhand configs ( #2153 )
2022-10-14 03:46:33 +00:00
simeng-li
5f8875c688
refactor(ui): refactor passwordless flow
...
refactor passwordless flow
2022-10-13 19:05:21 +08:00
simeng-li
e4914c9451
fix(core): remove log
...
remove log
2022-10-13 14:17:27 +08:00
simeng-li
2295946791
refactor(core): refactor passwordless route
...
refactor passwordless route
2022-10-13 14:13:03 +08:00
Charles Zhao
c419e00dcb
chore: bump toolkit version and update color tokens
2022-10-13 13:17:19 +08:00
Gao Sun
343456f44d
Merge pull request #2124 from logto-io/gao-clean-up-core-inquiry
...
refactor(core): remove parameters
2022-10-12 11:47:46 +08:00
Gao Sun
a8b0290700
Merge pull request #2121 from logto-io/gao-remove-connector-command-in-core
...
refactor: remove connector commands in core
2022-10-12 11:44:43 +08:00
wangsijie
37c8e703da
feat(core): validate sign in ( #2114 )
2022-10-12 11:04:28 +08:00
Gao Sun
216fc9ed85
refactor(core): remove parameters
2022-10-11 22:14:09 +08:00
Xiao Yijun
01fdc4ba11
refactor: remove deprecated fixedLanguage
property from LanguageInfo
( #2111 )
2022-10-11 20:25:35 +08:00
Gao Sun
36d26091e0
refactor: fix connector directory
2022-10-11 18:27:05 +08:00
Gao Sun
64a0936a77
refactor(core): remove connector commands
2022-10-11 18:10:57 +08:00
Darcy Ye
9f1c34bd4e
refactor: merge master to feature to resolve conflicts
2022-10-11 16:01:37 +08:00
Darcy Ye
2c0c49e1fb
refactor(core): sign-in and register flow share verification session ( #2109 )
2022-10-11 06:49:33 +00:00
Darcy Ye
9dba4b14a0
refactor(ui,phrases,core): forgot password reuse verification flow ( #2105 )
2022-10-11 06:31:26 +00:00
wangsijie
766e867297
feat(core): validate sign up ( #2093 )
2022-10-11 14:16:05 +08:00
Gao Sun
d7e42a5aef
Merge pull request #2081 from logto-io/gao-log-4313-cli-clean-up-to-dos
...
refactor(core,cli): extract common utils and upgrade essentials
2022-10-11 13:59:24 +08:00
Xiao Yijun
633ec8f5bc
refactor(core): use fallback language as default in demo app ( #2095 )
2022-10-11 10:30:17 +08:00
Gao Sun
ba09de9b1e
refactor(core,cli): extract common utils to @logto/shared
2022-10-10 23:26:40 +08:00
Mahesh Vagicherla
4b0970b6d8
fix: add redirectURI validation on frontend & backend ( #1874 )
...
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2022-10-10 21:20:20 +08:00
wangsijie
a17c0ae81f
refactor(core): split sign in experience lib
2022-10-10 16:20:10 +08:00
Gao Sun
696e7f181d
chore: merge branch 'master' into feature/manage-language
2022-10-10 15:52:06 +08:00
Darcy Ye
d3d189aa77
refactor(core,ui,test): sign-in and register flows mount on passwordless APIs ( #2054 )
2022-10-10 14:21:39 +08:00
Gao Sun
7f761203b7
refactor(core): fix tests
2022-10-09 22:23:50 +08:00
Gao Sun
7d7f5283ca
refactor(core): read OIDC configs from database
2022-10-09 17:22:34 +08:00
wangsijie
78eca37e87
feat(schemas): add sie2 schema ( #2056 )
2022-10-09 15:31:40 +08:00
Gao Sun
8c73067b48
refactor: improve dx
2022-10-08 17:35:01 +08:00
Gao Sun
9696060997
refactor: remove alteration from core
2022-10-08 17:34:58 +08:00
Gao Sun
ff900c3a65
Merge pull request #2051 from logto-io/gao-log-4312-core-remove-database-seed
...
refactor: remove database seed from core
2022-10-08 17:24:05 +08:00
Gao Sun
5f61450400
Merge pull request #2050 from logto-io/gao-log-4314-cli-alteration-deploy-command
...
feat(cli): `db alteration deploy` command
2022-10-08 17:08:31 +08:00
Gao Sun
7412faa728
Merge pull request #2045 from logto-io/gao-log-4311-cli-db-key-command
...
feat(cli): get/set db config key
2022-10-08 16:22:19 +08:00
simeng-li
11b605a3e7
fix(core): fix deletePasscodeByIds bug ( #2049 )
2022-10-08 14:47:30 +08:00
Gao Sun
a3dc967442
refactor: remove database seed from core
2022-10-07 23:08:25 +08:00
Gao Sun
c324e29df3
refactor(core): use config key enum
2022-10-07 20:26:50 +08:00
Gao Sun
0eff1e3591
feat(cli): get/set db config key
2022-10-05 22:46:52 +08:00
Darcy Ye
0960afc97d
refactor(core,phrases): add send/verify passcode via email/sms routes and corresponding UTs ( #2035 )
...
* refactor(core,phrases): add send/verify passcode via email/sms routes and corresponding UTs
* refactor(core,phrases): flow to reuse PasscodeType
2022-09-30 08:55:55 +00:00
Darcy Ye
753e8ebdfd
refactor(core,schemas): refactor log types with zod ( #2034 )
2022-09-30 03:48:12 +00:00
IceHe
3eb44e1e56
refactor(core,console,phrases,schemas): replace language key with language tag ( #2026 )
2022-09-30 10:30:32 +08:00
IceHe
1271cd162e
refactor(core,phrases): rm empty strings and check structure in PUT /custom-phrase ( #2022 )
2022-09-29 09:14:20 +00:00
IceHe
cce2d40160
refactor(core): count new users by created_at ( #2027 )
2022-09-29 15:32:43 +08:00
IceHe
a4cb138c12
refactor(core,phrases,schemas): validate fallback language before updating sign-in experience ( #2023 )
2022-09-29 15:28:58 +08:00
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
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
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
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
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
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
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
IceHe.Life
6327eb6c57
refactor(core,schemas,ui): fix non-consistent type definitions ( #1742 )
2022-08-05 23:42:16 +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
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
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
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
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
IceHe.xyz
0ed9452cc7
refactor(core): remove unused getEnabledSocialConnectorIds ( #1585 )
2022-07-18 18:28:10 +08: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
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
Darcy Ye
88a54aaa9e
fix(connector): fix connector getConfig and validateConfig type ( #1530 )
2022-07-14 00:12:01 +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
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
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