#6709 (Notify when a system task gets disabled)
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Kinder
Kommentare
- 6 Monate, 2 Wochen ago von Luc Saffre about #6709 (Notify when a system task gets disabled) : Adding a new table linod.DisabledSystemTasks is the most lino-ish way for this, and a satisfying solution for now. I adapted some doctests in book
- 6 Monate, 3 Wochen ago von Luc Saffre Antwort auf Luc Saffre about #6709 (Notify when a system task gets disabled) : But this resembles the notification system in a suspicious way...
- 6 Monate, 3 Wochen ago von Luc Saffre about #6709 (Notify when a system task gets disabled) (1 Antwort) : And one welcome messages is "You have X nicknamed tickets", IOW luc would receive an email every morning. Maybe we need to extend the welcome messages so that the tickets plugin can say "this message is not worth being sent by email".
- 6 Monate, 3 Wochen ago von Luc Saffre about #6709 (Notify when a system task gets disabled) : But what if a site admin is on holiday for two weeks? Will he get 14 messages saying "You have the following welcome messages"?
- 6 Monate, 3 Wochen ago von Luc Saffre about #6709 (Notify when a system task gets disabled) : To combine our two approaches, maybe we can send all welcome messages as a daily notification.
- 6 Monate, 3 Wochen ago von Luc Saffre about #6709 (Notify when a system task gets disabled) : Haha, I wrote a test case and then decided to not wait but to push my change, and only then I saw you already did something similar :-) Now we have two solutions for one problem. That's a good moment for a brain storming together.
- 6 Monate, 3 Wochen ago von Luc Saffre about #6709 (Notify when a system task gets disabled) : I wait before pushing my change because actually I didn't have this ticket... maybe @8lurry has already done something similar.
- 6 Monate, 3 Wochen ago von Luc Saffre about #6709 (Notify when a system task gets disabled) : I added the following table, and manually tested as robin in noi1r. After disabling a system task, I get the welcome message "You have 1 items in Disabled system tasks."
class DisabledSystemTasks(SystemTasks): label = _("Disabled system tasks") filter = models.Q(disabled=True) welcome_me... - 6 Monate, 3 Wochen ago von Luc Saffre about #6709 (Notify when a system task gets disabled) : Good idea. My first idea is a welcome message "You have X rows in Disabled system taks".
- 6 Monate, 3 Wochen ago von Sharif Mehedi about #6709 (Notify when a system task gets disabled) : Created new Ticket #6709 (Notify when a system task gets disabled).