Johannes Zellner
163563f400
Remove now unused dnsRecordId
2018-06-29 23:14:06 +02:00
Girish Ramakrishnan
dfa318e898
Add ownerId for apps
...
This tracks who installed the app.
2018-06-28 14:13:12 -07:00
Girish Ramakrishnan
a77d45f5de
Add rolesJson to groups table
...
This will contain the roles ('role definition') of a group of
users. We will internally map these to our API scopes.
2018-06-14 22:54:52 -07:00
Girish Ramakrishnan
4369b3046e
Make options non-optional
2018-06-11 15:14:59 -07:00
Girish Ramakrishnan
4fd58fb46b
Rename user.js to users.js
2018-04-29 11:19:04 -07:00
Girish Ramakrishnan
b6335a327c
Rename TYPE_* to OWNER_TYPE_*
2018-04-07 18:33:30 -07:00
Girish Ramakrishnan
605dc00422
mail: add members field for lists
...
we have to track the members of a list in the mail app separately
from groups. this is required because users can now have multiple
mailboxes. and because of that we cannot do a 1-1 mapping of group
members to mailboxes anymore. the ui is changed to select mailboxes
when creating a list.
2018-04-05 16:07:38 -07:00
Girish Ramakrishnan
2c8fa01d6d
mail: split the functions to add list and mailbox
2018-04-05 15:01:28 -07:00
Johannes Zellner
d1ef35ae1d
Fixup all the tests to use domain tlsConfig
2018-01-31 18:09:38 +01:00
Johannes Zellner
6470803604
Do not check if email is enabled when an app tries to do sendmail auth through ldap
2018-01-29 19:29:04 +01:00
Johannes Zellner
ec7b550ca6
Fixup the ldap tests
2018-01-29 13:35:22 +01:00
Johannes Zellner
7441e11c2d
Further test fixes to oauth, ldap and mail tests
2018-01-26 21:10:53 +01:00
Johannes Zellner
c3211c7603
Add domain and enable mail on it for many tests
2018-01-26 20:36:27 +01:00
Johannes Zellner
27bd0be1fc
Remove config.fqdn() from ldap tests
2018-01-22 20:35:21 +01:00
Johannes Zellner
a6f79854db
Further ldap test fixes
2018-01-22 17:53:17 +01:00
Johannes Zellner
cf94f26d62
Fixup the test using fallbackEmail
2018-01-22 11:52:58 +01:00
Girish Ramakrishnan
f5b685465f
make ldap test use maildb
2018-01-21 00:27:13 -08:00
Girish Ramakrishnan
a7de17a160
Move mail related settings to new mail route
...
there is quite a bit of circular dep between settings, platform and
mail code. this will be removed in future commits.
2018-01-20 20:02:01 -08:00
Girish Ramakrishnan
98d493b2d0
ldap: make mailbox search return fully qualified names
2018-01-19 12:14:43 -08:00
Girish Ramakrishnan
af25485fa0
ldap: Make alias return fully qualified alias
2018-01-19 12:11:33 -08:00
Girish Ramakrishnan
2015e7bce9
ldap: make mailing list search return fully qualified members
2018-01-19 12:11:26 -08:00
Girish Ramakrishnan
5be827cd4e
remove use of config.fqdn() in ldap test
2018-01-18 19:35:05 -08:00
Girish Ramakrishnan
0f47dcfae6
ldap: mailbox routes now require the cn to be fully qualified
2018-01-18 19:33:38 -08:00
Girish Ramakrishnan
68d4e70823
Add config._reset to tests
2017-11-27 15:27:54 -08:00
Girish Ramakrishnan
abe04d7d10
ldap: call client.unbind
2017-11-27 12:14:31 -08:00
Girish Ramakrishnan
efe75f0c4e
make tests finish
...
database.uninitialize must be called to drop the connection
2017-11-27 11:57:09 -08:00
Johannes Zellner
a08ff89b78
Fix ldap and dns tests
2017-11-20 20:01:50 +01:00
Girish Ramakrishnan
360fa058ea
store format information for restoring
...
fixes #483
2017-11-16 15:01:27 -08:00
Girish Ramakrishnan
1babfb6e87
Allow admins to access all apps
...
Fixes #420
2017-11-15 19:24:11 -08:00
Girish Ramakrishnan
c4362d3339
Fix failing ldap test
2017-11-11 17:33:27 -08:00
Johannes Zellner
6a2b0eedb3
Add ldap pagination support
2017-10-27 01:25:07 +02:00
Girish Ramakrishnan
fc6ce4945f
add sendmail/recvmail ldap tests
2017-03-26 20:42:46 -07:00
Girish Ramakrishnan
6ea741e92f
Verify password for sendmail/recvmail addon
...
Part of #109
2017-03-26 20:07:55 -07:00
Johannes Zellner
1763144278
Only list users in ldap groups who have access to the app
...
Fixes #215
2017-03-13 11:06:29 +01:00
Johannes Zellner
2f598529fc
Only list users who have access to the app in an ldap search
...
Part of #215
2017-03-13 11:02:45 +01:00
Girish Ramakrishnan
475fd06ac0
use unique ids for groups
2016-09-30 09:33:10 -07:00
Girish Ramakrishnan
a78e17b036
Do not return aliases as mailboxes
2016-09-28 10:26:41 -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
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
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
656356732e
LDAP tests need more time on my end
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
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