Commit Graph

96 Commits (803d3414fd73743ff5bfc0fefe5e3d76d88e58cb)

Author SHA1 Message Date
Manos Pitsidianakis 803d3414fd melib/imap/managesieve: implement some rfc5804 commands
Try with managesieve REPL in src/managesieve.rs:

cargo run --bin managesieve-client ~/.config/meli/config.toml
"accountname"

rfc5804 <https://www.rfc-editor.org/rfc/rfc5804.html>
2 years ago
Manos Pitsidianakis 3d92b41075 Add cli-docs feature to the default set 2 years ago
Manos Pitsidianakis a73885acb1 Improve embed terminal
- Add character attribute support
- Add cursor key mode support
- Fix buggy set fg / bg sequences

And added a bin under tools to test arbitrary apps using the embedded
terminal:

 cargo run -p tools --bin embed -- "htop" 2> .htop.debug.log
2 years ago
Manos Pitsidianakis ca48896865 Cargo.toml: add strip option to profile.release 2 years ago
Manos Pitsidianakis 7650805c60 Bring stripped binary size down to 7MiB 2 years ago
Manos Pitsidianakis e29041f733 Rename src/bin.rs to src/main.rs 2 years ago
Manos Pitsidianakis 2c23ca34cd Update most Cargo dependencies 2 years ago
Manos Pitsidianakis f5dc25ae0d
conf.rs: check that all conf flags are recognized in validation
This commit adds logic in configuration file validation that checks that
each account "extra" field is empty after getting it back from the
backend validation. This is to ensure the user doesn't set options that
are invalidly stated in the documentation or by accident.

Closes #135

Configuration error (xxx): the following flags are set but are not recognized: ["index_style"] https://git.meli.delivery/meli/meli/issues/135
2 years ago
Manos Pitsidianakis 15ca25af73
Bump version to 0.7.2 3 years ago
Manos Pitsidianakis bc08bf1d13
Bump version to 0.7.1 3 years ago
Manos Pitsidianakis 978939d8e3
Bump version to 0.7.0 3 years ago
Manos Pitsidianakis 5eb4342af8
Update dependencies, update indexmap to ^1.6 3 years ago
Manos Pitsidianakis 5b86c342fb
Update smallvec dependency to 1.5.0
Fixes panicking when loading cached serialized email from older versions
of meli.

https://github.com/servo/rust-smallvec/pull/238
4 years ago
Manos Pitsidianakis 6c07046b66
Update bincode dependency to 1.3.1 4 years ago
Manos Pitsidianakis 57e6cf3980
Limit dbus dependency to target_os = "linux" 4 years ago
Manos Pitsidianakis 7b1ab389fa
Remove unused plugin interface 4 years ago
Manos Pitsidianakis 89940dd606
cli-docs: compress included text 4 years ago
Manos Pitsidianakis 19891a3042
Cargo.toml: set codegen-units = 1 4 years ago
Manos Pitsidianakis 23ca41e3e8
add libgpgme feature 4 years ago
Manos Pitsidianakis 6ccb4e9544
melib: bump version to 0.6.2 4 years ago
Manos Pitsidianakis 83bee279e6
melib/email/compose: set attachment status
Set Content-Disposition: attachment to, well, attachments.
4 years ago
Manos Pitsidianakis 1ac3a7a903
Make dbus dependency optional
Put dbus dependency behing `dbus-notifications` feature.
4 years ago
Manos Pitsidianakis 6302d9d618
Rename testing crate to tools, and add README 4 years ago
Manos Pitsidianakis 8a6bf3b217
Preserve Account order from configuration file
Use IndexMap to preserve the order of accounts in the UI from the
account definitions.
4 years ago
Manos Pitsidianakis 0b00f5dfbc
Update toml to 0.5.6, add preserve_order 4 years ago
Manos Pitsidianakis e8a98f87e3
Change version to 0.6.1 4 years ago
Manos Pitsidianakis 7b686ff38c
Fix README in Cargo.toml 4 years ago
Manos Pitsidianakis 93d9c195cc
Change version to 0.6.0 4 years ago
Manos Pitsidianakis 3ac2c12e7a
Small fixes 4 years ago
Manos Pitsidianakis 246ac4b84a
Update smallvec dependency to 1.4.1 4 years ago
Manos Pitsidianakis 77dc1d74bf
Add smtp client support for sending mail in UI
`mailer_command` was removed, and a new setting `send_mail` was added.

Its possible values are a string, consisting of a shell command to
execute, or settings to configure an smtp server connection. The
configuration I used for testing this is:

  [composing]
  send_mail = { hostname = "smtp.mail.tld", port = 587, auth = { type = "auto", username = "yoshi", password = { type = "command_eval", value = "gpg2 --no-tty -q -d ~/.passwords/msmtp/yoshi.gpg" } }, security = { type = "STARTTLS" } }

For local smtp server:
  [composing]
  send_mail = { hostname = "localhost", port = 25, auth = { type = "none" }, security = { type = "none" } }
4 years ago
Manos Pitsidianakis 03522c0298
melib: Fixup warnings in imap_async, maildir 4 years ago
Manos Pitsidianakis b72a1ca6d8
WIP maildir async 4 years ago
Manos Pitsidianakis 4f3a98f90a
Add job executor 4 years ago
Manos Pitsidianakis 0169025d50
build.rs: add proc-macro to generate Override structs for configuration 4 years ago
Manos Pitsidianakis 0618e62ab6
Add optional feature to save SVG screenshot 4 years ago
Manos Pitsidianakis e97cf98b3b
Add `view` subcommand
Add subcommand to view standalone e-mail files in meli's pager without
instantiating any accounts.
4 years ago
Manos Pitsidianakis 4bc8ff2ce9
Use structopt for command line parsing 4 years ago
Manos Pitsidianakis 6458ccb860
meli: update nom dependency to 5.1.1 4 years ago
Manos Pitsidianakis 3e31c46a74
Add "regexp" feature, format text with regexps
`regexp` feature uses the pcre2 library to enable the user to define
regular expressions for matching text and applying text formatting to
the matches. An example from the theme configuration I used to test
this:

  [terminal.themes.win95.text_format_regexps]
  "listing.subject" = { "\\[[^\\]]*\\]" = { attrs = "Bold" } }
  "listing.from" = { "\\<[^\\>]*\\>(?:(?:\\s*$)|(?=,))" = { attrs = "Italics" } }

  [terminal.themes.win95.text_format_regexps."pager.envelope.body"]
  "^>.*$" = { attrs = "Italics" }
  "\\d+\\s?(?:(?:[KkMmTtGg]?[Bb])|(?:[KkMmTtGg][Bb]?)(?=\\s))" = { attrs = "Bold | Underline" }
4 years ago
Manos Pitsidianakis 6ceed3cae9
sqlite3: move module to melib 4 years ago
Manos Pitsidianakis 0a83b99e7c
Update nix, linkify, uuid dependencies 4 years ago
Manos Pitsidianakis eb701695f7
Remove fnv crate 4 years ago
Manos Pitsidianakis 4930d1b46c
Add Italics, Blink, Dim and Hidden text attributes
Text attributes have been rewritten as bit flags, so for example instead of
"BoldUnderline" you'd have to define "Bold | Underline" in your theme
settings.

Requested in #21
4 years ago
Manos Pitsidianakis 31d90e1d87
Add managesieve.rs 4 years ago
Manos Pitsidianakis 303c530488
Load libnotmuch dynamically 4 years ago
Manos Pitsidianakis 0ebad39b50
Bumb version to 0.5.1 4 years ago
Manos Pitsidianakis 962283f9fe
Add opt-level=z flag for release profile 4 years ago
Manos Pitsidianakis 0aa2659072
meli: add cli-docs feature
Optionally build manpages to text with mandoc and print them from the
command line.
4 years ago
Manos Pitsidianakis 41ee43438d
Bumb version to 0.5.0 4 years ago