[Bug]: Activity filter on user/account only shows users on first page of changes

オープン
#67,010 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
php
領域
backend

調査の方向性

The bug is in the Activity app's user filter on the Activity page, which only offers users from the currently loaded page of events. Reproduce it on an instance where one user's events are older than the first page, then find where the filter's user list is built and whether it comes from the loaded events or from a server-side query. Done means the filter lists every user with activity, not just those on page one, and the events still paginate correctly.

索引モデルが issue の本文から書いたものです。

説明

0. Needs triage 35-feedback bug
⚠️ This issue respects the following points: ⚠️
  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description

There's now a filter on the "Activity" app. Great feature!

However, the users filter only seems to list users who are in the list of activities shown on the page. For example, as an admin I need to search for all activities by Mallory, but I can't if the most recent activity are by other users.

e.g. this site has dozens of active users, but only 2 are shown:

image
Steps to reproduce
  1. Visit Activity
  2. Try to search for a user whose activity is older than the first page of results
Expected behavior

I should be able to specify any user.

Nextcloud Server version

35

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.4

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "neveryoumind.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "35.0.3.2",
        "overwrite.cli.url": "https:\/\/neveryoumind.org",
        "default_phone_region": "GB",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "updater.release.channel": "stable",
        "mysql.utf8mb4": true,
        "trashbin_retention_obligation": "auto, 120",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "skeletondirectory": "",
        "maintenance_window_start": "1",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/neveryoumind.org\/web\/apps\/memories\/bin-ext\/eperl-amd64-glibc",
        "memories.vod.path": "\/var\/www\/neveryoumind.org\/web\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.index.path.blacklist": "@\\\/(\\.|recycle|trash|restricted)\\b@i",
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie"
        ],
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "memories.gis_type": 1,
        "memories.index.mode": "0",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "memories.vips.path": "\/var\/www\/neveryoumind.org\/web\/apps\/memories\/bin-ext\/vips-amd64"
    }
}
List of activated Apps
Enabled:
  - activity: 8.0.0
  - app_api: 35.0.0
  - appstore: 2.0.0
  - bruteforcesettings: 8.0.0
  - calendar: 6.7.0
  - circles: 35.0.0
  - cloud_federation_api: 2.0.0
  - comments: 2.0.0
  - contactsinteraction: 2.0.0
  - dav: 2.0.1
  - deck: 1.19.2
  - external: 10.0.0
  - federatedfilesharing: 2.0.0
  - federation: 2.0.0
  - files: 3.0.0
  - files_downloadlimit: 5.3.0
  - files_external: 2.0.0
  - files_lock: 35.0.1
  - files_pdfviewer: 8.0.0
  - files_reminders: 2.0.0
  - files_sharing: 2.0.1
  - files_trashbin: 2.0.0
  - files_versions: 2.0.0
  - flow_notifications: 6.0.0
  - forms: 5.4.4
  - impersonate: 6.0.0
  - logreader: 8.0.0
  - lookup_server_connector: 2.0.0
  - memories: 11.1.4
  - nextcloud_announcements: 7.0.0
  - notifications: 8.0.1
  - notify_push: 1.4.2
  - oauth2: 2.0.0
  - office: 1.1.0
  - password_policy: 7.0.0
  - passwords: 2026.11.20
  - photos: 8.0.0
  - polls: 9.3.0
  - previewgenerator: 5.15.0
  - privacy: 7.0.0
  - profile: 2.0.0
  - provisioning_api: 2.0.0
  - related_resources: 6.0.0
  - richdocuments: 12.0.2
  - serverinfo: 7.0.0
  - settings: 2.0.0
  - sharebymail: 2.0.0
  - sharing: 1.0.5
  - spreed: 25.0.8
  - survey_client: 7.0.0
  - systemtags: 2.0.0
  - tables: 2.5.0
  - text: 9.0.2
  - theming: 3.0.0
  - theming_customcss: 1.22.0
  - twofactor_backupcodes: 2.0.0
  - twofactor_totp: 17.1.0
  - updatenotification: 2.0.0
  - user_status: 2.0.0
  - viewer: 8.0.0
  - weather_status: 2.0.0
  - webhook_listeners: 2.0.0
  - workflowengine: 3.0.0
Disabled:
  - admin_audit: 2.0.0
  - dashboard: 8.0.0 (installed 7.0.0)
  - encryption: 3.0.1
  - files_activitymonitor: 1.1.1 (installed 1.1.1)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - firstrunwizard: 8.0.0 (installed 3.0.0)
  - metadata: 0.24.0 (installed 0.24.0)
  - ransomware_protection: 1.14.0 (installed 1.14.0)
  - recommendations: 8.0.0 (installed 1.3.0)
  - support: 7.0.0 (installed 1.0.0)
  - suspicious_login: 13.0.0
  - testing: 1.23.0
  - thesearchpage: 2.4.8 (installed 2.4.8)
  - twofactor_nextcloud_notification: 9.0.0
  - user_ldap: 2.0.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs

Additional info

No response

主要言語
PHP
スター
37.6k
フォーク
5.4k
平均マージ
1日 13時間
マージ済み PR(30日)
623

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/server のほかの issue

nextcloud/server の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。