You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
meli/melib/src
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.
1 year ago
..
addressbook Replace old logging module with the `log` create 1 year ago
backends Add compose (pre-submission) hooks for validation/linting 1 year ago
email Add compose (pre-submission) hooks for validation/linting 1 year ago
gpgme Clippy fixes 1 year ago
text_processing Clippy fixes 1 year ago
thread Clippy fixes 1 year ago
addressbook.rs Replace old logging module with the `log` create 1 year ago
backends.rs Replace old logging module with the `log` create 1 year ago
collection.rs Clippy fixes 1 year ago
conf.rs Clippy fixes 1 year ago
connections.rs Clippy fixes 1 year ago
datetime.rs Clippy fixes 1 year ago
email.rs Add compose (pre-submission) hooks for validation/linting 1 year ago
error.rs Add compose (pre-submission) hooks for validation/linting 1 year ago
lib.rs Replace old logging module with the `log` create 1 year ago
logging.rs Add compose (pre-submission) hooks for validation/linting 1 year ago
parsec.rs Clippy fixes 1 year ago
search.rs Clippy fixes 1 year ago
sieve.rs Clippy fixes 1 year ago
smtp.rs Clippy fixes 1 year ago
sqlite3.rs Replace old logging module with the `log` create 1 year ago
thread.rs Clippy fixes 1 year ago