Harry
6857bb4406
feat(trigger): implement plugin trigger synchronization and subscription management in workflow
...
- Added a new event handler for syncing plugin trigger relationships when a draft workflow is synced, ensuring that the database reflects the current state of plugin triggers.
- Introduced subscription management features in the frontend, allowing users to select, add, and remove subscriptions for trigger plugins.
- Updated various components to support subscription handling, including the addition of new UI elements for subscription selection and removal.
- Enhanced internationalization support by adding new translation keys related to subscription management.
These changes improve the overall functionality and user experience of trigger plugins within workflows.
2025-09-15 15:49:07 +08:00
Yeuoly and Claude
9898730cc5
feat: add webhook node limit validation (max 5 per workflow)
...
- Add MAX_WEBHOOK_NODES_PER_WORKFLOW constant set to 5
- Validate webhook node count in sync_webhook_relationships method
- Raise ValueError when workflow exceeds webhook node limit
- Block workflow save when limit is exceeded to ensure data integrity
- Provide clear error message indicating current count and maximum allowed
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <[email protected] >
2025-09-10 17:22:09 +08:00
Yeuoly and Claude
b0f1e55a87
refactor: remove triggered_by field from webhook triggers and use automatic sync
...
- Remove triggered_by field from WorkflowWebhookTrigger model
- Replace manual webhook creation/deletion APIs with automatic sync via WebhookService
- Keep only GET API for retrieving webhook information
- Use same webhook ID for both debug and production environments (differentiated by endpoint)
- Add sync_webhook_relationships to automatically manage webhook lifecycle
- Update tests to remove triggered_by references
- Clean up unused imports and fix type checking issues
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <[email protected] >
2025-09-10 17:17:19 +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
lyzno1 and GitHub
e2827e475d
feat: implement trigger-plugin support with real-time status sync ( #25326 )
2025-09-07 21:29:53 +08:00
非法操作 and GitHub
89ad6ad902
feat: add app trigger list api ( #24693 )
2025-08-28 15:23:08 +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
Guangdong Liu and GitHub
1abf1240b2
refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling ( #24284 )
2025-08-21 18:18:49 +08:00
32fa817eaa
Update mypy.ini ( #24014 )
...
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-16 19:29:19 +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
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: Claude <[email protected] >
2025-07-24 00:57:45 +08:00
Aryan Raj and GitHub
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Yeuoly <[email protected] >
2025-07-17 17:18:44 +08:00
-LAN- and GitHub
3acaa59885
fix(update_provider_when_message_created): Fix db transaction ( #21503 )
...
Signed-off-by: -LAN- <[email protected] >
2025-06-25 17:23:45 +08:00
-LAN- and GitHub
8f15341f1e
fix(event_handlers): DB dead lock ( #21468 )
...
Signed-off-by: -LAN- <[email protected] >
2025-06-25 16:20:37 +08:00
Yongtao Huang and GitHub
5d72003ebb
Remove dead code ( #17899 )
2025-04-11 20:33:52 +08:00
-LAN- and GitHub
7a71498a3e
chore(quota): Update deduct quota ( #14337 )
...
Signed-off-by: -LAN- <[email protected] >
2025-02-25 20:10:08 +08:00
+110
403e2d58b9
Introduce Plugins ( #13836 )
...
Signed-off-by: yihong0618 <[email protected] >
Signed-off-by: -LAN- <[email protected] >
Signed-off-by: xhe <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: takatost <[email protected] >
Co-authored-by: kurokobo <[email protected] >
Co-authored-by: Novice Lee <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: AkaraChen <[email protected] >
Co-authored-by: Yi <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: JzoNg <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: Hiroshi Fujita <[email protected] >
Co-authored-by: AkaraChen <[email protected] >
Co-authored-by: NFish <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: 非法操作 <[email protected] >
Co-authored-by: Novice <[email protected] >
Co-authored-by: Hiroki Nagai <[email protected] >
Co-authored-by: Gen Sato <[email protected] >
Co-authored-by: eux <[email protected] >
Co-authored-by: huangzhuo1949 <[email protected] >
Co-authored-by: huangzhuo <[email protected] >
Co-authored-by: lotsik <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: Jyong <[email protected] >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gakkiyomi <[email protected] >
Co-authored-by: CN-P5 <[email protected] >
Co-authored-by: CN-P5 <[email protected] >
Co-authored-by: Chuehnone <[email protected] >
Co-authored-by: yihong <[email protected] >
Co-authored-by: Kevin9703 <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: Boris Feld <[email protected] >
Co-authored-by: mbo <[email protected] >
Co-authored-by: mabo <[email protected] >
Co-authored-by: Warren Chen <[email protected] >
Co-authored-by: JzoNgKVO <[email protected] >
Co-authored-by: jiandanfeng <[email protected] >
Co-authored-by: zhu-an <[email protected] >
Co-authored-by: zhaoqingyu.1075 <[email protected] >
Co-authored-by: 海狸大師 <[email protected] >
Co-authored-by: Xu Song <[email protected] >
Co-authored-by: rayshaw001 <[email protected] >
Co-authored-by: Ding Jiatong <[email protected] >
Co-authored-by: Bowen Liang <[email protected] >
Co-authored-by: JasonVV <[email protected] >
Co-authored-by: le0zh <[email protected] >
Co-authored-by: zhuxinliang <[email protected] >
Co-authored-by: k-zaku <[email protected] >
Co-authored-by: luckylhb90 <[email protected] >
Co-authored-by: hobo.l <[email protected] >
Co-authored-by: jiangbo721 <[email protected] >
Co-authored-by: 刘江波 <[email protected] >
Co-authored-by: Shun Miyazawa <[email protected] >
Co-authored-by: EricPan <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: sino <[email protected] >
Co-authored-by: Jhvcc <[email protected] >
Co-authored-by: lowell <[email protected] >
Co-authored-by: Boris Polonsky <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: IWAI, Masaharu <[email protected] >
Co-authored-by: Yueh-Po Peng (Yabi) <[email protected] >
Co-authored-by: Jason <[email protected] >
Co-authored-by: Xin Zhang <[email protected] >
Co-authored-by: yjc980121 <[email protected] >
Co-authored-by: heyszt <[email protected] >
Co-authored-by: Abdullah AlOsaimi <[email protected] >
Co-authored-by: Abdullah AlOsaimi <[email protected] >
Co-authored-by: Yingchun Lai <[email protected] >
Co-authored-by: Hash Brown <[email protected] >
Co-authored-by: zuodongxu <[email protected] >
Co-authored-by: Masashi Tomooka <[email protected] >
Co-authored-by: aplio <[email protected] >
Co-authored-by: Obada Khalili <[email protected] >
Co-authored-by: Nam Vu <[email protected] >
Co-authored-by: Kei YAMAZAKI <[email protected] >
Co-authored-by: TechnoHouse <[email protected] >
Co-authored-by: Riddhimaan-Senapati <[email protected] >
Co-authored-by: MaFee921 <[email protected] >
Co-authored-by: te-chan <[email protected] >
Co-authored-by: HQidea <[email protected] >
Co-authored-by: Joshbly <[email protected] >
Co-authored-by: xhe <[email protected] >
Co-authored-by: weiwenyan-dev <[email protected] >
Co-authored-by: ex_wenyan.wei <[email protected] >
Co-authored-by: engchina <[email protected] >
Co-authored-by: engchina <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 呆萌闷油瓶 <[email protected] >
Co-authored-by: Kemal <[email protected] >
Co-authored-by: Lazy_Frog <[email protected] >
Co-authored-by: Yi Xiao <[email protected] >
Co-authored-by: Steven sun <[email protected] >
Co-authored-by: steven <[email protected] >
Co-authored-by: Kalo Chin <[email protected] >
Co-authored-by: Katy Tao <[email protected] >
Co-authored-by: depy <[email protected] >
Co-authored-by: 胡春东 <[email protected] >
Co-authored-by: Junjie.M <[email protected] >
Co-authored-by: MuYu <[email protected] >
Co-authored-by: Naoki Takashima <[email protected] >
Co-authored-by: Summer-Gu <[email protected] >
Co-authored-by: Fei He <[email protected] >
Co-authored-by: ybalbert001 <[email protected] >
Co-authored-by: Yuanbo Li <[email protected] >
Co-authored-by: douxc <[email protected] >
Co-authored-by: liuzhenghua <[email protected] >
Co-authored-by: Wu Jiayang <[email protected] >
Co-authored-by: Your Name <[email protected] >
Co-authored-by: kimjion <[email protected] >
Co-authored-by: AugNSo <[email protected] >
Co-authored-by: llinvokerl <[email protected] >
Co-authored-by: liusurong.lsr <[email protected] >
Co-authored-by: Vasu Negi <[email protected] >
Co-authored-by: Hundredwz <[email protected] >
Co-authored-by: Xiyuan Chen <[email protected] >
2025-02-17 17:05:13 +08:00
-LAN- and GitHub
04d13a8116
feat(credits): Allow to configure model-credit mapping ( #13274 )
...
Signed-off-by: -LAN- <[email protected] >
2025-02-07 11:01:31 +08:00
Bowen Liang and GitHub
166221d784
chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x ( #12702 )
2025-01-21 10:12:29 +08:00
yihong and GitHub
a3293b154e
fix: type is wrong issue ( #12165 )
...
Signed-off-by: yihong0618 <[email protected] >
2024-12-27 18:33:53 +08:00
yihong and GitHub
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
Bowen Liang and GitHub
6c8e208ef3
chore: bump minimum supported Python version to 3.11 ( #10386 )
2024-11-24 13:28:46 +08:00
-LAN- and GitHub
e61752bd3a
feat/enhance the multi-modal support ( #8818 )
2024-10-21 10:43:49 +08:00
Bowen Liang and GitHub
74f58f29f9
chore: bump ruff to 0.6.8 for fixing violation in SIM910 ( #8869 )
2024-09-29 00:29:59 +08:00
Bowen Liang and GitHub
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules ( #8296 )
2024-09-12 15:50:49 +08:00
Bowen Liang and GitHub
292220c596
chore: apply pep8-naming rules for naming convention ( #8261 )
2024-09-11 16:40:52 +08:00
Nam Vu and GitHub
2d7954c7da
Fix variable typo ( #8084 )
2024-09-08 13:14:11 +08:00
kurokobo and GitHub
bc3a8e0ca2
feat: store created_by and updated_by for apps, modelconfigs, and sites ( #7613 )
2024-08-28 08:47:30 +08:00
fbf31b5d52
feat: custom app icon ( #7196 )
...
Co-authored-by: crazywoola <[email protected] >
2024-08-19 09:16:33 +08:00
-LAN- and GitHub
3571292fbf
chore(api): Introduce Ruff Formatter. ( #7291 )
2024-08-15 12:54:05 +08:00
Jyong and GitHub
d320d1468d
Feat/delete file when clean document ( #5882 )
2024-07-15 19:57:05 +08:00
Charles Zhou and GitHub
cb09dbef66
feat: correctly delete applications using Celery workers ( #5787 )
2024-07-01 14:21:17 +08:00
baojingyu and GitHub
d160d1ed02
feat: support opensearch approximate k-NN ( #5322 )
2024-06-19 12:44:33 +08:00
kurokobo and GitHub
42029791e4
fix: add event handler to delete the site when the related app deleted ( #5282 )
2024-06-17 08:47:26 +08:00
kurokobo and GitHub
0391282b5e
fix: initialize site with customized icon and icon_background ( #5227 )
2024-06-14 22:15:50 +08:00
Bowen Liang and GitHub
f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x ( #4592 )
2024-06-14 01:05:37 +08:00
Yeuoly and GitHub
e852a21634
Feat/workflow phase2 ( #4687 )
2024-05-27 22:01:11 +08:00
Yeuoly and GitHub
3480f1c59e
refactor: tool parameter cache ( #3703 )
2024-04-23 15:22:42 +08:00
xin.gao and GitHub
71cc0074ef
fix: delete tool parameters cache when sync draft workflow for run workflow use new parameter change in draft workflow ( #3637 )
2024-04-22 11:12:00 +08:00
Bowen Liang and GitHub
d9b821cecc
chore: apply ruff rules on tests and app.py ( #3605 )
2024-04-18 20:24:05 +08:00
takatost and GitHub
12f1ce4794
feat: optimize the efficiency of generating chatbot conversation name ( #3472 )
2024-04-14 23:50:24 +08:00
LIU HONGWEI and GitHub
c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling ( #3408 ) ( #3416 )
2024-04-12 16:22:24 +08:00
7753ba2d37
FEAT: NEW WORKFLOW ENGINE ( #3160 )
...
Co-authored-by: Joel <[email protected] >
Co-authored-by: Yeuoly <[email protected] >
Co-authored-by: JzoNg <[email protected] >
Co-authored-by: StyleZhang <[email protected] >
Co-authored-by: jyong <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: jyong <[email protected] >
2024-04-08 18:51:46 +08:00
David and GitHub
4d63770189
fix: The generate conversation name was not saved ( #2836 )
2024-03-14 17:53:55 +08:00
6c4e6bf1d6
Feat/dify rag ( #2528 )
...
Co-authored-by: jyong <[email protected] >
2024-02-22 23:31:57 +08:00
Bowen Liang and GitHub
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check ( #2366 )
2024-02-06 13:21:13 +08:00
bb5d5fc683
Feat/billing enhancement ( #2239 )
...
Co-authored-by: takatost <[email protected] >
2024-01-26 18:26:15 +08:00
86286e1ac8
Feat/assistant app ( #2086 )
...
Co-authored-by: chenhe <[email protected] >
Co-authored-by: Pascal M <[email protected] >
2024-01-23 19:58:23 +08:00
8799c888e3
fix: free quota type apply button missing ( #2069 )
...
Co-authored-by: StyleZhang <[email protected] >
2024-01-17 15:02:27 +08:00