Girish Ramakrishnan
5a1bcd53a3
This sounds ominous
2019-03-12 08:49:25 -07:00
Girish Ramakrishnan
4c8865ed5b
Make it 3.5.5 instead
2019-03-11 21:23:24 -07:00
Girish Ramakrishnan
cb6bd50db0
Update changelog
2019-03-11 21:21:09 -07:00
Girish Ramakrishnan
614dbb3674
Fix crash during restore
2019-03-11 20:41:03 -07:00
Girish Ramakrishnan
8ed8bb2dad
typo
2019-03-11 18:42:54 -07:00
Girish Ramakrishnan
a1f6985534
update all packages
...
ncu -u
2019-03-11 10:57:43 -07:00
Girish Ramakrishnan
6bdf2e38cc
remove query admins from mailer code
2019-03-10 16:28:17 -07:00
Girish Ramakrishnan
19ae55ebd4
Fixup backup failure and cert renewal email notification
...
in caas, we get an email copy for every admin on cloudron..
2019-03-10 15:53:22 -07:00
Girish Ramakrishnan
61cef46a95
cloudron-support: prefix newline
2019-03-10 14:00:08 -07:00
Girish Ramakrishnan
172738f7b7
Bump mail container
2019-03-10 11:08:09 -07:00
Girish Ramakrishnan
5d0d60d89e
Bump cron module to 1.7.0
...
https://github.com/kelektiv/node-cron/issues/409
https://github.com/kelektiv/node-cron/issues/408
https://github.com/kelektiv/node-cron/issues/405
2019-03-10 10:48:32 -07:00
Girish Ramakrishnan
3cfdc64735
Update to support ecma 8
2019-03-09 22:00:09 -08:00
Girish Ramakrishnan
b47069ccad
typo
2019-03-09 21:33:56 -08:00
Girish Ramakrishnan
2051b3921b
Use constants.ADMIN_LOCATION instead
...
part of #621
2019-03-09 20:06:12 -08:00
Girish Ramakrishnan
46f46483f8
Mark as internal functions
2019-03-08 19:09:34 -08:00
Girish Ramakrishnan
66b02b58b6
make notifications.alert take a title
...
the title is better when it's a bit more dynamic
v3.5.4
2019-03-08 16:59:48 -08:00
Girish Ramakrishnan
4428c3d7d8
Move docker config file generation to installer logic
...
the new version of docker does not support devicemapper on ubuntu 16.
so, we have to first enable overlay2 and then install the latest docker
2019-03-08 16:41:39 -08:00
Girish Ramakrishnan
2d4b9786fa
box update is now an alert notification
2019-03-07 14:40:46 -08:00
Girish Ramakrishnan
d2d9c4be6f
update notification
2019-03-07 14:27:43 -08:00
Girish Ramakrishnan
a9d6ac29f1
make funcs take proper callbacks
2019-03-07 14:27:23 -08:00
Girish Ramakrishnan
4d50bd5c78
3.5.4 changes
2019-03-07 13:40:20 -08:00
Girish Ramakrishnan
fdd651b9cc
Only append markdownMessage is not-empty
2019-03-07 11:50:49 -08:00
Girish Ramakrishnan
7b56f102cc
relay check is always performed
v3.5.3
2019-03-06 19:48:18 -08:00
Girish Ramakrishnan
e329360daa
backup notification now has a doc link and log link
2019-03-06 16:23:25 -08:00
Girish Ramakrishnan
5e8a431a92
Add doc link for cert renweal error
2019-03-06 16:17:56 -08:00
Girish Ramakrishnan
cd3f21a92e
Add doc links for the app down mail
2019-03-06 16:14:24 -08:00
Girish Ramakrishnan
03d3ae3eb4
Qualify the name in the email subject
2019-03-06 16:08:12 -08:00
Girish Ramakrishnan
0c350dcf6e
add a note
2019-03-06 16:05:50 -08:00
Girish Ramakrishnan
c6b3d15d72
Fix some typos
2019-03-06 16:02:51 -08:00
Girish Ramakrishnan
8d7f7cb438
rename the constant
2019-03-06 15:55:07 -08:00
Girish Ramakrishnan
b5a4121574
Better OOM notification messages
2019-03-06 14:47:24 -08:00
Girish Ramakrishnan
916ca87db4
Expose apps.getByContainerId
2019-03-06 11:15:12 -08:00
Girish Ramakrishnan
bfea97f14e
refactor apps.postProcess
2019-03-06 11:12:39 -08:00
Girish Ramakrishnan
f98657aca8
Remove double query of domains
2019-03-06 11:08:14 -08:00
Girish Ramakrishnan
45c5e770fa
injectPrivateFields already merges fields
2019-03-05 19:38:56 -08:00
Girish Ramakrishnan
f4ce7ecf4b
do not add acked alerts
2019-03-04 21:04:31 -08:00
Girish Ramakrishnan
8dfe1fe97f
notifications: add ack flag in db logic
2019-03-04 20:44:41 -08:00
Girish Ramakrishnan
4bf165efaf
Fix misplaced callback
2019-03-04 20:22:25 -08:00
Girish Ramakrishnan
c7f6ae5be9
remove unused require
2019-03-04 19:49:25 -08:00
Girish Ramakrishnan
d83d2d5f4e
Do not restart mail container when setting fallback certs
2019-03-04 19:35:22 -08:00
Girish Ramakrishnan
2362b2a5a0
Make the version 3.5.3
2019-03-04 18:18:23 -08:00
Girish Ramakrishnan
fb08a17ec8
Add some debugs
2019-03-04 18:11:07 -08:00
Girish Ramakrishnan
1bcc2d544a
link to logs instead of spatch'ed error
2019-03-04 18:03:51 -08:00
Girish Ramakrishnan
6fd1205681
settings value is a variant
2019-03-04 15:45:04 -08:00
Girish Ramakrishnan
da2b00c9cf
Move cert change notification into ensureCertificate()
...
When ensureCertificate renews the cert, the filename will match the
nginx config cert file. The current code detects that this implies
that the cert has not changed and thus does not update mail container.
Move the notification into ensureCertificate() itself. If we have a wildcard
cert and it gets renewed when installing a new app, then mail container will
still get it.
2019-03-04 15:24:09 -08:00
Girish Ramakrishnan
f6213595d1
move mailer notification of failed backups
...
this also removes the splatchError which is causing a crash because
of infinite recursion when backups fail (not sure why)
2019-03-04 15:01:30 -08:00
Girish Ramakrishnan
b1b2bd5b97
move cert renewal notification to notification logic
2019-03-04 14:53:19 -08:00
Girish Ramakrishnan
aa19cbbfc7
Properly escape filename when downloading files
2019-03-04 13:50:17 -08:00
Girish Ramakrishnan
8d39faddc9
cleanup temporary file after upload
...
also, wait for finish event for the http response. this should be
quick because the file has already been upload and we just have to
copy it to the container
2019-03-04 12:28:27 -08:00
Girish Ramakrishnan
52714dbcc9
Update changelog
2019-03-04 12:17:38 -08:00