add daily activity digest option#483
Conversation
icewind1991
commented
Aug 14, 2020
- Per user option to enable digest mails
- Digest includes up to 20 activity items from the last day
- If more then 20 activity items exist for the last day, "and %n more" will be added to the mail.
- Email format based on the notification mails:

|
@jancborchardt should we also here filter out your own actions? |
|
This can be achieved already via https://docs.nextcloud.com/server/16/admin_manual/configuration_server/activity_configuration.html#better-scheduling-of-activity-emails But yeah then it affects all users, but we have less duplicate code? |
Always good! |
Yes – any kind of notification should always filter out anything you do yourself. (The "Activity" list doesn’t notify, so it’s fine to show your own actions there.) |
jancborchardt
left a comment
There was a problem hiding this comment.
See comments for wording and structure improvements.
Is it possible to get avatars and file previews here instead of only the updated/created/deleted icons? That would be much much nicer.
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
adebc4d to
12fa342
Compare
that's would be a fair amount of work to properly handle authentication of the preview urls, I'll look into it in a follow up PR if there is enough time. |
…plied Signed-off-by: Joas Schilling <coding@schilljs.com>
Co-authored-by: Morris Jobke <hey@morrisjobke.de>