Separate `Calendar event was created` from `Calendar event was modified`
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Steps to reproduce
- In NC go to settings > activity. Enable email notification on "edit of a calendar event"
- Sync with Caldav to clients like Outlook, Apple Calendar or Android.
- Create a calendar event
- Each time, the client calendar issues a reminder of the event, NC supposes the event has been updated and sends an update event email.
Expected behaviour
No emails if the calendar event isn't really updated.
In the NC settings > activity it is only possible to set email notifications upon "edit of a calendar event". This results in email notifications every time a client syncs this event even if no changes are made to the event. This produces unnecessary emails. I find it very useful to receive an email upon "creation of a calendar event". So maybe you could introduce such an additional option into the settings just like it is already implemented with files: There you have separate options for file creation and file edit. Would make much sense. ;-)
Actual behaviour
Sends email even there was no update of the calendar event.
Server configuration
Operating system:
Linux
Web server:
Apache
Database:
MySQL
PHP version:
7.3.11
Nextcloud version: (see Nextcloud admin page)
18.0.3
Updated from an older Nextcloud/ownCloud or fresh install:
18.0.2
Where did you install Nextcloud from:
Uploaded with FTP and ran installer.
Signing status:
Signing status
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
No errors have been found.
</details>
**List of activated apps:**
<details>
<summary>App list</summary>
Enabled:
- activity: 2.11.0
- bookmarks: 2.3.4
- bruteforcesettings: 1.6.0
- calendar: 2.0.3
- cloud_federation_api: 1.1.0
- contacts: 3.3.0
- dav: 1.14.0
- documentserver_community: 0.1.5
- encryption: 2.6.0
- federatedfilesharing: 1.8.0
- federation: 1.8.0
- files: 1.13.1
- files_pdfviewer: 1.7.0
- files_rightclick: 0.15.2
- files_sharing: 1.10.1
- files_versions: 1.11.0
- logreader: 2.3.0
- lookup_server_connector: 1.6.0
- oauth2: 1.6.0
- occweb: 0.0.7
- onlyoffice: 4.1.4
- photos: 1.0.0
- provisioning_api: 1.8.0
- settings: 1.0.0
- sharebymail: 1.8.0
- theming: 1.9.0
- theming_customcss: 1.5.0
- twofactor_backupcodes: 1.7.0
- updatenotification: 1.8.0
- viewer: 1.2.0
- workflowengine: 2.0.0
Disabled:
- accessibility
- admin_audit
- comments
- files_external
- files_trashbin
- files_videoplayer
- firstrunwizard
- mail
- nextcloud_announcements
- notifications
- password_policy
- privacy
- recommendations
- serverinfo
- spreed
- support
- survey_client
- systemtags
- tasks
- text
- user_ldap
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration:
Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using external storage, if yes which one: local/smb/sftp/...
No.
Are you using encryption: yes/no
Yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
LDAP configuration (delete this part if not used)
LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
Nextcloud log
Insert your Nextcloud log here
Browser log
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by tracing the activity notification settings and the calendar event handling triggered by CalDAV sync; done means unchanged syncs do not send edit emails and creation and modification notifications can be configured separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100