Commit graph libervia-backend/src/plugins/plugin_misc_account.py
Author SHA1 Message Date
Goffi
b5f1e45d4e core, bridge, frontends: renamed asyncConnect to connect, and added options parameters (not used yet) 2017-02-06 22:54:43 +01:00
Goffi
6bbcbaf522 use of /usr/bin/env instead of /usr/bin/python in shebang 2016-04-17 14:45:26 +02:00
souliane
30e4e3559f plugin misc_account: fixes two bugs introduced by revision 1907 (0b748ad46ede):
- the email sent to the user was not displaying its his/her JID
    - creating an account from an external JID was not returning a bool
2016-03-21 17:00:39 +01:00
souliane
ba1e8079ed plugin misc account: separate profile creation and sending emails, so we can wait and send the emails at the right time (when we know that no error occured) 2016-03-11 12:31:33 +01:00
Goffi
edeaa0f9bc plugin misc account: fixed handling of None/empty values in sendEmails.sendEmail 2016-03-09 12:54:26 +01:00
souliane
f445c844c2 plugin misc_account: fixes sending email (twisted.mail.smtp.sendmail doesn't want unicode) 2016-03-09 11:52:18 +01:00
Goffi
e45ceec338 plugin account: fixed use of {domain} instead of hardcoded libervia.org for welcoming e-mail. 2016-03-09 11:17:32 +01:00
souliane
a6f9cd5bfb plugin misc_account: fixes handling of deprecater parameter "admin_email" 2016-03-07 16:20:41 +01:00
Goffi
735db1b94a plugin account: modifications in welcoming email:
- removed "it misses some features and it's not stable enough to be used for any serious purpose." as we are being more and more close to general audience version
    - removed the reference to http://salut-a-toi.org/faq.html#certificate as we have no more certificate warning since the move to let's encrypt on the demo server
2016-02-27 14:55:23 +01:00
Goffi
63c5083839 plugin account: email sending improvments:
the following new options are handled:
        - email_sender_domain (default None)
        - email_port (default 25)
        - email_username (defaut None)
        - email_password (default None)
        - email_starttls true to force starttls (default false)
        - email_auth true to require authentication (default false)
    in addition, admin_email has been deprecated in favor of email_admins_list which can handle several addresses
2016-02-27 14:49:20 +01:00
souliane
7a6fe618d9 plugin misc_account: add a FIXME comment 2016-01-16 10:09:16 +01:00
Goffi
348be27934 copyright update 2016-01-03 16:28:30 +01:00
souliane
55307fb62a plugin misc_account: fixes login messages when sending emails 2015-12-22 16:20:25 +01:00
souliane
a8a58cb01a plugin misc_account: send email to the admins when a new profile is created for an external XMPP account 2015-12-09 01:59:15 +01:00
souliane
1f17172b52 reverted revision 2ebe66a96d05 2015-12-08 16:55:54 +01:00
souliane
9ab8ac9083 plugin misc_account: auto add some contacts at profile creation 2015-12-07 20:35:21 +01:00
souliane
f3a5cb2a96 core, plugin misc_account: set XMPP connection max retries to 0 when checking if an external account exists 2015-12-07 19:56:12 +01:00
souliane
cbffc6b484 plugin misc_account: temporary disabling posts and account deletion 2015-12-02 09:10:58 +01:00
souliane
8a1e54b194 primitivus and plugins: renamed a few menus:
- display all menu with the first letter in upper case
    - moved Search directory from Service to Contacts
    - moved "Join room" from Communication to Groups
    - moved Bookmarks from Communication to Groups
2015-12-01 12:45:14 +01:00
Goffi
44360c5b9b plugin account: fixed profile creation: session is started to set the connection parameters, then stopped 2015-11-27 16:54:11 +01:00
souliane
6934269002 plugin misc_account: fixed password verification 2015-11-27 11:21:51 +01:00
souliane
04bb8beaae plugin misc_account: add method asyncConnectWithXMPPCredentials 2015-11-23 18:50:02 +01:00
souliane
fdad3cf3c9 plugin misc_account: change the message sent by email after an account creation 2015-06-06 17:01:22 +02:00
souliane
67ff77e5de massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions 2015-04-16 14:57:57 +02:00
Goffi
fbec02d396 2015 copyright dates update 2015-03-30 10:26:26 +02:00
Goffi
6b20989ecc core: better management of default value in getConfig 2014-10-07 17:12:41 +02:00
souliane
830b6d8ef6 memory: Sessions.newSession can be called with a forced session ID 2014-09-21 13:10:55 +02:00
souliane
603f2e5760 plugin misc_account: delete the profile session after the registration is done 2014-06-25 19:11:30 +02:00
souliane
83ed5f319c core, plugins, stdui, frontends: fixes handling of "Force server" and "Force port" parameters:
- do not save a "guessed" value, they must stay empty until the user explicitely sets them
    - add constant XMPP_C2S_PORT (default value 5222)
2014-06-23 10:23:13 +02:00
souliane
d4eff5b99c core, memory, plugins, stdui, frontends: look for DNS SRV records when server is not specified:
- fix bug 3
    - modify "Connection" params:
          - rename "Server" to "Force server" and "Port" to "Force port"
          - set the default value to empty string for both
2014-06-23 00:44:10 +02:00
souliane
1cd755ac58 plugin misc_account: suppress the profile after its creation if the XMPP account registration failed 2014-06-19 19:20:52 +02:00
souliane
ae45889d50 plugins misc_account, misc_register_account: manually delete the sessions when not needed anymore 2014-05-21 23:17:51 +02:00
souliane
cf7c18e56b plugin misc_accout: update relative to the introduction of profile password:
- check for the profile password instead of the xmpp password before a modification can be done
- "Change your password" action changes both passwords (a confirmation is asked)
2014-05-21 12:07:13 +02:00
souliane
d70cbb3b7f plugin misc_account: do not send the password with the confirmation email for account creation 2014-05-20 15:47:08 +02:00
souliane
f3b0b52014 plugins misc_account, misc_smtp: update the plugins that deal with passwords 2014-05-12 17:51:38 +02:00
Goffi
501bc92528 core: use of the new core.log module:
/!\ this is a massive refactoring and was largely automated, it probably did bring some bugs /!\
2014-04-19 19:19:19 +02:00
souliane
e91a30729f core, frontends: unify the roster management UIs in sat/stdui/ui_contact_list.py 2014-04-03 16:10:44 +02:00
Goffi
3f0482e523 plugin account: reverted patch abd3a75d629c 2014-03-31 12:35:59 +02:00
Goffi
9f5df82f1e plugin account: prosody gid is used to spawn prosodyctl process 2014-03-31 12:23:10 +02:00
souliane
f6673e0725 plugin account, groupblog: user can erase all their microblogs at once 2014-03-27 02:24:20 +01:00
souliane
03d4dcf029 plugin account: bug fix profile deletion from the database + unsubscribe the contacts 2014-03-24 16:21:14 +01:00
souliane
5b2e60e22e plugin account: user can change his password or delete his XMPP account 2014-03-03 10:00:15 +01:00
Goffi
f4396db0d2 plugin misc account: updated the welcome email 2014-02-25 23:45:50 +01:00
Goffi
2ca6efd8cc dates update 2014-02-04 18:32:49 +01:00
Goffi
5a00dc9503 core: i18n refactoring:
- _() is no more installed in __builtin__
    - instead, there is a new sat.core.i18n module
    - added D_() method for deferred translation
    - languageSwitch method allow to dynamically change translation language
    - import gettext is tested against ImportError, and dummy methods are used when not available (mainly useful for Libervia)
2013-12-29 17:06:01 +01:00
Goffi
b6aaecc5c2 core, bridge: better GenericException handling 2013-12-17 00:56:39 +01:00
Goffi
6118c7f00f reverted last commit 2013-12-13 17:46:35 +01:00
Goffi
cade2480df plugin account: don't wait for emails anymore 2013-12-13 17:40:48 +01:00
Goffi
ce3e28d588 plugin account: configuration constants can be overriden in sat.conf (section "plugin account") + better deferred management in email sending 2013-12-13 17:15:57 +01:00
souliane
ba0e2c1262 plugin misc_account: added method getNewAccountDomain 2013-11-07 17:01:40 +01:00