feat(activity): Adding sample config for new activity options - #62230
feat(activity): Adding sample config for new activity options#62230Aiiaiiio wants to merge 1 commit into
Conversation
Signed-off-by: Tamás Bari <adaorcpp@gmail.com>
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.
Adds documentation for new Activity-related configuration options to the sample configuration, helping admins discover and correctly set these options.
Changes:
- Documented
activity_expire_exclude_usersfor excluding specific users from activity expiration. - Documented
activity_log_exclude_usersfor per-user activity event-type logging exclusions.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| * Defaults to ``[]`` | ||
| */ | ||
| 'activity_expire_exclude_users' => [], |
| * Defaults to ``[]`` | ||
| */ | ||
| 'activity_log_exclude_users' => [], |
| * Per-user activity logging exclusions. | ||
| * | ||
| * An associative array mapping user IDs to an array of event type strings. | ||
| * Activities of the listed event types will not be logged for the | ||
| * corresponding user. For example:: | ||
| * | ||
| * 'activity_log_exclude_users' => [ | ||
| * 'alice' => ['file_created'], | ||
| * 'bob' => ['file_created', 'file_changed'], | ||
| * ], |
| /** | ||
| * Users excluded from activity expiration. | ||
| * |
There was a problem hiding this comment.
would add "Reqires acitivty app" or similar to ensure admins know this is for the activity app
There was a problem hiding this comment.
All of these options are under a higher level group
/**
* Activity
*
* Options for the activity app.
*/(see line 1354)
I can add that extra line but then it will be inconsistent, so I should add it to all. Then, the Activity section will be inconsistent with others, etc-etc ... feels like a rabbit hole.
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Summary
Added Activity config values to sample config.
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)