Commit Graph

15 Commits (main)

Author SHA1 Message Date
Benedikt Terhechte 9bfa5551a0
Maildir support (#35)
* Initial Maildir importer code

* Copied bluebird75 maildir test data into the repository

The data comes from
https://github.com/bluebird75/maildir2mbox

* Allow already-parsed emails as importer input

* Switched to mail-parser

It is a littlebit slower but brings some advantages:

- It parses all my emails without a hitch. Which means there's no need
  for a custom fork anymore.
- It supports emails both with CRLF and LF. Maildir seems to like storing
  mails in LF so the former email-parser failed all those mails.

* Fix bug when selecting to_* fields

* Disable Windows Support for maildir at it is not supported by the crate

* Added maildir test

* Should also not use maildir in the windows Cargo.toml

* What a typo

* Maybe this does the trick

* Forgot one
2 years ago
Benedikt Terhechte daf650bab9
Documentation (#24)
Improved Documentation
3 years ago
Benedikt Terhechte e8f9d9fdb5 Clippy Feedback 3 years ago
Benedikt Terhechte 9a35b99971
Cleanup Dependencies (#12)
* Moved deps into ps-core and `pub use` exported them so they're only in one place

* Updated Version Numbers
3 years ago
Benedikt Terhechte 5f4c60bb66 Add ValueField initializer 3 years ago
Benedikt Terhechte c5d757a93d Export serde for value 3 years ago
Benedikt Terhechte 2482151eeb Fixed native build issues 3 years ago
Benedikt Terhechte 8ee485f7a7 Use an additional trait and some cfgs to refactor the thread away
As wasm doesn't support threads and we're using a background
processing thread. We had to refactor this away. The solution
is mediocre (for now) but involves a separate `DatabaseQuery`
trait which is trait object compatible and is used to make
synchronous calls.
3 years ago
Benedikt Terhechte 73043bd655 Added small cfgs for wasm32 to make it compile 3 years ago
Benedikt Terhechte d1d443f036 Used `DatabaseLike` trait instead of actual `Database` in gui 3 years ago
Benedikt Terhechte 2633ef6b4c Ported tests over, fixed tests 3 years ago
Benedikt Terhechte 221672fcf8 Removed warnings 3 years ago
Benedikt Terhechte 5dfd1b9630 Initial Workspace restructuring compiles 3 years ago
Benedikt Terhechte 7a0be16578 Ported the importer crate over 3 years ago
Benedikt Terhechte 2a505f0d83 Ported the database crate over 3 years ago