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

Added settings for caldav ssl verification #112

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Spitfireap
Copy link
Member

Provide users a way to disable ssl cert verification or provide a CA bundle as a trusted one. This enables user with self-signed certs to use the extension.

@codecov
Copy link

codecov bot commented May 2, 2023

Codecov Report

Patch coverage: 75.00% and project coverage change: -0.26 ⚠️

Comparison is base (6f598d4) 93.47% compared to head (c618584) 93.22%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #112      +/-   ##
==========================================
- Coverage   93.47%   93.22%   -0.26%     
==========================================
  Files          23       24       +1     
  Lines        1150     1166      +16     
==========================================
+ Hits         1075     1087      +12     
- Misses         75       79       +4     
Impacted Files Coverage Δ
modoboa_radicale/backends/caldav_.py 83.33% <50.00%> (-2.39%) ⬇️
modoboa_radicale/constants.py 100.00% <100.00%> (ø)
modoboa_radicale/forms.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

(True, ugettext_lazy("Verify")),
(False, ugettext_lazy("Skip verification")),
("path", ugettext_lazy("Provide CA bundle"))
)
Copy link
Member

Choose a reason for hiding this comment

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

Bad indentation and I don't think it's a good idea to mix types here. Use either strings or integers for values.

Copy link
Member Author

Choose a reason for hiding this comment

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

Like that ?
I don't see the bad indent though

Copy link
Member

Choose a reason for hiding this comment

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

Yes, that's better.
And the last parenthesis should be moved to start of line

Copy link
Member Author

Choose a reason for hiding this comment

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

done :D

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.

2 participants