Girish Ramakrishnan
b0d220b409
rename updateInfo to appUpdateInfo
2014-09-02 11:15:40 -07:00
Girish Ramakrishnan
6378ad34e0
Use tag or sha1 in droplet and image name
...
Using branch name doesn't make much sense since branches can move
2014-09-02 10:53:33 -07:00
Girish Ramakrishnan
225e0959db
Add revision to snapshot name as well
2014-09-02 10:10:57 -07:00
Johannes Zellner
28b0b93363
Allow updates to origin/master on dev deployment
2014-09-01 12:52:25 -07:00
Johannes Zellner
09454012a7
Save new version after update in configuration
2014-09-01 12:38:34 -07:00
Johannes Zellner
e4789c27aa
Call the update.sh with the revsion argument
2014-09-01 12:38:16 -07:00
Johannes Zellner
5d3b828bb5
webadmin: Show update version and changelog in dialogs
2014-09-01 12:23:59 -07:00
Johannes Zellner
03c3d1d71f
Only send the show the next version for box updates
2014-09-01 12:11:27 -07:00
Johannes Zellner
60cf05e5c4
Make box and app update info available
2014-09-01 12:04:48 -07:00
Johannes Zellner
03d7ecf6ea
Add VERSIONS.json and make the update check on interval
2014-09-01 11:54:58 -07:00
Girish Ramakrishnan
3cfd2c5e26
droplets cannot have _ in box name
...
because _ is not valid subdomain
2014-08-29 13:54:06 -07:00
Girish Ramakrishnan
d6ecb4aa55
Allow creation of DO images for a specific revision
2014-08-29 13:25:56 -07:00
Girish Ramakrishnan
c192020a4b
Rename script
2014-08-29 11:05:58 -07:00
Girish Ramakrishnan
026f8694a4
Leave a note on why runState is reset
2014-08-28 14:42:32 -07:00
Girish Ramakrishnan
371ce2ca80
Fix openApp link in appstore view
2014-08-28 13:24:02 -07:00
Girish Ramakrishnan
553f401292
Allow multiple instances of apps
...
Fixes #68
2014-08-28 13:14:02 -07:00
Girish Ramakrishnan
a83572e561
Use path.join instead
2014-08-28 13:14:02 -07:00
Girish Ramakrishnan
e82997c412
app_id -> appId
...
we use camelCase everywhere
2014-08-28 11:32:23 -07:00
Girish Ramakrishnan
dfb23f2869
Do not use the object based binding
...
It's verbose
2014-08-28 11:25:51 -07:00
Girish Ramakrishnan
8e504773ab
Do not waste time with json -I -f
2014-08-28 08:58:30 -07:00
Girish Ramakrishnan
5bbcb9ff8c
Add the in-place replace flag
2014-08-28 08:44:01 -07:00
Johannes Zellner
642a92d485
Show nice error page if something goes wrong during OAuth
2014-08-28 08:19:00 -07:00
Girish Ramakrishnan
53b8ee26c9
Replacing token still does not work at times
2014-08-28 08:15:18 -07:00
Girish Ramakrishnan
7671af7b09
run the app when runState is null
...
The runState is null during restore. And also for the small time
immediately after the install of an app.
2014-08-28 03:36:40 -07:00
Girish Ramakrishnan
d5accd2858
Ignore 409 in subdomain registration
2014-08-28 03:32:59 -07:00
Girish Ramakrishnan
7d90646e11
Start containers after backup
2014-08-28 03:18:35 -07:00
Girish Ramakrishnan
9b760829ea
Move to different directory before replacing source dir
...
You get errors in the shell like below:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
This is probably the reason why the json binary didn't work
2014-08-28 03:08:38 -07:00
Girish Ramakrishnan
ad1f14ba67
Log command line args for debugging
2014-08-28 02:35:12 -07:00
Girish Ramakrishnan
5ddbf27435
reset fields to null on restore
2014-08-28 02:14:28 -07:00
Girish Ramakrishnan
4d70600ef1
print the git revision
2014-08-28 01:55:05 -07:00
Girish Ramakrishnan
b23af68b59
Do not use json binary
...
Use a custom script instead
2014-08-28 01:30:48 -07:00
Girish Ramakrishnan
cb0a4a8ad8
Implement restore
...
The restore script set installation state as pending_restore for
all apps.
2014-08-27 23:30:56 -07:00
Girish Ramakrishnan
d3bc50bfe8
Disable hock.throwOnUnmatched
...
Without this, hock throws when the server makes queries for the appstore
(like the announce).
2014-08-27 23:12:47 -07:00
Girish Ramakrishnan
fd1b0fe8ce
Use startTask in resume
2014-08-27 23:05:14 -07:00
Girish Ramakrishnan
6eda87eb84
Separate out delete and create volume
2014-08-27 22:53:58 -07:00
Girish Ramakrishnan
6988bf1759
Remove extran line
2014-08-27 21:00:21 -07:00
Girish Ramakrishnan
3f9d7da260
Backup and restore the box code
2014-08-27 20:55:43 -07:00
Girish Ramakrishnan
b125ce1d2b
Install npm modules and chown ownership
2014-08-27 20:34:22 -07:00
Girish Ramakrishnan
967e6647de
ip is not part of config anymore
2014-08-27 19:57:02 -07:00
Girish Ramakrishnan
76d85b209a
Update bootstrap.sh to have the latest update.sh location
2014-08-27 19:16:53 -07:00
Girish Ramakrishnan
312dbd369c
Fix various bugs in appdb.setHealth
2014-08-27 19:08:08 -07:00
Girish Ramakrishnan
8600d3ec34
Show health icon based on app.healthy instead of runState
2014-08-27 18:24:27 -07:00
Girish Ramakrishnan
9c8b54f614
Move update scripts inside src/
...
The scripts/ dir is for helper scripts to be run by hand
The src/scripts dir is for scripts to be run by code
2014-08-27 18:03:48 -07:00
Girish Ramakrishnan
f21cb3716c
Fix typo
2014-08-27 17:57:19 -07:00
Girish Ramakrishnan
de8365c3ce
Detect IP locally so there is one less setting to fixup on restore
...
The appstore still send the IP across just in case
2014-08-27 17:48:55 -07:00
Girish Ramakrishnan
4516b8f408
Add TODO
2014-08-27 15:53:38 -07:00
Girish Ramakrishnan
c39689694e
Prefix private varibles with _
2014-08-27 14:13:36 -07:00
Girish Ramakrishnan
5b6f53824b
Clear backup timer when server stopped
2014-08-26 17:44:50 -07:00
Johannes Zellner
6724798de8
webadmin: prepare for adding and removing user as admins
2014-08-26 11:03:33 -07:00
Johannes Zellner
6b5b2f1686
Do not show app reconfiguration button if the app is not installed
2014-08-25 09:35:18 -07:00