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

feat: Add STARTTLS authentification method for IMAP protocol #17683

Merged
merged 16 commits into from
Aug 19, 2022

Conversation

FHenry
Copy link
Contributor

@FHenry FHenry commented Jul 31, 2022

feat: Add STARTTLS authentification method for IMAP protocol

Some IMAP server use STARTTLS protocol, this feature is actually missing in frappe and do not allow to use incoming email feature to be managed

If you want I can provide you credantial to test a STARTTLS infrastructure, just ping me

no-docs

@FHenry FHenry requested review from a team and phot0n and removed request for a team July 31, 2022 11:47
@codecov
Copy link

codecov bot commented Jul 31, 2022

Codecov Report

Merging #17683 (d2795a5) into develop (eaf3aa2) will increase coverage by 0.21%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop   #17683      +/-   ##
===========================================
+ Coverage    62.62%   62.84%   +0.21%     
===========================================
  Files          755      755              
  Lines        68065    67826     -239     
  Branches      5976     5976              
===========================================
- Hits         42628    42626       -2     
+ Misses       21975    21806     -169     
+ Partials      3462     3394      -68     
Flag Coverage Δ
server-mariadb 66.32% <0.00%> (-0.01%) ⬇️
server-postgres 66.38% <0.00%> (-0.06%) ⬇️
server-ui 31.85% <0.00%> (-0.02%) ⬇️
ui-tests 50.90% <ø> (+0.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@FHenry FHenry marked this pull request as draft August 4, 2022 13:37
@FHenry FHenry marked this pull request as ready for review August 4, 2022 14:46
@FHenry FHenry marked this pull request as draft August 4, 2022 14:50
@FHenry FHenry marked this pull request as ready for review August 4, 2022 18:40
feat: add STARTTLS connexion option for IMAP server email
@FHenry FHenry force-pushed the dev_imap_starttls branch from 407b14a to e60c101 Compare August 4, 2022 20:45
@phot0n phot0n self-assigned this Aug 8, 2022
@FHenry FHenry marked this pull request as draft August 11, 2022 08:02
@FHenry FHenry force-pushed the dev_imap_starttls branch from bc376c2 to a3a9f11 Compare August 11, 2022 08:20
@FHenry FHenry marked this pull request as ready for review August 11, 2022 08:23
Copy link
Contributor

@phot0n phot0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for this. I've currently done a very shallow review but would need to dig a bit deeper for doing a more comprehensive review.

If you want I can provide you credential to test a STARTTLS infrastructure, just ping me

Would like to take you up on the offer. If you're on telegram, you can reach out to me at: @phot0nx

Thanks.

@phot0n phot0n added the squash label Aug 19, 2022
@phot0n phot0n force-pushed the dev_imap_starttls branch from 546c647 to d2795a5 Compare August 19, 2022 07:42
@phot0n phot0n added the backport version-14-hotfix backport to version 14 label Aug 19, 2022
Copy link
Contributor

@phot0n phot0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, Changes look good to me. Will merge after the CI passes.

@phot0n phot0n merged commit 11a17d3 into frappe:develop Aug 19, 2022
mergify bot pushed a commit that referenced this pull request Aug 19, 2022
Co-authored-by: phot0n <ritwikpuri5678@gmail.com>
(cherry picked from commit 11a17d3)
phot0n added a commit that referenced this pull request Aug 19, 2022
…-17683

feat: Add STARTTLS  authentification method for IMAP protocol (backport #17683)
frappe-pr-bot pushed a commit that referenced this pull request Aug 19, 2022
# [14.4.0](v14.3.0...v14.4.0) (2022-08-19)

### Bug Fixes

* convert pk from db to str. ([#17876](#17876)) ([c56aed8](c56aed8))
* pop pwd from form dict, disable auth logging (backport [#17872](#17872)) ([#17874](#17874)) ([da0c12a](da0c12a))

### Features

* STARTTLS  authentication for IMAP ([#17683](#17683)) ([0838584](0838584))

### Performance Improvements

* ~65% faster `create_custom_fields` ([#17875](#17875)) ([c27e6bf](c27e6bf))
@FHenry FHenry deleted the dev_imap_starttls branch August 20, 2022 06:50
frappe-pr-bot pushed a commit that referenced this pull request Aug 23, 2022
# [13.39.0](v13.38.1...v13.39.0) (2022-08-23)

### Bug Fixes

* notifications always showing up as "unread" ([#17890](#17890)) ([f648c9b](f648c9b))
* pop pwd from form dict, disable auth logging (backport [#17872](#17872)) ([#17873](#17873)) ([8051b76](8051b76))
* Turkey number format corrected ([#17886](#17886)) ([b0a808b](b0a808b))
* Unexpected triggers in forms on shifting focus (backport [#17283](#17283)) ([#17902](#17902)) ([c930c26](c930c26))

### Features

* STARTTLS authentication for IMAP (backport [#17683](#17683)) ([#17881](#17881)) ([c28f39c](c28f39c))
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants