Chaim Lev-Ari
65291c68e9
feat(jobs): add the job execution API
...
* feat(jobs): add job service interface
* feat(jobs): create job execution api
* style(jobs): remove comment
* feat(jobs): add bindings
* feat(jobs): validate payload different cases
* refactor(jobs): rename endpointJob method
* refactor(jobs): return original error
* feat(jobs): pull image before creating container
* feat(jobs): run jobs with sh
* style(jobs): remove comment
* refactor(jobs): change error names
* feat(jobs): sync pull image
* fix(jobs): close image reader after error check
* style(jobs): remove comment and add docs
* refactor(jobs): inline script command
* fix(jobs): handle pul image error
* refactor(jobs): handle image pull output
* fix(docker): set http client timeout to 100s
* fix(client): remove timeout from http client
2018-10-23 10:03:30 +13:00
Yassir Hannoun
719299d75b
fix(container-stat) : exclude cache from the Memory Usage chart to avoid misinterpret… ( #2371 )
2018-10-18 10:00:45 +13:00
Jan Jansen
d6ba46ed7f
feat(ux): Redirect from init/admin to home when admin already exists ( #2340 )
...
Fixes #1853
2018-10-13 19:29:44 +13:00
Chaim Lev-Ari
c5aecfe6f3
feat(host): Add host file browser with upload/download files ( #2337 )
...
* feat(agent): add new host page
* feat(agent): convert volume-browser to files-datatable
* fix(agent): browse folders in file-datatable
* feat(engine-details): replace engine view with host view
* feat(engine-details): remove old panels
* feat(engine-details): add basic engine-details-panel component
* feat(engine-details): pass details to the different components
* feat(engine-details): replace host-view with host-overview
* feat(engine-details): add commaseperated filter
* feat(engine-details): add host-view container component
* feat(engine-details): add host-details component
* feat(engine-details): build host details object
* feat(engine-details): format engine version
* feat(engine-details): get details for one node
* feat(engine-details): pass is-agent from view
* feat(engine-details): replace old node view with a new component
* feat(engine-details): add swarm-node-details component
* feat(engine-details): remove isSwarm binding
* feat(engine-details): remove node-details and include in parent
* feat(engine-details): add labels-table component
* feat(engine-details): add update node service
* feat(engine-details): add update label functionality
* style(engine-details): remove whitespaces
* feat(engine-details): remove old node page
* feat(engine-details): pass is agent to host details
* feat(host-details): hide missing info
* feat(host-details): update node availability
* style(host-details): remove obsolete event object
* feat(host-details): fix labels not sending
* feat(host-details): remove flags for hiding data
* feat(host-details): create mock call to server for agent host info
* style(host-details): fix spelling mistake in filter's name
* feat(host-details): get info from agent
* feat(host-details): hide engine labels when empty
* feat(node-details): move labels table and save button
* feat(host-info): add different urls for refresh
* feat(host-details): show disk/devices info for agent
* feat(host-view): add loading indicator to devices-panel
* feat(host-details): add loading indicator to disks panel
* feat(agent): fix browse volume
* feat(agent): browse files
* feat(agent): enable rename
* feat(agent): download file
* fix(agent): download file from root
* feat(agent): delete file
* style(agent): remove whitespaces
* fix(agent): fix link on node browser
* feat(agent): basic file uploader
* feat(agent): add basic file upload
* fix(volume-browser): move volume id to query params
* feat(node-browser): moved uploader into browser
* feat(node-browser): add upload spinner
* feat(agent): browse files relative to root
* feat(agent): browse standalone agent
* feat(agent): move browse button from header
* fix(agent): fix url of browser view
* fix(agent): fix breadcrumb on title of host-browser
* feat(agent): fix url on node-browser breadcrumb
* refactor(agent): remove unused controller
* refactor(docker): remove unused filter
* refactor(docker): remove unused controllers
* refactor(docker): remove isAgent binding
2018-10-12 11:32:17 +13:00
Anthony Lapenna
5341ad33af
docs(swagger): update StackUpdateRequest model ( #2360 )
2018-10-11 13:09:51 +13:00
baron_l
e948d606f4
fix(container-creation): set a default runtime value ( #2325 )
...
* fix(containers): creating a container with default runtime let the docker daemon assume the correct value
* refactor(containers): implementation simplification of default runtime value
2018-10-09 09:28:26 +13:00
Chaim Lev-Ari
ca08b2fa2a
feat(host): replace engine view with host view ( #2255 )
...
* feat(engine-details): remove old panels
* feat(engine-details): add basic engine-details-panel component
* feat(engine-details): pass details to the different components
* feat(engine-details): replace host-view with host-overview
* feat(engine-details): add commaseperated filter
* feat(engine-details): add host-view container component
* feat(engine-details): add host-details component
* feat(engine-details): build host details object
* feat(engine-details): format engine version
* feat(engine-details): get details for one node
* feat(engine-details): pass is-agent from view
* feat(engine-details): replace old node view with a new component
* feat(engine-details): add swarm-node-details component
* feat(engine-details): remove isSwarm binding
* feat(engine-details): remove node-details and include in parent
* feat(engine-details): add labels-table component
* feat(engine-details): add update node service
* feat(engine-details): add update label functionality
* style(engine-details): remove whitespaces
* feat(engine-details): remove old node page
* feat(engine-details): pass is agent to host details
* feat(host-details): hide missing info
* feat(host-details): update node availability
* style(host-details): remove obsolete event object
* feat(host-details): fix labels not sending
* feat(host-details): remove flags for hiding data
* feat(host-details): create mock call to server for agent host info
* style(host-details): fix spelling mistake in filter's name
* feat(host-details): get info from agent
* feat(host-details): hide engine labels when empty
* feat(node-details): move labels table and save button
* feat(host-info): add different urls for refresh
* feat(host-details): show disk/devices info for agent
* feat(host-view): add loading indicator to devices-panel
* feat(host-details): add loading indicator to disks panel
* feat(host-details): show devices/disks on standalone agent
* refactor(host-details): remove default value
* refactor(host-details): remove redundant commaSeperated filter
* refactor(host-details): remove unused functions
* style(host-details): remove whitespace
2018-10-08 11:44:08 +13:00
Chaim Lev-Ari
275fcf5587
fix(volume-browser): move volume id to query params ( #2338 )
2018-10-08 11:34:47 +13:00
Anthony Lapenna
3422662191
fix(app): fix invalid state name ( #2330 )
...
* fix(app): fix invalid state name
* fix(app): update ui-sref
2018-10-04 13:28:39 +13:00
Brian Kabiro
f6d9a4c7c1
feat(nodes): display node name when available ( #2328 )
...
- check if the name of a node is available, otherwise default to the Hostname
2018-10-04 12:07:31 +13:00
Ricardo Cardona Ramirez
575735a6f7
feat(ux): sort networks alphabetically in network selection dropdowns ( #2326 )
...
* Sort network lists
2018-10-04 12:04:38 +13:00
Brian Kabiro
b7c48fcbed
feat(visualizer): sort tasks in alphabetical order on refresh ( #2329 )
...
- sort the tasks on each node in alphabetical order to make it easier to track what has changed
2018-10-04 11:57:07 +13:00
Tolik Litovsky
6e8a10d72f
fix(api): remove x-frame-options header ( #2322 )
2018-10-03 14:18:03 +13:00
Chaim Lev-Ari
bad95987ec
feat(backend): trigger startup snapshot job in a goroutine ( #2309 )
...
* feat(backend): wrap init enpoint with goroutine
* feat(backend): wrap job snapshot with goroutine
* feat(snapshots): reset changes for main and job_endpoint
* feat(snapshot): run first job.snapshot as a goroutine
2018-10-01 14:38:14 +13:00
Chaim Lev-Ari
9b4870d57e
feat(stack-details): Add the ability to duplicate a stack ( #2278 )
...
* feat(stack-details): add duplicate-stack button
* feat(stack-details): add stack-duplication-form component
* feat(stack-details): add duplicate stack method on controller
* feat(stack-details): add duplicate stack method
* feat(stack-details): remove old duplication in progress flag
* feat(stack-details): combine migration and duplication forms
* feat(stack-details): pass new stack name to server
* feat(stack-details): add option to rename migrated stack
* feat(stack-details): disable both migrate/duplicate buttons
* feat(stack-details): disable migration button on same endpoint
* feat(stack-details): change duplicate icon
* style(stack-details): remove whitespaces and fix pattern
* feat(stack-details): add name to migration payload in swagger.yml
* style(stack-details): add semicolon
* bug(stack-details): toggle endpoints before and after duplication
2018-10-01 14:36:49 +13:00
Chaim Lev-Ari
6e262e6e89
feat(home): support search in multiple fields (name, group, tag, status) ( #2285 )
...
* feat(home): search multiple fields (group/tag)
* feat(home): change search from "OR" to "AND"
* feat(home): search only for a tag or a group
* feat(home): search by keywords in name,group,tag
* feat(home): support case insensitive search
* style(home): remove unused $filter
* feat(home): search state
* style(home): update search input placeholder
2018-10-01 09:06:58 +13:00
Chaim Lev-Ari
5be2684442
feat(home): add the ability to edit an endpoint ( #2305 )
...
* feat(home): add edit button
* feat(home): style edit button
* feat(home): make endpoint editable on admin only
2018-09-30 11:20:10 +13:00
Chaim Lev-Ari
226c45f035
fix(template-creation): fix an issue related to the network setting ( #2312 )
...
* bug(template): pass network name on creation
* bug(templates): choose network object on update
* fix(templates): set network only when available
2018-09-28 15:06:47 +12:00
Angele
92b15523f0
feat(containers): add container name in error notification
...
* containersDatable: add containers name if error on executeActionOnContainerList
* Update containersDatatableActionsController.js
* Update containersDatatableActionsController.js
2018-09-28 10:49:30 +12:00
Anthony Lapenna
f0f01c33bd
feat(endpoint-creation): add requirement message for agent endpoint ( #2303 )
2018-09-26 18:59:50 +12:00
Lukas Joergensen
94b202fedc
fix(authentication): escape LDAP filters ( #2209 )
2018-09-25 11:10:41 +12:00
Anthony Lapenna
d5dd362d53
feat(api): update client.Get with a new timeout parameter and default… ( #2297 )
...
* feat(api): update client.Get with a new timeout parameter and default to 5s
* fix(api): fix invalid type
2018-09-24 12:09:12 +12:00
Anthony Lapenna
c3d80a1b21
docs(project): update CONTRIBUTING.md
2018-09-19 11:40:06 +08:00
Anthony Lapenna
b192b098ca
feat(build-system): update shippedDockerVersion to 18.06.1-ce ( #2281 )
2018-09-17 09:26:37 +08:00
Anthony Lapenna
22450bbdeb
chore(build): update build script and add grunt yarn script ( #2276 )
2018-09-16 10:34:46 +08:00
Anthony Lapenna
313c8be997
chore(version): bump version number
2018-09-15 19:26:03 +08:00
Anthony Lapenna
885c61fb7b
Merge tag '1.19.2' into develop
...
Release 1.19.2
2018-09-15 16:40:43 +08:00
Anthony Lapenna
02362defde
Merge branch 'release/1.19.2'
2018-09-15 16:40:38 +08:00
Anthony Lapenna
57bd82ba85
chore(version): bump version number
2018-09-15 16:40:26 +08:00
Anthony Lapenna
e2258f98cc
fix(services): only display logs action when container has ID in agent proxy mode
2018-09-15 10:33:33 +08:00
Anthony Lapenna
bab02f2b91
fix(container-details): update container restart policy init
2018-09-15 10:19:51 +08:00
Anthony Lapenna
77913543b1
feat(container-details): update container-restart-policy component ( #2273 )
2018-09-15 09:53:35 +08:00
Anthony Lapenna
b24891a6bc
refactor(api): introduce libhttp usage ( #2263 )
2018-09-10 12:01:38 +02:00
Anthony Lapenna
42f5aec6a5
feat(container-console): increase hijacked tcp connection reader size ( #2259 )
2018-09-07 11:24:18 +02:00
Anthony Lapenna
7ba19ee1f9
fix(api): change user password update flow ( #2247 )
...
* fix(api): change password update flow
* feat(update-password): add current password confirmation
2018-09-05 08:49:43 +02:00
Anthony Lapenna
736f61dc2f
fix(snapshots): close Docker client after snapshot ( #2235 )
2018-09-05 08:44:04 +02:00
Anthony Lapenna
0b8f7f6cea
refactor(api): update error message for /users/admin/init
2018-09-03 20:18:04 +02:00
Kendrick
0efeeaf185
feat(webhooks): add support for service update webhooks ( #2161 )
...
* Initial pass at adding webhook controller and routes
* Moving some objects around
* Cleaning up comments
* Fixing syntax, switching to using the docker sdk over building an http client
* Adding delete and list functionality
* Updating the handler to use the correct permissions. Updating some comments
* Fixing some comments
* Code cleanup per pull request comments
* Cleanup per PR feedback. Syntax error fix
* Initial creation of webhook app code
* Moving ClientFactory creation out of handler code and instead using the one created by the main process. Removing webhookInspect method and updating the list function to use json filters
* Delete now works on the webhook ID vs service ID
* WIP - Service creates a webhook. Display will show an existing webhook URL.
* Adding the webhook field to the service view. There is now the ability to add or remove a webhook from a service
* Moving all api calls to be webhooks vs webhook
* Code cleanup. Moving all api calls to be webhooks vs webhook
* More conversion of webhook to webhooks?
* Moving UI elements around. Starting function for copying to clipboard
* Finalizing function for copying to clipboard. Adding button that calls function and copies webhook to clipboard.
* Fixing UI issues. Hiding field entirely when there is no webhook
* Moving URL crafting to a helper method. The edit pane for service now creates/deletes webhooks immidiately.
* style(service-details): update webhook line
* feat(api): strip sha when updating an image via the update webhook
* Fixing up some copy. Only displying the port if it is not http or https
* Fixing tooltip copy. Setting the forceupdate to be true to require an update to occur
* Fixing code climate errors
* Adding WebhookType field and setting to ServiceWebhook for new webhooks. Renaming ServiceID to resourceID so future work can add new types of webhooks in other resource areas.
* Adding the webhook type to the payload to support more types of webhooks in the future. Setting the type correctly when creating one for a service
* feat(webhooks): changes related to webhook management
* API code cleanup, removing unneeded functions, and updating validation logic
* Incorrectly ignoring the error that the webhook did not exist
* Re-adding missing error handling. Changing error response to be a 404 vs 500 when token can't find an object
* fix(webhooks): close Docker client after service webhook execution
2018-09-03 12:08:03 +02:00
Anthony Lapenna
d5facde9d4
fix(api): fix invalid error message in endpoint creation handler ( #2233 )
2018-09-02 10:35:05 +02:00
classmember
e17c873e73
refactor(build-system): update build_in_container.sh ( #2230 )
...
wrapped `$(pwd)/api:/src` in `"` quotes to prevent word splitting on the `-tv` option
2018-09-01 10:09:24 +02:00
Anthony Lapenna
84fc3119a0
docs(swagger): update StackCreate operation parameter
2018-08-30 13:11:15 +02:00
Anthony Lapenna
887c16c580
feat(api): display details in error response ( #2228 )
2018-08-30 12:21:53 +02:00
Anthony Lapenna
a5d6ab0410
refactor(app): remove unused params in templates state declaration
2018-08-28 10:50:15 +02:00
Anthony Lapenna
812f3e3e85
feat(auth): remove sanitization calls and ask for password update if needed ( #2222 )
...
* wip
* feat(auth): remove sanitization calls and ask for password update if needed
2018-08-28 10:13:01 +02:00
aksappy
bfccf55729
fix(images): Fix upload modal to allow both tar and tar.gz images ( #2218 )
2018-08-27 21:43:58 +02:00
Anthony Lapenna
538a2b5ee2
fix(service-details): disable auto-focus on task datatable ( #2214 )
...
* fix(service-details): disable auto-focus on task datatable
* refactor(api): gofmt main.go
2018-08-24 14:30:41 +02:00
William Easton
c941fac2cc
fix(api): set templatesURL in settings when using the --templates flag
...
Re-add the CLI for external template management
2018-08-24 13:08:46 +02:00
Anthony Lapenna
4b05699e66
chore(codeclimate): update .codeclimate.yml ( #2212 )
...
* chore(codeclimate): update .codeclimate.yml
* chore(codeclimate): update .codeclimate.yml
* chore(codeclimate): update .codeclimate.yml
2018-08-24 10:40:05 +02:00
Anthony Lapenna
8cd3964d75
feat(security): update secured headers and sanitize team name ( #2167 )
2018-08-23 17:10:18 +02:00
Chaim Lev-Ari
e58acd7dd6
* chore(eslint): update esllint and remove unused variables
...
* chore(eslint-config): change no-unused-vars to warn
* chore(eslint): remove unused variables
* chore(eslint): allow unused globals
* fixup! chore(eslint): allow unused globals
* chore(eslint): remove commented unused vars
* fixup! chore(eslint): remove commented unused vars
2018-08-22 17:33:06 +02:00