Johannes Zellner
db8d4e62ec
Fix apps-test.js
2015-10-13 10:41:57 +02:00
Johannes Zellner
f33d1d68f4
Fix database tests
2015-10-13 10:41:57 +02:00
Johannes Zellner
64d70d0b20
use app.oauthProxy instead of app.accessRestriction
2015-10-13 10:41:57 +02:00
Johannes Zellner
d972acdc68
Add apps.oauthProxy
2015-10-13 10:41:57 +02:00
Girish Ramakrishnan
6773d5763f
pullImage: handle stream error
2015-10-12 21:56:34 -07:00
Girish Ramakrishnan
c39193b871
remove redundant log
2015-10-12 21:54:25 -07:00
Girish Ramakrishnan
f8723a21c0
check for 200 instead of 201
2015-10-12 21:54:18 -07:00
Girish Ramakrishnan
3dfd97c1b7
login must return 200
2015-10-12 20:21:27 -07:00
Girish Ramakrishnan
436e29bda3
signal redis to backup using SAVE
2015-10-12 13:30:58 -07:00
Johannes Zellner
c08f84cd1c
Ensure we only set the visibility in the progress bar on app restore to not break the layout
2015-10-12 20:32:43 +02:00
Johannes Zellner
aea7dd021f
Add navbar with avatar and name to oauth views
2015-10-12 19:56:04 +02:00
Johannes Zellner
69aab41d03
Make application name and cloudron name more apparent in oauth login
2015-10-12 17:26:02 +02:00
Johannes Zellner
29f2d2dc5c
Show app icon instead of cloudron avatar in oauth login
2015-10-12 16:50:49 +02:00
Johannes Zellner
20c7984345
Make app icon url public to be used in oauth login screen
2015-10-12 16:49:55 +02:00
Johannes Zellner
8b73fa1f37
Support the new oauth client id prefix
2015-10-12 15:18:51 +02:00
Johannes Zellner
24b4e1323c
Update to new manifestformat
2015-10-12 13:22:56 +02:00
Girish Ramakrishnan
6a145229d1
make a note of appid format
2015-10-11 14:19:38 -07:00
Girish Ramakrishnan
639dbc52fd
appId format has changed in clientdb
2015-10-11 14:16:38 -07:00
Girish Ramakrishnan
cb7017183d
apptest: remove mail addon
2015-10-11 13:53:50 -07:00
Girish Ramakrishnan
5fa87fd48a
start the mail addon
2015-10-11 13:48:23 -07:00
Girish Ramakrishnan
da1f53657d
print the values otherwise it gets very confusing
2015-10-11 13:45:02 -07:00
Girish Ramakrishnan
1a36d0c1ef
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
f4a220f07d
remove associated volumes
...
note that this does not remove host mounts
2015-10-11 11:37:23 -07:00
Girish Ramakrishnan
1469acf6b3
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
69e2d9d766
regenerate shrinkwrap with --no-optional for ldapjs
2015-10-11 10:39:41 -07:00
Girish Ramakrishnan
c6b08e569b
test image is now 5.0.0
2015-10-11 10:03:42 -07:00
Girish Ramakrishnan
7421a9caba
use latest docker images
2015-10-11 10:03:42 -07:00
Johannes Zellner
53c8c2ba1d
Do not log with morgan during test runs for simple auth server
2015-10-11 17:52:22 +02:00
Johannes Zellner
02fd0392d1
Merge branch 'simpleauth'
2015-10-11 17:40:10 +02:00
Johannes Zellner
c47945a03c
Update to new manifestformat version 1.9.0
2015-10-11 17:19:39 +02:00
Johannes Zellner
598586afc5
Prefix morgan logs with source
2015-10-11 17:19:39 +02:00
Johannes Zellner
47e6652ac8
Do not show http request logs during tests
2015-10-11 17:19:39 +02:00
Johannes Zellner
8130b28fbb
Remove serving up webadmin/ in test case
2015-10-11 17:19:39 +02:00
Johannes Zellner
9fc5dab8e3
Add simpleauth logging middleware
2015-10-11 17:19:39 +02:00
Johannes Zellner
d6a8bc90e7
read ldap port from config.js
2015-10-11 17:19:39 +02:00
Johannes Zellner
f8f6cf5b66
Specify addon env vars for simple auth
2015-10-11 17:19:39 +02:00
Johannes Zellner
46dd52403c
Fix the check install to keep up with the base image version
2015-10-11 17:19:39 +02:00
Johannes Zellner
e5713efd3c
Revert "Attach accessTokens to req for further use"
...
This reverts commit 895812df1e9226415640b74a001c1f8c1affab01.
2015-10-11 17:19:39 +02:00
Johannes Zellner
ef21abdf07
Fixup the simple auth unit tests
2015-10-11 17:19:39 +02:00
Johannes Zellner
cce3278c28
Remove the simpleauth route handler
2015-10-11 17:19:39 +02:00
Johannes Zellner
f39e6e7155
Move simple auth to separate express server
2015-10-11 17:19:39 +02:00
Johannes Zellner
fbefc76f48
Add simpleAuthPort to config.js
2015-10-11 17:19:39 +02:00
Johannes Zellner
a0e82835df
Fixup the simple auth logout route and add tests
2015-10-11 17:19:39 +02:00
Johannes Zellner
b5a60e8455
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
8c548709a7
add simple auth login unit tests
2015-10-11 17:19:38 +02:00
Johannes Zellner
762a35a83d
Fixup the simple login routes for unknown clients
2015-10-11 17:19:38 +02:00
Johannes Zellner
18b667ffb6
Handle 404 in case subdomain does not exist on delete attempt
2015-10-11 17:19:38 +02:00
Johannes Zellner
686af3d4cf
Add SIMPLE_AUTH_ORIGIN
2015-10-11 17:19:38 +02:00
Johannes Zellner
d6b80f1f74
Return correct error codes
2015-10-11 17:19:38 +02:00
Girish Ramakrishnan
57446fce45
Bump the graphite image
2015-10-10 09:57:07 -07:00