Merge branch 'platal-0.9.16'
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Sat, 5 Apr 2008 20:59:35 +0000 (22:59 +0200)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Sat, 5 Apr 2008 20:59:35 +0000 (22:59 +0200)
configs/mails.conf
templates/googleapps/create.mail.tpl
templates/googleapps/unsuspend.mail.tpl
upgrade/0.9.16/06_google_apps.sql

index 061588e..da58acc 100644 (file)
@@ -50,3 +50,4 @@ from="Carnet Polytechnicien <support_carnet@polytechnique.org>"
 
 [googleapps]
 from="Polytechnique.org" <support@polytechnique.org>
+cc=validation+googleapps@polytechnique.org
index fac8a07..9c73203 100644 (file)
@@ -24,7 +24,7 @@
 {if $mail_part eq 'head'}
 {from full=#from#}
 {to addr=$email}
-{cc full=#from#}
+{cc full=#cc#}
 {subject text="[Polytechnique.org] Création de ton compte Google Apps"}
 {elseif $mail_part eq 'wiki'}
 {if $sexe}Chère{else}Cher{/if} {$prenom},
index 5e43939..f5cfa0d 100644 (file)
@@ -24,7 +24,7 @@
 {if $mail_part eq 'head'}
 {from full=#from#}
 {to addr=$email}
-{cc full=#from#}
+{cc full=#cc#}
 {subject text="[Polytechnique.org] Réactivation de ton compte Google Apps"}
 {elseif $mail_part eq 'wiki'}
 {if $sexe}Chère{else}Cher{/if} {$prenom},
index 1ad53f3..5947f34 100644 (file)
@@ -54,8 +54,8 @@ CREATE TABLE IF NOT EXISTS `gapps_accounts` (
 CREATE TABLE IF NOT EXISTS `gapps_queue` (
   -- Queue identification fields.
   q_id INT NOT NULL AUTO_INCREMENT,
-  q_owner_id SMALLINT DEFAULT NULL,
-  q_recipient_id SMALLINT DEFAULT NULL,
+  q_owner_id SMALLINT UNSIGNED DEFAULT NULL,
+  q_recipient_id SMALLINT UNSIGNED DEFAULT NULL,
 
   -- Queue management information.
   p_entry_date DATETIME NOT NULL,