Commit Graph

1265 Commits

Author SHA1 Message Date
Johannes 0568387679 Add digitalocean dns tests
Part of #120
2016-11-30 16:36:54 +01:00
Johannes ffbbb88917 Add dns noop test
Part of #120
2016-11-30 15:36:03 +01:00
Johannes cb64ac1b7f Add unit tests for eventlog search 2016-11-28 16:02:59 +01:00
Girish Ramakrishnan 1adc47ab32 make ordering of results predictable 2016-11-19 18:24:32 +05:30
Girish Ramakrishnan 94037e5266 remove oauth proxy backend logic 2016-11-19 17:13:08 +05:30
Girish Ramakrishnan 6064db9467 read sso field in db code 2016-11-19 17:10:54 +05:30
Johannes Zellner 552ca43175 Only cleanup high frequency events in eventlog
Those are currently the login events and backup
2016-11-18 11:32:12 +01:00
Johannes Zellner 5645954686 This route does not exist anymore 2016-11-14 17:16:42 +01:00
Johannes 0088d9d5fc Renew expired certs in the cert tests 2016-11-08 09:28:48 +01:00
Johannes 4d360e3798 Allow update.sh to be run as root 2016-11-06 14:29:41 +01:00
Girish Ramakrishnan ae299f5838 Fix failing test 2016-10-14 09:30:42 -07:00
Girish Ramakrishnan d460c36e14 Simply use settings.setBackupConfig 2016-10-13 15:32:00 -07:00
Girish Ramakrishnan 8809552fb2 Fix failing apps test 2016-10-13 15:04:12 -07:00
Girish Ramakrishnan 606f28c724 fix failing setting test 2016-10-13 14:45:18 -07:00
Johannes Zellner f05a5226ba Add new sudo file rmbackup.sh as backups are owned by root currently 2016-10-10 16:25:43 +02: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 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