Girish Ramakrishnan
|
957f787701
|
setup mail addon root credentials
|
2016-05-24 16:18:21 -07:00 |
|
Girish Ramakrishnan
|
ad48067bb2
|
setup_infra now uses infra_version.js
INFRA_VERSION is now removed. Note that DATA_DIR/INFRA_VERSION
still exists.
|
2016-05-24 16:16:03 -07:00 |
|
Girish Ramakrishnan
|
b4ba17c599
|
use the constant
|
2016-05-24 13:23:41 -07:00 |
|
Girish Ramakrishnan
|
7fb28662c1
|
remove old images in platform.js
|
2016-05-24 13:23:41 -07:00 |
|
Girish Ramakrishnan
|
4845db538a
|
use infra_version.js in platform.js
|
2016-05-24 13:23:41 -07:00 |
|
Girish Ramakrishnan
|
8429985253
|
use infra_version.js in addons.js
|
2016-05-24 13:23:41 -07:00 |
|
Girish Ramakrishnan
|
9b3077eca3
|
add infra_version.js
|
2016-05-24 13:02:38 -07:00 |
|
Girish Ramakrishnan
|
39396cb3ab
|
call callback if provided
|
2016-05-24 11:39:05 -07:00 |
|
Girish Ramakrishnan
|
364f0ead51
|
debug out the cmd
|
2016-05-24 11:26:11 -07:00 |
|
Girish Ramakrishnan
|
5ac1d5575c
|
platform.js: minor refactor
|
2016-05-24 10:58:18 -07:00 |
|
Girish Ramakrishnan
|
e5a030baff
|
move platform cleanup bits to javascript
|
2016-05-24 10:52:55 -07:00 |
|
Girish Ramakrishnan
|
a100837e69
|
Add helpers to restore/reconfigure all apps
|
2016-05-24 10:44:45 -07:00 |
|
Girish Ramakrishnan
|
ffacf17a42
|
add paths.INFRA_VERSION_FILE
|
2016-05-24 10:26:08 -07:00 |
|
Girish Ramakrishnan
|
d71d09c1ba
|
Add shell.execSync
|
2016-05-24 10:22:39 -07:00 |
|
Girish Ramakrishnan
|
c1a2444dfa
|
move container creation to platform.js
|
2016-05-24 09:40:26 -07:00 |
|
Girish Ramakrishnan
|
ef40aae3ba
|
set adminEmail to no-reply@localhost for tests
|
2016-05-24 00:54:38 -07:00 |
|
Girish Ramakrishnan
|
9570086c87
|
add config.smtpPort
|
2016-05-24 00:53:42 -07:00 |
|
Girish Ramakrishnan
|
57a823a698
|
make tests work
|
2016-05-24 00:44:01 -07:00 |
|
Girish Ramakrishnan
|
ec0ee07b17
|
test: email works now
|
2016-05-23 23:17:38 -07:00 |
|
Girish Ramakrishnan
|
3d7545133e
|
wait 30 secs in the beginning
|
2016-05-23 23:16:02 -07:00 |
|
Girish Ramakrishnan
|
bcc752469a
|
remove containers after the test
|
2016-05-23 22:47:40 -07:00 |
|
Girish Ramakrishnan
|
da85f4c096
|
stop ldap server in test
|
2016-05-23 21:59:06 -07:00 |
|
Girish Ramakrishnan
|
3b740a5651
|
make tests work
|
2016-05-23 20:41:00 -07:00 |
|
Girish Ramakrishnan
|
7eb202f19a
|
test: use the test-app instead of duplicating the checks in the tests
|
2016-05-23 20:17:11 -07:00 |
|
Girish Ramakrishnan
|
8dbd4c8527
|
use 1024 bit keys
Stacked error: error:04075070:rsa routines:RSA_sign:digest too big for rsa key
|
2016-05-23 19:31:57 -07:00 |
|
Girish Ramakrishnan
|
88f2ce554d
|
bump to mail 0.13.1 with the auth fix
|
2016-05-23 18:57:59 -07:00 |
|
Girish Ramakrishnan
|
57888659a6
|
Update test app version
|
2016-05-23 18:31:12 -07:00 |
|
Girish Ramakrishnan
|
ebdefa7f18
|
test: oauth addon
|
2016-05-23 17:34:25 -07:00 |
|
Girish Ramakrishnan
|
569150f602
|
tests: create a self-signed cert
|
2016-05-23 16:40:18 -07:00 |
|
Girish Ramakrishnan
|
6ccb806628
|
make apps-test pass
|
2016-05-23 16:31:02 -07:00 |
|
Girish Ramakrishnan
|
ae807b28b6
|
test: let server start the infra
otherwise, deps like dkim keys need to be setup in tests as well
|
2016-05-23 15:53:51 -07:00 |
|
Girish Ramakrishnan
|
00726b01e2
|
pass -no-run-if-empty instead
|
2016-05-23 15:50:36 -07:00 |
|
Girish Ramakrishnan
|
f5b777ab33
|
add route tests for username
|
2016-05-23 15:00:21 -07:00 |
|
Girish Ramakrishnan
|
d84e584222
|
add some username tests
|
2016-05-23 14:56:09 -07:00 |
|
Girish Ramakrishnan
|
31e452e1cc
|
test: mixed case reserved name
|
2016-05-23 14:52:29 -07:00 |
|
Girish Ramakrishnan
|
10e0cbcebc
|
do not set allowHalfOpen (otherwise we have to end socket ourself)
|
2016-05-23 10:50:04 -07:00 |
|
Girish Ramakrishnan
|
2768c3a336
|
acme: configure prod based on caas or acme
|
2016-05-23 09:48:17 -07:00 |
|
Girish Ramakrishnan
|
37512c4cac
|
Wrap the stdin stream to indicate EOF
The docker exec protocol supports half-closing to signal that the stdin
is finished. The CLI tool tried to do this by closing it's half of the
socket when the stdin finished. Unfortunately, this does not work because
nginx immediately terminates a half-close :/ Node itself has no problem.
http://mailman.nginx.org/pipermail/nginx/2008-September/007388.html
seems to support the hypothesis. Basically, for HTTP and websockets
there is no notion of half-close.
Websocket protocol itself has no half-close as well:
http://www.lenholgate.com/blog/2011/07/websockets---i-miss-the-tcp-half-close.html
http://doc.akka.io/docs/akka/2.4.5/scala/http/client-side/websocket-support.html
The fix is to implement our own protocol that wrap stdin. We put a length
header for every payload. When we hit EOF, the length is set to 0. The server
sees this 0 length header and closes the exec container socket.
|
2016-05-22 22:27:49 -07:00 |
|
Girish Ramakrishnan
|
0aaaa866e4
|
Add a whole bunch of magic for docker.exec to work
|
2016-05-22 00:27:32 -07:00 |
|
Girish Ramakrishnan
|
53cb7fe687
|
debug out cmd
|
2016-05-19 15:54:35 -07:00 |
|
Girish Ramakrishnan
|
da42f2f00c
|
fix boolean logic
|
2016-05-19 15:54:35 -07:00 |
|
Girish Ramakrishnan
|
42cc8249f8
|
reserve usernames with -app in them
|
2016-05-18 21:45:02 -07:00 |
|
Girish Ramakrishnan
|
de055492ef
|
set username restriction to 2 chars
|
2016-05-18 11:05:45 -07:00 |
|
Girish Ramakrishnan
|
efa3ccaffe
|
fix crash because of missing error handling
|
2016-05-18 10:00:32 -07:00 |
|
Girish Ramakrishnan
|
517b967fe9
|
enable sieve
|
2016-05-17 14:04:57 -07:00 |
|
Girish Ramakrishnan
|
3c4ca8e9c8
|
reserve more usernames
|
2016-05-17 12:47:10 -07:00 |
|
Girish Ramakrishnan
|
7ec93b733b
|
setup restore paths for recvmail and email addon
|
2016-05-17 09:27:59 -07:00 |
|
Girish Ramakrishnan
|
a81262afb5
|
remove unused var
|
2016-05-17 08:47:57 -07:00 |
|
Girish Ramakrishnan
|
266603bb19
|
Do not barf on rmi
|
2016-05-16 16:56:17 -07:00 |
|
Girish Ramakrishnan
|
6dcecaaf55
|
log the ldap source
|
2016-05-16 14:31:57 -07:00 |
|