Johannes
756b36d227
Ask the api server for public ip instead of local interface
...
Part of #106 and #86
Might fix #115 pending testing
2016-11-29 16:20:56 +01:00
Johannes
0ff5050452
Check if any DNS answer matches
...
Fixes #111
2016-11-29 14:47:32 +01:00
Johannes
cb64ac1b7f
Add unit tests for eventlog search
2016-11-28 16:02:59 +01:00
Johannes
337f808a62
Search in source and data of eventlog
2016-11-28 16:02:18 +01:00
Johannes
a5eb34d680
Carry over sso on app clone
2016-11-28 12:45:32 +01:00
Johannes
83b5bb394c
Specify sso for apps not using of optionalSso
2016-11-23 12:09:08 +01:00
Johannes
a87831b48c
Include sso field in the app object delivered over the rest api
2016-11-22 11:12:46 +01:00
Girish Ramakrishnan
1b291365d5
Fix appdb.add to set sso
2016-11-19 21:59:06 +05:30
Girish Ramakrishnan
9337f832d3
optionalAuth -> optionalSso
2016-11-19 21:37:39 +05:30
Girish Ramakrishnan
1adc47ab32
make ordering of results predictable
2016-11-19 18:24:32 +05:30
Girish Ramakrishnan
94037e5266
remove oauth proxy backend logic
2016-11-19 17:13:08 +05:30
Girish Ramakrishnan
f5ebb782c0
remove support for singleUser
2016-11-19 17:12:31 +05:30
Girish Ramakrishnan
2ecf0c32cb
Skip auth setup if user did not want sso
2016-11-19 17:12:00 +05:30
Girish Ramakrishnan
9c0f2175f7
add sso route parameter to app install
...
presumably, we don't allow this to be changed post installation
2016-11-19 17:11:46 +05:30
Girish Ramakrishnan
6064db9467
read sso field in db code
2016-11-19 17:10:54 +05:30
Johannes Zellner
552ca43175
Only cleanup high frequency events in eventlog
...
Those are currently the login events and backup
2016-11-18 11:32:12 +01:00
Johannes Zellner
4579de85bf
Only log exposed ports if there are any
2016-11-16 22:18:12 +01:00
Johannes Zellner
40fa3818cc
Send alive beacon every hour
2016-11-16 15:01:23 +01:00
Johannes Zellner
4a264ba8c5
Also send provider alongside
2016-11-16 14:45:27 +01:00
Johannes Zellner
8a47c36e20
CloudronError does not have BILLING_REQUIRED and also doesn't need it
2016-11-15 16:59:45 +01:00
Johannes Zellner
2dc06a01b6
Add cronjob to send alive signal
2016-11-15 15:25:21 +01:00
Johannes Zellner
f6695c9567
Add sendAliveStatus()
2016-11-15 15:24:40 +01:00
Johannes Zellner
fc3768101d
Token exchange route does not need appstoreId
2016-11-15 15:24:28 +01:00
Johannes Zellner
5645954686
This route does not exist anymore
2016-11-14 17:16:42 +01:00
Johannes Zellner
f16d1c80f4
Do not log if no update is available
2016-11-14 17:00:30 +01:00
Johannes Zellner
a25b884dbb
Fix typo, use .body
2016-11-14 16:29:47 +01:00
Johannes Zellner
567401c337
Fetch appstore credentials on app un-/purchase for caas
2016-11-14 15:40:53 +01:00
Johannes
e033dce93e
Run update short circuit prior earlier
...
This allows short circuit of non caas upgrades as well
Fixes #97
2016-11-09 12:25:39 +01:00
Girish Ramakrishnan
e270c27cb0
Remove hardcoded cert
2016-11-08 18:04:07 +05:30
Girish Ramakrishnan
63561a51a4
Fix failing cert test
...
The hardcoded cert has expired
2016-11-08 17:33:45 +05:30
Johannes
0088d9d5fc
Renew expired certs in the cert tests
2016-11-08 09:28:48 +01:00
Johannes
4fd5b369f8
Reset app update indicator when an update was triggered
...
Fixes #48
2016-11-07 15:14:08 +01:00
Johannes
5e0ed1dff3
Don't just center the whole update email
...
Finally fixes #88
2016-11-07 13:35:02 +01:00
Johannes
215a16cd18
Render update changelog mail with markdown
2016-11-07 13:34:48 +01:00
Johannes
bd0b66aaad
Improve update email
2016-11-07 13:34:47 +01:00
Johannes
45b83232d7
Enable html mails for box updates
2016-11-07 12:32:57 +01:00
Johannes
95a90dd050
Check on the installer service to be able to cancel update from box side
2016-11-06 14:30:26 +01:00
Johannes
908aa6f426
Reset the systemd-run service in case it failed earlier
...
systemd will refuse to run a transient unit if one run
with the same unit name failed earlier
2016-11-06 14:30:26 +01:00
Johannes
15f7ada958
We now use systemd-run no need for sudoDetached
2016-11-06 14:30:26 +01:00
Johannes
18b58ced8d
Run the updater through systemd-run
...
This ensures it can start and stop the box process.
Due to control-group setting to killall children
the updater itself would get killed if the box service
restarts
2016-11-06 14:30:26 +01:00
Johannes
b40a9803a8
Adjust script paths for isntaller.sh movement
2016-11-06 14:30:26 +01:00
Johannes
c70c7462bf
hooks for installer are just local sysadmin webhooks
2016-11-06 14:29:41 +01:00
Johannes
16deb001bf
No more cloudron-installer to stop
2016-11-06 14:29:41 +01:00
Johannes
38ddf12542
Instead of calling the installer, just run update.sh
...
update.sh will run detached and triggers the installer.sh
2016-11-06 14:29:41 +01:00
Johannes
525c7f2685
add shell.sudoDetached()
2016-11-06 14:29:41 +01:00
Johannes
4d360e3798
Allow update.sh to be run as root
2016-11-06 14:29:41 +01:00
Johannes
8adf9f3643
Add initial update.sh script to trigger installer.sh from box
2016-11-06 14:29:41 +01:00
Johannes
cc6b260189
Bump mail container version
2016-11-04 10:07:14 +01:00
Johannes
5ba86d5c35
Use aws s3 cli to test credentials
...
This allows us to test the exact same usage of the api
through the cli tool, not the javascript api
2016-10-28 16:36:05 +02:00
Girish Ramakrishnan
d36af33269
default dns config has changed
2016-10-25 11:37:24 -07:00