Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature Request: Notification History with Soft Delete and Auto-Pruning

Đang mở
#772 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
backend

Hướng nghiên cứu

Issue không xác định tệp, bài kiểm thử hoặc điểm vào nào. Hãy bắt đầu bằng việc xác định các đường dẫn xử lý việc xóa và lưu trữ bền vững thông báo, sau đó xác định cách lịch sử, khôi phục, thời gian lưu giữ có thể cấu hình và việc dọn dẹp tự động nên kết hợp với nhau; công việc được xem là hoàn tất khi các thông báo đã xóa có thể được khôi phục và lịch sử cũ hơn được xóa vĩnh viễn theo khoảng thời gian đã cấu hình.

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

Mô tả

a:feature help wanted

Is your feature request related to a problem? Please describe.
Accidental deletion of notifications in Gotify results in permanent loss of information, as there is currently no way to recover them. This can be problematic when reviewing important alerts or messages.

Describe the solution you'd like
Implement a "Notification History" feature that acts as a soft delete mechanism. When a notification is deleted, instead of immediate removal, it should be moved to this history section.

Furthermore, introduce an auto-pruning functionality for the Notification History. This allows users to configure a retention period (e.g., 30 days) after which older notifications are automatically and permanently deleted. Users should be able to customize this retention period to suit their needs.

Benefits:

  • Data Recovery: Enables recovery of accidentally deleted notifications.
  • Audit Trail: Provides a historical record of notifications for review and troubleshooting.
  • Storage Management: Auto-pruning ensures efficient storage usage by removing outdated notifications.
  • User Control: Customizable retention period gives users control over the history's lifespan.

Describe alternatives you've considered
Using email notifications as a workaround, leveraging the email client's trash/archive functionality. However, this introduces reliance on a separate system and may not be suitable for all notification types.

Additional context
NA

Ngôn ngữ chính
Go
Star
16k
Fork
891
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
6

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 gotify/server

Tất cả issue của gotify/server

Issue tương tự

Thêm issue về Go

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.