Activity notification settings missing

Đang mở Phù hợp với người mới
#5,152 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 6 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
85/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php, xml
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu với appinfo/info.xml và kiểm tra cách khai báo các bộ lọc và provider của Activity. Issue chỉ ra rằng còn thiếu đăng ký các cài đặt Activity và nêu OCA\Polls\Settings\ActivitySettings cùng OCA\Polls\Settings\ActivityVote là các lớp cần đăng ký. Hoàn thành khi các cài đặt Personal Notifications và Administration Activity xuất hiện và có thể bật thông báo đẩy cho cuộc bình chọn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
JavaScript
Star
285
Fork
91
Merge trung bình
5 ngày 16 giờ
Pull request đã merge (30 ngày)
52

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/polls

Tất cả issue của nextcloud/polls

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.