Johannes Zellner
31ff3c4ec0
Cleanup some linter issues
2014-09-08 08:20:42 -07:00
Johannes Zellner
882645afcf
Rely on heartbeat to notify appstore on restart
2014-09-08 08:13:22 -07:00
Johannes Zellner
d0c50e9580
Announce with config.fqdn instead of os.hostname()
...
This breaks one test but it's too late to fix the test
will do tomorrow
2014-09-07 22:52:42 -07:00
Johannes Zellner
75ea497711
Non 200 status codes on announce after reboot are ok
...
This happens when the cloudron itself rebooted and the
appstore had no clue of that. But in case the appstore
triggered the reboot, the cloudron will announce itself
and thus concludes a successful reboot
2014-09-07 22:14:08 -07:00
Johannes Zellner
938dd62a4a
The cloudron should announce itself once every restart
2014-09-07 21:48:04 -07:00
Johannes Zellner
7298e066ba
Add reboot route and webadmin UI
...
The reboot route will also be called from the reboot action
in the appstore to attmept a soft reboot, rather than a power
cycle.
2014-09-07 19:27:31 -07:00
Johannes Zellner
c1460f419e
webadmin: fix state bug in side panel during
2014-09-07 16:16:40 -07:00
Johannes Zellner
f8837ba284
webadmin: remove useless returns
2014-09-07 16:01:28 -07:00
Johannes Zellner
d02f498c2f
webadmin: ensure app details controller waits for Client to be ready
2014-09-07 15:46:11 -07:00
Johannes Zellner
b789395941
webadmin: ensure we display a fallback icon for apps in appstore
2014-09-07 14:20:29 -07:00
Johannes Zellner
1b90b5bb09
webadmin: remove some noisy console logs
2014-09-07 12:03:29 -07:00
Girish Ramakrishnan
9eece04682
Fix error when box does not app update information yet
2014-09-06 20:46:04 -07:00
Girish Ramakrishnan
f00ea968a9
Make apps resume on reboot
...
Add a new runState to mark apps that died by themselves (or by
the docker daemon).
Fixes #75
2014-09-06 20:19:42 -07:00
Girish Ramakrishnan
dcbba0f0e8
Use updateWithConstraints in setHealth
2014-09-06 20:12:25 -07:00
Girish Ramakrishnan
6811d1a380
Update app object only if update succeeded
2014-09-06 20:03:45 -07:00
Girish Ramakrishnan
c93863ef58
Create separate partition for docker images and appdata
...
This allows us to track their usage easily
Note that files created using dd/truncate are sparse files!
https://wiki.archlinux.org/index.php/sparse_file
Part of #72
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
0fa3f63673
Upgrade ubuntu as well
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
878b2ccfe9
Remove code that updates the box repo
...
This code was used previously when we used to run setup script
over and over again on same base image. This is not done anymore.
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
59623d783c
/etc/yellowtent is not used anymore
2014-09-06 18:43:27 -07:00
Johannes Zellner
665d7981d8
webadmin: add real form validation to password change
2014-09-06 11:32:44 -07:00
Johannes Zellner
77a8af452d
Set the proper angular app name in JS code
2014-09-06 10:57:57 -07:00
Girish Ramakrishnan
35015687f3
Set scrub_data=true when destroying droplet
...
This is set by default from what I understand but this is good to
set explicitly so we remeber this should we move away from DO.
https://github.com/fog/fog/issues/2525
https://www.digitalocean.com/company/blog/transparency-regarding-data-security/
2014-09-06 09:16:28 -07:00
Girish Ramakrishnan
16d9daa0bd
Rename YellowTent application to Application
2014-09-06 08:33:41 -07:00
Johannes Zellner
016a94b3a6
Add delay module as dev dependency
...
This is useful to simulate a slow network easily
and helps thus to debug our angular ui.
2014-09-05 17:52:35 -07:00
Johannes Zellner
a8b8603946
webadmin: hook up the admin flag toogle to the rest call
2014-09-05 17:38:40 -07:00
Johannes Zellner
0f4a114c8f
Add new route to set admin flag
...
We might want to consolidate the /user(s) routes at some point
2014-09-05 09:01:45 -07:00
Johannes Zellner
56c2de6c37
Add means to set the admin flag for users
2014-09-05 08:19:38 -07:00
Girish Ramakrishnan
b68603bbfd
Remove spurious log
2014-09-04 19:43:46 -07:00
Girish Ramakrishnan
5bc4e6e46f
exposeAs -> hostPort
2014-09-04 19:34:16 -07:00
Girish Ramakrishnan
95769661ac
Remove spurious debug
2014-09-04 19:30:18 -07:00
Girish Ramakrishnan
08c165d4a1
Release 0.3.0
2014-09-04 14:40:34 -07:00
Girish Ramakrishnan
d6cc39dd01
Fix VERSIONS.json
2014-09-04 14:37:53 -07:00
Girish Ramakrishnan
2705667546
make first argument the suffix
2014-09-04 14:33:56 -07:00
Girish Ramakrishnan
2d1a594453
tcp_ports -> tcpPorts
2014-09-04 12:09:36 -07:00
Girish Ramakrishnan
e2ab01339d
Pull in base:0.4 as well
2014-09-04 11:30:56 -07:00
Girish Ramakrishnan
785b021129
Backup every 4 hours
2014-09-04 07:19:45 -07:00
Girish Ramakrishnan
e8f7c74a0f
Compare against appStoreId
2014-09-03 23:28:53 -07:00
Girish Ramakrishnan
fd9d475c1e
Send appStoreId when querying updates
2014-09-03 22:54:13 -07:00
Girish Ramakrishnan
062313bfbc
Give up on json yet again
2014-09-03 20:23:19 -07:00
Girish Ramakrishnan
615b559652
Fix typo
2014-09-03 20:15:17 -07:00
Girish Ramakrishnan
a72de47c6e
In dev, use latest version
2014-09-03 20:10:05 -07:00
Girish Ramakrishnan
cefc7736db
Release 0.2.0
2014-09-03 19:51:39 -07:00
Girish Ramakrishnan
548e23cbbe
Update script may not exist for a version
...
In such a case, we just update the code
2014-09-03 19:46:06 -07:00
Girish Ramakrishnan
7905a572ab
config.js should always have the upcoming version
2014-09-03 19:46:00 -07:00
Girish Ramakrishnan
c2a3ceb22e
Use config.version instead of pkg.version
2014-09-03 19:39:44 -07:00
Girish Ramakrishnan
92c4ba2bbc
Pull specific version of base
2014-09-03 16:09:24 -07:00
Girish Ramakrishnan
b0ac3b5de0
Create version 0.1.0
...
Fix update script to call scripts using their version number
2014-09-03 15:55:43 -07:00
Girish Ramakrishnan
8352a6618c
Fix apptask states
...
Fixes #67
2014-09-03 15:07:42 -07:00
Girish Ramakrishnan
a76e891b5f
Add asserts
2014-09-03 14:52:01 -07:00
Girish Ramakrishnan
75c2d9df05
remove oauth credentials during installation
...
this is needed if an app that was pending install was aborted midway
and we attempt to install it again (for example, during restore/resume)
2014-09-03 14:04:49 -07:00