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

Multiple notifications are triggered with activity app #1381

Open
christianlupus opened this issue Sep 19, 2024 · 1 comment
Open

Multiple notifications are triggered with activity app #1381

christianlupus opened this issue Sep 19, 2024 · 1 comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced

Comments

@christianlupus
Copy link

christianlupus commented Sep 19, 2024

If the activity app is enabled, each modifiaction is registered as an individual activity. This causes the notification app to going havoc if you change a shared note in regular but short intervals.
Concrete example: A shared shopping list with checkboxes can be checked in the app or the web frontend while shopping. This causes me to see like 20 to 50 notifications I have to drop in order to see the important ones.

Steps to reproduce

  1. Have a NC instance with activity and notification app enabled
  2. Have file notifications enabled in feed (and optionally as mail)
  3. Share the notes folder of user A with user B
  4. As user B set storage backend to the shared folder
  5. As user B open a note (or create one) and modify it
  6. Wait a bit or close the note
  7. Continue writing

Expected behaviour

The user A is informed that the file has changed.

Actual behaviour

Each change is represented as a file written thus adding multiple notifications to the list.

Screenshots

If applicable, add screenshots to help explain your problem.
image

Server

Please complete the following information.

  • Notes app version: master (4b3d4d)
  • Nextcloud version: master (dfa994e)
  • OS: Archlinux/Docker
  • Web server: Apache
  • PHP version: 8.1.29
  • Database: MariaDB

Nextcloud configuration:

``` { "system": { "debug": true, "profiler": true, "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/apps-extra", "url": "\/apps-extra", "writable": false }, { "path": "\/var\/www\/html\/apps-shared", "url": "\/apps-shared", "writable": false }, { "path": "\/var\/www\/html\/apps-writable", "url": "\/apps-writable", "writable": true } ], "allow_local_remote_servers": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "1025", "skeletondirectory": "\/skeleton", "setup_create_db_user": false, "loglevel": 2, "log_query": false, "query_log_file": "\/shared\/log\/querylog-nextcloud.log", "query_log_file_requestid": "yes", "diagnostics.logging": false, "diagnostics.logging.threshold": 0, "log.condition": { "apps": [ "diagnostics", "admin_audit" ] }, "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "nextcloud", "nextcloud.local", "192.168.21.6", "localhost" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "31.0.0.3", "overwrite.cli.url": "http:\/\/nextcloud.local", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "updater.release.channel": "git", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "lookup_server": "", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "app_install_overwrite": [ "calendar", "calendar_resource_management", "event_update_notification" ] } } ```

Client

Please complete the following information.

  • Browser (incl. version): Firefox 130.0
  • OS: Archlinux

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

@christianlupus christianlupus added bug Something isn't working need to reproduce Issue that has not been reproduced labels Sep 19, 2024
@joshtrichards
Copy link
Member

Similar: nextcloud/activity#1661

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced
Projects
None yet
Development

No branches or pull requests

2 participants