Commit Graph

2199 Commits

Author SHA1 Message Date
Girish Ramakrishnan 48aef2f217 update dist of error.html 2015-02-12 13:14:41 -08:00
Girish Ramakrishnan e7bfb948d0 Reload root url after some time 2015-02-12 13:14:16 -08:00
Girish Ramakrishnan c327600c3c Fix typo in backup.sh 2015-02-12 12:52:13 -08:00
Girish Ramakrishnan 8230374d66 Fix naked domain settings when app is reconfigured
Fixes #149
2015-02-12 12:28:56 -08:00
Girish Ramakrishnan b950daea89 reload status page if we get 404
Part of #141
2015-02-12 11:37:41 -08:00
Girish Ramakrishnan 55779fb3c3 Add few debug 2015-02-12 11:32:02 -08:00
Johannes Zellner 3575fc6d18 Use progress.json to update the page
Fixes #141
2015-02-12 16:35:01 +01:00
Johannes Zellner a8f9f71807 Call backup.sh with backupKey 2015-02-12 12:47:42 +01:00
Girish Ramakrishnan 2a8adad994 Add some TODO 2015-02-12 02:55:07 -08:00
Girish Ramakrishnan 8148072e1c Remove _setNakedDomain 2015-02-12 02:48:03 -08:00
Girish Ramakrishnan 9f9de96d82 Reset naked domain config when unconfiguring and during restore 2015-02-12 02:43:19 -08:00
Girish Ramakrishnan dbe1baafe7 Refactor code into settings.js 2015-02-12 02:04:45 -08:00
Johannes Zellner 27586b7484 Add backup encryption 2015-02-12 11:02:42 +01:00
Girish Ramakrishnan 498259597e Add few comments 2015-02-12 01:39:09 -08:00
Johannes Zellner e6afa57b25 Add encryption for backups 2015-02-12 10:34:40 +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
Johannes Zellner 85c118f6fd Check if user is set in error.ejs
Fixes #180
2015-02-12 08:58:02 +01:00
Johannes Zellner 905c24aab1 Some jslint cleanup 2015-02-12 08:22:44 +01:00
Girish Ramakrishnan b37ca8701e Use safe.query instead since tcpPorts can be undefined 2015-02-11 18:39:13 -08:00
Girish Ramakrishnan a669fd33aa APP_ORIGIN is redundant
With latest docker, APP_ORIGIN is not required

https://github.com/docker/docker/issues/7851

hostname now returns the FQDN and os.hostname() in node returns
the set hostname as well.

So things have changed since 3458f0f068

In general, an app should use hostname for some static config settings.
For everything else, X-Forwarded-Host should be prefered since it allows
mounting the app from multiple locations.
2015-02-11 17:23:43 -08:00
Girish Ramakrishnan e6d9996466 URL -> Url 2015-02-11 17:08:59 -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 0cacf1d25a Manifest can be null if it was never downloaded 2015-02-11 16:09:22 -08:00
Girish Ramakrishnan 35107ebd63 Manifest may not exist 2015-02-11 16:06:12 -08:00
Girish Ramakrishnan feeb7947d6 Make curl fail if upload failed 2015-02-11 13:27:29 -08:00
Girish Ramakrishnan d95937fe98 updater: offer updating to latest version if current version is not found
This is useful in dev where we keep resetting versions
2015-02-11 12:55:51 -08:00
Girish Ramakrishnan bfb33726f8 Use separate buckets for dev/staging 2015-02-11 11:42:08 -08:00
Girish Ramakrishnan 79250cd0ec Use s3cmd instead of s3-cli since we can pass keys as arg 2015-02-11 10:54:36 -08:00
Girish Ramakrishnan a83cc0f647 s/yellowtent/cloudron 2015-02-11 10:07:21 -08:00
Girish Ramakrishnan 41b3117aa8 Use npm run instead 2015-02-10 23:47:29 -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 5b9c09a227 Add ejs-cli 2015-02-10 22:43:49 -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
Girish Ramakrishnan e0ebd2b585 app icon is now already prefixed with appServerUrl 2015-02-10 17:30:30 -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 d735ff9bf1 Fix root path 2015-02-09 20:21:06 -08:00
Girish Ramakrishnan f48fc0e5a6 Bump addon versions to 0.3 2015-02-09 19:55:21 -08:00
Girish Ramakrishnan c41d432fc2 Bump redis version 2015-02-09 19:52:51 -08:00
Girish Ramakrishnan 1d4b6ded94 Set dmarc-report@cloudron.io as the dmarc report destination
Fixes #167
2015-02-09 17:50:30 -08:00
Girish Ramakrishnan 11b56d9355 config.js values are not persisted by design
values in cloudron.conf are basically a cache. the code needs to
deal with it if the values are not present. for persistent config,
one has to use the sqlite db.

Fixes #139
2015-02-09 17:40:03 -08:00
Johannes Zellner 3bd5a9530a Remove serving up all of graphite 2015-02-09 18:40:23 +01:00
Johannes Zellner dcb021776d Fixup the url replacing for graphs
Fixes #124
2015-02-09 18:31:14 +01:00
Johannes Zellner a850a9a813 Update .gitignore 2015-02-09 17:16:39 +01:00
Johannes Zellner 782f868962 Remove stray console.log() 2015-02-09 13:25:12 +01:00
Johannes Zellner 950283f2fd Add form validation for appinstall and appconfig views
Fixes #118
2015-02-09 11:51:03 +01:00
Johannes Zellner e6248017ac Show location instead of app name for naked domain select
Fixes #151
2015-02-09 11:15:13 +01:00
Johannes Zellner 06c0da895b Fix broken db migration script 2015-02-09 11:10:02 +01:00
Johannes Zellner 355d5f6de2 Remove users.publicPem usage
Fixes #160
2015-02-09 10:53:17 +01:00
Johannes Zellner 8129b9737c Remve users._privatePemCipher usage 2015-02-09 10:53:08 +01:00