Girish Ramakrishnan
ecad9c499c
Port binding conflict can never happen in update route
2017-10-12 21:04:38 -07:00
Girish Ramakrishnan
2a57c4269a
handle app not found
2017-08-23 13:23:04 -07:00
Girish Ramakrishnan
795e38fe82
file is an object
2017-08-22 09:15:46 -07:00
Girish Ramakrishnan
7cb451c157
Allow dirs to downloaded as tarballs
2017-08-20 18:54:59 -07:00
Johannes Zellner
3d59b8a5b0
Deliver content-length and file not found errors for file downloads
2017-08-19 12:13:04 +02:00
Girish Ramakrishnan
52832c881a
Add upload and download for the webterminal
2017-08-18 21:19:48 -07:00
Girish Ramakrishnan
537fbff4aa
Use ws directly to handle new exec ws route
2017-08-18 19:46:18 -07:00
Johannes Zellner
c85f5b15c6
Reenable custom tcp upgrade handling
2017-08-18 11:26:05 -07:00
Johannes Zellner
8fbed7e84b
Ensure we only write to the websocket if it is open
2017-08-18 11:26:00 -07:00
Johannes Zellner
4b41378d08
Ensure app restarts also close the websocket
2017-08-18 11:25:05 -07:00
Johannes Zellner
50074b936a
Integrate the terminal with the logs ui
2017-08-18 11:24:48 -07:00
Girish Ramakrishnan
78ec8e5c0c
Add field to skip backup for an app
...
This skips the app from a backup when doing a full box backup and
simply reuses the previous backup.
The app can still be explicitly backed up using 'cloudron backup'
and explicitly restored using 'cloudron restore --backup'.
When restoring the box, it all depends on the app's last backup.
Fixes #311
2017-08-16 16:36:50 -07:00
Girish Ramakrishnan
aa5cc68301
Fix typo in error message
2017-07-15 19:58:52 -05:00
Girish Ramakrishnan
acd00222e5
Allow per-app configuration of robots.txt
...
https://developers.google.com/search/reference/robots_txt has
the specification
Part of #344
2017-07-14 15:25:05 -05:00
Johannes Zellner
f3fec9a33c
Handle 402 response on app installation
2017-06-19 12:17:55 +02:00
Girish Ramakrishnan
8ded006dea
Fix apps.getLogs usage
2017-04-19 21:43:29 -07:00
Girish Ramakrishnan
68a1efe3d3
Download short format logs from web ui
...
Fixes #304
2017-04-18 21:04:45 -07:00
Girish Ramakrishnan
a01dea3932
Allow installing from a backup
2017-04-11 13:06:39 -07:00
Johannes Zellner
979b903bf2
Add cnameTarget for apps using an external domain
...
We have 4 properties related to the domain:
1) location, is the subdomain location without information how to craft
a fqdn on the client
2) fqdn, the intended domain to reach the app
3) altDomain, just the value for the external domain, merely a db record
value
4) cnameTarget, mostly for display purpose on the client, which
otherwise has no way to build the original cloudron local fqdn
2017-03-09 15:11:27 +01:00
Girish Ramakrishnan
9692aa3c08
Better error handling of unpurchase errors
2017-02-08 18:55:41 -08:00
Girish Ramakrishnan
472020f90c
APPICONS_DIR -> APP_ICONS_DIR
2017-01-24 10:13:25 -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
12ee7b9521
send readonly and dev mode fields
2017-01-19 19:01:29 -08:00
Girish Ramakrishnan
a71323f8b3
Add developmentMode flag to appdb
...
Part of #171
2017-01-19 15:57:24 -08:00
Girish Ramakrishnan
7ef6bd0d3f
Add readonlyRootfs flag to apps table
...
When turned off, it will put the app in a writable rootfs. This
allows us to debug live/production apps (like change start.sh) and
just get them up and running. Once turned off, this app cannot be
updated anymore (unless the force flag is set). This way we can
then update it using the CLI if we are convinced that the upcoming
update fixes the problem.
Part of #171
2017-01-19 11:55:25 -08: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
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
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
b66ba0a2c7
take oauthProxy parameter in install and configure routes
...
part of #6
2016-09-06 23:43:27 -07:00
Girish Ramakrishnan
408dd61408
Send and receive oauthProxy in REST routes
...
Part of #6
2016-09-06 23:32:42 -07:00
Girish Ramakrishnan
0e9007e9ef
fix debug
2016-07-27 20:11:45 -07:00
Johannes Zellner
0d5d54d2d8
Add xFrameOptions to apps and routes
2016-07-14 16:28:59 +02:00
Girish Ramakrishnan
7009b9f3ac
implement clone
2016-06-17 17:45:14 -05:00
Girish Ramakrishnan
53cd45496b
parse the response
2016-06-13 18:28:51 -07:00
Girish Ramakrishnan
1763c36a0b
restore from the backup's config.json
...
To summarize what we are doing is that restore is simply getting old data and
old code. Config is not changed. If config is required, then it has to come
in the restore REST parameter. Otherwise, there is too much magic.
https://blog.smartserver.io/2016/06/13/app-restore/
2016-06-13 16:54:59 -07:00
Girish Ramakrishnan
a2ec308155
pass the lastBackupId explicity as the backup to restore to
2016-06-13 10:13:54 -07:00
Girish Ramakrishnan
b82610ba00
pass data argument to restore
2016-06-13 10:08:58 -07:00
Girish Ramakrishnan
1766da9174
update code path now takes appStoreId
2016-06-04 20:05:29 -07:00
Girish Ramakrishnan
dbdcf1ec27
pass data object to update
2016-06-04 19:12:36 -07:00
Girish Ramakrishnan
c916ea2589
fix style
2016-06-04 18:56:53 -07:00
Girish Ramakrishnan
5540b5f545
remove unused require
2016-06-04 18:55:31 -07:00
Girish Ramakrishnan
1e38190e68
setting falsy values for cert/key removes it
2016-06-04 18:30:05 -07:00
Girish Ramakrishnan
8f3553090f
make args optional in configure
2016-06-04 18:07:06 -07:00
Girish Ramakrishnan
cc0f5a1f03
fix configure arg insanity
2016-06-04 16:32:27 -07:00
Girish Ramakrishnan
a1c531d2a8
better type checking in configure and make accessRestriction optional
2016-06-04 16:27:50 -07:00
Girish Ramakrishnan
a49cf98a8d
do not allow appId to be set
...
this is some legacy code
2016-06-04 13:40:43 -07:00
Girish Ramakrishnan
3b7cfdd7db
better type checking
2016-06-04 13:31:18 -07:00
Girish Ramakrishnan
ee073c91a3
return BAD_FIELD if app was not found
2016-06-04 13:15:38 -07:00
Girish Ramakrishnan
9e8742ca87
download manifest from appstore when appStoreId is provided
2016-06-04 01:07:43 -07:00