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
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
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
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
65b174f950
Domain removal can fail because of mailbox as well
2018-03-12 09:54:16 -07:00
Girish Ramakrishnan
6bc5add023
Add a way to re-sync mail DNS records
...
Also, make restore resync the admin domain record which gets messed
up by the dns setup
2018-03-08 17:59:53 -08:00
Girish Ramakrishnan
ac69b96f92
clear timeout when getting mail status
2018-03-08 09:32:06 -08:00
Girish Ramakrishnan
6da7a7d2f4
clear the request timeout when adding/updating domain
...
DO API takes very long to respond at times :/ Currently, there is
no easy way to reset the timeout middleware timeout. We should add
this feature upstream (https://github.com/expressjs/timeout/issues/26 )
2018-03-08 09:27:56 -08:00
Johannes Zellner
9d4eee0dfe
reword error message, all apps using a domain have to be deleted
2018-03-07 10:45:03 +01:00
Johannes Zellner
75932e2805
Collect app information for feedback email
2018-03-05 17:03:54 +01:00
Johannes Zellner
ff6d468604
Support multiple actions for eventlog api
2018-03-05 11:46:06 +01:00
Girish Ramakrishnan
161b2ac6f5
clone: Fix crash where port conflict is not handled
2018-03-02 19:37:15 -08:00
Johannes Zellner
9775ab5e8e
make correct use of eventlog for developer/cli login
2018-03-02 19:26:55 +01:00
Johannes Zellner
726202b040
Amend app object where applicable to login event
2018-03-02 19:21:11 +01:00
Johannes Zellner
39d6ec96b7
amend full user object to login action
2018-03-02 19:21:11 +01:00
Johannes Zellner
87fedb71b7
Use shared function to remove private user fields for api
2018-03-02 11:24:27 +01:00
Girish Ramakrishnan
a4e6181edf
Fix tests
2018-02-27 11:59:15 -08:00
Girish Ramakrishnan
bcf3e71979
Add API to remove mailboxes by domain
2018-02-11 01:18:29 -08:00
Girish Ramakrishnan
4d89340c7d
Handle FK error when deleting mail domain
2018-02-10 22:49:35 -08:00
Girish Ramakrishnan
fc79047bbf
Generate fallback cert to contain naked domain in SAN
2018-02-09 13:44:29 -08:00
Girish Ramakrishnan
5263ea860d
Add cert tests
2018-02-09 11:19:47 -08:00
Johannes Zellner
24d3195660
Add dns setup and activation route tests
2018-02-09 12:43:20 +01:00
Girish Ramakrishnan
0ca2451eaa
fix tests
2018-02-08 12:09:06 -08:00
Girish Ramakrishnan
26c95a25b6
Use the native dns resolver
...
it now supports cancel()
also, fixes #514
2018-02-08 11:37:58 -08:00
Johannes Zellner
b6384d5025
Remove intrinsicFqdn
2018-02-08 15:07:49 +01:00
Johannes Zellner
e710a210fd
Fixup the unit tests
2018-02-08 09:00:31 +01:00
Johannes Zellner
b1939e73f4
Remove all occurances of altDomain in the code
...
Tests are pending
2018-02-08 09:00:31 +01:00
Johannes Zellner
11d740682e
Split box and app autoupdate pattern settings
2018-02-06 19:25:03 +01:00
Johannes Zellner
c4531e32d5
Fix all app route tests
2018-02-05 22:17:16 +01:00
Johannes Zellner
89673fa7f0
Make more of the app route tests work
2018-02-05 17:28:30 +01:00
Johannes Zellner
2e818fd689
Make first half of the app route tests pass
2018-02-02 14:06:01 +01:00
Girish Ramakrishnan
f4a021b751
Fix path to nginx cert
2018-02-01 21:58:42 -08:00
Johannes Zellner
272b0489ff
Fixup the app route test startup sequence
2018-02-01 18:04:43 +01:00
Johannes Zellner
1b25a0d7b7
Fix copy'n'paste error
2018-02-01 17:28:04 +01:00
Johannes Zellner
d8b62f95be
Fix domains tests
2018-02-01 11:19:42 +01:00
Girish Ramakrishnan
8014cc8ae1
le -> letsencrypt
2018-01-31 18:53:29 -08:00
Girish Ramakrishnan
7dc7c56e97
Fix tests
2018-01-31 18:23:49 -08:00
Girish Ramakrishnan
a5af87e47a
caas: never return key
2018-01-31 18:22:33 -08:00
Johannes Zellner
d1ef35ae1d
Fixup all the tests to use domain tlsConfig
2018-01-31 18:09:38 +01:00
Johannes Zellner
1ec294a04b
Add tlsConfig to domains and setup rest apis
2018-01-31 17:42:26 +01:00
Johannes Zellner
a662362df7
Add mailinglist rest api tests
2018-01-30 12:23:08 +01:00
Johannes Zellner
f54197afe4
return 204 on mailinglist removal api
2018-01-30 12:22:55 +01:00
Johannes Zellner
2745511e67
Fix typo when using HttpSuccess instead of HttpError
2018-01-30 12:14:08 +01:00
Girish Ramakrishnan
2c60c4eb82
move all setup logic to setup.js
2018-01-29 15:51:36 -08:00