Commit Graph

999 Commits

Author SHA1 Message Date
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 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 a78e17b036 Do not return aliases as mailboxes 2016-09-28 10:26:41 -07:00
Girish Ramakrishnan 6a4b60436e alternativeEmail -> alternateEmail 2016-09-27 22:25:50 -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
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 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 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
Johannes Zellner 35a964bd00 Allow users to be verified with both emails if cloudron mail is enabled 2016-09-27 21:48:39 +02:00
Johannes Zellner 5cff9df632 Add tests for user getter 2016-09-27 21:48:39 +02:00
Johannes Zellner 84de6c0583 Add user creation tests when Cloudron mail is enabled 2016-09-27 21:48:39 +02:00
Girish Ramakrishnan c9a0db0127 remove the alias and mailbox ldap listing code
it's unused and complicates things. besides, this is not going to be
possible to implement for the mailgroup code.
2016-09-27 11:51:21 -07:00
Girish Ramakrishnan 33f803cd1c allow mailbox search by email 2016-09-26 21:03:07 -07:00
Girish Ramakrishnan 4856fc7de6 Fix mailAlias LDAP listing 2016-09-26 14:38:23 -07:00
Girish Ramakrishnan 9d9278b6f2 s/by/for 2016-09-26 14:02:23 -07:00
Girish Ramakrishnan 7d7de9e900 allow login via email cn to access mailbox 2016-09-26 12:03:37 -07:00
Girish Ramakrishnan 4a37747cfe authenticate mailbox based on owner 2016-09-26 11:55:16 -07:00
Girish Ramakrishnan 3c9beb1add ldap: fix mailbox search and bind 2016-09-26 10:18:58 -07:00
Girish Ramakrishnan 3591452184 test that invalid alias cannot be set 2016-09-26 00:20:47 -07:00
Girish Ramakrishnan a8d57bb036 test that user.del removed mailbox and aliases 2016-09-26 00:18:45 -07:00
Girish Ramakrishnan d92e99a092 fix user alias API 2016-09-26 00:11:25 -07:00
Girish Ramakrishnan b40e740110 test if mailbox is updated with username change 2016-09-25 23:58:21 -07:00
Girish Ramakrishnan cd500adfe4 test that user.del deletes mailbox 2016-09-25 23:54:27 -07:00
Girish Ramakrishnan 55b80ac81f update mailbox on username change 2016-09-25 23:51:39 -07:00
Girish Ramakrishnan 1f1f56b431 Fix mailboxdb API 2016-09-25 23:21:55 -07:00
Girish Ramakrishnan baa2dbbf39 Add alias and list ldap routes 2016-09-25 21:34:52 -07:00
Girish Ramakrishnan c158548c19 remove ununsed mailboxdb.getAll 2016-09-25 16:46:08 -07:00
Girish Ramakrishnan 49baad349c remove mailbox routes and move it to users 2016-09-23 15:45:40 -07:00
Girish Ramakrishnan 00ee2eea39 Remove code to push aliases
The mail-addon will query via LDAP
2016-09-23 15:14:07 -07:00
Girish Ramakrishnan 9a000ddaf0 make ADMIN_GROUP_ID a constant 2016-09-20 15:07:11 -07:00
Girish Ramakrishnan 7fde57f7de clear db ignoring foreign key checks 2016-09-20 14:33:22 -07:00
Girish Ramakrishnan de9d556b9e fix failing test 2016-09-07 08:46:36 -07:00
Girish Ramakrishnan 408dd61408 Send and receive oauthProxy in REST routes
Part of #6
2016-09-06 23:32:42 -07:00
Girish Ramakrishnan ac5cef3c2f do not introspect the value of accessRestriction
if there are no users or groups, it simply means nobody can access it.
(maybe the admin is doing something on the cloudron and does not want
anyone to access it).
2016-09-06 16:37:14 -07:00
Girish Ramakrishnan e82152ac86 Fix failing tests
ec63c1c96e broke tests
2016-09-05 14:04:40 -07:00
Girish Ramakrishnan af82af5652 test: mail config get/set
Part of #16
2016-08-30 21:23:03 -07:00
Girish Ramakrishnan d3a5a83f93 doc: get/set email config
Part of #16
2016-08-30 21:11:26 -07:00
Girish Ramakrishnan 6a4bda1f7e bump test container 2016-08-21 13:25:27 -07:00
Girish Ramakrishnan 971647c986 use the new appstore update route to detect app updates 2016-07-27 19:15:10 -07:00