Commit Graph

955 Commits

Author SHA1 Message Date
Girish Ramakrishnan 72c06d5774 Return port bindings as part of app object 2014-08-22 23:55:50 -07:00
Girish Ramakrishnan 119917529f webadmin: Rename appconfigure to appinstall 2014-08-22 11:44:11 -07:00
Johannes Zellner 615e6a1d6b webadmin: hide UI when update is in progress 2014-08-22 08:34:50 -07:00
Johannes Zellner 4b51dbef54 deliver latest git revision and show in webadmin 2014-08-22 08:25:26 -07:00
Johannes Zellner 4e7b017bb5 Store provisioned IP in config.js 2014-08-22 07:40:23 -07:00
Johannes Zellner 8b4a4b052d explicitly run with /bin/bash 2014-08-22 07:32:57 -07:00
Johannes Zellner e2ca2c9b24 webadmin: hide actions if unprivileged user 2014-08-22 07:27:43 -07:00
Johannes Zellner 7eaac0e7ae Add basic update.sh 2014-08-22 07:16:21 -07:00
Girish Ramakrishnan 8de4062cc4 Add UI to start/stop apps 2014-08-21 22:28:54 -07:00
Girish Ramakrishnan e63172ad57 Do not require passwords for start, stop app routes
Disable it for the moment
2014-08-21 22:20:28 -07:00
Girish Ramakrishnan 2fd90a9a2a Add route to start and stop apps 2014-08-21 20:43:23 -07:00
Girish Ramakrishnan 8ae5a662f9 apptask: Update to ISTATE_ERROR in install 2014-08-21 18:04:27 -07:00
Johannes Zellner 1c343de3d4 webadmin: do not travel to /dashboard when attempting to logout 2014-08-21 16:39:15 -07:00
Johannes Zellner 62d6d2fa27 webadmin: fade content views 2014-08-21 16:33:43 -07:00
Johannes Zellner 17b0497411 webadmin: refresh user list after user deletion 2014-08-21 16:23:07 -07:00
Johannes Zellner d059354631 webadmin: show userlist after usercreation 2014-08-21 16:21:13 -07:00
Johannes Zellner 1a3e269749 webadmin: remove acute combo box plugin 2014-08-21 15:45:46 -07:00
Johannes Zellner ac51ab46fd webadmin: remove unused splash view 2014-08-21 15:40:02 -07:00
Johannes Zellner 209e8b01fc webadmin: remove spin.js 2014-08-21 15:38:37 -07:00
Johannes Zellner 41f9885f69 webadmin: move script includes to the top 2014-08-21 15:34:26 -07:00
Johannes Zellner 687abe4f3b webadmin: remove unused angularjs ui.bootstrap 2014-08-21 15:32:15 -07:00
Johannes Zellner dcde3a07b6 webadmin: add basic user creation 2014-08-21 14:28:22 -07:00
Johannes Zellner b06b8df746 webadmin: add user deletion dialog 2014-08-21 14:09:26 -07:00
Johannes Zellner e81f42f508 webadmin: Enable userlist view 2014-08-21 11:49:03 -07:00
Girish Ramakrishnan 422f6d4981 Display app title in configure screen 2014-08-21 08:41:27 -07:00
Girish Ramakrishnan b08b0a5494 Change cert generation dir 2014-08-20 01:54:39 -07:00
Girish Ramakrishnan df63793c61 Change naming convention of files under cert/*.
Follow the naming convention as used in provisioning by appstore:

host.cert = public cert
host.info = textual output
host.key = private key
host.pem = key file and cert file combined into one
2014-08-20 01:35:56 -07:00
Girish Ramakrishnan 525aa523ff Copy over nginx setup code from scripts/bootstrap.sh
Copying nginx/* from source repo copies over a lots of other files
2014-08-20 00:49:42 -07:00
Girish Ramakrishnan 79a06beb4f generate admin.conf from template
6fe11f869a broke it probably
2014-08-20 00:45:42 -07:00
Girish Ramakrishnan f302062306 Move nginx cert dir to be under backup dir 2014-08-20 00:34:02 -07:00
Girish Ramakrishnan f46f1e3154 Remove any existing volume from a previous bad uninstall 2014-08-19 23:31:38 -07:00
Girish Ramakrishnan 30fad2d889 Access app.manifest carefully
manifest may not be valid if download of manifest had failed
2014-08-19 23:18:27 -07:00
Girish Ramakrishnan aa2f07ae63 Increase counter to make it pass consistently 2014-08-19 23:17:29 -07:00
Girish Ramakrishnan 664d0e652c Update README
Setting hostname or FQDN is not needed anymore after 6fe11f8
2014-08-19 23:07:02 -07:00
Johannes Zellner 32dc09649f Fix this/that typo 2014-08-19 22:31:21 -07:00
Johannes Zellner 5d5b824883 Do not use FQDN setting as a token...
...when announcing the cloudron with the appstore server
2014-08-19 22:20:26 -07:00
Johannes Zellner 6fe11f869a Do not depend on os.hostname() for fqdn
The non provisioned boxes will always be configured
to work on localhost. This includes the webadmin OAuth
records. After the cloudron gets provisioned, the FQDN
will be set to the correct value, which requires regeneration
of the OAuth client records.
2014-08-19 22:05:50 -07:00
Girish Ramakrishnan 4994325a79 Don't set NODE_TLS_REJECT_UNAUTHORIZED
The issue had to do with intermediate cert installation

See 9009d98c4f392 in appstore
2014-08-19 18:46:55 -07:00
Girish Ramakrishnan c816861530 Pick specific properties to be set in config 2014-08-19 18:45:36 -07:00
Girish Ramakrishnan 349436aa66 Add underscore 2014-08-19 18:43:49 -07:00
Girish Ramakrishnan 74403385b9 Increase announce timer retry interval
5 seconds is way too often
2014-08-19 18:39:23 -07:00
Johannes Zellner f0a349710b Verify clientId with clientSecret instead of appId with clientSecret 2014-08-19 16:29:43 -07:00
Girish Ramakrishnan 1e7f806a11 Setup oauth variables when creating container
APP_ORIGIN
    The origin of the app. Like https://foo-box.domain.com
    The box cannot use os.hostname(). This is because docker sets up
    the container's hostname() to be just the host name (and not FQDN)
    and node uses gethostbyname(). This is simply a convenience instead
    of executing hostname -f.

ADMIN_ORIGIN
    The origin of the box admin. Like https://admin-box.domain.com

OAUTH_CLIENT_ID
OAUTH_CLIENT_SECRET
    Self explanatory oauth variables

Part of #47
2014-08-19 12:47:14 -07:00
Johannes Zellner dd1ceeed2f Fix makeDocs.sh 2014-08-19 11:28:44 -07:00
Johannes Zellner affa254b41 Some more linter cleanups 2014-08-19 09:36:39 -07:00
Johannes Zellner 8fe325e3bb Some linter cleanups 2014-08-19 09:33:57 -07:00
Johannes Zellner 4386c9033c Allocate OAuth credentials for apps during installation 2014-08-19 09:31:09 -07:00
Johannes Zellner 4fa693de8b webadmin: Move script tags back to the page header 2014-08-18 08:03:00 -07:00
Johannes Zellner b4117f320b Add 'ip' to config.js 2014-08-17 18:09:55 -07:00
Johannes Zellner 5fe37b1dff Use HttpError for update route 2014-08-17 18:09:53 -07:00