Activity notification settings missing

オープン 初心者向け
#5,152 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

appinfo/info.xml から始めて、Activity のフィルターとプロバイダーがどのように宣言されているか確認します。issue では、Activity 設定の登録が欠けていることを指摘し、登録するクラスとして OCA\Polls\Settings\ActivitySettings と OCA\Polls\Settings\ActivityVote を挙げています。Personal Notifications と Administration Activity の設定が表示され、投票のプッシュ通知を有効にできれば完了です。

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

説明

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

主要言語
JavaScript
スター
285
フォーク
91
平均マージ
5日 16時間
マージ済み PR(30日)
52

環境構築

はじめの一歩

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

nextcloud/polls のほかの issue

nextcloud/polls の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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