meli/src/components
Manos Pitsidianakis 8c671935f9
Add compose (pre-submission) hooks for validation/linting
compose-hooks run before submitting an e-mail.
They perform draft validation and/or transformations.
If a hook encounters an error or warning, it will show up as a notification.
The currently available hooks are:
- past-date-warn
  Warn if Date header value is far in the past or future.
- important-header-warn
  Warn if important headers (From, Date, To, Cc, Bcc) are missing or invalid.
- missing-attachment-warn
  Warn if Subject, draft body mention attachments but they are missing.
- empty-draft-warn
  Warn if draft has no subject and no body.

They can be disabled with [composing.disabled_compose_hooks] setting.
2023-05-16 17:31:56 +03:00
..
contacts Clippy fixes 2023-04-30 20:47:53 +03:00
mail Add compose (pre-submission) hooks for validation/linting 2023-05-16 17:31:56 +03:00
utilities Clippy fixes 2023-04-30 20:47:53 +03:00
contacts.rs Clippy fixes 2023-04-30 20:47:53 +03:00
mail.rs Clippy fixes 2023-04-30 20:47:53 +03:00
mailbox_management.rs Clippy fixes 2023-04-30 20:47:53 +03:00
notifications.rs Replace old logging module with the `log` create 2023-05-01 16:22:35 +03:00
svg.rs Clippy fixes 2023-04-30 20:47:53 +03:00
utilities.rs Clippy fixes 2023-04-30 20:47:53 +03:00