Girish Ramakrishnan
3e474767d1
print the values otherwise it gets very confusing
2015-10-11 13:45:02 -07:00
Girish Ramakrishnan
e2b954439c
ensure redis container is stopped before removing it
...
this is required for the configure/update case where the redis container
might be holding some data in memory.
sending redis SIGTERM will make it commit to disk.
2015-10-11 12:08:35 -07:00
Girish Ramakrishnan
950d1eb5c3
remove associated volumes
...
note that this does not remove host mounts
2015-10-11 11:37:23 -07:00
Girish Ramakrishnan
f48a2520c3
remove RSTATE_ERROR
...
if startContainer failed, it will still returning success because
it running the db update result
2015-10-11 11:18:30 -07:00
Girish Ramakrishnan
f366d41034
regenerate shrinkwrap with --no-optional for ldapjs
2015-10-11 10:39:41 -07:00
Girish Ramakrishnan
b3c40e1ba7
test image is now 5.0.0
2015-10-11 10:03:42 -07:00
Girish Ramakrishnan
b686d6e011
use latest docker images
2015-10-11 10:03:42 -07:00
Johannes Zellner
5663198bfb
Do not log with morgan during test runs for simple auth server
2015-10-11 17:52:22 +02:00
Johannes Zellner
bad50fd78b
Merge branch 'simpleauth'
2015-10-11 17:40:10 +02:00
Johannes Zellner
9bd43e3f74
Update to new manifestformat version 1.9.0
2015-10-11 17:19:39 +02:00
Johannes Zellner
f0fefab8ad
Prefix morgan logs with source
2015-10-11 17:19:39 +02:00
Johannes Zellner
449231c791
Do not show http request logs during tests
2015-10-11 17:19:39 +02:00
Johannes Zellner
bd161ec677
Remove serving up webadmin/ in test case
2015-10-11 17:19:39 +02:00
Johannes Zellner
8040d4ac2d
Add simpleauth logging middleware
2015-10-11 17:19:39 +02:00
Johannes Zellner
06d7820566
read ldap port from config.js
2015-10-11 17:19:39 +02:00
Johannes Zellner
4818a3feee
Specify addon env vars for simple auth
2015-10-11 17:19:39 +02:00
Johannes Zellner
9fcb2c0733
Fix the check install to keep up with the base image version
2015-10-11 17:19:39 +02:00
Johannes Zellner
6906b4159a
Revert "Attach accessTokens to req for further use"
...
This reverts commit 895812df1e9226415640b74a001c1f8c1affab01.
2015-10-11 17:19:39 +02:00
Johannes Zellner
763b9309f6
Fixup the simple auth unit tests
2015-10-11 17:19:39 +02:00
Johannes Zellner
2bb4d1c22b
Remove the simpleauth route handler
2015-10-11 17:19:39 +02:00
Johannes Zellner
23303363ee
Move simple auth to separate express server
2015-10-11 17:19:39 +02:00
Johannes Zellner
79c17abad2
Add simpleAuthPort to config.js
2015-10-11 17:19:39 +02:00
Johannes Zellner
3234e0e3f0
Fixup the simple auth logout route and add tests
2015-10-11 17:19:39 +02:00
Johannes Zellner
982cd1e1f3
Attach accessTokens to req for further use
...
This helps with extracting the token, which can come
from various places like headers, body or query
2015-10-11 17:19:38 +02:00
Johannes Zellner
df39fc86a4
add simple auth login unit tests
2015-10-11 17:19:38 +02:00
Johannes Zellner
870e0c4144
Fixup the simple login routes for unknown clients
2015-10-11 17:19:38 +02:00
Johannes Zellner
57704b706e
Handle 404 in case subdomain does not exist on delete attempt
2015-10-11 17:19:38 +02:00
Johannes Zellner
223e0dfd1f
Add SIMPLE_AUTH_ORIGIN
2015-10-11 17:19:38 +02:00
Johannes Zellner
51c438b0b6
Return correct error codes
2015-10-11 17:19:38 +02:00
Girish Ramakrishnan
93d210a754
Bump the graphite image
2015-10-10 09:57:07 -07:00
Girish Ramakrishnan
265ee15ac7
fix oldConfig madness
...
There is a crash when:
* App is configured. So, oldConfig now has {loc, access, portb }
* Cloudron is restored. The restore code path accesses the oldConfig.manifest.addons.
oldConfig is basically a messaging passing thing. It's not really a
db field. With that spirit, we simply pass an empty message in setup_infra.sh
v0.0.67
2015-10-09 11:59:25 -07:00
Girish Ramakrishnan
d0da47e0b3
fix comment
2015-10-09 11:48:59 -07:00
Girish Ramakrishnan
0e8553d1a7
code path applies to upgraded cloudrons as well
2015-10-09 11:08:54 -07:00
Girish Ramakrishnan
9229dd2fd5
Add oldConfigJson in schema file
2015-10-09 11:08:16 -07:00
Girish Ramakrishnan
c2a8744240
fix typo
2015-10-09 10:04:50 -07:00
Girish Ramakrishnan
bc7e07f6a6
mail: not required to expose port 25
2015-10-09 09:56:37 -07:00
Girish Ramakrishnan
bfd6f8965e
print mail server ip
2015-10-09 09:50:50 -07:00
Girish Ramakrishnan
eb1e4a1aea
mail now runs on port 2500
2015-10-09 09:29:17 -07:00
Girish Ramakrishnan
dc3e8a9cb5
mail now runs on port 2500
2015-10-09 09:13:28 -07:00
Johannes Zellner
494bcc1711
prefix oauth client id and app ids
2015-10-09 11:45:53 +02:00
Johannes Zellner
7e071d9f23
add simpleauth addon hooks
2015-10-09 11:44:32 +02:00
Johannes Zellner
6f821222db
Add simple auth routes
2015-10-09 11:37:46 +02:00
Johannes Zellner
6e464dbc81
Add simple auth route handlers
2015-10-09 11:37:39 +02:00
Johannes Zellner
be8ef370c6
Add simple auth logic for login/logout
2015-10-09 11:37:17 +02:00
Johannes Zellner
39a05665b0
Update node modules to support v4.1.1
...
The sqlite3 versions we had used so far did not work with
new node versions
2015-10-09 10:15:10 +02:00
Girish Ramakrishnan
737e22116a
Reword upgrade warning
2015-10-08 16:31:44 -07:00
Girish Ramakrishnan
43e1e4829f
new test image 3.0.0
2015-10-08 16:07:14 -07:00
Girish Ramakrishnan
c95778178f
make rootfs readonly based on targetBoxVersion
v0.0.66
2015-10-08 11:48:33 -07:00
Girish Ramakrishnan
04870313b7
Launch apps with readonly rootfs
...
We explicitly mark /tmp, /run and /var/log as writable volumes.
Docker creates such volumes in it's own volumes directory. Note
that these volumes are separate from host binds (/app/data).
When removing the container the docker created volumes are
removed (but not host binds).
Fixes #196
2015-10-08 11:33:17 -07:00
Girish Ramakrishnan
6ca040149c
run addons as readonly
2015-10-08 11:07:28 -07:00