Girish Ramakrishnan
55ba9a351f
mail container bugfix (typo in delay deny patch)
2016-08-13 14:19:52 -07:00
Girish Ramakrishnan
b58b350827
Throw exception if dkim keys could not be generated
2016-08-13 00:23:55 -07:00
Girish Ramakrishnan
c25cc560d8
bump memory for mail container
2016-08-12 19:57:49 -07:00
Girish Ramakrishnan
d342652212
bump mail container version (spam support)
2016-08-12 17:17:48 -07:00
Johannes Zellner
c30cfefcc5
Reduce LDAP account password length
...
(This is currently ignored)
256 might be a common db field restriction. At least in openproject
it is based on their table layout.
2016-08-12 21:14:32 +02:00
Johannes Zellner
f3e842ed45
Retry to acquire a db connection when starting a transaction
...
This fixes db issues just like we do for regular queries.
Also we now use the .on('connection') to setup the session and db
this is how the docs recommend it
2016-08-05 15:18:32 +02:00
Johannes Zellner
1ec5d8c03b
Fix error usage
2016-08-05 14:01:19 +02:00
Johannes Zellner
26a590b827
Name the DatabaseError so we get better logs
2016-08-05 12:30:28 +02:00
Johannes Zellner
ed734ef2ae
fix tests, purchase api is gone
2016-08-04 16:22:50 +02:00
Johannes Zellner
41ff92f747
Only unpurchase if the app has an appstoreId
2016-08-04 15:53:55 +02:00
Johannes Zellner
15f94a5134
Use the correct result object
2016-08-04 09:46:03 +02:00
Johannes Zellner
9c65fae4ec
Also unpurchase on app uninstall
2016-08-04 09:38:00 +02:00
Johannes Zellner
65b4c83b75
Use the correct token when calling the appstore for purchase
2016-08-03 23:07:31 +02:00
Johannes Zellner
a91f89c7dd
Rework the purchase api to use the new rest api on the appstore server
2016-08-03 18:30:41 +02:00
Johannes Zellner
dde597742c
Do not expose purchase function
2016-08-03 17:57:53 +02:00
Girish Ramakrishnan
9fd40e506d
Add TODO note for relaunching mail container when cert path changes
2016-08-02 18:37:43 -07:00
Girish Ramakrishnan
2e51251cac
fix debug message
2016-08-02 18:09:45 -07:00
Girish Ramakrishnan
b0286a6f7f
updatechecker: ensure box state information is not lost
...
the box and app update checker run in parallel. be sure not to lose
the box state information.
2016-08-02 17:39:43 -07:00
Girish Ramakrishnan
fc589a044d
send mail to selfhosted cloudron admins about app died and oom
2016-08-02 14:42:42 -07:00
Girish Ramakrishnan
451c770b5c
ACME agreement url has changed
2016-08-02 10:40:17 -07:00
Johannes Zellner
4b93d87310
Set the fallback provider for old caas Cloudrons
2016-08-02 16:41:28 +02:00
Girish Ramakrishnan
884fd5a224
debug when app got an update
2016-08-01 15:35:58 -07:00
Johannes Zellner
1f1237e785
Setting the appstore config also deals with appstore registration
...
- First time it registers the cloudron
- Resetting the account will verify that the Cloudron belongs to this user
- If cloudronId is invalid/unknown we reregister
2016-08-01 15:10:47 +02:00
Johannes Zellner
f60ff45cb6
Tokens are now valid for a week
2016-08-01 10:14:47 +02:00
Johannes Zellner
4fb3a42319
Return 202 when setting the cloudron name
2016-07-28 12:40:36 +02:00
Girish Ramakrishnan
3595f624de
Fix progress text
2016-07-27 20:38:49 -07:00
Girish Ramakrishnan
0e9007e9ef
fix debug
2016-07-27 20:11:45 -07:00
Girish Ramakrishnan
971647c986
use the new appstore update route to detect app updates
2016-07-27 19:15:10 -07:00
Girish Ramakrishnan
138829f69b
remove appupdate pre-release logic
...
this all seems very premature since prereleases are not supported in
appstore side
2016-07-27 17:46:58 -07:00
Girish Ramakrishnan
e0d4c1adc1
use support instead of admin
2016-07-27 11:48:03 -07:00
Girish Ramakrishnan
03c97d2027
send appVersions when checking for updates
2016-07-27 10:14:10 -07:00
Johannes Zellner
a8d04028f3
Fix typo
2016-07-27 11:20:15 +02:00
Johannes Zellner
8165227b0a
Keep same style in settings rest api
2016-07-27 11:20:15 +02:00
Johannes Zellner
41e1afaf68
Add settings/appstore routes
2016-07-27 11:20:15 +02:00
Johannes Zellner
7361acbec5
Add appstore config in settingsdb
2016-07-27 11:20:15 +02:00
Girish Ramakrishnan
01af6ef23a
fix wording in out_of_disk_space mail template
2016-07-26 17:22:58 -07:00
Girish Ramakrishnan
947edfec72
typo: Check "available" and not "used"
2016-07-26 17:10:22 -07:00
Girish Ramakrishnan
159fecc9ce
send certificate renewal errors to owner for non-caas
2016-07-26 16:47:58 -07:00
Girish Ramakrishnan
0bf8b94bb4
send outOfDiskSpace mails to owners for non-caas provider
2016-07-26 16:43:14 -07:00
Girish Ramakrishnan
d4d07e27c0
send email for certificate renewal error
2016-07-26 16:37:10 -07:00
Girish Ramakrishnan
e9e09e66c3
remove unused variables
2016-07-26 16:37:10 -07:00
Girish Ramakrishnan
a3c270c4a1
do not reconfigure apps when infra version has not changed
2016-07-25 18:57:54 -07:00
Girish Ramakrishnan
33c70dad8b
fix merging blooper
2016-07-25 16:18:09 -07:00
Girish Ramakrishnan
28ec9d82da
assume success if dns server to be down
2016-07-25 15:31:26 -07:00
Girish Ramakrishnan
03022f0207
Do not send more than 1 oom mail every hour
2016-07-25 14:19:20 -07:00
Girish Ramakrishnan
98facf2a3c
delete eventlog older than 7 days
2016-07-25 12:54:27 -07:00
Girish Ramakrishnan
338f4bcdea
docker event stream can be null if it errored
2016-07-25 11:39:32 -07:00
Girish Ramakrishnan
e46b1a9245
test for app instead of error
2016-07-25 11:37:30 -07:00
Girish Ramakrishnan
129843c0ba
debug name of addons that changed
2016-07-25 10:18:35 -07:00
Girish Ramakrishnan
b079d688c1
bump mail container to 0.18.0
2016-07-25 10:13:05 -07:00