Activity notification settings missing

Abierto Apto para principiantes
#5,152 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
85/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
php, xml
Área
backend

Línea de trabajo

Empieza por appinfo/info.xml y comprueba cómo se declaran los filtros y proveedores de Activity. El issue señala que falta registrar los ajustes de Activity y nombra OCA\Polls\Settings\ActivitySettings y OCA\Polls\Settings\ActivityVote como las clases que hay que registrar. La tarea estará hecha cuando aparezcan los ajustes Personal Notifications y Administration Activity y se puedan habilitar las notificaciones push de las encuestas.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

needs approval
⚠️ This issue respects the following points: ⚠️
  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • I agree to follow Nextcloud's Code of Conduct.
What went wrong, what did you observe?

No option for poll notifications appears in Personal -> Notifications, or Administration -> Activity. Without this, push notifications are off by default, so notifications are never sent even though a user subscribes to poll notifications.

I found that appinfo/info.xml declares the Activity filters and providers, but does not register the Activity settings classes under <activity><settings>.

Adding the following section makes both notification settings appear, and notifications then work as expected:

<settings>
    <setting>OCA\Polls\Settings\ActivitySettings</setting>
    <setting>OCA\Polls\Settings\ActivityVote</setting>
</settings>
What did you expect, how polls should behave instead?

Poll notification configuration appears in the Personal -> Notifications and Administration -> Activity settings. Polls push notifications are sent when they are enabled in the settings.

What steps does it need to replay this bug?
  1. Create poll
  2. Subscribe to poll notifications
  3. Vote in poll
  4. Notice no poll notifications
  5. Navigate to Settings -> Personal -> Notifications or Settings -> Administration -> Activity
  6. Notice no poll notifications configurations are present
Affected polls version

9.3.0

Installation method

Installed/updated from the appstore (Apps section of your site)

Installation type

First time installation

Can you rule out that any extension you use is involved in the issue?
  • I have checked all browser extension
Which browser did you use, when experiencing the bug?
  • Firefox
  • Chrome
  • Chromium/Chromium based (i.e. Edge)
  • Safari
  • Other/Don't know
Other browser

No response

Add your browser log here

Additional client environment information

No response

NC version

Other/Don't know

Other Nextcloud version

35.0.2

PHP engine version

PHP 8.4

Other PHP version

No response

Database engine

PostgreSQL

Database Engine version or other Database

No response

Which user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other/Don't know
Add your nextcloud server log here

Additional environment informations

No response

Configuration report

List of activated Apps

Nextcloud Signing status

Additional Information

No response

Lenguaje dominante
JavaScript
Estrellas
285
Forks
91
Merge medio
5 d 16 h
PR fusionados (30 d)
52

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/polls

Todos los issues de nextcloud/polls

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.