Commit Graph

52 Commits

Author SHA1 Message Date
Johannes Zellner a287c2d2e3 Use angular-md5 minified 2015-02-15 12:19:13 +01:00
Johannes Zellner be7a380315 Remove unused angular-base64 2015-02-15 12:13:57 +01:00
Johannes Zellner 6ba3c55060 Always use the minified version of angular.js 2015-02-15 12:11:25 +01:00
Johannes Zellner 0e05f91475 Finally go back to the webadmin 2015-02-13 16:30:28 +01:00
Johannes Zellner 354fa3fefd isUpdate is actually called isUpdating 2015-02-13 16:19:52 +01:00
Johannes Zellner 045d2b5263 Remove stray whitespace 2015-02-13 15:42:43 +01:00
Johannes Zellner 7d886c0981 Serve up 3rdpart of setup/splash/website 2015-02-13 15:33:55 +01:00
Johannes Zellner d50d062ad1 Add 3rdparty for setup/splash/website
Those are generated via 'gulp update'
2015-02-13 15:31:34 +01:00
Johannes Zellner 50ff1aeb3e Unify the update site to update.html
This still needs tweaking of the splash nginx config
2015-02-13 14:04:25 +01:00
Girish Ramakrishnan 20e43bdf9c Update nginx ssl settings
Fixes #172
2015-02-12 13:52:42 -08:00
Girish Ramakrishnan 188c69102f initialize progress.json with valid json 2015-02-12 13:31:10 -08:00
Girish Ramakrishnan b950daea89 reload status page if we get 404
Part of #141
2015-02-12 11:37:41 -08:00
Johannes Zellner 3575fc6d18 Use progress.json to update the page
Fixes #141
2015-02-12 16:35:01 +01:00
Girish Ramakrishnan bc60c1a7fc Generate naked_domain.conf out of appconfig.ejs
Set admin as default naked domain in db

It's no different than any other app now
2015-02-12 01:03:26 -08:00
Girish Ramakrishnan 6218f251c0 Unify the admin and app nginx configs
In an ideal world, admin should have been like any other app
2015-02-11 16:09:22 -08:00
Girish Ramakrishnan 9b25205dcb create config.json that can be used in error.html
Fixes #171
2015-02-10 23:46:37 -08:00
Girish Ramakrishnan ca927bbd1d Remove redundant container removal
start.sh already removes all containers at the start of script
2015-02-10 19:31:31 -08:00
Girish Ramakrishnan f7a562b07b Use apiServerOrigin and webServerOrigin
Part of #171
2015-02-10 18:23:03 -08:00
Johannes Zellner dbe4ca881c We now get apiServerOrigin and webServerOrigin via provisioning
!! appServerUrl is now deprecated and replaced with apiServerOrigin
2015-02-10 23:22:34 +01:00
Girish Ramakrishnan f48fc0e5a6 Bump addon versions to 0.3 2015-02-09 19:55:21 -08:00
Johannes Zellner d0034764ca Remove clients.clientId and clients.name from the database
clients.clientId is now the same as clients.id and the name will
be provided from the apps.manifest.title
2015-02-06 14:31:55 +01:00
Johannes Zellner 9d5643bb63 Hardcode webadmin clients.id in start.sh 2015-02-06 11:23:26 +01:00
Girish Ramakrishnan 4ea62c04e2 Mount variables file as readonly 2015-02-03 22:45:50 -08:00
Girish Ramakrishnan 764959a4e1 Generate addon vars file in config dir instead of data dir
No reason to back these up since password can be reset

Part of #147
2015-02-03 18:27:29 -08:00
Girish Ramakrishnan 735d6a6acb Link redis container to apps
Part of #147
2015-02-03 18:27:17 -08:00
Girish Ramakrishnan fc3d9918cc Link mail container to addons
This allows us to adapt to dynamic IPs for the mail container

Part of #147
2015-02-03 17:44:40 -08:00
Girish Ramakrishnan 17c9716004 Link postgresql addon
Part of #147
2015-02-03 14:52:57 -08:00
Girish Ramakrishnan 00068e9484 Continue if graphite pull failed because of network issues 2015-02-03 14:21:11 -08:00
Girish Ramakrishnan d4b0698609 Pass mysql credentials in a file instead of env var
Part of #147
2015-02-03 13:13:23 -08:00
Girish Ramakrishnan 585740a806 Move directory creation into setup script
test code now creates all dirs before the tests are run
run.sh creates all dirs before starting in local mode
2015-02-02 16:33:03 -08:00
Girish Ramakrishnan 106ef288e8 Move to new containers 2015-01-29 11:12:10 -08:00
Girish Ramakrishnan fd52179fcf Remove unused certs
Fixes #146
2015-01-27 14:14:47 -08:00
Girish Ramakrishnan db12133592 Add support for custom domains 2015-01-24 09:36:55 -08:00
Girish Ramakrishnan 16ad270587 adminOrigin can be derived from fqdn
config.js does this already
2015-01-24 07:37:06 -08:00
Girish Ramakrishnan eed8c39a1e haraka does not backup anything 2015-01-24 01:19:00 -08:00
Girish Ramakrishnan d36252e634 Suppress echo error output 2015-01-24 01:15:29 -08:00
Girish Ramakrishnan 6af415c83b Implement setup code new design 2015-01-23 23:11:22 -08:00
Girish Ramakrishnan 2455975a46 bash scripts: merge the set lines 2015-01-23 15:01:10 -08:00
Girish Ramakrishnan 367b088193 Remove unnecessary variables 2015-01-23 09:11:49 -08:00
Girish Ramakrishnan d98fe190a3 Parse tls cert and key separately
Since those keys contain newlines
2015-01-23 00:09:36 -08:00
Girish Ramakrishnan 0be2c7be8c Add hotfix to ensure directory for progress.json 2015-01-22 23:56:33 -08:00
Girish Ramakrishnan 240c98d654 Actually commit preinstall directory 2015-01-22 23:48:22 -08:00
Girish Ramakrishnan ec728dbf65 tls cert and key are part of data
installer has no clue about certs anymore
2015-01-22 22:47:03 -08:00
Girish Ramakrishnan d33c7ffb9b move preinstall code to separate dir 2015-01-22 22:37:04 -08:00
Girish Ramakrishnan 959981516b Update progress indicator 2015-01-22 22:31:10 -08:00
Girish Ramakrishnan 3953b96626 set -u all the scripts 2015-01-22 17:04:37 -08:00
Girish Ramakrishnan 7d8575b628 Rename stopbox.sh to preinstall.sh
Also, make startbox.sh just a helper script
2015-01-22 16:24:20 -08:00
Girish Ramakrishnan 37a9df931b Rename supervisor config for oauthproxy 2015-01-22 16:24:19 -08:00
Girish Ramakrishnan 357617997e Configure nginx to show update page when stopping box
This code was moved from the installer code
2015-01-22 16:24:19 -08:00
Girish Ramakrishnan 1a81409006 reuse fqdn instead of querying hostname from system 2015-01-22 10:11:17 -08:00