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 IMAP Microsoft Graph Configs #2610

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

Conversation

antt1995
Copy link
Contributor

No description provided.

@antt1995
Copy link
Contributor Author

#2607

@antt1995
Copy link
Contributor Author

@kkimurak
Can you do a sanity check on this Please

Copy link
Contributor

@kkimurak kkimurak left a comment

Choose a reason for hiding this comment

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

Thank you for your prompt contribution. It looks good to functionally but I have some suggestions in addition to individual reviews:

  • Naming for configuration parameter are too simple.
    For example, IMAP_TENANT_ID will become a value for gitlab::incoming_email::inbox_options::tenant_id in gitlab.yml. Therefore, I think a name like GITLAB_INCOMING_EMAIL_INBOX_OPTIONS_TENANT_ID is easier to associate with the key name in yaml (it should also be useful for anyone reading the official gitlab documentation and trying to use this sameersbn/gitlab).
    Yes, I know that other parameters related to IMAP have such simple names (like IMAP_HOST). So feel free to ignore me. If I lose patience with it, I will submit a pull request to unify the naming conventions (of course, it is entirely possible that the maintainer will reject it, and there is nothing wrong with that).
  • (optional) inbox_options::poll_interval is missing.
  • (optional) It is nice if we can support inbox_options::azure_ad_endpoint and inbox_options::graph_endpoint for Microsoft Cloud as well.

Sorry for the nagging review. Please let me know if it seems difficult or if I am being cryptic. I will send you a patch.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
assets/runtime/functions Show resolved Hide resolved
antt1995 and others added 4 commits July 21, 2022 18:31
Co-authored-by: Kazunori Kimura <33391846+kkimurak@users.noreply.github.com>
Co-authored-by: Kazunori Kimura <33391846+kkimurak@users.noreply.github.com>
@kkimurak kkimurak mentioned this pull request Sep 11, 2022
4 tasks
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.

None yet

2 participants