Commit graph

13 commits

Author SHA1 Message Date
Lauri Ojansivu
c5540ddcbd Change invitation link from sign-in to sign-up. Thanks to xet7 ! Closes #1300 2017-10-20 15:52:19 +03:00
Pierre Kuhner
4d4c127b99 Fix template literals syntax 2017-08-24 17:10:50 +02:00
Pierre Kuhner
c99a950979 Percent-encode SMTP password to prevent URI malformed errors
Fix URIError: URI malformed errors when sending email with SMTP password containing some special characters.
See Sections 2.1 and 3.2 of RFC 3986.
2017-08-24 15:23:49 +02:00
Lauri Ojansivu
e796f6d195 Fix login url in invitation email. Closes #993 2017-06-19 23:41:29 +03:00
Julen Landa Alustiza
dfeeec308a Fix email settings loading:
MAIL_URL was overriden with database info all the time.
Now if MAIL_URL exists is not overwritten and if neither MAIL_URL nor
exists valid admin panel data MAIL_URL is not set.
MAIL_FROM was ignored. Same behaviour, env variable has bigger priority
than database configuration.
On both cases, althrought environment variable is set, updating admin-panel
mail settings will load new info and ignore the environment variable.
Remove some code that is not needed anymore
2017-04-01 21:46:09 +02:00
Julen Landa Alustiza
db2c381c00 Add TLS toggle option to smtp configuration 2017-03-30 19:13:57 +02:00
Lauri Ojansivu
0c36f5f4c2 Merge pull request #943 from Zokormazo/smtp
Don't send emails if missing smtp host
2017-03-28 20:52:39 +03:00
Julen Landa Alustiza
5db786e2dd Don't send emails if missing smtp host 2017-03-28 12:44:36 +02:00
lkisme
f82941550a Remove invitation code if email sending failed, improve registration process with invitation 2017-03-28 00:48:18 +08:00
lkisme
72c3651be4 Set mail-from to environment immediately after changed,
allow user set a blank username&password pair in SMTP setting.
2017-03-09 23:29:48 +08:00
lkisme
39f2837838 wording change, email sending optimization, add texts to i18n 2017-02-26 21:11:15 +08:00
lkisme
e3c3cc0d8d Make mailServer setting optional 2017-02-26 14:25:29 +08:00
lkisme
1dfb6ef477 Admin panel:
Only invited user can register in strict mode,
Set mail server in admin panel,
Switch strict mode in admin panel,
Invite people to system in admin panel
2017-02-24 22:10:38 +08:00