Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve compatibility with stalwart-jmap #648

Closed
wants to merge 4 commits into from

Conversation

landryb
Copy link
Contributor

@landryb landryb commented Oct 30, 2022

Pullrequest

work in progress, fixing the issues i described in #180. With that PR i can list mails in the INBOX, but clicking on a mail sometimes crashes stalwart-jmap. Still digging..

  • apiUrl is a full url, the current code does something weird
  • don't escape forward slashes when sending json, otherwise it returns a 400 code with urn:ietf:params:jmap:error:notRequest
  • messageId/From/To might be null/empty
  • isPrimary isnt mentioned anymore in https://jmap.io/spec-core.html, primaryAccount should be used

@marclaporte
Copy link
Member

Merci @landryb !

@marclaporte
Copy link
Member

@landryb Do you want me to merge this in, or wait for more?

@landryb
Copy link
Contributor Author

landryb commented Nov 14, 2022

i dont think it's in a mergeable state, and im not going to have time to dig more in the coming weeks.

If you look at the actual diffs, some commits might be cherrypickables as not having side effects, but some are probably breaking support for cyrus or fastmail. They're here to show what i did to have something that 'at least managed to talk to the jmap server' but it is far from fully working. Was expecting @jasonmunro to have a look and take that as a start :)

@marclaporte
Copy link
Member

@landryb I don't think Jason will have time soon to take a look. As a community, we'll focus on releasing Cypht 1.4 and get through these great contributions at https://github.com/jasonmunro/cypht/pulls in coming weeks/months.

This being said, I do want to get great JMAP support in Cypht, so we'll get back to it at one point. Any time you may have is greatly appreciated.

@marclaporte
Copy link
Member

@landryb Cypht 1.4.0 has been released.

Any chance to resume efforts on this?

Thanks!

@landryb
Copy link
Contributor Author

landryb commented Aug 9, 2023

i doubt so right now, maybe when i resume work on porting stalwart 0.3.1..

@marclaporte
Copy link
Member

The Stalwart Mail Server is progressing very well and is now at v0.3.7
https://github.com/stalwartlabs/mail-server/commits/main

@landryb
Copy link
Contributor Author

landryb commented Sep 11, 2023

i know, but my last attempts at updating to 0.3.6 were failed due to tight dependencies on non-released/versioned crates... guess i'll retry someday in the future.

@marclaporte
Copy link
Member

ok, @Yannick243 will review our JMAP support (I don't know which reference server he will pick)

@marclaporte
Copy link
Member

@landryb Now is a good time as @Shadow243 and @Yannick243 are actively working on JMAP support.

@marclaporte
Copy link
Member

@Shadow243 @Yannick243 This is taking too long. JMAP support doesn't need to be perfect. Just make a commit if it's better than what is there now. Commit early, commit often! http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s04.html

@marclaporte
Copy link
Member

@landryb @Yannick243 @Shadow243 @josaphatim "This branch has conflicts that must be resolved"

@Shadow243
Copy link
Member

All these changes have been merged here: #909

@landryb @Yannick243 @Shadow243 @josaphatim "This branch has conflicts that must be resolved"

@landryb
Copy link
Contributor Author

landryb commented Mar 8, 2024

closing, superseded by #909

@landryb landryb closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants