Johannes Zellner
81fb667e4f
webadmin: guard http calls in case the response is not json
2015-01-20 11:49:57 +01:00
Johannes Zellner
26cbbd8855
webadmin: add missing errorhandler in getApps()
2015-01-20 11:28:15 +01:00
Girish Ramakrishnan
452c0cce8a
Reload supervisor in startbox
2015-01-20 00:43:50 -08:00
Girish Ramakrishnan
a2e185735e
set -e on the scripts
2015-01-20 00:40:03 -08:00
Girish Ramakrishnan
45fcdd7eaf
Add start/stop box scripts
...
These will be used by the installer to start and stop the box
2015-01-19 20:58:00 -08:00
Johannes Zellner
a8eb90b12e
Use the new OAuth proxy in nginx app template
2015-01-19 23:37:27 +01:00
Johannes Zellner
4987810ee6
Add proxy supervisor config
2015-01-19 23:27:44 +01:00
Johannes Zellner
3d49667fbf
Move NODE_ENV to supervisor configs instead of app.js logic
2015-01-19 23:26:18 +01:00
Johannes Zellner
d8b1687c31
Add debug messages to proxy
2015-01-19 23:19:24 +01:00
Johannes Zellner
248a3e5a4e
Replace hardcoded URLs with real data from config
2015-01-19 22:24:36 +01:00
Johannes Zellner
5626f490e6
Get OAuth client ID from db
2015-01-19 21:14:22 +01:00
Johannes Zellner
328c3f137a
Add database support to proxy
2015-01-19 19:39:48 +01:00
Johannes Zellner
bb600a1896
Use regular OAuth flow for proxy auth
2015-01-19 19:25:40 +01:00
Johannes Zellner
697d30a0f2
Create a dummy version.json for running locally
2015-01-19 19:20:37 +01:00
Johannes Zellner
1a88433d0c
Add appdb.getByHttpPort()
2015-01-19 19:18:22 +01:00
Johannes Zellner
9749c70659
Initial version of standalone OAuth proxy
2015-01-19 16:26:46 +01:00
Johannes Zellner
b6e7dacf78
webadmin: add error.html in case the box server is down
2015-01-19 13:48:44 +01:00
Girish Ramakrishnan
d4a493ae74
Add optional versions file argument to new
2015-01-18 15:50:25 -08:00
Girish Ramakrishnan
d3623aa534
This line should not exit
...
Got committed by mistake
2015-01-18 11:58:00 -08:00
Girish Ramakrishnan
8cc249417e
Include certificates.conf inline
2015-01-18 11:49:13 -08:00
Girish Ramakrishnan
409f919d4d
Ensure top level directory is readable by others
...
tar --list --verbose --file=box.tar now shows:
drwxr-xr-x girishra/staff 0 2015-01-17 16:57 ./
Without this change, mktemp was creating directories have no r,x for
others and group. This meant that nginx which was running www-user
was unable to access the website inside box code.
2015-01-17 13:59:58 -08:00
Girish Ramakrishnan
fd41451d55
Use system nginx service
...
* do not use supervisor
* nginx.conf modifications to run as daemon
2015-01-17 12:51:59 -08:00
Girish Ramakrishnan
ffd6653869
Try using the system location for nginx configuration
...
This will help us use the system nginx service
2015-01-17 12:12:18 -08:00
Girish Ramakrishnan
3830c10090
Remove dead text
2015-01-16 23:42:03 -08:00
Girish Ramakrishnan
1babdec464
appstore now sends tls info as non-opaque data
2015-01-16 23:26:01 -08:00
Girish Ramakrishnan
cff828b352
Leave a note that versions need to be semver sorted
2015-01-16 20:26:24 -08:00
Girish Ramakrishnan
fa8b51139d
Do not use SSLv3
2015-01-16 15:36:30 -08:00
Girish Ramakrishnan
47eb5b0612
Fix .gitattributes
2015-01-15 22:02:59 -08:00
Girish Ramakrishnan
17cd4f7fec
Check length of imageName
2015-01-15 12:22:07 -08:00
Girish Ramakrishnan
8fffb9778b
Add imageName to versions file
...
This is primarily for documentation/readability. We are able to
tell the version of installer by looking at the version file (instead
of an image id which tell us nothing).
Fixes #120
2015-01-15 12:19:29 -08:00
Girish Ramakrishnan
cb70b38e38
Add --list command
2015-01-15 12:13:32 -08:00
Girish Ramakrishnan
d5f9c12042
Make new and rerelease as commands
2015-01-15 12:11:02 -08:00
Girish Ramakrishnan
0dbfce184d
Ignore various paths during archiving
2015-01-15 11:39:35 -08:00
Girish Ramakrishnan
edbb153c71
Move supervisor start to installer
2015-01-14 15:32:59 -08:00
Girish Ramakrishnan
9d111694ea
Make redis test work on Mac
...
This required exporting the redis port out of the virtual box
image.
2015-01-14 14:06:05 -08:00
Girish Ramakrishnan
f7639fd347
Cannot use format strings in Error object
2015-01-13 13:09:16 -08:00
Girish Ramakrishnan
6fd6d6e198
Send version instead of imageId for upgrade request
2015-01-13 10:50:10 -08:00
Girish Ramakrishnan
5db02143db
Make text less verbose
2015-01-13 09:55:29 -08:00
Girish Ramakrishnan
4313f3a5ff
Remove references to revision
2015-01-13 09:33:32 -08:00
Girish Ramakrishnan
2a779eb5bb
Remove dead references to installer
2015-01-13 08:58:31 -08:00
Girish Ramakrishnan
70786be2e9
Remove "Update to master" button since we are not git based anymore
2015-01-13 08:57:24 -08:00
Johannes Zellner
cfaaf7ebe6
Also warn on unused vars in jshint
2015-01-13 11:58:06 +01:00
Girish Ramakrishnan
8161ff2f8b
Fix various bugs
2015-01-13 00:04:28 -08:00
Girish Ramakrishnan
afc5745b82
Updater now passes opaque data to the installer
2015-01-12 21:40:27 -08:00
Girish Ramakrishnan
ffd233b2a2
Parse variables from data argument
2015-01-12 21:32:12 -08:00
Girish Ramakrishnan
63d315ed32
Move image creation scripts to installer repo
2015-01-12 17:10:44 -08:00
Girish Ramakrishnan
101fbcdbd0
Move installer to separate repo
2015-01-12 16:58:52 -08:00
Girish Ramakrishnan
e96e00fd8a
Create package.json for the installer
2015-01-12 16:57:05 -08:00
Girish Ramakrishnan
71cb6753f3
Move middleware under src/
2015-01-12 16:23:51 -08:00
Girish Ramakrishnan
9ecd85d827
Create versions.json in data dir to make tests work
2015-01-12 14:44:15 -08:00