Johannes Zellner
0167f83d4a
Handle 2fa fields in userdb code
2018-04-25 17:03:16 +02:00
Girish Ramakrishnan
c0716e86a7
Remove the "or Email"
...
The email here can be confused with the Cloudron email which it is not.
The preferred approach is to login via username anyway.
2018-04-22 18:29:10 -07:00
Johannes Zellner
0c728c6af5
Fix mail rest api tests
2018-04-13 12:54:40 +02:00
Johannes Zellner
34d3d79b12
Improve error message when alias name is already taken
2018-04-13 12:37:27 +02:00
Johannes Zellner
ff856a5978
Rename 'address' catchall property to 'addresses' to better indiciate this being an array
2018-04-13 12:15:15 +02:00
Johannes Zellner
c4dad2f55f
Fix address property error response in catchall
2018-04-13 12:15:15 +02:00
Girish Ramakrishnan
734286ba2e
Add support for installing private docker images
2018-04-12 11:43:57 -07:00
Johannes Zellner
60381d938e
Fix search and replace mistake
2018-04-11 15:29:37 +02:00
Girish Ramakrishnan
95f7e50065
bump mail container
2018-04-10 00:00:27 -07:00
Girish Ramakrishnan
d6a8837716
mail: verify with the owner id
2018-04-09 13:17:07 -07:00
Johannes Zellner
cc759e3550
set the mailbox record type for apps
2018-04-09 15:39:36 +02:00
Girish Ramakrishnan
bf0dd935e5
mail: add type field
2018-04-07 21:29:44 -07:00
Girish Ramakrishnan
1d761deec0
Fix test
2018-04-07 18:39:17 -07:00
Girish Ramakrishnan
b6335a327c
Rename TYPE_* to OWNER_TYPE_*
2018-04-07 18:33:30 -07:00
Johannes Zellner
55d53ef311
Do not succeed if mailbox name is already taken
2018-04-06 16:55:01 +02:00
Girish Ramakrishnan
9beeb33090
mail: validate list and mailbox names
2018-04-05 17:49:16 -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
Girish Ramakrishnan
467bfa2859
remove mailboxdb from groups code
2018-04-04 20:08:52 -07:00
Girish Ramakrishnan
5af657ee22
rename mail crud functions
2018-04-03 15:06:14 -07:00
Girish Ramakrishnan
7fac92c519
validate user id when adding mailbox
2018-04-03 14:27:09 -07:00
Girish Ramakrishnan
f8a731f63a
Add routes to change the mailbox and list owner
2018-04-03 14:12:43 -07:00
Girish Ramakrishnan
a1f4a4d614
mail: make mailbox API based on mailbox name
...
this decouples mail API from users
2018-04-03 13:59:03 -07:00
Girish Ramakrishnan
696e864459
mail: make list API based on list name
...
this decouples mail API from groups
2018-04-03 12:06:22 -07:00
Girish Ramakrishnan
678ea50f87
validateAlias -> validateName
2018-04-03 09:47:15 -07:00
Girish Ramakrishnan
76915b99a8
Fix linter
2018-04-02 09:46:30 -07:00
Girish Ramakrishnan
255a5a12a5
Decouple mailbox deletion from user delete
2018-04-02 09:45:46 -07:00
Johannes Zellner
602291895c
Mention which alias is reserved
2018-04-02 14:59:10 +02:00
Johannes Zellner
045ea4681a
Do not return an error on mailinglist listing if none exists
...
We usually return the empty array, to avoid the need for specific error
handling
2018-04-01 21:51:56 +02:00
Johannes Zellner
e364661813
Send correct status code if mail alias already exists
2018-04-01 19:29:47 +02:00
Johannes Zellner
df9a191434
Add rest api to list all aliases for a given domain
2018-04-01 18:23:54 +02:00
Johannes Zellner
4af69fb8c8
Do not show a warning like log, but just dump the tag and detail
2018-03-29 17:36:00 +02:00
Girish Ramakrishnan
2e0c632942
Do not crash if mail alias does not validate
2018-03-25 21:08:15 -07:00
Girish Ramakrishnan
82a593e82a
Forward stats calls to mail container
2018-03-23 10:52:07 -07:00
Girish Ramakrishnan
d81930be72
add note on conn limit
2018-03-22 21:07:06 -07:00
Girish Ramakrishnan
aac914182f
remove options from database.initialize
2018-03-22 20:34:49 -07:00
Girish Ramakrishnan
26d4a11c44
cleanup eventlog more aggressively
...
Those login entries are really adding up on old cloudrons
2018-03-22 20:31:32 -07:00
Girish Ramakrishnan
f498443cae
remove unused exports
2018-03-22 20:29:26 -07:00
Girish Ramakrishnan
d84d761bad
Remove unused export
2018-03-22 19:40:38 -07:00
Girish Ramakrishnan
84dcdbba33
Re-assign 2020 to mail server
2018-03-21 23:15:30 -07:00
Girish Ramakrishnan
2a18070016
do-spaces: Force retry of 4xx error codes when copying
2018-03-21 15:41:21 -07:00
Girish Ramakrishnan
e0ece06b26
s3: improved copy logging
2018-03-21 14:22:41 -07:00
Girish Ramakrishnan
83d2eb31dd
clarify debug
2018-03-21 11:39:16 -07:00
Girish Ramakrishnan
6adf88a6e5
Make uploads work with very slow upload speeds
...
chunk uploads get a timeout of 2mins (derived from http.timeout).
On servers like kimsufi, uploads takes forever (100 MB/sec limit).
Currently, our upload code does not dynamically adapt itself to
changing the concurrency when network is slow.
2018-03-20 19:37:45 -07:00
Girish Ramakrishnan
7699f6721d
Add hack to figure out the position in the queue
...
this helps us track the progress a bit in the logs
2018-03-20 19:37:35 -07:00
Girish Ramakrishnan
ce33681c37
Dump etag info
2018-03-20 18:19:14 -07:00
Girish Ramakrishnan
565eed015f
Add better backup logs
2018-03-20 16:41:45 -07:00
Girish Ramakrishnan
873ea0fecd
Restart mail server after DKIM keys are generated
...
Haraka won't do change notification on those
2018-03-13 09:53:41 -07:00
Girish Ramakrishnan
4cc9818139
remove error prone short-circuit update
...
when we do pre-releases, there really is no way for us to update
all the cloudrons. this worked when everything was managed cloudron.
2018-03-13 00:36:03 -07:00
Girish Ramakrishnan
390639bac0
Bump mail container
...
This fixes delivery of incoming mail from an outbound only domain
2018-03-13 00:20:48 -07:00