Girish Ramakrishnan
b8861b9d78
Use debug instead
2018-11-11 21:57:45 -08:00
Girish Ramakrishnan
5bfb253869
Custom env vars for apps
...
Add a table and the install/configure routes. Initially, I thought
we can just keep the env vars in docker container but that doesn't
work since we create the container only later in apptask. And if the
container gets deleted we lose this information.
2018-10-11 16:17:18 -07:00
Girish Ramakrishnan
88330ab415
Return 424 for external errors
2018-09-07 11:27:19 -07:00
Girish Ramakrishnan
0e3f9c9569
Move verifyAppOwnership to app route
2018-09-06 00:09:42 -07:00
Girish Ramakrishnan
0439bd8869
move addSpacesSuffix to model logic
2018-09-04 16:37:08 -07:00
Girish Ramakrishnan
10b4043358
Add alternateDomains to app install route
2018-09-04 16:27:35 -07:00
Girish Ramakrishnan
ac3b0f0082
Add spaces suffix for alternate domains
2018-09-04 14:12:50 -07:00
Girish Ramakrishnan
fc3bc48f47
Fix crash when location is not provided
2018-08-30 22:08:48 -07:00
Girish Ramakrishnan
976cf1740e
Put edition in status route
2018-08-28 21:43:25 -07:00
Girish Ramakrishnan
22cdd3f55e
spaces: add username suffix to location
2018-08-28 20:27:17 -07:00
Girish Ramakrishnan
af58e56732
Fix issue where normal users are shown all apps
2018-08-16 20:04:03 -07:00
Johannes Zellner
b1b848de21
Support configuring alternateDomains for apps
2018-06-29 23:14:06 +02:00
Girish Ramakrishnan
9978dff627
Add API to set and transfer ownership
2018-06-28 16:48:04 -07:00
Girish Ramakrishnan
dfa318e898
Add ownerId for apps
...
This tracks who installed the app.
2018-06-28 14:13:12 -07:00
Girish Ramakrishnan
6907475f7a
Add app management scope
...
This splits the apps API into those who have just 'read' access
and those who have 'manage' access.
2018-06-26 08:56:30 -07:00
Girish Ramakrishnan
9bf93b026b
rename to removeInternalFields
2018-06-25 16:40:16 -07:00
Girish Ramakrishnan
bac3ba101e
Add mailboxName to app configure route
...
Fixes #558
2018-05-24 16:26:34 -07:00
Girish Ramakrishnan
b1b664ceca
Move removeInternalAppFields to model code
2018-04-29 10:47:34 -07:00
Girish Ramakrishnan
a7bb5d6b5c
add route to query apps specific to user
...
it's not nice to overload a route to mean different things depending
on who queries it.
2018-04-26 20:07:12 -07:00
Girish Ramakrishnan
161b2ac6f5
clone: Fix crash where port conflict is not handled
2018-03-02 19:37:15 -08:00
Johannes Zellner
b1939e73f4
Remove all occurances of altDomain in the code
...
Tests are pending
2018-02-08 09:00:31 +01:00
Girish Ramakrishnan
efc6a5acd0
Return NOT_FOUND if app is missing in appstore
2018-01-24 10:56:26 -08:00
Girish Ramakrishnan
9c5965311f
Handle billing required error in clone
2017-11-22 09:05:06 -08:00
Johannes Zellner
143ba831f4
Make appFqdn() multidomain aware
2017-11-20 19:59:40 +01:00
Johannes Zellner
5ca31f2484
Send domain as part of the apps routes
2017-11-20 19:59:40 +01:00
Girish Ramakrishnan
917122c812
display last updated in app info
2017-11-19 13:20:20 -08:00
Girish Ramakrishnan
360fa058ea
store format information for restoring
...
fixes #483
2017-11-16 15:01:27 -08:00
Johannes Zellner
2971910ccf
Do not accept port bindings on update route
2017-10-23 22:06:28 +02:00
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