nextcloud / nextcloud/activity

activity summary must be shortened for edited documents

Open
#1,661 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: implementations
Dominant language
JavaScript
Stars
145
Forks
72
Avg merge
6d 9h
Merged PRs (30d)
42

Description

Steps to reproduce
  1. create a word file in nextcloud in a group folder
  2. one or more coworkers edit the file during one hour using collabora
Expected behaviour

the notification mail should produce a summary like "user one and user two edited the file <> multiple times between hour and hour.
the reporting should probably more similar to how it is presented in the web-activity list - there I get 3 lines of activities giving a good overview what happened instead of 12 lines with a timestamp for every reported change in the mail.

Actual behaviour

currently every "save" (not sure) is reported creating a long list of changes every 3-5 minutes or so whereas the link point to the same file.
I could understand if the links point to versions of the very file, but this is not the case, and not possible if versions are not manually "named".

Server configuration

NC 28.0.3
Activity 2.20

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Where did you install Nextcloud from:

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:

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:

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 an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser:

Operating system:

Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by tracing how edited-document activities are grouped and rendered into notification emails, then reproduce repeated Collabora saves. Done means repeated edits to the same file produce a concise grouped summary rather than one entry per save, with coverage for the reported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.