girish@cloudron.io
28baef8929
Go back to using docker exec in cloudron exec
...
The main issue is that multiple cloudron exec sessions do not
share the same rootfs. Which makes it annoying to debug.
We also have some nginx timeout which drops you out of exec
now and then resulting in loss of all state.
2016-01-15 15:24:46 -08:00
girish@cloudron.io
70ac18d139
add internal route to update the cloudron
...
need to way to trigger updates of cloudron using the caas tool
2016-01-14 11:13:02 -08:00
girish@cloudron.io
f98c710f5b
use password generator module
2016-01-13 19:02:15 -08:00
Johannes Zellner
ce38742caf
Fix cloudron tests
2015-12-31 11:55:01 +01:00
Johannes Zellner
bb90bafb62
Fix crash when the appstore server does not respond correctly on setup
2015-12-29 16:07:04 +01:00
Johannes Zellner
cea8783fec
Skip calling back home on activation in non caas case
2015-12-29 15:56:37 +01:00
Johannes Zellner
ec4d04c338
Skip setupToken auth for non caas cloudrons
2015-12-29 11:24:45 +01:00
Girish Ramakrishnan
a4ea693c3c
update superagent
...
the latest superchanged changed the meaning of 'error'. Previously,
error implied a network error. With the latest superagent, error means
a REST api error i.e 4xx, 5xx are flagged as errors.
error && !error.response means network error
2015-12-15 09:53:37 -08:00
Girish Ramakrishnan
9d91340223
add settings.setTlsConfig
2015-12-11 22:39:13 -08:00
Girish Ramakrishnan
0b8fde7d8d
rename app.setAppCertificate
2015-12-11 14:13:29 -08:00
Girish Ramakrishnan
3e2ea0e087
refactor certificate settings
2015-12-11 13:58:43 -08:00
Johannes Zellner
9595b63939
Correctly encode the redirectURI in oauth callback
2015-11-25 17:45:18 +01:00
Johannes Zellner
3d80821203
Give correct feedback if an app cannot be found in the appstore
2015-11-13 10:35:29 +01:00
Girish Ramakrishnan
8f05917d97
delete container on network error
2015-11-10 21:56:17 -08:00
Girish Ramakrishnan
ee5bd456e0
set bucket and prefix to make migrate test pass
2015-11-09 22:45:07 -08:00
Girish Ramakrishnan
6b30d65e05
add backupConfig in test
2015-11-09 21:08:23 -08:00
Girish Ramakrishnan
10c876ac75
make migrate test work
2015-11-09 20:34:27 -08:00
Girish Ramakrishnan
13d3f506b0
always add dns config in tests
2015-11-08 23:05:55 -08:00
Girish Ramakrishnan
738bfa7601
remove unused variable
2015-11-08 11:04:39 -08:00
Girish Ramakrishnan
40cdd270b1
ensure correct token is used in tests
2015-11-07 22:19:23 -08:00
Girish Ramakrishnan
53a2a8015e
set the backupConfig in backups test
2015-11-07 22:18:39 -08:00
Johannes Zellner
66b4a4b02a
Remove unused favicon middleware
2015-11-05 19:29:08 +01:00
Girish Ramakrishnan
15eedd2a84
pass on certificate errors
2015-11-04 19:13:16 -08:00
Girish Ramakrishnan
5de3baffd4
send monotonic timestamp as well
2015-11-02 14:26:15 -08:00
Girish Ramakrishnan
a99e7c2783
disable logstream testing (since it requires journald)
2015-11-02 14:08:34 -08:00
Girish Ramakrishnan
88b1cc553f
Use journalctl to get app logs
2015-11-02 14:08:34 -08:00
Johannes Zellner
0b59281dbb
Remove leftover console.log()
2015-10-30 21:30:57 +01:00
Johannes Zellner
e0c845ca16
Fix cloudron tests when run together
2015-10-30 21:30:57 +01:00
Girish Ramakrishnan
06aaf98716
dnsConfig provider can be caas
2015-10-29 12:33:10 -07:00
Johannes Zellner
0460beccf0
Add route to set the admin certificate
...
This route is separate until we can treat the webadmin just
like any other app
2015-10-29 12:27:57 +01:00
Johannes Zellner
eca328b247
Add cert and key to app install route
2015-10-28 22:09:19 +01:00
Johannes Zellner
9df9d1667f
Test certs are now simply embedded
2015-10-28 16:34:09 +01:00
Johannes Zellner
7798111af1
Ensure the test certs match domain and the folder is created
2015-10-28 16:33:45 +01:00
Johannes Zellner
12351113a9
Fixup the tests for wildcard cert
2015-10-28 16:00:51 +01:00
Johannes Zellner
21a604814c
Add tests for app cert upload
2015-10-28 12:13:37 +01:00
Johannes Zellner
57de915133
Make settings certificate upload route also just using the json body
2015-10-28 12:12:06 +01:00
Johannes Zellner
a892de5c2d
Ensure cert and key are strings
2015-10-28 11:50:50 +01:00
Johannes Zellner
01ead194d8
Move cert upload route to /settings
2015-10-27 18:38:46 +01:00
Girish Ramakrishnan
80b9d4be50
awscredentials route is not called anymore
2015-10-27 10:24:42 -07:00
Girish Ramakrishnan
ef06836804
make apps-test partially work
2015-10-27 10:14:51 -07:00
Girish Ramakrishnan
166257bbdc
Allow endpoint to be configured (for the tests)
2015-10-27 10:02:43 -07:00
Johannes Zellner
4ea3238391
Pass certs down to apps.configure
2015-10-27 16:36:09 +01:00
Johannes Zellner
fa12e7bd97
Add cert and key to app configure route
2015-10-27 15:44:47 +01:00
Johannes Zellner
6118535c4a
Add test helper script to generate a selfsigned cert
2015-10-27 15:06:53 +01:00
Johannes Zellner
920f04aab3
Use test-app image 10.0.0
2015-10-27 14:20:19 +01:00
Girish Ramakrishnan
f510d4bc10
add route for setting/getting dns settings
2015-10-26 16:52:59 -07:00
Girish Ramakrishnan
697699bd5f
test the new env vars APP_*
2015-10-23 16:27:40 -07:00
Johannes Zellner
fd58e83da9
Provide the memory byte count with the cloudron config route
2015-10-22 11:16:55 +02:00
Girish Ramakrishnan
edc90ccc00
bump test image
2015-10-20 14:40:27 -07:00
Girish Ramakrishnan
3688602d16
test the scheduler
2015-10-20 14:30:50 -07:00