Task #1478

Task #1240: Message disclaimer text

UI to set message disclaimer text

Added by Davide Principi almost 8 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:10/05/2012
Priority:NormalDue date:10/09/2012
Assignee:-% Done:

100%

Category:nethserver-mail-common
Target version:DEV104

Associated revisions

Revision f91cb0dc
Added by Davide Principi almost 8 years ago

MultipleAdapter.php (save): writer callback function must return a boolean instead of an array, when no serializers are provided. TRUE value indicates the value has been successfully persisted. Refs #1478 -- UI interface for message disclaimer text.

Revision 69c2a511
Added by Davide Principi almost 8 years ago

PhpWrapper: intercept NOTICE and WARNING from PHP functions even if no Log object has been attached. Refs #1478 -- UI interface for message disclaimer text

Revision f9712d61
Added by Davide Principi almost 8 years ago

Mail Domain UI module: added Disclaimer TEXTAREA that stores data in /var/lib/nethserver/mail-disclaimers directory . Refs #1478 -- UI interface for message disclaimer text

Revision 59669e38
Added by Davide Principi almost 8 years ago

amavisd.conf: added both TEXT and HTML disclaimer variants. Refs #1478 -- UI interface for message disclaimer text

Revision e2109631
Added by Davide Principi almost 8 years ago

Added WikiText Markdown wrapper tool. Refs #1478 -- UI to set message disclaimer text

Revision bbff69a9
Added by Davide Principi almost 8 years ago

Domain UI module: disclaimer text transliterated and converted to HTML through Markdown procesor. Refs #1478 -- UI to set message disclaimer text

History

#1 Updated by Davide Principi almost 8 years ago

  • Subject changed from UI interface for message disclaimer text to UI to set message disclaimer text

#2 Updated by Davide Principi almost 8 years ago

  • Due date set to 10/09/2012
  • Status changed from ON_DEV to CLOSED
  • % Done changed from 10 to 100

Implementation

The value is stored on three files under /var/lib/nethserver/mail-disclaimers/ directory:

  • <domainname>.raw The raw value, as the user typed it, trimmed with newline appended
  • <domainname>.txt The transliterated ASCII format
  • <domainname>.html The Markdown processed HTML format

Also available in: Atom PDF