opnform-host-nginx/api/tests/Feature/Forms
Chirag Chhatrala 28019fc7a0
Implement regex validation conditions in form logic (#645)
* Implement regex validation conditions in form logic

- Added support for 'matches_regex' and 'does_not_match_regex' conditions in FormPropertyLogicRule and FormLogicConditionChecker.
- Updated validation logic to handle regex patterns, including error handling for invalid patterns.
- Enhanced tests to cover scenarios for successful and failed regex validation, ensuring proper feedback for form submissions.
- Updated JSON schema to include new regex condition types.

These changes improve the flexibility of form validation by allowing regex-based conditions, enhancing user experience through more robust validation mechanisms.

* update resource filters

* Remove ray

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-12-16 17:17:29 +01:00
..
AnswerFormTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
CleanDatabaseTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
CreateDynamicSelectOptionTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
CustomSmtpTest.php Apply Mentions everywhere (#595) 2024-10-22 10:34:29 +02:00
EmailNotificationTest.php Fix email notification reply to (#603) 2024-10-28 09:17:01 +00:00
FormCaptchaTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
FormIntegrationEventTest.php Apply Mentions everywhere (#595) 2024-10-22 10:34:29 +02:00
FormIntegrationTest.php Apply Mentions everywhere (#595) 2024-10-22 10:34:29 +02:00
FormLogicTest.php Implement regex validation conditions in form logic (#645) 2024-12-16 17:17:29 +01:00
FormPasswordTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
FormPropertyLogicTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
FormStatTest.php Fix tests 2024-09-30 16:47:10 +02:00
FormTest.php Form editor v2 (#579) 2024-09-23 20:02:38 +02:00
FormUpdateTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
FormViewsTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
HideBrandingOnUpgradeTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
MatrixInputTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
RedirectUrlLengthTest.php Enhance redirect URL handling and MentionParser functionality (#639) 2024-12-10 12:26:01 +01:00
UpdateWorkspaceSelectOptionJobTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00