Harry
2dbf76299b
git commit -m "WIP: handoff — backend conflicts resolved; keep frontend conflict markers for FE to continue" --no-verify
2025-09-22 17:38:24 +08:00
4f45978cd9
fix: remote code execution in email endpoints ( #25753 )
...
Co-authored-by: crazywoola <[email protected] >
2025-09-18 16:45:34 +08:00
+10
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: jyong <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: quicksand <[email protected] >
Co-authored-by: Jyong <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: Hanqing Zhao <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <[email protected] >
2025-09-18 12:49:10 +08:00
Harry
0cb0cea167
feat(trigger): enhance trigger plugin data structure and error handling
...
- Added `plugin_unique_identifier` to `PluginTriggerData` and `TriggerProviderApiEntity` to improve identification of trigger plugins.
- Introduced `PluginTriggerDispatchData` for structured dispatch data in Celery tasks, enhancing the clarity of trigger dispatching.
- Updated `dispatch_triggered_workflows_async` to utilize the new dispatch data structure, improving error handling and logging for trigger invocations.
- Enhanced metadata handling in `TriggerPluginNode` to include trigger information, aiding in debugging and tracking.
These changes improve the robustness and maintainability of trigger plugin interactions within the workflow system.
2025-09-16 15:39:40 +08:00
bdd85b36a4
ruff check preview ( #25653 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 12:58:12 +08:00
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
Harry
76850749e4
feat(trigger): enhance trigger debugging with polling API and new subscription retrieval
...
- Refactored DraftWorkflowTriggerNodeApi and DraftWorkflowTriggerRunApi to implement polling for trigger events instead of listening, improving responsiveness and reliability.
- Introduced TriggerSubscriptionBuilderGetApi to retrieve subscription instances for trigger providers, enhancing the API's capabilities.
- Removed deprecated trigger event classes and streamlined event handling in TriggerDebugService, ensuring a cleaner architecture.
- Updated Queue and Stream entities to reflect the changes in trigger event handling, improving overall clarity and maintainability.
These enhancements significantly improve the trigger debugging experience and API usability.
2025-09-14 19:12:31 +08:00
c91253d05d
fix segment deletion race condition ( #24408 )
...
Signed-off-by: kenwoodjw <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <[email protected] >
2025-09-12 15:29:57 +08:00
c2fcd2895b
Feat/email register refactor ( #25369 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: Joel <[email protected] >
2025-09-12 10:24:54 +08:00
Harry
1562d00037
feat(trigger): implement trigger debugging functionality
...
- Added DraftWorkflowTriggerNodeApi and DraftWorkflowTriggerRunApi for debugging trigger nodes and workflows.
- Enhanced TriggerDebugService to manage trigger debugging sessions and event listening.
- Introduced structured event responses for trigger debugging, including listening started, received, node finished, and workflow started events.
- Updated Queue and Stream entities to support new trigger debug events.
- Refactored trigger input handling to streamline the process of creating inputs from trigger data.
This implementation improves the debugging capabilities for trigger nodes and workflows, providing clearer event handling and structured responses.
2025-09-11 16:55:58 +08:00
4a743e6dc1
feat: add workflow schedule trigger support ( #24428 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 13:24:23 +08:00
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-09-10 13:00:17 +08:00
Harry
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
zyssyz123 and GitHub
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 <[email protected] >
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- <[email protected] >
2025-09-06 03:32:23 +08:00
Harry
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
Harry
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
Harry
4b253e1f73
feat(trigger): plugin trigger workflow
2025-09-03 14:53:27 +08:00
-LAN- and GitHub
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <[email protected] >
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 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-01 21:08:01 +08:00
Yeuoly
676648e0b3
Merge branch 'main' into feat/trigger
2025-09-01 18:05:31 +08:00
Bowen Liang and GitHub
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 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 17:46:52 +08:00
+40
5bbf685035
feat: fix i18n missing keys and merge upstream/main ( #24615 )
...
Signed-off-by: -LAN- <[email protected] >
Signed-off-by: kenwoodjw <[email protected] >
Signed-off-by: Yongtao Huang <[email protected] >
Signed-off-by: yihong0618 <[email protected] >
Signed-off-by: zhanluxianshen <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: GuanMu <[email protected] >
Co-authored-by: Davide Delbianco <[email protected] >
Co-authored-by: NeatGuyCoding <[email protected] >
Co-authored-by: kenwoodjw <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: Qiang Lee <[email protected] >
Co-authored-by: 李强04 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <[email protected] >
Co-authored-by: Matri Qi <[email protected] >
Co-authored-by: huayaoyue6 <[email protected] >
Co-authored-by: Bowen Liang <[email protected] >
Co-authored-by: znn <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: yihong <[email protected] >
Co-authored-by: Muke Wang <[email protected] >
Co-authored-by: wangmuke <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: quicksand <[email protected] >
Co-authored-by: 非法操作 <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Eric Guo <[email protected] >
Co-authored-by: Zhedong Cen <[email protected] >
Co-authored-by: jiangbo721 <[email protected] >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: hjlarry <[email protected] >
Co-authored-by: lxsummer <[email protected] >
Co-authored-by: 湛露先生 <[email protected] >
Co-authored-by: Guangdong Liu <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
Co-authored-by: Claude <[email protected] >
Co-authored-by: Yessenia-d <[email protected] >
Co-authored-by: huangzhuo1949 <[email protected] >
Co-authored-by: huangzhuo <[email protected] >
Co-authored-by: 17hz <[email protected] >
Co-authored-by: Amy <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: Nite Knite <[email protected] >
Co-authored-by: Yeuoly <[email protected] >
Co-authored-by: Petrus Han <[email protected] >
Co-authored-by: iamjoel <[email protected] >
Co-authored-by: Kalo Chin <[email protected] >
Co-authored-by: Ujjwal Maurya <[email protected] >
Co-authored-by: Maries <[email protected] >
2025-08-27 15:07:28 +08:00
Yongtao Huang and GitHub
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 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <[email protected] >
2025-08-26 18:10:31 +08:00
18f2e6f166
refactor: Use specific error types for workflow execution ( #24475 )
...
Co-authored-by: Claude <[email protected] >
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 <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: Copilot <[email protected] >
2025-08-25 09:43:45 +08:00
Bowen Liang and GitHub
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 <[email protected] >
2025-08-23 20:44:03 +08:00
6aed7e3ff4
feat/trigger universal entry ( #24358 )
...
Co-authored-by: Claude <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-23 20:18:08 +08:00
-LAN- and GitHub
da9af7b547
[Chore/Refactor] Use centralized naive_utc_now for UTC datetime operations ( #24352 )
...
Signed-off-by: -LAN- <[email protected] >
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
Yongtao Huang and GitHub
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
QuantumGhost and GitHub
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 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: liangxin <[email protected] >
2025-08-13 02:28:06 +08:00
NeatGuyCoding and GitHub
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 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:18:43 +08:00
Asuka Minato and GitHub
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
Asuka Minato and GitHub
79ea94483e
refine some orm types ( #22885 )
2025-07-31 18:43:04 +08:00
Yongtao Huang and GitHub
f17ca26b10
Fix: add missing db.session.close() to ensure proper session cleanup ( #23122 )
2025-07-30 10:34:24 +08:00
NeatGuyCoding and GitHub
cba5bd588c
minor fix: wrong position of retry_document_indexing_task time elapsed ( #23099 )
2025-07-29 20:54:37 +08:00
Jyong and GitHub
3248d728ac
fix retry document db session issue ( #23046 )
2025-07-28 15:56:49 +08:00
zhaobingshuang and GitHub
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
Asuka Minato and GitHub
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 <[email protected] >
2025-07-24 14:16:39 +08:00