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

plugin hmail-alias integration #2211

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

Conversation

Oxymoron290
Copy link
Contributor

@Oxymoron290 Oxymoron290 commented Mar 1, 2023

This Pull request is not quite a duplicate of #1863

While @karobolas did admirable work on that pull request, there were a few issues. The major one being direct database access to hmail. This isn't recommended as the hmail COM api is a better choice. This Pull request uses that com api to get the user's first name and last name to use as the user identity in rainloop.

Also, instead of using direct filesystem IO to read/write to the json file that stores the user identity, I am now using the existing mechanisms in place to do such work.

I have tested this in my environment and confirmed it is working.

Erik Fryklund and others added 2 commits April 11, 2019 11:21
@Oxymoron290
Copy link
Contributor Author

Oxymoron290 commented Mar 2, 2023

Test cases

Scenario: Logging in for the first time
Result: default identity 'name' set to same values as hMailServer upon login. All over properties on the identity remain the same.

Scenario: Logging in for the second time
Result: No change

Scenario: Logging in after changing the 'name; on the default identity
Result: default identity 'name' set to same values as hMailServer upon login. All over properties on the identity remain the same.

Scenario: Logging in with an account which has multiple identities
Result: Only the default identity 'name' set to same values as hMailServer upon login, additional identities remain untouched.

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

1 participant