Commit Graph

3486 Commits

Author SHA1 Message Date
Johannes Zellner a779da0980 Send the cloudronName with the /status route 2015-07-15 15:17:51 +02:00
Johannes Zellner 1961e3731e Also set the page title to the cloudron's name 2015-07-15 15:14:08 +02:00
Johannes Zellner 754fe2d343 Show cloudron name in webadmin navbar 2015-07-15 15:07:58 +02:00
Johannes Zellner 9610c8e828 set config defaults in webadmin 2015-07-15 15:06:34 +02:00
Johannes Zellner 80be03866d Report cloudron name with config 2015-07-15 15:05:27 +02:00
Johannes Zellner e75909e9aa Add setup step to give a name for the cloudron 2015-07-15 14:49:37 +02:00
Johannes Zellner af14632454 Allow to specify cloudron name in activation call 2015-07-15 14:17:27 +02:00
Johannes Zellner 4a43df84d7 Add CLOUDRON_DEFAULT_NAME to constants 2015-07-15 14:17:05 +02:00
Johannes Zellner fd1406c567 Fixup linter errors in settings.js 2015-07-15 13:54:52 +02:00
Johannes Zellner 778cf9b7a7 Add cloudron name setting with routes 2015-07-15 13:53:41 +02:00
Johannes Zellner 60149fb3f5 Add settingsdb cloudron_name default value 2015-07-15 13:50:57 +02:00
Girish Ramakrishnan 6c10506902 Do not register or unregister bare domains
Fixes #434
2015-07-14 16:48:14 -07:00
Johannes Zellner c1d4cae2c4 Use graphite summarize() instead of client size summarizing 2015-07-14 20:48:17 +02:00
Girish Ramakrishnan 67f81f3366 restore must do all install tasks since it is also called during upgrade 2015-07-14 11:42:14 -07:00
Girish Ramakrishnan ae71f2f046 reregister subdomain during restore 2015-07-14 10:47:14 -07:00
Girish Ramakrishnan 55658b248a One more backward compat fix for restore 2015-07-14 09:41:56 -07:00
Johannes Zellner 2b7ba8be38 Remove superflous console.log() 2015-07-14 18:29:38 +02:00
Johannes Zellner 16f8ccd3b8 Rename Cloudron to Data in graphs 2015-07-14 17:43:21 +02:00
Johannes Zellner 2eb29acf8c Show a bit more details on memory 2015-07-14 17:27:01 +02:00
Johannes Zellner 4387d4ce96 Improve memory graphs and add overall system memory usage
In order to give some useful graphs the overall available memory for apps and
the system is vague and currently dynamic for the system and 100MB for apps.
This is just random really
2015-07-14 17:20:42 +02:00
Johannes Zellner b5f8f65b11 First attempt to show per app memory usage 2015-07-14 15:30:01 +02:00
Johannes Zellner aa903ad6fc Remove rickshaw 2015-07-14 14:55:06 +02:00
Johannes Zellner f18cd7bd57 Remove old graphs 2015-07-14 14:55:06 +02:00
Johannes Zellner 376011d6ca Use Chart.js instead of Ricksaw to display basic disk usage 2015-07-14 14:55:06 +02:00
Johannes Zellner f382be8f7c Add Chart.js 2015-07-14 14:55:06 +02:00
Johannes Zellner 471f6d9f4b Reenable and fix the old graphs page 2015-07-14 14:55:06 +02:00
Johannes Zellner 4230fa8a90 Use normal log file for collectd logs 2015-07-14 14:55:06 +02:00
Girish Ramakrishnan 9cd24b9409 Add backward compat code 2015-07-14 02:38:43 -07:00
Johannes Zellner 0b1781847d Remove install button from the top and make description scrollable
This still assumes a max-height, which does not fully make use of the whole window
height. Not yet sure how to properly calculate this with the various dialog components.

Fixes #433
2015-07-14 10:08:49 +02:00
Girish Ramakrishnan df158b111f Delete image by id
docker possibly has a bug where "docker pull repo:tag" pulls down
_all_ the tags which has the same image id. This means that when
we delete the tag, there are still images around since they are
referenced by the other tags. Deleting the image by id seems to
untag and delete everything.

This does cause a problem when an app updates to the same image id
but different tag (we will end up refetching). This seems a minor
price to pay compared to hogging space with useless docker images.
One option is possibly to run some docker image cleaner as a cron job
but I have seen that docker lets you delete images even if there are
containers using it (without even using rmi -f). Scary.
2015-07-13 21:51:01 -07:00
Girish Ramakrishnan e0341af44b Fix typo 2015-07-13 16:17:56 -07:00
Girish Ramakrishnan 88ba7ce64d Delete the correct docker image in update/restore 2015-07-13 14:46:14 -07:00
Girish Ramakrishnan 9798134774 Add config.isDev 2015-07-13 14:34:27 -07:00
Johannes Zellner 27daaeb8e1 Do not specify protocol for external css in update.html 2015-07-13 15:55:30 +02:00
Johannes Zellner 965502eaed Avoid overflow as much as possible in users listing
Fixes #408
2015-07-13 15:40:54 +02:00
Johannes Zellner 1040aadb8e Restore is a positive action 2015-07-13 15:26:40 +02:00
Johannes Zellner dccad15c53 Do not specify protocol for external libs 2015-07-13 15:14:31 +02:00
Johannes Zellner cb90d7745b No need for collapsed app details with install button on top 2015-07-13 15:13:28 +02:00
Johannes Zellner e09941b008 Add additional install button on the dialog top
Fixes #422
2015-07-13 15:00:43 +02:00
Johannes Zellner b6ca37fcf6 Also collapse the app description when user clicks install 2015-07-13 14:21:35 +02:00
Johannes Zellner fa4eba1a52 Use ejs to allow smoother local webadmin development 2015-07-13 14:06:58 +02:00
Johannes Zellner cfc4233e16 add yargs node module 2015-07-13 14:06:19 +02:00
Johannes Zellner d017c2ec53 Add a prettier naked domain error page
Fixes #418
2015-07-12 19:16:20 +02:00
Johannes Zellner 5c365f32a5 Add inverted cloud logo 2015-07-12 19:15:32 +02:00
Johannes Zellner bd01f6f6bc Serve up temporarily the appstatus error page for naked domain
Part of #418
2015-07-12 17:39:34 +02:00
Girish Ramakrishnan 45dad2a974 AutoUpdate -> Autoupdater 2015-07-11 09:28:36 -07:00
Girish Ramakrishnan 966b7d1a09 Mark app as installed after restoration 2015-07-11 00:13:55 -07:00
Girish Ramakrishnan a27973d54e Default restore callbacks to setup calls
Without this restoring these addons won't set up the env variables!
2015-07-11 00:10:46 -07:00
Girish Ramakrishnan 6a9db4abc5 Add missing bind call 2015-07-11 00:03:12 -07:00
Girish Ramakrishnan 244c680916 Make addons take manifest argument so that restore can pass manifest for teardown
Most of the functions really only needs appId but some of them need
the location and it's also nice for debugging.
2015-07-11 00:03:12 -07:00