5a15419baf
feat(trigger): implement debug session capabilities for trigger nodes
...
- Added `DraftWorkflowTriggerNodeApi` to handle debugging of trigger nodes, allowing for real-time event listening and session management.
- Introduced `TriggerDebugService` for managing debug sessions and event dispatching using Redis Pub/Sub.
- Updated `TriggerService` to support dispatching events to debug sessions and refactored related methods for improved clarity and functionality.
- Enhanced data structures in `request.py` and `entities.py` to accommodate new debug event data requirements.
These changes significantly improve the debugging capabilities for trigger nodes in draft workflows, facilitating better development and troubleshooting processes.
2025-09-09 21:27:31 +08:00
ea61420441
Revert "feat: email register refactor" ( #25367 )
2025-09-08 19:20:09 +08:00
860ee20c71
feat: email register refactor ( #25344 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-08 17:51:43 +08:00
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-06 03:32:23 +08:00
eab03e63d4
refactor(trigger): rename request logs API and enhance logging functionality
...
- Renamed `TriggerSubscriptionBuilderRequestLogsApi` to `TriggerSubscriptionBuilderLogsApi` for clarity.
- Updated the API endpoint to retrieve logs for subscription builders.
- Enhanced logging functionality in `TriggerSubscriptionBuilderService` to append and list logs more effectively.
- Refactored trigger processing tasks to improve naming consistency and clarity in logging.
🤖 Generated with [Claude Code](https://claude.ai/code )
2025-09-04 21:11:25 +08:00
e751c0c535
refactor(trigger): update trigger provider API and clean up unused classes
...
- Renamed the API endpoint for trigger providers from `/workspaces/current/trigger-providers` to `/workspaces/current/triggers` for consistency.
- Removed unused `TriggerProviderCredentialsCache` and `TriggerProviderOAuthClientParamsCache` classes to streamline the codebase.
- Enhanced the `TriggerProviderApiEntity` to include additional properties and improved the conversion logic in `PluginTriggerProviderController`.
🤖 Generated with [Claude Code](https://claude.ai/code )
2025-09-04 17:45:15 +08:00
4b253e1f73
feat(trigger): plugin trigger workflow
2025-09-03 14:53:27 +08:00
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-03 11:52:26 +08:00
ed5ed0306e
minor fix: fix the check of subscription capacity limit ( #24991 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-02 19:14:30 +08:00
64319c0d56
fix close session twice. ( #24917 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-01 21:08:01 +08:00
676648e0b3
Merge branch 'main' into feat/trigger
2025-09-01 18:05:31 +08:00
39064197da
chore: cleanup unnecessary mypy suppressions on imports ( #24712 )
2025-08-28 23:17:25 +08:00
2a29c61041
Refactor: replace count() > 0 check with exists() ( #24583 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 17:46:52 +08:00
5bbf685035
feat: fix i18n missing keys and merge upstream/main ( #24615 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com >
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: GuanMu <ballmanjq@gmail.com >
Co-authored-by: Davide Delbianco <davide.delbianco@outlook.com >
Co-authored-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
Co-authored-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com >
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: Qiang Lee <18018968632@163.com >
Co-authored-by: 李强04 <liqiang04@gaotu.cn >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Matri Qi <matrixdom@126.com >
Co-authored-by: huayaoyue6 <huayaoyue@163.com >
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn >
Co-authored-by: znn <jubinkumarsoni@gmail.com >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: yihong <zouzou0208@gmail.com >
Co-authored-by: Muke Wang <shaodwaaron@gmail.com >
Co-authored-by: wangmuke <wangmuke@kingsware.cn >
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com >
Co-authored-by: quicksand <quicksandzn@gmail.com >
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Eric Guo <eric.guocz@gmail.com >
Co-authored-by: Zhedong Cen <cenzhedong2@126.com >
Co-authored-by: jiangbo721 <jiangbo721@163.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: hjlarry <25834719+hjlarry@users.noreply.github.com >
Co-authored-by: lxsummer <35754229+lxjustdoit@users.noreply.github.com >
Co-authored-by: 湛露先生 <zhanluxianshen@163.com >
Co-authored-by: Guangdong Liu <liugddx@gmail.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Yessenia-d <yessenia.contact@gmail.com >
Co-authored-by: huangzhuo1949 <167434202+huangzhuo1949@users.noreply.github.com >
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com >
Co-authored-by: 17hz <0x149527@gmail.com >
Co-authored-by: Amy <1530140574@qq.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Nite Knite <nkCoding@gmail.com >
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com >
Co-authored-by: Petrus Han <petrus.hanks@gmail.com >
Co-authored-by: iamjoel <2120155+iamjoel@users.noreply.github.com >
Co-authored-by: Kalo Chin <frog.beepers.0n@icloud.com >
Co-authored-by: Ujjwal Maurya <ujjwalsbx@gmail.com >
Co-authored-by: Maries <xh001x@hotmail.com >
2025-08-27 15:07:28 +08:00
826f19e968
Chore : rm dead code detected by pylance ( #24588 )
2025-08-27 13:19:40 +08:00
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-08-26 18:10:31 +08:00
18f2e6f166
refactor: Use specific error types for workflow execution ( #24475 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-25 16:19:12 +08:00
3aedc139ac
fix delete conversations via Api and delete conversations from db as well ( #23591 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-25 09:43:45 +08:00
d8000251ff
chore: apply static type checks on celery async task dispatches and imports ( #24418 )
2025-08-24 23:07:22 +08:00
a7b558b38b
feat/trigger: support specifying root node ( #24388 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-23 20:44:03 +08:00
6aed7e3ff4
feat/trigger universal entry ( #24358 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-23 20:18:08 +08:00
da9af7b547
[Chore/Refactor] Use centralized naive_utc_now for UTC datetime operations ( #24352 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-08-22 23:53:05 +08:00
cfefe4f738
Feat: Education ( #24208 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-20 15:38:14 +08:00
6b5c2bea4d
Fix: correctly match http/https URLs in image upload file ( #24180 )
2025-08-19 22:44:22 +08:00
c0702aacac
Use typing.Literal to replace str places ( #24099 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 21:34:13 +08:00
e600070a61
feat(api): auto-delete WorkflowDraftVariable when app is deleted ( #23737 )
...
This commit introduces a background task that automatically deletes `WorkflowDraftVariable` records when
their associated workflow apps are deleted.
Additionally, it adds a new cleanup script
`cleanup-orphaned-draft-variables` to remove existing orphaned draft variables from the database.
2025-08-13 11:13:08 +08:00
b3399642c5
feat: Add an asynchronous repository to improve workflow performance ( #20050 )
...
Co-authored-by: liangxin <liangxin@shein.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: liangxin <xinlmain@gmail.com >
2025-08-13 02:28:06 +08:00
4a72fa6268
fix: Enhance doc_form null checking, exception handling, and rollback logic ( #23713 )
2025-08-11 13:53:40 +08:00
14e1c16cf2
Fix ClickZetta stability and reduce logging noise ( #23632 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 22:57:47 +08:00
62772e8871
fix: ensure vector database cleanup on dataset deletion regardless of document presence (affects all 33 vector databases) ( #23574 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:18:43 +08:00
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
79ea94483e
refine some orm types ( #22885 )
2025-07-31 18:43:04 +08:00
f17ca26b10
Fix: add missing db.session.close() to ensure proper session cleanup ( #23122 )
2025-07-30 10:34:24 +08:00
cba5bd588c
minor fix: wrong position of retry_document_indexing_task time elapsed ( #23099 )
2025-07-29 20:54:37 +08:00
3248d728ac
fix retry document db session issue ( #23046 )
2025-07-28 15:56:49 +08:00
5c5f61b2aa
fix(dataset): CELERY_BROKER uses amqp rabbitmq. When adding document segments in batches and uploading large files, the status will always remain stuck at "In batch processing" #22709 ( #23038 )
2025-07-28 14:24:13 +08:00
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
de611ab344
Feat: add notification for change email completed ( #22812 )
...
Co-authored-by: Yansong Zhang <916125788@qq.com >
2025-07-24 14:16:39 +08:00
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-24 00:57:45 +08:00
eaae79a581
feat: plugin auto upgrade strategy ( #19758 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Novice <novice12185727@gmail.com >
2025-07-23 15:33:39 +08:00
6d3e198c3c
Mapped column ( #22644 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-23 00:39:59 +08:00
0f4809b9b8
refactor: centralize email internationalization handling ( #22752 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-23 00:26:00 +08:00
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
a4f421028c
Feat/change user email ( #22213 )
...
Co-authored-by: NFish <douxc512@gmail.com >
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
2025-07-17 10:55:59 +08:00
6eb155ae69
feat(api/repo): Allow to config repository implementation ( #21458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-14 14:54:38 +08:00
535fff62f3
feat: add MCP support ( #20716 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-10 14:01:34 +08:00
b237113311
Update clean_document_task.py ( #22090 )
2025-07-10 09:18:50 +08:00
f6aa2498a3
document indexing not bound to a Session ( #21015 )
...
Co-authored-by: xuhaixing <xuhaixing@itiger.com >
2025-06-14 17:44:35 +02:00
92614765ff
Feat/queue monitor ( #20647 )
2025-06-04 19:56:34 +08:00
fb12a3033d
fix celery job not closed issue ( #19268 )
2025-05-30 14:42:47 +08:00