lino.modlib.notify¶
Adds functionality for managing notification messages.
See notify: Notification framework.
(This module's source code is available here.)
Classes
|
-
class
lino.modlib.notify.
Plugin
(site, app_label, app_name, app_module, needed_by)¶ Bases:
lino.core.plugin.Plugin
-
remove_after
= 24¶ Automatically remove notification messages after x hours.
Set this to None or 0 to deactivate cleanup and keep messages forever.
-
keep_unseen
= True¶ Whether to keep unseen messages when removing old messages according to
remove_after
.In normal operation this should be True, but e.g. after a flood of messages during experimental phases we might want to get rid of them automatically.
-