v0.6.0: Goals and Plans #345
Replies: 5 comments 13 replies
-
Is it possible to create some structs in your backend block? TL;DRI could imagine the following for example: pub struct Account {
// the stuff ...
}
impl Account {
pub fn select(Query query) -> Accounts {
// ...
}
pub fn select_by_name_or_default(String string) -> Account {
// ...
}
// and so forth..
} So we can use it like this: let accounts = Account::select(Query query); Other notesWe would have probably some naming conflicts, but I think that this isn't such a |
Beta Was this translation helpful? Give feedback.
-
Cache suggestionAs far as I know himalaya uses the |
Beta Was this translation helpful? Give feedback.
-
As far as I know himalaya uses the `/tmp` directory, to store drafts
for example. We should change that to `~/.cache/himalaya` for security
reasons like secret mails since (I think) everyone can access the
`/tmp` directory.
I think it is a very good suggestion! Maybe open an issue (not to forget
it)?
|
Beta Was this translation helpful? Give feedback.
-
Just to be sure if I understand you correctly: Himalaya is going to become a backend-emal-library, right? |
Beta Was this translation helpful? Give feedback.
-
@soywod is it possible to create an organisation? I'd like to have something like a RFC-Repository for example (also UML diagrams could be useful here) for himalaya where we can list what himalaya (the lib) should be able to do or should I rather just put them into a directory? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Before the
v0.5
, Himalaya was only able to connect to IMAP servers.Starting from the
v0.5
, I introduced the concept of backends which allows Himalaya to connect to other sources like Maildir and Notmuch.From the
v0.6
, I would like to bring Himalaya to the next (final) step: gather all the logic into a lib, and make the CLI a simple frontend like another. The aim is really to turn Himalaya into an email API for UIs/frontends/clients to consume it.Sources: https://excalidraw.com/#json=wYvjR8B8vWcUrlcgICF9j,OvTnLeQO0tU_-X39qvuVSQ
Some enhancements and changes are needed in order to achieve this goal:
v1.0.0
. See Refactor the config file to make it more intuitive and structured #344.Beta Was this translation helpful? Give feedback.
All reactions