- #384: Substitution of non-X's names in mail from web interface. -FRU
- #426: Add an identification header in mails. -FRU
- #439: Move doc to the wiki -Car/FRU
+ - #453: Add members in promotion groups -FRU
From 0.9.10 Branch:
FROM groupex.membres AS m
LEFT JOIN auth_user_md5 AS u ON (m.uid=u.user_id AND m.uid<50000)
LEFT JOIN aliases AS a ON (a.id=u.user_id and a.type="a_vie")
- WHERE asso_id = {?}', $globals->asso('id'));
+ WHERE asso_id = {?}
+ AND (m.email <> "" OR u.perms <> "pending")', $globals->asso('id'));
$tos = $res->fetchAllAssoc();
}
LEFT JOIN auth_user_md5 AS u ON ( u.user_id = m.uid )
LEFT JOIN aliases AS a ON ( a.id = m.uid AND a.type='a_vie' )
WHERE m.asso_id = {?} $ini
+ AND (m.origine = 'ext' OR u.perms != 'pending')
ORDER BY $tri
LIMIT {?},{?}", $globals->asso('id'), $ofs*NB_PER_PAGE, NB_PER_PAGE);
alter table evenements drop column advertise;
alter table evenements drop column membres_only;
alter table membres add column sexe bool default null;
+
+INSERT IGNORE INTO membres (uid, asso_id)
+ SELECT u.user_id AS uid, g.id AS asso_id
+ FROM x4dat.auth_user_md5 AS u
+ INNER JOIN asso AS g ON (g.diminutif LIKE u.promo);
use x4dat