Commit Graph

2276 Commits

Author SHA1 Message Date
Girish Ramakrishnan a2db4312b8 give dummy callback to reboot 2016-10-03 15:49:47 -07:00
Girish Ramakrishnan 1e744c24f0 Fix typo 2016-10-03 15:08:21 -07:00
Girish Ramakrishnan 1a25ad77ca use latest mail container 2016-10-03 13:53:11 -07:00
Girish Ramakrishnan 3adf183569 Fix apps.clone to allocate mailbox 2016-10-03 13:27:27 -07:00
Girish Ramakrishnan 8e3db8fa2e Fix typo 2016-10-02 18:28:50 -07:00
Girish Ramakrishnan 2c357e022b add note about ldap restrictions as well 2016-10-01 23:52:01 -07:00
Girish Ramakrishnan 3ae7a514ef Change the put route for setting group members 2016-10-01 17:33:50 -07:00
Girish Ramakrishnan cd0243d700 always store the group names as lower case 2016-09-30 12:33:18 -07:00
Girish Ramakrishnan ba588a1cd7 Fix group name validation to not allow hyphen
Fixes #70
2016-09-30 12:28:29 -07:00
Girish Ramakrishnan f71b55c9e2 Fix apps test 2016-09-30 12:09:33 -07:00
Girish Ramakrishnan 93fb01a9b9 Fix more of the group tests 2016-09-30 10:17:50 -07:00
Girish Ramakrishnan 475fd06ac0 use unique ids for groups 2016-09-30 09:33:10 -07:00
Girish Ramakrishnan 1d12808b13 test setting group members 2016-09-29 15:15:25 -07:00
Girish Ramakrishnan 430ac330dc add groupdb tests 2016-09-29 15:11:56 -07:00
Girish Ramakrishnan 8e712da2c8 Add route and API to set members of a group 2016-09-29 14:48:14 -07:00
Girish Ramakrishnan 450d644f71 bump infra version
the email addon authentication has changed. this means that we have
to recreate app (that use the recvmail/sendmail) addons.
2016-09-28 20:51:51 -07:00
Girish Ramakrishnan 079bf3aed1 Fix invite template (again) 2016-09-28 15:25:16 -07:00
Girish Ramakrishnan 08a45897c3 Fix spacing 2016-09-28 15:02:17 -07:00
Girish Ramakrishnan 27d911addc Fix mail templates to use alternate email when email is null 2016-09-28 14:47:09 -07:00
Girish Ramakrishnan 441ea1af05 set email to null if we have no username 2016-09-28 14:39:47 -07:00
Girish Ramakrishnan 85c16ca43a use display name since email may not be valid 2016-09-28 14:39:29 -07:00
Girish Ramakrishnan e1ef118d7b Use alternateEmail if user was removed without ever signing up 2016-09-28 13:25:41 -07:00
Girish Ramakrishnan 10ff0f559c Show error if mailbox already exists 2016-09-28 12:00:05 -07:00
Girish Ramakrishnan a78e17b036 Do not return aliases as mailboxes 2016-09-28 10:26:41 -07:00
Girish Ramakrishnan 1d31975e2a Groupname can be 2 chars long 2016-09-28 10:11:43 -07:00
Johannes Zellner d426856883 Use alternateEmail for gravatar 2016-09-28 11:48:48 +02:00
Johannes Zellner 58b5613c6b Send alternateEmail with profile and user rest api 2016-09-28 11:08:11 +02:00
Girish Ramakrishnan ae9838a869 alternateEmail already checks if email is enabled now 2016-09-27 23:54:48 -07:00
Girish Ramakrishnan 4204d76616 lower case the alias and mailing list cn 2016-09-27 23:41:50 -07:00
Girish Ramakrishnan 6a4b60436e alternativeEmail -> alternateEmail 2016-09-27 22:25:50 -07:00
Girish Ramakrishnan f61842fc30 admin is reserved but not because we use it 2016-09-27 16:36:57 -07:00
Girish Ramakrishnan a91ae2b9aa add mailboxdb.getGroup tests 2016-09-27 16:34:28 -07:00
Girish Ramakrishnan 20708ad25a return members of mailing list 2016-09-27 16:27:22 -07:00
Girish Ramakrishnan c152580df0 Revert "make rfc822MailMember a complete address"
This reverts commit b9823fff44.

Most examples on internet don't have the complete address.
https://wiki.debian.org/LDAP/MigrationTools/Examples
2016-09-27 16:04:50 -07:00
Girish Ramakrishnan b9823fff44 make rfc822MailMember a complete address 2016-09-27 16:04:11 -07:00
Girish Ramakrishnan bd2848932e test ldap mailing list search 2016-09-27 15:56:02 -07:00
Girish Ramakrishnan 0327333be2 Add test to check mailbox gets add/removed with group API 2016-09-27 15:49:06 -07:00
Girish Ramakrishnan a8861dd4f8 Add missing return 2016-09-27 13:09:05 -07:00
Girish Ramakrishnan 0c4a9d8bc9 Choose the first non-alias as app email 2016-09-27 12:51:33 -07:00
Girish Ramakrishnan c1aa1eb33f Fix group listing 2016-09-27 12:51:33 -07:00
Girish Ramakrishnan 0d3169c787 remove mailboxdb.listGroups 2016-09-27 12:51:33 -07:00
Johannes Zellner c9d5af8424 Adjust tests to fail with invite email if cloudron mail is enabled 2016-09-27 21:48:39 +02:00
Johannes Zellner a6547676a1 Do not allow invite email for login if cloudron mail is enabled 2016-09-27 21:48:39 +02:00
Johannes Zellner 34f624abef Give auth codes much longer expiration
Since the expiration is calculated when mocha loads the tests,
5000 was too low if some tests take longer
2016-09-27 21:48:39 +02:00
Johannes Zellner bd8acf763e Only allow bind by cloudron mail if enabled 2016-09-27 21:48:39 +02:00
Johannes Zellner 4ba0504e7a Add ldap tests for login with cloudron mail 2016-09-27 21:48:39 +02:00
Johannes Zellner 2a7de5dab7 extracting username from email for cloudron mail is now done in user.js 2016-09-27 21:48:39 +02:00
Johannes Zellner ea87b3e876 Ensure lowercasing the email 2016-09-27 21:48:39 +02:00
Johannes Zellner 23bf358bbe Fix case when username is not the same as the email 2016-09-27 21:48:39 +02:00
Johannes Zellner 656356732e LDAP tests need more time on my end 2016-09-27 21:48:39 +02:00