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

Aberta
#67,010 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
php
Domínio
backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
PHP
Estrelas
37.6k
Forks
5.4k
Merge médio
1d 13h
PRs com merge (30d)
623

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de nextcloud/server

Todas as issues de nextcloud/server

Issues semelhantes

Mais issues de PHP

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.