14 Commits

Author SHA1 Message Date
Harry
883278b583 refactor: consolidate trigger subscription request models and enhance update logic
- Merged `SubscriptionRebuildRequest` into `TriggerSubscriptionUpdateRequest` to streamline request handling.
- Updated `TriggerSubscriptionUpdateApi` to differentiate between rename and update operations, improving clarity in subscription management.
- Enhanced `TriggerProviderService` to handle credential and parameter validation more robustly during subscription updates.
- Renamed `SubscriptionVerifyRequest` to `TriggerSubscriptionVerifyRequest` for consistency across the API.
2025-12-20 12:29:23 +08:00
Harry
311fddb4ef feat: add subscription verification endpoint and enhance subscription handling
- Introduced `SubscriptionVerifyRequest` model for verifying subscription credentials.
- Implemented `TriggerSubscriptionVerifyApi` to handle verification requests for existing subscriptions.
- Updated `TriggerSubscriptionBuilderVerifyApi` to reflect changes in functionality, now verifying and updating subscriptions.
- Enhanced `TriggerProviderService` with a new method for verifying subscription credentials without updating them, improving validation processes.
2025-12-18 17:04:40 +08:00
Harry
c2af26e9df refactor: improve credential handling in subscription rebuild requests
- Updated `SubscriptionRebuildRequest` to allow `credentials` to be optional, enhancing flexibility in request payloads.
- Modified `TriggerSubscriptionRebuildApi` to ensure credentials default to an empty dictionary if not provided, improving robustness in subscription rebuild logic.
- Adjusted `TriggerProviderService` to use existing subscription credentials when rebuilding, streamlining the credential management process.
2025-12-18 14:56:08 +08:00
Harry
0bca67e45a feat: add subscription rebuild functionality and enhance trigger subscription handling
- Introduced `SubscriptionRebuildRequest` model for rebuilding existing subscriptions.
- Implemented `TriggerSubscriptionRebuildApi` to handle rebuild requests, allowing users to recreate subscriptions while retaining identifiers.
- Enhanced `TriggerProviderService` with `rebuild_trigger_subscription` method to manage subscription rebuilding logic, including credential and parameter updates.
- Updated existing subscription handling to support new parameters and credentials during updates.
2025-12-18 12:24:35 +08:00
Harry
40f8a5e755 refactor: enhance credential handling in TriggerProviderService
- Renamed variable for clarity in the trigger provider encryption process.
- Improved the decryption and masking of credentials, properties, and parameters for subscriptions, ensuring consistent handling across all fields.
- Streamlined the creation of encrypters for both credentials and properties, enhancing code readability and maintainability.
2025-12-16 18:10:49 +08:00
Harry
ade3e24dd2 feat: add API endpoint and model for updating trigger subscriptions
- Introduced `TriggerSubscriptionUpdateRequest` model for request validation.
- Implemented `TriggerSubscriptionUpdateApi` to handle subscription updates.
- Enhanced `TriggerProviderService` with `update_trigger_subscription` method for backend logic.
- Updated frontend components to support subscription editing functionality.
- Added new translations for subscription edit actions.
2025-12-16 17:17:58 +08:00
非法操作
7695f9151c chore: webhook with bin file should guess mimetype (#29704)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maries <xh001x@hotmail.com>
2025-12-16 13:34:27 +08:00
非法操作
1241cab113 chore: enhance the hint when the user triggers an invalid webhook request (#28671) 2025-11-26 14:00:16 +08:00
Maries
bb3aa0178d fix: update plugin verification logic to use unique identifier instea… (#28608) 2025-11-25 00:40:25 +08:00
Asuka Minato
3c30d0f41b more typed orm (#28331)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-21 14:23:32 +09:00
17hz
522508df28 fix: add app_id to Redis cache keys for trigger nodes to ensure uniqueness (#28243)
Co-authored-by: Claude <noreply@anthropic.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-11-20 13:34:05 +08:00
Will
8fc1c7d994 chore: remove redundant reimports (#28415)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2025-11-20 11:28:29 +08:00
Maries
a1b735a4c0 feat: trigger billing (#28335)
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-20 10:15:23 +08:00
Yeuoly
b76e17b25d feat: introduce trigger functionality (#27644)
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: Stream <Stream_2@qq.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zhsama <torvalds@linux.do>
Co-authored-by: Harry <xh001x@hotmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WTW0313 <twwu@dify.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 17:59:37 +08:00