From 7e5470afdef0a60796cdb7974f30c46cfbfcbd4f Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 3 Mar 2012 23:29:26 -0500 Subject: * Support downloading templates by URI, including mailman:// URIs. This is used in welcome and goodbye messages, and supports both language and mailing list specifications. E.g. mailman:///test@example.com/it/welc.txt * Schema changes: - welcome_msg -> welcome_message_uri - goodbye_msg -> goodbye_message_uri - send_welcome_msg -> send_welcome_message - send_goodbye_msg -> send_goodbye_message * New `ITemplateLoader` utility. --- src/mailman/database/schema/postgres.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mailman/database/schema/postgres.sql') diff --git a/src/mailman/database/schema/postgres.sql b/src/mailman/database/schema/postgres.sql index bb209c4aa..206f8f76f 100644 --- a/src/mailman/database/schema/postgres.sql +++ b/src/mailman/database/schema/postgres.sql @@ -63,7 +63,7 @@ CREATE TABLE mailinglist ( gateway_to_mail BOOLEAN, gateway_to_news BOOLEAN, generic_nonmember_action INTEGER, - goodbye_msg TEXT, + goodbye_message_uri TEXT, header_matches BYTEA, hold_these_nonmembers BYTEA, info TEXT, @@ -95,9 +95,9 @@ CREATE TABLE mailinglist ( require_explicit_destination BOOLEAN, respond_to_post_requests BOOLEAN, scrub_nondigest BOOLEAN, - send_goodbye_msg BOOLEAN, + send_goodbye_message BOOLEAN, send_reminders BOOLEAN, - send_welcome_msg BOOLEAN, + send_welcome_message BOOLEAN, start_chain TEXT, subject_prefix TEXT, subscribe_auto_approval BYTEA, @@ -106,7 +106,7 @@ CREATE TABLE mailinglist ( topics_bodylines_limit INTEGER, topics_enabled BOOLEAN, unsubscribe_policy INTEGER, - welcome_msg TEXT, + welcome_message_uri TEXT, moderation_callback TEXT, PRIMARY KEY (id) ); -- cgit v1.2.3-70-g09d2