Idle shutdown: notify owners of stopped containers (digest + unsubscribe)

Đang mở
#528 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 4 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
backend

Hướng nghiên cứu

Start by reading the idle sweep job and the existing mail-account and Notification implementations; the issue does not name their file paths. Trace how system mail selects an account and how recipient suppression and unsubscribe headers are handled, then check whether transactional mail uses the same sender. Done means one owner digest per sweep, a bell notification per stopped container, honored unsubscribes on later sweeps, and unaffected password-reset and invite mail.

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

Mô tả

enhancement idle-shutdown

Part of the Idle Container Shutdown epic. Depends on the idle sweep job.

Summary

Notify owners when their containers were stopped for inactivity, with the ability to unsubscribe.

Details

  • Recipients: owner only (not collaborators).
  • One digest email per owner per sweep, listing every container stopped, its last access, and how to start it again (wake-on-request / start button / request idleTime = 0).
  • Also create a bell notification (existing Notification model) per stopped container, source: idle-sweep, regardless of email preference.
  • No pre-shutdown warning email.

Unsubscribe

Send system mail through a mail account (existing mail-account feature) so unsubscribe comes from the built-in suppression list and List-Unsubscribe headers instead of a new preference system.

  • Configure system/noreply sending to use a designated mail account.
  • Enable unsubscribeHeaders on that account; suppressed recipients are skipped.
  • Confirm suppression applies per-recipient for this sender and that password-reset/invite mail is either sent from a different account or exempt (transactional mail must not be suppressible).

Acceptance criteria

  • Owners receive one digest per sweep.
  • Bell notification per stopped container.
  • Unsubscribe link works and is honored on subsequent sweeps.
  • Transactional mail (password reset, invites) is unaffected by idle-notification unsubscribes.
Ngôn ngữ chính
JavaScript
Star
10
Fork
6
Merge trung bình
5 ngày 14 giờ
Pull request đã merge (30 ngày)
5

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 mieweb/opensource-server

Tất cả issue của mieweb/opensource-server

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.