Johannes Zellner
adcdd45053
Specifically handle MX records for digitalocean to suit their api
2016-09-27 12:10:31 +02: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
3e8cba08e3
add test for user alias routes
2016-09-26 11:12:12 -07:00
Girish Ramakrishnan
703e76ceb6
Check if there was an old username when deleting mailbox
2016-09-26 11:05:13 -07:00
Girish Ramakrishnan
577b509731
authorize logic in redundant
...
The authorization has to be done in the mail server. There is no
information on the ldap side to authorize.
2016-09-26 10:20:49 -07:00
Girish Ramakrishnan
3c9beb1add
ldap: fix mailbox search and bind
2016-09-26 10:18:58 -07:00
Girish Ramakrishnan
46d8047599
fix ldapjs usage
2016-09-26 09:08:04 -07:00
Johannes Zellner
a7140412c4
Do not use userdb.get() directly in auth
2016-09-26 16:29:50 +02: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
4b34f823a7
implement ldap mailbox get
2016-09-25 16:46:11 -07:00
Girish Ramakrishnan
c158548c19
remove ununsed mailboxdb.getAll
2016-09-25 16:46:08 -07:00
Girish Ramakrishnan
8ce22c5656
ldap: remove unnecessary global
2016-09-25 16:11:54 -07:00
Girish Ramakrishnan
2b1a94dc8d
Add mailboxdb.getByOwnerId
2016-09-23 17:35:48 -07:00
Girish Ramakrishnan
afa352528f
read send/recv config from mailbox database
2016-09-23 17:28:57 -07:00
Girish Ramakrishnan
6a32f89bf2
add/remove mailbox entry for app
2016-09-23 17:26:07 -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
1d77c42269
Add ownerId to mailbox fields
2016-09-22 15:51:57 -07:00
Girish Ramakrishnan
563b2a3042
Do not add dmarc record unless mail is enabled
...
the dmarc records depends on the DKIM signing as well. if the
cloudron is not using the cloudron mail service, that means that
the mails are not dkim signed and thus mails get rejected.
2016-09-22 09:52:25 -07:00
Girish Ramakrishnan
565b0e13c8
remove unused variable
2016-09-22 09:34:18 -07:00
Girish Ramakrishnan
503a1d7229
reserve .app namespace for apps
2016-09-21 11:55:53 -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
Johannes Zellner
7b9eff94b3
No need to set always empty headers for app restore curl
2016-09-20 09:25:48 +02:00
Johannes Zellner
4a9a6dc232
Move backup config fetching into storage backend
2016-09-20 09:25:48 +02:00
Johannes Zellner
0bfc533e44
Fixup function naming
2016-09-20 09:25:48 +02:00
Johannes Zellner
b937a86426
Download backups is GET
2016-09-20 09:25:48 +02:00
Johannes Zellner
6352064e6c
Add backup download route if backend supports it
2016-09-20 09:25:48 +02:00
Johannes Zellner
c9c1964e09
The storage backends dont need a backup listing function
2016-09-20 09:25:48 +02:00
Johannes Zellner
3ac786ba6d
Define shell variable regardless of backend
2016-09-20 09:25:48 +02:00
Johannes Zellner
e8be76f2e8
Fixup typos
2016-09-20 09:25:48 +02:00
Johannes Zellner
0ef9102b50
Set default backup folder to /var/backups
2016-09-20 09:25:48 +02:00
Johannes Zellner
746afb2b21
Shell uses obviously == no ===
2016-09-20 09:25:48 +02:00
Johannes Zellner
02d1238853
filename is our backup id
2016-09-20 09:25:48 +02:00
Johannes Zellner
d8de9555f2
Add storage interface definition
2016-09-20 09:25:48 +02:00
Johannes Zellner
f348fedd50
Caas backend has to use the AWS credentials provided by appstore
2016-09-20 09:25:48 +02:00
Johannes Zellner
2a92d4772c
Fix typo
2016-09-20 09:25:48 +02:00
Johannes Zellner
fa828cc661
Basic backup listing for filesystem backend
2016-09-20 09:25:48 +02:00
Johannes Zellner
04b7822be5
Implement filesystem storage backend getRestoreUrl()
2016-09-20 09:25:48 +02:00