Girish Ramakrishnan
7efb6d60bc
Allow usernames and groupnames of length 1
...
Fixes #204
2017-02-02 01:02:51 -08:00
Girish Ramakrishnan
87755c6097
ignore errors and continue
2017-02-01 23:38:06 -08:00
Girish Ramakrishnan
73f56efe2c
Fix typo
2017-02-01 23:25:13 -08:00
Girish Ramakrishnan
20eaa60a97
clear timeout
2017-02-01 23:20:11 -08:00
Girish Ramakrishnan
b80f0082e9
subdomain -> domain
2017-02-01 23:06:41 -08:00
Girish Ramakrishnan
1ff800a842
Display mx, dmarc, ptr status
...
Fixes #169
2017-02-01 22:59:06 -08:00
Girish Ramakrishnan
5b0abb1b17
re-setup DNS when the dns config changes
2017-02-01 14:34:57 -08:00
Girish Ramakrishnan
19a098d34b
remove obsolete nginx config file
2017-01-31 18:05:26 -08:00
Johannes Zellner
db452d9bc0
Also send the autoupdatePattern with the stats route
2017-01-31 17:37:55 -08:00
Johannes Zellner
90efb96635
parse mailConfig blob
2017-01-31 16:36:09 -08:00
Girish Ramakrishnan
34a3dd6d46
Always generate default nginx config
...
If we don't, https://ip won't work (caas relies on this for
health checks)
2017-01-30 16:17:07 -08:00
Girish Ramakrishnan
fe5e31e528
Save update json in /root
...
/tmp is not very secure. But the real reason is so that we can
re-run the setup script again should things fail.
/home/yellowtent/box/scripts/installer.sh --data-file /root/cloudron-update-data.json
2017-01-30 15:21:04 -08:00
Johannes Zellner
8f4813f691
Fix text for emails
2017-01-29 14:23:27 -08:00
Johannes Zellner
5b05baeced
Make oauth view navbar entries links
2017-01-29 13:33:34 -08:00
Johannes Zellner
40c7bd114a
Add footer to oauth views
2017-01-29 13:33:34 -08:00
Girish Ramakrishnan
2d3bdda1c8
Make tests pass
2017-01-29 13:01:09 -08:00
Girish Ramakrishnan
fd40940ef5
Reserve ports <= 1023
...
Just being conservative here
Fixes #202
2017-01-29 12:43:24 -08:00
Girish Ramakrishnan
6d58f65a1a
Reserve ssh ports
2017-01-29 12:38:58 -08:00
Johannes Zellner
e14b59af5d
Append random query to ensure the avatar is refetched
2017-01-28 19:10:55 -08:00
Girish Ramakrishnan
d136895598
Generate cert with cloudron.self CN instead of ip
2017-01-28 09:10:53 -08:00
Girish Ramakrishnan
dac3eef57c
Skip generating self-signed cert if we have a domain
2017-01-28 09:10:53 -08:00
Girish Ramakrishnan
2fac7dd736
delete old nginx configs on infra update
...
we changed the cert location and reloading nginx fails...
2017-01-28 09:10:49 -08:00
Girish Ramakrishnan
74e2415308
Make this an infra update
...
This has to be an infra update since the nginx configuration has
to be rewritten for the new data layout
2017-01-28 01:01:24 -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
68c36e8a18
Only send update notification mails if autoupdate is disabled
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
Johannes Zellner
2abd42096e
Add showdown node module for update mails
2017-01-27 09:51:26 -08:00
Johannes Zellner
922e214c52
Revert "Remove now unused mailer.boxUpdateAvailable()"
...
This reverts commit 558093eab1 .
2017-01-27 09:51:26 -08:00
Johannes Zellner
6ce8899231
Revert "Do not send box update emails to admins"
...
This reverts commit 865b041474 .
2017-01-27 09:51:26 -08:00
Girish Ramakrishnan
cbfad632c2
Handle 401 in app purchase
2017-01-27 07:47:56 -08:00
Johannes Zellner
a33ccb32d2
Use autoupdate pattern constant in tests
2017-01-26 15:38:29 -08:00
Johannes Zellner
0b03018a7b
Add constant for special 'never' autoupdate pattern
2017-01-26 15:36:24 -08:00
Johannes Zellner
67a5151070
Also pick the token when migrating a caas cloudron to a different domain
2017-01-26 15:22:02 -08:00
Girish Ramakrishnan
9cdbc6ba36
capitalize
2017-01-26 13:08:56 -08:00
Girish Ramakrishnan
895f5f7398
Expand backup error in the mail
2017-01-26 13:03:36 -08:00
Girish Ramakrishnan
f41b08d573
Add timestamp to emails
2017-01-26 12:47:23 -08:00
Girish Ramakrishnan
3e21b6cad3
Add ensureBackup log
2017-01-26 12:47:23 -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
472020f90c
APPICONS_DIR -> APP_ICONS_DIR
2017-01-24 10:13:25 -08:00
Girish Ramakrishnan
2256a0dd3a
group paths together
2017-01-24 10:12:05 -08:00
Girish Ramakrishnan
458b5d1e32
bump mail container
2017-01-23 16:26:44 -08:00
Girish Ramakrishnan
1e6abed4aa
tests: create mail directory
2017-01-23 15:09:08 -08:00
Girish Ramakrishnan
cdd4b426d5
use elif
2017-01-23 14:03:36 -08:00
Johannes Zellner
3c9d7706de
Let the api call fail instead of explictily checking the token
2017-01-23 21:40:06 +01:00
Johannes Zellner
8b5b954cbb
Only ever send heartbeats for caas cloudrons
2017-01-23 21:38:22 +01:00
Girish Ramakrishnan
eb0ae3400a
send mailConfig stat
2017-01-23 10:01:54 -08:00
Girish Ramakrishnan
ea257b95d9
Fix dirnames when backing up
2017-01-21 23:40:41 -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
e35dbd522f
More debugMode fixes
2017-01-20 09:56:44 -08:00