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

Aperta
#67,010 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
PHP
Stelle
37.6k
Fork
5.4k
Merge medio
1g 13h
PR unite (30g)
623

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/server

Tutte le issue di nextcloud/server

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.