Commit Graph

4279 Commits

Author SHA1 Message Date
twwu
f26994c5f6 fix: fix token refreshing logic issue 2024-10-14 11:16:18 +08:00
非法操作
ffc3f33670
chore: remove the copied zhipu_ai sdk (#9270) 2024-10-14 10:53:45 +08:00
Joe
ad6ade03b4 feat: add refresh token 2024-10-14 10:37:41 +08:00
Joe
c2e40d5bc2 Merge branch 'main' into feat/new-login-refresh-token
* main: (121 commits)
  fix: remove the latest message from the user that does not have any answer yet (#9297)
  Add Volcengine VikingDB as new vector provider (#9287)
  chore: translate i18n files (#9288)
  chore: add baidu-obs and supabase for .env.example (#9289)
  chore: add abstract decorator and output log when query embedding fails (#9264)
  Feat/new account page (#9236)
  Feat/implement-refresh-tokens (#9233)
  feat: refresh-token (#9286)
  chore: translate i18n files (#9284)
  feat:support baidu vector db (#9185)
  Feat: rerank model verification in front end (#9271)
  Fix/s3 iam add region name (#7819)
  chore: optimize the trace ops slow queries on node executions. (#9282)
  chore: use cache instead of re-querying node record during workflow execution (#9280)
  chore: fix the misclassification of the opensearch-py package (#9266)
  fix: add new domain to whitelist (#9265)
  fix: move exception to debug mode (#9258)
  feat: add supabase object storage (#9229)
  fix: dialog box cannot correctly display LaTeX formulas (#9242)
  Fix/agent external knowledge retrieval (#9241)
  ...
2024-10-14 10:25:18 +08:00
kurokobo
857055b797
fix: remove the latest message from the user that does not have any answer yet (#9297) 2024-10-13 23:25:50 +08:00
ice yao
d15ba3939d
Add Volcengine VikingDB as new vector provider (#9287)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-13 21:26:05 +08:00
github-actions[bot]
1ec83e4969
chore: translate i18n files (#9288)
Co-authored-by: douxc <7553076+douxc@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-10-13 14:56:26 +08:00
zhuhao
9275760599
chore: add baidu-obs and supabase for .env.example (#9289)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-13 09:44:53 +08:00
zhuhao
d97d3ff5fc
chore: add abstract decorator and output log when query embedding fails (#9264)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-12 23:58:41 +08:00
NFish
ea6734f550
Feat/new account page (#9236) 2024-10-12 23:49:18 +08:00
-LAN-
f73751843f
Feat/implement-refresh-tokens (#9233) 2024-10-12 23:46:30 +08:00
Wu Tianwei
dbfbc56de7
feat: refresh-token (#9286)
Co-authored-by: NFish <douxc512@gmail.com>
2024-10-12 23:40:38 +08:00
github-actions[bot]
70c5b23089
chore: translate i18n files (#9284)
Co-authored-by: YIXIAO0 <54782454+YIXIAO0@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-10-12 23:27:11 +08:00
Shili Cao
2ec6ffe478
feat:support baidu vector db (#9185) 2024-10-12 23:24:17 +08:00
Yi Xiao
793205afc5
Feat: rerank model verification in front end (#9271)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-12 21:24:43 +08:00
Garfield Dai
c6b74daa0a
Fix/s3 iam add region name (#7819) 2024-10-12 18:47:59 +08:00
takatost
23ce1fb1ba
chore: optimize the trace ops slow queries on node executions. (#9282) 2024-10-12 18:30:46 +08:00
Yi
15c70931fd Deploy dev
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
2024-10-12 18:02:58 +08:00
Yi
063f55266e fix: switch disable status 2024-10-12 18:02:20 +08:00
takatost
29188e0562
chore: use cache instead of re-querying node record during workflow execution (#9280) 2024-10-12 17:48:59 +08:00
-LAN-
07462727e2 fix: Update down_revision in add_tidb_auth_binding migration 2024-10-12 17:43:33 +08:00
zhuhao
d9773c963f
chore: fix the misclassification of the opensearch-py package (#9266) 2024-10-12 17:37:01 +08:00
Yi
6298154054 Merge branch 'feat/rerank-verification-external-kb' into deploy/dev 2024-10-12 17:09:59 +08:00
Yi
3b55e9d1e9 fix: never configured the rerank model case 2024-10-12 17:08:54 +08:00
jyong
808b359274 Merge branch 'feat/add-tidb-on-qdrant-type' into deploy/dev
# Conflicts:
#	api/configs/middleware/__init__.py
#	api/controllers/console/datasets/datasets.py
#	api/core/rag/datasource/vdb/vector_factory.py
#	web/app/components/datasets/create/website/index.tsx
#	web/app/components/datasets/create/website/jina-reader/index.tsx
#	web/app/components/datasets/create/website/jina-reader/options.tsx
#	web/app/components/header/account-setting/data-source-page/data-source-website/config-jina-reader-modal.tsx
#	web/i18n/en-US/dataset-creation.ts
#	web/service/datasets.ts
2024-10-12 17:05:02 +08:00
NFish
56e405d1e9 Merge branch 'feat/new-account-page' into deploy/dev 2024-10-12 16:49:49 +08:00
Yi
ca3f94aa89 Merge branch 'feat/rerank-verification-external-kb' into deploy/dev 2024-10-12 16:32:06 +08:00
-LAN-
34ce90f53c feat(auth): update access token expiration time to 8 minutes for test 2024-10-12 16:12:32 +08:00
-LAN-
150a217d32 feat(auth): implement refresh tokens and enhance login process
- Introduced `TokenPair` model for managing access and refresh tokens.
- Added `refresh_token` method to generate new tokens upon expiration.
- Updated login/logout processes to handle token pairs and enhanced security.
- Replaced `get_remote_ip` with `extract_remote_ip` for clarity.
- Added endpoint for refreshing tokens to maintain user session continuity.
2024-10-12 16:12:32 +08:00
NFish
2c134bca64 fix: add new domain to whitelist (#9265) 2024-10-12 16:12:32 +08:00
crazywoola
04b98156c3 fix: move exception to debug mode (#9258) 2024-10-12 16:12:32 +08:00
zhuhao
0115a08f60 feat: add supabase object storage (#9229) 2024-10-12 16:12:32 +08:00
Likename Haojie
4e1dca9d52 fix: dialog box cannot correctly display LaTeX formulas (#9242) 2024-10-12 16:12:32 +08:00
Jyong
a6d387148a Fix/agent external knowledge retrieval (#9241) 2024-10-12 16:12:32 +08:00
Yi Xiao
d5730e96a9 fix: reference issue in external knowledge api (#9240) 2024-10-12 16:12:32 +08:00
AkisAya
35b67bab5b fix:#9222 create or update custum tools error (#9228) 2024-10-12 16:12:32 +08:00
dependabot[bot]
39cb933cc8 chore(deps): bump dompurify from 3.0.5 to 3.1.7 in /web (#9232)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 16:12:32 +08:00
dependabot[bot]
5aba3be26f chore(deps): bump micromatch from 4.0.5 to 4.0.8 in /web (#9234)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 16:12:32 +08:00
NFish
0c3d3c3993 feat: support csp (#9111)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-10-12 16:12:32 +08:00
Bowen Liang
409676d0ce chore: check all dependencies groups in pyproject.toml (#9224) 2024-10-12 16:12:09 +08:00
Jyong
74c08e3634 Fix/add es num_candidates (#9225) 2024-10-12 16:12:09 +08:00
NFish
6dd3d2d9f8 fix: update the account page's style, update the Setting Modal translations 2024-10-12 16:02:19 +08:00
NFish
54fc2ab965 wip: style update 2024-10-12 15:06:17 +08:00
Yi
805226348a feat: rerank model validation 2024-10-12 14:39:27 +08:00
twwu
926c4d6f2a fix: handle refresh token error 2024-10-12 14:29:26 +08:00
twwu
d8c802aa20 fix: handle null values 2024-10-12 14:26:08 +08:00
NFish
c12cb2913a fix: save access_token and refresh_token to the localStorage after login success 2024-10-12 14:08:51 +08:00
NFish
8c1fcc91d3 Merge branch 'feat/refresh-token' of github.com:langgenius/dify into feat/refresh-token 2024-10-12 13:46:18 +08:00
NFish
c4f5d54cdb fix: use the getNewAccessToken function from the hook useRefreshToken to save access_token and refresh_token 2024-10-12 13:45:13 +08:00
twwu
09d3a3d90f fix: when freshing token return null 2024-10-12 13:38:30 +08:00