Johannes Zellner
a7d7935451
Remove backup download code
2017-04-22 22:17:29 +02:00
Johannes Zellner
8fb1bc29d1
Fix storage tests for filesystem and s3
2017-04-21 17:21:10 +02:00
Johannes Zellner
d5db9657ca
Add s3 mock for the s3 storage tests
2017-04-18 19:15:56 +02:00
Johannes Zellner
9378b949fb
Add s3 storage tests
...
Those are not mocked yet and require real aws things.
Change will follow for mocking. We should probably keep them optionally
working agains AWS directly to ensure things really work
2017-04-18 17:34:45 +02:00
Johannes Zellner
5460027a49
Add restoreConfig to backupsdb.js
2017-04-18 11:57:59 +02:00
Johannes Zellner
dda16331f6
Remove unused rmbackup.sh
2017-04-17 20:26:06 +02:00
Johannes Zellner
d95e68926b
Remove unused backupapp.sh and backupbox.sh
2017-04-17 20:26:06 +02:00
Johannes Zellner
ff3a748398
Call backuptask.js directly as root to avoid trampoline shell scripts
2017-04-17 20:26:05 +02:00
Johannes Zellner
9354784f01
Remove unused cpbackup.sh
2017-04-17 20:26:05 +02:00
Johannes Zellner
e021a4b377
Remove unused restoreapp.sh
2017-04-17 20:26:05 +02:00
Johannes Zellner
4fac5a785f
Add unit tests for the filesystem storage backend
2017-04-17 20:26:05 +02:00
Johannes Zellner
5e1ad4ad93
We need root access to copy backup files with the filesystem backend
2017-04-17 20:26:05 +02:00
Girish Ramakrishnan
da835afde1
More test fixing
2017-04-14 01:28:29 -07:00
Girish Ramakrishnan
5e22caa6e7
Fix updatechecker tests
2017-04-14 00:36:22 -07:00
Girish Ramakrishnan
eb2ef47df1
remove boxVersionsUrl
...
update checker now uses the appstore routes
2017-04-13 11:38:42 -07:00
Girish Ramakrishnan
cdb5dc2c53
Remove isDev flag
...
We can pretty much test everything here on self-hosted cloudrons now
2017-04-13 11:34:03 -07:00
Girish Ramakrishnan
f16aab7f80
Add --data-dir to cloudron-setup
...
This allows the data-dir to be re-located
Part of #148
2017-04-06 23:56:57 -07:00
Girish Ramakrishnan
245d17ad25
Fix test image version
2017-04-04 19:13:03 -07:00
Girish Ramakrishnan
2a45a9bbd4
test: rate limit is now in nginx
2017-04-04 13:12:50 -07:00
Girish Ramakrishnan
e68d627f72
tests: data -> platformdata
2017-04-04 13:11:44 -07:00
Johannes Zellner
602f8bcd04
Split platform and app data folders and get rid of btrfs volumes
2017-04-04 12:34:55 +02:00
Girish Ramakrishnan
fc6ce4945f
add sendmail/recvmail ldap tests
2017-03-26 20:42:46 -07:00
Girish Ramakrishnan
6ea741e92f
Verify password for sendmail/recvmail addon
...
Part of #109
2017-03-26 20:07:55 -07:00
Girish Ramakrishnan
790ad4e74d
Add getAddonConfigByName
2017-03-26 19:06:36 -07:00
Girish Ramakrishnan
f92297cc99
Store env vars as name, value pairs
...
Part of #109
2017-03-26 12:22:19 -07:00
Johannes Zellner
1763144278
Only list users in ldap groups who have access to the app
...
Fixes #215
2017-03-13 11:06:29 +01:00
Johannes Zellner
2f598529fc
Only list users who have access to the app in an ldap search
...
Part of #215
2017-03-13 11:02:45 +01:00
Johannes Zellner
101a44affd
Add authorized_keys.sh
2017-03-07 15:16:18 +01:00
Girish Ramakrishnan
4e0eed4bb2
make tests pass
2017-02-24 21:48:38 -08:00
Girish Ramakrishnan
330c9054b4
add/del/update user mailbox as part of transaction
2017-02-14 10:42:32 -08:00
Girish Ramakrishnan
b91674799b
Create/destroy event listeners
...
mocha loads all the tests in same process. This means that when
we start a new test, the old state still persists. For event
listeners, this means that they get multiple duplicate event handlers.
2017-02-07 10:30:52 -08:00
Girish Ramakrishnan
243ade15e1
tests: restore aws.route53 mock
2017-02-07 01:32:34 -08:00
Girish Ramakrishnan
02bcff2223
set isCustomDomain to true by default
...
CaaS is an exception and not the norm
2017-02-06 23:58:06 -08:00
Girish Ramakrishnan
8f388c86a6
do not unlink config file in test mode
...
this was incredibly hard to debug
2017-02-06 22:39:22 -08:00
Girish Ramakrishnan
8dc929f0ff
Fix update checker test
2017-02-06 16:33:55 -08:00
Girish Ramakrishnan
7fee3d0da0
Do not rely on dnsRecordId
2017-02-02 10:40:10 -08:00
Girish Ramakrishnan
7efb6d60bc
Allow usernames and groupnames of length 1
...
Fixes #204
2017-02-02 01:02:51 -08:00
Girish Ramakrishnan
2d3bdda1c8
Make tests pass
2017-01-29 13:01:09 -08:00
Johannes Zellner
32a88a342c
Add update notification mail tests
2017-01-27 09:51:26 -08:00
Johannes Zellner
b5bcde5093
Fix update email tests
2017-01-27 09:51:26 -08:00
Johannes Zellner
f6a9e1f4d8
Revert "Fix tests: we do not send mails anymore"
...
This reverts commit 7c72cd4399 .
2017-01-27 09:51:26 -08:00
Girish Ramakrishnan
f142d34f83
Move box data out of appdata volume
...
This lets us restore the box if the app volume becomes full
Fixes #186
2017-01-24 13:48:09 -08:00
Girish Ramakrishnan
1e6abed4aa
tests: create mail directory
2017-01-23 15:09:08 -08:00
Girish Ramakrishnan
d84666fb43
Move mail data out of box
...
This will help us with putting a size on box data
Mail container version is bumped because we want to recreate it
Part of #186
2017-01-20 20:22:08 -08:00
Girish Ramakrishnan
db6474ef2a
Merge readonlyRootfs and development mode into debug mode
...
The core issue we want to solve is to debug a running app.
Let's make it explicit that it is in debugging mode because
functions like update/backup/restore don't work.
Part of #171
2017-01-20 09:29:32 -08:00
Girish Ramakrishnan
a71323f8b3
Add developmentMode flag to appdb
...
Part of #171
2017-01-19 15:57:24 -08:00
Girish Ramakrishnan
9a41f111b0
Fix failing tests
2017-01-19 12:51:16 -08:00
Girish Ramakrishnan
536c16929b
Remove showTutorial
2017-01-17 09:11:34 -08:00
Johannes Zellner
08f3b0b612
Add rate limit test
2017-01-16 16:48:17 +01:00
Girish Ramakrishnan
7c72cd4399
Fix tests: we do not send mails anymore
2017-01-14 13:01:21 -08:00