-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Nextcloud address book #1227
base: master
Are you sure you want to change the base?
Nextcloud address book #1227
Conversation
akhil1508
commented
Aug 3, 2023
•
edited
Loading
edited
- [Nextcloud] feature requests #569 (comment)
- The idea here is to save new contacts(upon email sending) into a nextcloud addressbook
- This way we have "full" integration with nextcloud
- Contacts suggestions come from nextcloud already
- Contacts will now be saved into nextcloud too
@the-djmaze Perhaps we can have an option for admins like "Integrate nextcloud contacts fully"
The UX will then be very similar to the attachments integration for nextcloud, where you can browse files in your cloud and attach them. Your contacts will be saved into your cloud and you can browse your contacts from your cloud app. |
Hi, |
@the-djmaze What do you think about this change?
|
Hi,
|
…o dev/sync-nextcloud-addressbook
I will come back later to this. 😉 |
I would love to have this as well. Any solution yet? Let me know if del is needed, testing, dev, anything. |
@stepcellwolf I do get back to you, got a bit busy in between. I mostly need some dev to deal with the points raised by @cm-schl in #1227 (comment)
and ofc some testing.. |
A good example of multiple address books is the people around you. Your phone only has "contacts" and you categorize them by any tag needed (family, friends, coworker, client, etc.) The biggest issue is GDPR where client data should not leave the building and yet, it is on your phone 😛 To support multiple address books, SnappyMail needs some big changes. Maybe someone already has a very bright idea? |
@the-djmaze We can continue with a single address book but allow nextcloud admins to choose which one to activate(the SnappyMail one or full integration with nextcloud), wdyt? I have already deployed a patched version if this PR to servers with a good amount of usage and this address book does over-ride the pdo address book of SnappyMail correctly. |
I too don't see it necessary to support multiple address books 👍. Talking from a company perspective I would have to add something: for single users a simple dialog to choose the destination for new contacts would be enough. For an administrator it would be nice to have the possibility to preset this destination address book for all users. |
Signed-off-by: Akhil <[email protected]>
Signed-off-by: Akhil <[email protected]>
Signed-off-by: Akhil <[email protected]>
Signed-off-by: Akhil <[email protected]>
Signed-off-by: Akhil <[email protected]>
…tcloud-addressbook
Co-authored-by: Akhil Potukuchi <[email protected]>
…sbook Draft/dev sync nextcloud addressbook
@the-djmaze @akhil1508 this is ready to be reviewed. |
@the-djmaze So we have the following functionality now:
cc @fahim44 |
plugins/nextcloud/README.md
Outdated
|
||
## Nextcloud Addressbook for recipients | ||
|
||
This plugin can let user to choose which nextcloud addressbook to use save recipients. This is opt-in feature (enabled by admin). After admin enable this, user will find a dropdown in his/her SnappyMail's `Contacts` section, containing all his/her addressbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fahim44 Could be nice to mention that it works best with Nextcloud Contacts where contacts app is used as the frontend for contacts(browsing, editing etc) and SnappyMail seamlessly integrates with it to provide email autocomplete suggestions when drafting emails (not in this PR) and save emails to Nextcloud Contacts upon sending.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akhil1508 updated the README
NC contacts app is just frontend for contacts & addressbook of NC server. Nextcloud plugin `auto save recipients on addressbook` feature used to depends on contacts app directly. This commit update that logic.
7223a19
to
cf870df
Compare
I'm looking forward to this feature It will actually be very good, I would like to ask how it will be in the case of two or more accounts authenticated in Snappymail, will this create the contacts in the same addressbook? Or will it save in each user's addressbook? |
@mstolf the contacts will be saved in the nextcloud addressbook. By default, all contacts will be saved in the default addressbook defined by nextcloud admin. But, this feature support addressbook switching for each snappyMail account. So, if you have nextcloud account with multiple addressbooks, & multiple snappyMail account setup, you can pick separate addressbooks for each snappyMail account |
Hi, As promised before some feedback from my first tests:
|
Hi @cm-schl , let me try to answer your questions
2 & 3. This patch will try to create new nextcloud addressbook / reuse if already present (search against addressbook uri). This is because we need addressbook to save our contacts & admin can't be sure user has any specific / any addressbook present or not by default. User can change it later as per his preference. To create a nextcloud addressbook, we need uri, name, & description.
|
Hi @fahim44 and thanks for your response! 5: like you and I said |
updated README. cc @cm-schl |
Hi @the-djmaze ! Can you give a look? TIA :) |
This work looks FANTASTIC |
Will look at it. Just had some other things to do ;) |