Girish Ramakrishnan
fb56795cbd
merge start options into hostconfig
2015-10-19 21:35:02 -07:00
Girish Ramakrishnan
15aa4ecc5d
Add docker.createSubcontainer
2015-10-19 21:33:53 -07:00
Girish Ramakrishnan
351d7d22fb
rename tasks to tasksConfig
2015-10-19 16:29:28 -07:00
Girish Ramakrishnan
79999887a9
job -> cronJob
2015-10-19 16:27:03 -07:00
Girish Ramakrishnan
25d74ed649
createContainer takes optional command
2015-10-19 16:22:35 -07:00
Girish Ramakrishnan
9346666b3e
add labels to container
2015-10-19 16:01:04 -07:00
Girish Ramakrishnan
13453552b5
createContainer only takes app object
2015-10-19 16:00:40 -07:00
Girish Ramakrishnan
ef38074b55
add asserts
2015-10-19 15:51:02 -07:00
Girish Ramakrishnan
e5e8eea7ac
make it work without app object
2015-10-19 15:45:43 -07:00
Girish Ramakrishnan
9be2efc4f2
downloadImage only requires manifest now
2015-10-19 15:37:57 -07:00
Girish Ramakrishnan
990b7a2d20
implement scheduler
...
- scan for apps every 10 minutes and schedules tasks
- uses docker.exec
- there is no way to control exec container. docker developers
feel exec is for debugging purposes primarily
- future version will be based on docker run instead
part of #519
2015-10-19 14:53:34 -07:00
Girish Ramakrishnan
8d6dd62ef4
refactor container code into docker.js
2015-10-19 14:44:01 -07:00
Girish Ramakrishnan
69d09e8133
use docker.connection
2015-10-19 14:09:20 -07:00
Girish Ramakrishnan
6671b211e0
export a connection property from docker.js
2015-10-19 11:24:21 -07:00
Girish Ramakrishnan
307e815e97
remove unused require
2015-10-19 11:18:50 -07:00
Girish Ramakrishnan
d8e2bd6ff5
Refactor docker.js to not have mac stuff
2015-10-19 11:14:11 -07:00
Girish Ramakrishnan
e74c2f686b
remove unused require
2015-10-19 11:05:31 -07:00
Girish Ramakrishnan
c7d5115a56
Remove vbox.js
...
... and all related mac code. It's totally untested at this point and
most likely doesn't work
2015-10-19 10:54:36 -07:00
Girish Ramakrishnan
774ba11a92
Move HostConfig to createContainer
...
Newer docker has obsoleted HostConfig in start container
2015-10-19 10:38:46 -07:00
Girish Ramakrishnan
322edbdc20
getByAppIdAndType
2015-10-19 08:58:07 -07:00
Johannes Zellner
c1ba551e07
Cleanup some of the html form elements
2015-10-19 10:31:19 +02:00
Johannes Zellner
9917412329
Indicate during app installation and configuration if the app is a single user app
2015-10-19 10:29:51 +02:00
Girish Ramakrishnan
2f4adb4d5f
keep addon listing alphabetical
2015-10-18 20:06:26 -07:00
Girish Ramakrishnan
b61b864094
make callback noop
2015-10-17 13:57:19 -07:00
Johannes Zellner
fa193276c9
Require exactly one user in accessRestriction for singleUser app installations
v0.0.74
2015-10-16 20:01:45 +02:00
Johannes Zellner
0ca09c384a
Hide client secret field for simple auth
2015-10-16 19:41:50 +02:00
Johannes Zellner
a6a39cc4e6
Adapt clients.getAllWithDetailsByUserId() to new client types
2015-10-16 19:36:12 +02:00
Johannes Zellner
c9f84f6259
Show user selection for singleUser apps
2015-10-16 18:06:49 +02:00
Johannes Zellner
07063ca4f0
Adjust the webadmin to the accessRestriction changes
2015-10-16 16:14:23 +02:00
Johannes Zellner
b5cfdcf875
Fixup the unit tests for accessRestriction format change
2015-10-16 16:06:13 +02:00
Johannes Zellner
373db25077
Make accessRestriction a JSON format to prepare for group access control
2015-10-16 15:32:19 +02:00
Johannes Zellner
f8c2ebe61a
Taks accessRestriction and oauthProxy into account for an update through the cli
2015-10-16 14:50:00 +02:00
Johannes Zellner
ae23fade1e
Show oauthProxy and accessRestriction values at app installation and configuration
2015-10-16 14:50:00 +02:00
Johannes Zellner
5386c05c0d
Give developer tokens the correct scopes
2015-10-16 14:50:00 +02:00
Johannes Zellner
aed94c8aaf
roleDeveloper is no more
2015-10-16 14:50:00 +02:00
Johannes Zellner
37185fc4d5
Only allow simple auth clients through simple auth
2015-10-16 14:49:51 +02:00
Johannes Zellner
cc64c6c9f7
Test using simple auth credentials in oauth
2015-10-16 11:48:12 +02:00
Johannes Zellner
0c0782ccd7
Fixup oauth to not allow simple auth clients
2015-10-16 11:27:42 +02:00
Johannes Zellner
5bc9f9e995
use clientdb types in authorization endpoint
2015-10-16 11:22:16 +02:00
Johannes Zellner
22402d1741
Remove legacy test auth client type
2015-10-16 10:05:58 +02:00
Johannes Zellner
8f203b07a1
Fix indentation
2015-10-16 09:19:05 +02:00
Girish Ramakrishnan
9c157246b7
add type field to clients table
v0.0.73
v0.0.72
2015-10-15 17:35:47 -07:00
Girish Ramakrishnan
d0dfe1ef7f
remove unused variable
2015-10-15 17:35:47 -07:00
Girish Ramakrishnan
a9ccc7e2aa
remove updating clients
...
clients are immutable
2015-10-15 16:08:17 -07:00
Girish Ramakrishnan
63edbae1be
minor rename
2015-10-15 15:51:51 -07:00
Girish Ramakrishnan
8afe537497
fix typo
2015-10-15 15:32:14 -07:00
Girish Ramakrishnan
f33844d8f1
fix debug tag
2015-10-15 15:19:28 -07:00
Girish Ramakrishnan
c750d00355
ignore any tmp cleanup errors
2015-10-15 14:47:43 -07:00
Girish Ramakrishnan
bb9b39e3c0
callback can be null
2015-10-15 14:25:38 -07:00
Girish Ramakrishnan
057b89ab8e
Check error code of image removal
2015-10-15 14:06:05 -07:00