mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 12:48:08 +09:00
Enhance email template validation and error handling (#3720)
* Add email template validation and error tracking * Email templates: bulk actions & batch delete * Add email template syntax checker * Add last_error to template API; remove error styling * Add error fields to email_template * Render templates during validation with vars * Update crypt mock expectation in Email test
This commit is contained in:
1 parent
49df7e40d4
commit
d312170e46
19 files changed
+653
-145
No files matched your search
@@ -417,6 +417,8 @@ CREATE TABLE `email_template` (
|
||||
`content` text,
|
||||
`description` text,
|
||||
`vars` text,
|
||||
`last_error` text DEFAULT NULL,
|
||||
`error_checked_at` datetime DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `action_code` (`action_code`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
Reference in new issue
Block a user