From 8477d1d3bd27406257f7d1834ed69216440c56bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Thu, 16 Apr 2015 16:40:24 +0200 Subject: [PATCH 1/1] =?utf8?q?Inscription=20avec=20validation=20de=20l'ema?= =?utf8?q?il=20et=20email=20en=20tant=20que=20login=20op=C3=A9rationnelle.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Products/Plinn/RegistrationTool.py | 11 +- .../Plinn/locales/en/LC_MESSAGES/plinn.mo | Bin 51286 -> 50572 bytes .../Plinn/locales/en/LC_MESSAGES/plinn.po | 159 ++++++++++++------ .../Plinn/locales/fr/LC_MESSAGES/plinn.mo | Bin 55074 -> 54365 bytes .../Plinn/locales/fr/LC_MESSAGES/plinn.po | 151 +++++++++++------ Products/Plinn/locales/plinn.pot | 92 ++++++---- .../Plinn/skins/custom_generic/join_form.py | 42 ++--- .../skins/custom_generic/join_template.pt | 6 +- .../skins/generic/password_reset_form.py | 3 +- .../skins/generic/password_reset_mail.py | 26 ++- 10 files changed, 308 insertions(+), 182 deletions(-) diff --git a/Products/Plinn/RegistrationTool.py b/Products/Plinn/RegistrationTool.py index 3cd5e4d..3451d37 100644 --- a/Products/Plinn/RegistrationTool.py +++ b/Products/Plinn/RegistrationTool.py @@ -233,7 +233,7 @@ class RegistrationTool(BaseRegistrationTool) : return str(uuid4()) security.declarePublic('requestPasswordReset') - def requestPasswordReset(self, userid, initialize=False): + def requestPasswordReset(self, userid, initial=False): """ add uuid / (userid, expiration) pair if ok: send an email to member. returns error message otherwise. """ @@ -263,12 +263,15 @@ class RegistrationTool(BaseRegistrationTool) : mailhost = portal.MailHost sender = encodeQuopriEmail(ptool.getProperty('email_from_name'), ptool.getProperty('email_from_address')) to = encodeQuopriEmail(member.getMemberFullName(nameBefore=0), member.getProperty('email')) - if initialize : - subject = translate(_('How to initialize your password on the %s website')) % ptool.getProperty('title') + if initial : + subject = translate(_('Complete your registration on the %s website')) % ptool.getProperty('title') else : subject = translate(_('How to reset your password on the %s website')) % ptool.getProperty('title') subject = encodeMailHeader(subject) - options = {'fullName' : member.getMemberFullName(nameBefore=0), + options = {'initial' : initial, + 'fullName' : member.getMemberFullName(nameBefore=0), + 'member_id' : member.getId(), + 'loginIsNotEmail' : member.getId() != member.getProperty('email'), 'siteName' : ptool.getProperty('title'), 'resetPasswordUrl' : '%s/password_reset_form/%s' % (utool(), uuid)} body = self.password_reset_mail(options) diff --git a/Products/Plinn/locales/en/LC_MESSAGES/plinn.mo b/Products/Plinn/locales/en/LC_MESSAGES/plinn.mo index 4279cc3ab45a2f3b9b2db33b260dfa25b588f229..d79bd63e53542739d7194f939f5f22d2905207d3 100644 GIT binary patch delta 14182 zcmcKAd3a6N{>Sl?kPt)=A`#>eN{EmcW2%%GYObM0jgd-BLCh^XHMXYW(9}@#OiLT3 zrWVx}ty{G8s@~gbugbWP`b}o9E)KwEMsvrs$DfJ zuZxMq4Y3RkK@Dtty60}3X9Y{l&8V5Yily)^i{D4h^ct$epRE3OGqk;1nMl-qai|$5 zVo_|08bC{IfL%Q@p=4%aG|ojmcpYj0+brIXn(0xD!#A-sUdO8VE2@LY4z7b}EJB=s zy00GUc}=hwwnMFe*M&@VGD9&G=b-j>A*zFXi?^Yc^kvkHj-vMPZH&k3*b2isx|w%C z4X8J!U_aCV7FqdfEKC2s^;Yo`YR_Lsb$l5^@VeE1YyNKK#W+z~!f@1~Y>l5W|inX))&Q?DF zHPex(GcXm4;at@77h`eE$8h@hZ6KqidJ#2{0#t{uVNLu8YQ(={MJ(OLwYv{X5+|eD zw?cK)6?I=9Jc*CvKy2OBot3qyfgeFHfy_xV74SO@$KY;m>B^uQmPd6Qi`tTgsF|c< zBDO^hd>od>$1Prf?6GepYHPP+DSQp}+;_UM{;If0fgbp^HTVUYET1rLMqN;^O>b03 znN~gywQ^HY1DSzZkzJUL2QUKtJ=_Ob1JwNuu`jmn!TK*Evyy^&SiPsu*9CXtBX|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bT&h&bGy-4dW>SkbZ)OXb|$@Mp>CaJuY6Up}@y-s?3yM zTtxjr@*8lDU*2Cg-CNI4F@W^=x=Q|~#|8Y7vVQV3#;e$ow2^d{assKf?{H#Nv1LKqOL){ z_Vwa==d;o)_%kWX9#z`ycn%_?^E)ftvx?Bu=;tv59>vRe`GD!>9yGR zpk9R6N6o(})v=a#^gls930IRw+x>LOyT;P?hvjF|wwU}FQd#Pc;6PFv(rwE6l{Seq zhy4SegvEP1@rG#GN*i@4WdhaO7&5@Rl~&5G8Jd}8aIfp*@Kpz)Erb3 z*F?%*%DOs|Z%KYU)}?$2zxT~<5M6N$xr?M&((9y#q`vh06RX(WEBt+D8kF*j_kGi7MVq!7xHSVyxjLE$EaG;aKh{8{po$d4gqP=1f3YrQ>K`DMQS4P(9GwA3bTww9IT zcaXlLMKEcMJcA8riz96(jiv4fY=w1ML(mz+;C0(HI5vhAp0OFDJUK&CJ;?*phNtC> z_2guDGE=j%Gt!fXr;SU^Yx1p`9Ob*ZuW)XWmKFSS2PT~lZ|ND7!M*7jIi8e^>>N*W z`dH71jP%sJ+XtpH5)XVlPICGnjgsX_9g&|YeWA3!gbj%_sZPQ!v3c*^Cfg`n)_gB;Qu~u S*#WsZM>_iFzW>g<`ThfM#vwHT diff --git a/Products/Plinn/locales/en/LC_MESSAGES/plinn.po b/Products/Plinn/locales/en/LC_MESSAGES/plinn.po index 60e2dc4..6a1d966 100644 --- a/Products/Plinn/locales/en/LC_MESSAGES/plinn.po +++ b/Products/Plinn/locales/en/LC_MESSAGES/plinn.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: 2.0 beta 1\n" -"POT-Creation-Date: Wed Apr 15 17:38:57 2015\n" +"POT-Creation-Date: Thu Apr 16 16:35:11 2015\n" "PO-Revision-Date: 2015-04-15 17:00+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: Zope 3 Developers \n" @@ -32,27 +32,31 @@ msgstr "Object deleted" msgid "Please rename each listed object." msgstr "Please rename each listed object." -#: n/RegistrationTool.py:254 +#: n/RegistrationTool.py:267 +msgid "Complete your registration on the %s website" +msgstr "Complete your registration on the %s website" + +#: n/RegistrationTool.py:269 msgid "How to reset your password on the %s website" msgstr "How to reset your password on the %s website" -#: n/RegistrationTool.py:269 +#: n/RegistrationTool.py:287 msgid "Unknown user name. Please retry." msgstr "Unknown user name. Please retry." -#: n/RegistrationTool.py:284 +#: n/RegistrationTool.py:302 msgid "Invalid reset password request." msgstr "Invalid reset password request." -#: n/RegistrationTool.py:290 +#: n/RegistrationTool.py:308 msgid "Your reset password request has expired. You can ask a new one." msgstr "Your reset password request has expired. You can ask a new one." -#: n/RegistrationTool.py:299 +#: n/RegistrationTool.py:317 msgid "Password successfully updated." msgstr "Password successfully updated." -#: n/RegistrationTool.py:301 +#: n/RegistrationTool.py:319 msgid "\"%s\" username not found." msgstr "\"%s\" username not found." @@ -592,7 +596,11 @@ msgstr "No news is no news." msgid "More..." msgstr "More..." -#: n/skins/custom_generic/join_form.py:60 +#: n/skins/custom_generic/join_form.py:41 +msgid "Success!" +msgstr "Success!" + +#: n/skins/custom_generic/join_form.py:67 #: n/skins/photo_theme/photo_main_macros.pt:28 msgid "Join" msgstr "Join" @@ -619,11 +627,11 @@ msgstr "You have been registered as a member." #: n/skins/custom_generic/join_template.pt:24 msgid "" -"You will receive an email shortly containing your password and instructions " -"on how to activate your membership." +"You will receive an email shortly. Please follow sent instructions to " +"complete your registration." msgstr "" -"You will receive an email shortly containing your password and instructions " -"on how to activate your membership." +"You will receive an email shortly. Please follow sent instructions to " +"complete your registration." #: n/skins/custom_generic/join_template.pt:29 msgid "Click the button to log in immediately." @@ -655,57 +663,35 @@ msgstr "" msgid "Return to homepage" msgstr "Return to homepage" -#: n/skins/custom_generic/join_template.pt:56 -msgid "" -"Becoming a member gives you the ability to personalize the site and " -"participate in the community." -msgstr "" -"Becoming a member gives you the ability to personalize the site and " -"participate in the community." - -#: n/skins/custom_generic/join_template.pt:60 -msgid "" -"It does not cost any money to become a member and your email and other " -"personal information will remain private." -msgstr "" -"It does not cost any money to become a member and your email and other " -"personal information will remain private." - -#: n/skins/custom_generic/join_template.pt:64 -msgid "" -"You must submit a valid email address. This address will be used to send you " -"a randomly-generated password. Once you have logged in with this password, " -"you may change it to anything you like." -msgstr "" -"You must submit a valid email address. This address will be used to send you " -"a randomly-generated password. Once you have logged in with this password, " -"you may change it to anything you like." - -#: n/skins/custom_generic/join_template.pt:76 +#: n/skins/custom_generic/join_template.pt:61 msgid "First name" msgstr "First name" -#: n/skins/custom_generic/join_template.pt:81 +#: n/skins/custom_generic/join_template.pt:66 msgid "Last name" msgstr "Last name" -#: n/skins/custom_generic/join_template.pt:88 +#: n/skins/custom_generic/join_template.pt:73 #: n/skins/custom_generic/personalize_form.pt:39 #: n/skins/generic/gruf_macros.pt:280 n/skins/generic/gruf_macros.pt:402 msgid "Email address" msgstr "Email address" -#: n/skins/custom_generic/join_template.pt:94 +#: n/skins/custom_generic/join_template.pt:79 msgid "use as login" msgstr "use as login" -#: n/skins/custom_generic/join_template.pt:101 +#: n/skins/custom_generic/join_template.pt:85 +msgid "login" +msgstr "login" + +#: n/skins/custom_generic/join_template.pt:93 #: n/skins/custom_generic/login_form.pt:28 n/skins/generic/gruf_macros.pt:268 #: n/skins/generic/gruf_macros.pt:390 msgid "Password" msgstr "Password" -#: n/skins/custom_generic/join_template.pt:107 +#: n/skins/custom_generic/join_template.pt:99 msgid "Password (confirm)" msgstr "Password (confirm)" @@ -799,7 +785,7 @@ msgid "Remember my name." msgstr "Remember my name." #: n/skins/custom_generic/login_form.pt:43 -#: n/skins/generic/password_reset_form.py:26 +#: n/skins/generic/password_reset_form.py:25 msgid " Login " msgstr " Login " @@ -1564,19 +1550,19 @@ msgstr "Paste" msgid "Exit boxes editing" msgstr "Exit boxes editing" -#: n/skins/generic/password_reset_form.py:30 +#: n/skins/generic/password_reset_form.py:29 msgid "Update Password" msgstr "Update Password" -#: n/skins/generic/password_reset_mail.py:4 +#: n/skins/generic/password_reset_mail.py:5 msgid "Hi %(fullName)s," msgstr "Hi %(fullName)s," -#: n/skins/generic/password_reset_mail.py:6 +#: n/skins/generic/password_reset_mail.py:8 msgid "You recently asked to reset your password." msgstr "You recently asked to reset your password." -#: n/skins/generic/password_reset_mail.py:8 +#: n/skins/generic/password_reset_mail.py:10 msgid "" "To get back into your account on the %(siteName)s website, you'll need to " "create a new password." @@ -1584,18 +1570,40 @@ msgstr "" "To get back into your account on the %(siteName)s website, you'll need to " "create a new password." -#: n/skins/generic/password_reset_mail.py:9 +#: n/skins/generic/password_reset_mail.py:11 +#: n/skins/generic/password_reset_mail.py:18 msgid "It's easy:" msgstr "It's easy:" -#: n/skins/generic/password_reset_mail.py:10 +#: n/skins/generic/password_reset_mail.py:12 +#: n/skins/generic/password_reset_mail.py:19 msgid "Click the link below to open a browser window." msgstr "Click the link below to open a browser window." -#: n/skins/generic/password_reset_mail.py:11 +#: n/skins/generic/password_reset_mail.py:13 msgid "Fill the form with your new password." msgstr "Fill the form with your new password." +#: n/skins/generic/password_reset_mail.py:16 +msgid "You just sign up on the %(siteName)s website." +msgstr "You just sign up on the %(siteName)s website." + +#: n/skins/generic/password_reset_mail.py:17 +msgid "Now you have to create your password to complete your registration." +msgstr "Now you have to create your password to complete your registration." + +#: n/skins/generic/password_reset_mail.py:20 +msgid "Choose a password and enter it in the form." +msgstr "Choose a password and enter it in the form." + +#: n/skins/generic/password_reset_mail.py:25 +msgid "Please note:" +msgstr "Please note:" + +#: n/skins/generic/password_reset_mail.py:26 +msgid "Your personal login to sign in later is:" +msgstr "Your personal login to sign in later is:" + #: n/skins/generic/password_reset_template.pt:16 msgid "Password resetting" msgstr "Password resetting" @@ -2533,7 +2541,9 @@ msgid "Member properties" msgstr "Member properties" msgid "member_creation_area_explanations" -msgstr "This function determines if a personal folder will be created at the first user entrance." +msgstr "" +"This function determines if a personal folder will be created at the first " +"user entrance." msgid "member_creation_area_title" msgstr "Creation of member areas" @@ -2542,7 +2552,9 @@ msgid "Membership role mappings" msgstr "Membership role mappings" msgid "membership_role_mapping_explanations" -msgstr "Use this screen if you are using a userfolder other than the built-in folder to map existing role names to roles understood by the CMF." +msgstr "" +"Use this screen if you are using a userfolder other than the built-in folder " +"to map existing role names to roles understood by the CMF." msgid "Metadata" msgstr "Metadata" @@ -2929,6 +2941,45 @@ msgstr "Directory" msgid "Configure portal" msgstr "Configure portal" +#~ msgid "Your personal login to log in later is:" +#~ msgstr "Your personal login to log in later is:" + +#~ msgid "%(member_id)s" +#~ msgstr "%(member_id)s" + +#~ msgid "How to initialize your password on the %s website" +#~ msgstr "How to initialize your password on the %s website" + +#~ msgid "" +#~ "You will receive an email shortly containing your password and " +#~ "instructions on how to activate your membership." +#~ msgstr "" +#~ "You will receive an email shortly containing your password and " +#~ "instructions on how to activate your membership." + +#~ msgid "" +#~ "Becoming a member gives you the ability to personalize the site and " +#~ "participate in the community." +#~ msgstr "" +#~ "Becoming a member gives you the ability to personalize the site and " +#~ "participate in the community." + +#~ msgid "" +#~ "It does not cost any money to become a member and your email and other " +#~ "personal information will remain private." +#~ msgstr "" +#~ "It does not cost any money to become a member and your email and other " +#~ "personal information will remain private." + +#~ msgid "" +#~ "You must submit a valid email address. This address will be used to send " +#~ "you a randomly-generated password. Once you have logged in with this " +#~ "password, you may change it to anything you like." +#~ msgstr "" +#~ "You must submit a valid email address. This address will be used to send " +#~ "you a randomly-generated password. Once you have logged in with this " +#~ "password, you may change it to anything you like." + #~ msgid "" #~ "You are already a member. You may use the personalization form to change your membership information." diff --git a/Products/Plinn/locales/fr/LC_MESSAGES/plinn.mo b/Products/Plinn/locales/fr/LC_MESSAGES/plinn.mo index 0942bc6edb2e25a3f9aecf383c98381cca5063ac..065fa1890f0a07df38fbd26d368f2a020f118ab8 100644 GIT binary patch delta 14206 zcmZ|V33QEDzsK<>AtH#7L<~VrOi754L_!o5^E^{?MH~_`kjd<5ky4a66g5+GYiJZT zwUoA~v8@)>R$HC4Rc%du^>x3$^X#tGd)K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?cXG{>}9GyGmmPT2wJA#+wPbqp>_Mv(wCZjYT`42 zvWv1lUCFm5|0Xu1{59Tp&u9`_Z49|fq{^g?q^6_+^!y8Jnx~g~yH7PK=N09?( zQZrH^$|W&ct1m<0I|@lW_&518pY(xgSx$Z% z=|_50CuLAS9}nRvY(iTEX)7s@x_@I^j3I3z?}PfZz`c~;!}X*R)EyyRr0xYNNS*kd zZ@{Z1y?W(myt>A(NkUpmQtAjtyd%Y#GR&Fj7?G6g%yQ(Vnh&)!{ROkwss_@@my+Jwj&`eE87vDn&(JKOLcl4 z9p+>f275V2d}^X*$aFYU;**l;o9IYmHh0&IQY9Q?l9H1hnQBROq-Q4O#%DY8YxkT| zJb$0l8PqW)hrzRQhNUDiha;EeB)%LaF)`Dbl@;aaH8Ls75pS35(S|u4Ia$s`?IO!* z&+UkJU&smZa=7p0G~vHtxe@NLoDS}9$8`3NvfPKpl*m7jv!Gyp-*Fp!Li+M(YEBKWoD31{{A`Jf?aL?_vlXcP0#e? zBO9}wDbCbv$B4}M?3|?RC`X^PY^HbCvV)nFnw8|p$l;LEaX&1wApersonalization form to change your membership information." diff --git a/Products/Plinn/locales/plinn.pot b/Products/Plinn/locales/plinn.pot index 2b0facd..23989b6 100644 --- a/Products/Plinn/locales/plinn.pot +++ b/Products/Plinn/locales/plinn.pot @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: 2.0 beta 1\n" -"POT-Creation-Date: Wed Apr 15 17:38:57 2015\n" +"POT-Creation-Date: Thu Apr 16 16:35:11 2015\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Zope 3 Developers \n" @@ -31,27 +31,31 @@ msgstr "" msgid "Please rename each listed object." msgstr "" -#: n/RegistrationTool.py:254 -msgid "How to reset your password on the %s website" +#: n/RegistrationTool.py:267 +msgid "Complete your registration on the %s website" msgstr "" #: n/RegistrationTool.py:269 +msgid "How to reset your password on the %s website" +msgstr "" + +#: n/RegistrationTool.py:287 msgid "Unknown user name. Please retry." msgstr "" -#: n/RegistrationTool.py:284 +#: n/RegistrationTool.py:302 msgid "Invalid reset password request." msgstr "" -#: n/RegistrationTool.py:290 +#: n/RegistrationTool.py:308 msgid "Your reset password request has expired. You can ask a new one." msgstr "" -#: n/RegistrationTool.py:299 +#: n/RegistrationTool.py:317 msgid "Password successfully updated." msgstr "" -#: n/RegistrationTool.py:301 +#: n/RegistrationTool.py:319 msgid "\"%s\" username not found." msgstr "" @@ -592,7 +596,11 @@ msgstr "" msgid "More..." msgstr "" -#: n/skins/custom_generic/join_form.py:60 +#: n/skins/custom_generic/join_form.py:41 +msgid "Success!" +msgstr "" + +#: n/skins/custom_generic/join_form.py:67 #: n/skins/photo_theme/photo_main_macros.pt:28 msgid "Join" msgstr "" @@ -614,7 +622,7 @@ msgid "You have been registered as a member." msgstr "" #: n/skins/custom_generic/join_template.pt:24 -msgid "You will receive an email shortly containing your password and instructions on how to activate your membership." +msgid "You will receive an email shortly. Please follow sent instructions to complete your registration." msgstr "" #: n/skins/custom_generic/join_template.pt:29 @@ -637,45 +645,37 @@ msgstr "" msgid "Return to homepage" msgstr "" -#: n/skins/custom_generic/join_template.pt:56 -msgid "Becoming a member gives you the ability to personalize the site and participate in the community." -msgstr "" - -#: n/skins/custom_generic/join_template.pt:60 -msgid "It does not cost any money to become a member and your email and other personal information will remain private." -msgstr "" - -#: n/skins/custom_generic/join_template.pt:64 -msgid "You must submit a valid email address. This address will be used to send you a randomly-generated password. Once you have logged in with this password, you may change it to anything you like." -msgstr "" - -#: n/skins/custom_generic/join_template.pt:76 +#: n/skins/custom_generic/join_template.pt:61 msgid "First name" msgstr "" -#: n/skins/custom_generic/join_template.pt:81 +#: n/skins/custom_generic/join_template.pt:66 msgid "Last name" msgstr "" -#: n/skins/custom_generic/join_template.pt:88 +#: n/skins/custom_generic/join_template.pt:73 #: n/skins/custom_generic/personalize_form.pt:39 #: n/skins/generic/gruf_macros.pt:280 #: n/skins/generic/gruf_macros.pt:402 msgid "Email address" msgstr "" -#: n/skins/custom_generic/join_template.pt:94 +#: n/skins/custom_generic/join_template.pt:79 msgid "use as login" msgstr "" -#: n/skins/custom_generic/join_template.pt:101 +#: n/skins/custom_generic/join_template.pt:85 +msgid "login" +msgstr "" + +#: n/skins/custom_generic/join_template.pt:93 #: n/skins/custom_generic/login_form.pt:28 #: n/skins/generic/gruf_macros.pt:268 #: n/skins/generic/gruf_macros.pt:390 msgid "Password" msgstr "" -#: n/skins/custom_generic/join_template.pt:107 +#: n/skins/custom_generic/join_template.pt:99 msgid "Password (confirm)" msgstr "" @@ -753,7 +753,7 @@ msgid "Remember my name." msgstr "" #: n/skins/custom_generic/login_form.pt:43 -#: n/skins/generic/password_reset_form.py:26 +#: n/skins/generic/password_reset_form.py:25 msgid " Login " msgstr "" @@ -1463,34 +1463,56 @@ msgstr "" msgid "Exit boxes editing" msgstr "" -#: n/skins/generic/password_reset_form.py:30 +#: n/skins/generic/password_reset_form.py:29 msgid "Update Password" msgstr "" -#: n/skins/generic/password_reset_mail.py:4 +#: n/skins/generic/password_reset_mail.py:5 msgid "Hi %(fullName)s," msgstr "" -#: n/skins/generic/password_reset_mail.py:6 +#: n/skins/generic/password_reset_mail.py:8 msgid "You recently asked to reset your password." msgstr "" -#: n/skins/generic/password_reset_mail.py:8 +#: n/skins/generic/password_reset_mail.py:10 msgid "To get back into your account on the %(siteName)s website, you'll need to create a new password." msgstr "" -#: n/skins/generic/password_reset_mail.py:9 +#: n/skins/generic/password_reset_mail.py:11 +#: n/skins/generic/password_reset_mail.py:18 msgid "It's easy:" msgstr "" -#: n/skins/generic/password_reset_mail.py:10 +#: n/skins/generic/password_reset_mail.py:12 +#: n/skins/generic/password_reset_mail.py:19 msgid "Click the link below to open a browser window." msgstr "" -#: n/skins/generic/password_reset_mail.py:11 +#: n/skins/generic/password_reset_mail.py:13 msgid "Fill the form with your new password." msgstr "" +#: n/skins/generic/password_reset_mail.py:16 +msgid "You just sign up on the %(siteName)s website." +msgstr "" + +#: n/skins/generic/password_reset_mail.py:17 +msgid "Now you have to create your password to complete your registration." +msgstr "" + +#: n/skins/generic/password_reset_mail.py:20 +msgid "Choose a password and enter it in the form." +msgstr "" + +#: n/skins/generic/password_reset_mail.py:25 +msgid "Please note:" +msgstr "" + +#: n/skins/generic/password_reset_mail.py:26 +msgid "Your personal login to sign in later is:" +msgstr "" + #: n/skins/generic/password_reset_template.pt:16 msgid "Password resetting" msgstr "" diff --git a/Products/Plinn/skins/custom_generic/join_form.py b/Products/Plinn/skins/custom_generic/join_form.py index 0e07d03..d65c8ef 100644 --- a/Products/Plinn/skins/custom_generic/join_form.py +++ b/Products/Plinn/skins/custom_generic/join_form.py @@ -24,34 +24,27 @@ form = context.REQUEST.form if add : if validate_email : password = confirm = rtool.generatePassword() + ok = True else : ok = context.validatePassword(**form) - try : - if email_as_login : - member_id = member_email - rtool.addMember(id=member_id, password=password, - properties={'username': member_id, - 'given_name' : given_name, - 'name' : name, - 'email': member_email}) - context.setStatus(True, _('Success!')) - except ValueError, errmsg: - context.setStatus(False, errmsg) + if ok : + try : + if email_as_login : + member_id = member_email + rtool.addMember(id=member_id, password=password, + properties={'username': member_id, + 'given_name' : given_name, + 'name' : name, + 'email': member_email}) + if validate_email : + rtool.requestPasswordReset(member_id, initial=True) + context.setStatus(True, _('Success!')) + is_newmember = True + is_anon = False + except ValueError, errmsg: + context.setStatus(False, errmsg) - - -# if add and \ -# context.validatePassword(**form) and \ -# context.members_add_control(**form) and \ -# context.setRedirect(atool, 'user/join', b_start=b_start, ajax=ajax): -# return - options = {} - -if context.REQUEST.get('portal_status_message', '') == 'Success!': - is_anon = False - is_newmember = True - options['member_id'] = member_id options['given_name'] = given_name options['name'] = name @@ -60,6 +53,7 @@ options['password'] = is_newmember and context.REQUEST.get('password', '') or '' options['portal_url'] = portal_url options['isAnon'] = is_anon options['isNewMember'] = is_newmember +options['isOrdinaryMember'] = not (mtool.isAnonymousUser() or is_newmember) options['validate_email'] = validate_email options['isAnonRegistration'] = rtool.getMode() == MODE_ANONYMOUS options['isReviewedRegistration'] = rtool.getMode() == MODE_REVIEWED diff --git a/Products/Plinn/skins/custom_generic/join_template.pt b/Products/Plinn/skins/custom_generic/join_template.pt index 337aa94..3434f56 100644 --- a/Products/Plinn/skins/custom_generic/join_template.pt +++ b/Products/Plinn/skins/custom_generic/join_template.pt @@ -11,7 +11,7 @@ tal:define="form options/form">

Become a member

-

+

You are already authenticated. You may use the

You have been registered as a member.

- You will receive an email shortly containing your password and - instructions on how to activate your membership. + You will receive an email shortly. Please follow sent instructions + to complete your registration.

Click the button to log in immediately.

diff --git a/Products/Plinn/skins/generic/password_reset_form.py b/Products/Plinn/skins/generic/password_reset_form.py index eaa2eb7..9cb4b1d 100644 --- a/Products/Plinn/skins/generic/password_reset_form.py +++ b/Products/Plinn/skins/generic/password_reset_form.py @@ -9,8 +9,7 @@ uuid = traverse_subpath[0] passwordChanged = False -if validate and \ - context.validatePassword(**form) : +if validate : userid = context.reset_password_control(uuid=uuid, **form) if userid : passwordChanged = True diff --git a/Products/Plinn/skins/generic/password_reset_mail.py b/Products/Plinn/skins/generic/password_reset_mail.py index 7a9ab12..9717740 100644 --- a/Products/Plinn/skins/generic/password_reset_mail.py +++ b/Products/Plinn/skins/generic/password_reset_mail.py @@ -1,15 +1,29 @@ ##parameters=options={} from Products.Plinn.utils import translate as _ + print _('Hi %(fullName)s,') print -print _('You recently asked to reset your password.') +if not options.get('initial') : + print _('You recently asked to reset your password.') -print _("To get back into your account on the %(siteName)s website, you'll need to create a new password.") -print _("It's easy:") -print '— %s' % _("Click the link below to open a browser window.") -print '— %s' % _("Fill the form with your new password.") -print + print _("To get back into your account on the %(siteName)s website, you'll need to create a new password.") + print _("It's easy:") + print '— %s' % _("Click the link below to open a browser window.") + print '— %s' % _("Fill the form with your new password.") + print +else : + print _('You just sign up on the %(siteName)s website.') + print _('Now you have to create your password to complete your registration.') + print _("It's easy:") + print '— %s' % _("Click the link below to open a browser window.") + print '— %s' % _("Choose a password and enter it in the form.") print '%(resetPasswordUrl)s' +if options['loginIsNotEmail'] : + print + print _("Please note:") + print _("Your personal login to sign in later is:") + print "%(member_id)s" + return printed % options \ No newline at end of file -- 2.20.1