Commit Graph

3 Commits (59d2a8a2087186b6a1af76cc76c824523303911a)

Author SHA1 Message Date
k-brahma-claude 9202c05d4c fix: MFA test failures and cleanup duplicate test files
- Fix password validation in all MFA tests (use TestPassword123 format)
- Fix database cleanup order to handle foreign key constraints
- Clean up duplicate unit test files (moved to integration tests)
- Fix frontend MFA page tests (modal mock and async handling)
- Update translation keys for consistency
- Minor dependency version updates

All tests now pass: API 730/730, Frontend MFA 9/9

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
11 months ago
k-brahma-claude 34ce28cb3d feat: implement multi-factor authentication (MFA) support
This PR adds comprehensive MFA support to Dify, including:
- Two-factor authentication using TOTP
- Backup codes for account recovery
- MFA management in user settings
- Enhanced security for user accounts

Continuation of PR #22206 with improved implementation and tests.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
11 months ago
QuantumGhost 10b738a296
feat: Persist Variables for Enhanced Debugging Workflow (#20699)
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.

By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.

Key highlights of this change:

- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.

Closes #19735.
12 months ago