Commit Graph

88 Commits

Author SHA1 Message Date
Girish Ramakrishnan af4296e40c Fix periodic fetching of apps/config/profile
All these are already fetched the first time in main.js

* Fetch apps periodically only in the apps view. This is mostly for the
  installationState. We can optimize this a bit more later depending on
  if any app is in non-running state.

* profile hardly changes, no need to fetch this over and over

* config hardly changes, but is fetched primarily for the update flag
2018-01-08 16:17:02 -08:00
Girish Ramakrishnan 50d396725e Update app state immediately on dialog close 2018-01-08 14:53:28 -08:00
Girish Ramakrishnan e0c894d333 remove redundant call to fetch user info
main.js already does this
2018-01-08 14:21:25 -08:00
Girish Ramakrishnan d56575facf Add autofocus to error and info dialogs 2018-01-08 14:21:04 -08:00
Johannes Zellner 16db4ac901 Make app configure domain aware 2017-11-20 20:01:50 +01:00
Johannes Zellner 78d6b6d632 Put app configure dialog helper in the correct scope 2017-11-20 20:01:50 +01:00
Girish Ramakrishnan a19c566eea Always show info box that displays app version
Fixes #478
2017-11-11 11:09:59 -08:00
Girish Ramakrishnan 1c173ca83f Add UI to select users for access restriction 2017-11-08 20:54:38 -08:00
Girish Ramakrishnan 8d2fbe931f Bump max limit to two times ram
part of #466
2017-11-07 10:07:05 -08:00
Johannes Zellner 3963d76a80 The update dialog does not contain a form anymore
Fixes #467
2017-11-01 11:55:06 +01:00
Girish Ramakrishnan 7eddcaf708 Allow setting app memory till memory limit
Fixes #466
2017-10-31 12:12:02 -07:00
Johannes Zellner 4212e4bb00 Do not show any port binding update ui 2017-10-20 22:27:48 +02:00
Johannes Zellner 6016024026 Move restore functions into appropriate scope object 2017-10-18 00:40:02 +02:00
Johannes Zellner e199293229 Further reduce ui flickering on restore 2017-10-18 00:40:02 +02:00
Girish Ramakrishnan d233ee2a83 ask password only for destructive actions 2017-09-08 15:14:37 -07:00
Girish Ramakrishnan 6fea022a04 remove dead code 2017-08-29 14:47:59 -07:00
Girish Ramakrishnan f04345a99a Move restart button to log view 2017-08-19 12:49:03 -07:00
Girish Ramakrishnan 53b43ca36b Don't show restore button for noop backend 2017-08-17 20:20:06 -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
Johannes Zellner 99cfe564ae Add repair button to error dialog and improve dns error message 2017-08-01 11:56:39 +02:00
Johannes Zellner 4fec2fe124 Allow specify the robots.txt text in the configure dialog 2017-07-23 22:00:05 +02: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 c1ec7a06bf If we don't have a dockerImage, we can't proceed with the update 2017-06-07 12:46:01 +02:00
Johannes Zellner 1126a0fc1e Use the app manifest from the box updater 2017-06-07 12:46:01 +02:00
Johannes Zellner b7e3447a46 Show subscription dialog on app update 2017-06-07 12:46:01 +02:00
Johannes Zellner 3e6295de92 Fix form validation for external domains 2017-05-03 15:25:24 +02:00
Girish Ramakrishnan 14ca0c1623 Support naked domains as external location
Let the user add an A record for naked domains

Fixes #272
2017-04-26 15:56:39 -07:00
Girish Ramakrishnan 779c9d79b3 Add UI to choose from backups to restore from
Fixes #296
2017-04-12 13:41:26 -07:00
Girish Ramakrishnan b421866bf5 Remove simpleauth
Simple Auth used to provide auth over HTTP. The original motivation
behind this was this was a simple way to add Cloudron Auth integration.
Back in the day, Cloudron Auth was a requirement for apps but this is
not the case anymore.

This is currently not used by any app and having this might encourage
people to make Cloudron specific un-upstreamable changes.
2017-03-19 01:31:38 -07:00
Girish Ramakrishnan 9692aa3c08 Better error handling of unpurchase errors 2017-02-08 18:55:41 -08:00
Girish Ramakrishnan 854d29330c Fix email display logic again 2017-01-30 22:55:20 -08:00
Johannes Zellner 836348cbc0 Improve text for app installation and configuration 2017-01-29 01:00:15 -08:00
Johannes Zellner 91c931b53c Revert "Remove broken external domain validation"
This reverts commit 9b1b833fac.
2017-01-11 03:46:41 +01:00
Johannes Zellner 2502b94f20 Remind the user to setup the DNS record on app configuration 2017-01-10 13:11:37 +01:00
Johannes Zellner 9b1b833fac Remove broken external domain validation 2017-01-10 13:05:06 +01:00
Johannes Zellner 4ed2651c5f Add app restart button in configure dialog
This has come up often now where people need to install the cli just for
app restarts, or would click the restore button, picking up an older
backup, where a simple restart of the app would have been sufficient.

Did this now after live-chat user asking again for this while an app got
stuck without anything obvious in the app logs.
2016-12-06 15:31:24 +01:00
Johannes 14ef7688b8 Add app configure link in app grid
This was asked for many times now for the wp-admin and ghost

In addtion we could make that information in the postinstall
a link as well
2016-11-24 13:02:22 +01:00
Johannes 3bcd255a07 Ugly hack to ensure the modal backdrop is removed when changing views
Couldn't figure a way to make this generic
2016-11-21 13:22:58 +01:00
Girish Ramakrishnan 3457890b24 derive customAuth from usage of auth addon
we can get rid of this value from the manifest since the oauth proxy
is going away.
2016-11-19 17:12:58 +05:30
Girish Ramakrishnan b23c06d443 remove oauth proxy from ui code 2016-11-19 17:12:40 +05:30
Girish Ramakrishnan 12e2e64c22 initialize memoryLimit correctly 2016-09-13 16:59:09 -07:00
Girish Ramakrishnan 4df3b30ff0 Make ticks dynamic
fixes #43
2016-09-12 11:47:42 -07:00
Girish Ramakrishnan f2a1e19c9b Fix access control display for email apps
Fixes #45
2016-09-11 23:06:28 -07:00
Girish Ramakrishnan 55673ebcc3 customAuth apps do not require oauth proxy 2016-09-11 22:04:58 -07:00
Girish Ramakrishnan a52f1e07ee rename account to postInstall
part of #19
2016-09-07 12:26:24 -07:00
Girish Ramakrishnan dd91de8cf6 Add an icon to show account info
part of #19
2016-09-07 02:34:20 -07:00
Girish Ramakrishnan 1a0f3f687a Add button to show accounts section 2016-09-07 01:44:14 -07:00
Girish Ramakrishnan 5b9c8e517a Add oauthProxy support to access restriction UI
Adds 'unrestricted' access control option for apps that do not have
any auth integration

Fixes #6
2016-09-06 23:53:47 -07:00
Johannes Zellner 59e1e55666 Use angular bootstrap collapse for advanced app configuration 2016-09-05 13:51:29 +02:00
Girish Ramakrishnan 4d6fad79af Send memoryLimit parameter 2016-09-04 12:17:14 -07:00