Commit Graph

91 Commits (2565d4ed62f6b82988e7d78c4bd797fd8d8d007b)

Author SHA1 Message Date
Chaim Lev-Ari 3cb053250b feat(webpack): add missing imports 2018-10-11 17:55:43 +03:00
Chaim Lev-Ari fd3e96735c feat(build): add webpack build config 2018-10-10 11:06:23 +03:00
Chaim Lev-Ari c50c5bed81 Merge branch 'develop' into feat2182-upload-files-host 2018-10-08 08:13:03 +03: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 c4d647887f Merge branch 'develop' into feat2182-upload-files-host 2018-10-07 09:31:56 +03: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
Chaim Lev-Ari 0b8665f148 feat(agent): browse files 2018-09-30 11:16:10 +03:00
Chaim Lev-Ari 5956c4db40 Merge branch 'feat2240-host-view' into feat2182-upload-files-host 2018-09-30 10:11:16 +03:00
Chaim Lev-Ari e9496affa2 Merge branch 'develop' into feat2182-upload-files-host 2018-09-30 09:55:36 +03:00
Chaim Lev-Ari 86591cf1a6 feat(host-details): add loading indicator to disks panel 2018-09-30 09:31:24 +03:00
Chaim Lev-Ari e684cdad8c feat(host-view): add loading indicator to devices-panel 2018-09-30 09:28:45 +03:00
Chaim Lev-Ari fabaae66c2 Merge branch 'develop' into feat2240-host-view 2018-09-30 09:12:01 +03: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
Chaim Lev-Ari c780d52bcf Merge branch 'develop' into feat2240-host-view 2018-09-27 09:50:30 +03:00
Chaim Lev-Ari fe73fe616d feat(host-details): show disk/devices info for agent 2018-09-25 10:39:55 +03:00
Chaim Lev-Ari db0fc1382d feat(host-info): add different urls for refresh 2018-09-23 05:02:08 +03:00
Chaim Lando e09f653155 feat(node-details): move labels table and save button 2018-09-16 15:25:59 +03:00
Chaim Lando 21fece80da feat(host-details): hide engine labels when empty 2018-09-16 13:18:38 +03: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
Chaim Lando dc1ab3ffc3 style(host-details): fix spelling mistake in filter's name 2018-09-13 11:49:24 +03:00
Chaim Lando 6751fab987 feat(host-details): create mock call to server for agent host info 2018-09-13 11:48:30 +03:00
Chaim Lando e791e0a9c8 feat(host-details): remove flags for hiding data 2018-09-12 13:55:23 +03:00
Chaim Lando 4b4ba3f942 feat(host-details): fix labels not sending 2018-09-12 13:52:47 +03:00
Chaim Lando e75be92c37 style(host-details): remove obsolete event object 2018-09-12 12:36:44 +03:00
Chaim Lando b03a3cb36b Merge branch 'feat2240-host-view' of github.com:portainer/portainer into feat2240-host-view 2018-09-12 12:35:45 +03:00
Chaim Lando 10b904a13b feat(host-details): update node availability 2018-09-12 12:32:39 +03:00
Chaim Lando 42497ab60c feat(host-details): hide missing info 2018-09-12 10:16:28 +03:00
Anthony Lapenna ce4a4f0d4f Merge branch 'develop' into feat2240-host-view 2018-09-07 09:28:59 +02:00
Chaim Lando 6a9e389b7c feat(engine-details): pass is agent to host details 2018-09-06 17:02:13 +03:00
Chaim Lando 50ef742c63 feat(engine-details): add update label functionality 2018-09-06 16:38:28 +03:00
Chaim Lando 2f4b68e043 feat(engine-details): add labels-table component 2018-09-06 11:41:54 +03:00
Chaim Lando 67c020db9b feat(engine-details): remove node-details and include in parent 2018-09-06 11:41:20 +03:00
Chaim Lando c349aac7d2 feat(engine-details): remove isSwarm binding 2018-09-05 18:34:49 +03:00
Chaim Lando 28deb2237f feat(engine-details): add swarm-node-details component 2018-09-05 18:34:13 +03:00
Chaim Lando d8d4b38384 feat(engine-details): pass is-agent from view 2018-09-05 18:07:47 +03:00
Chaim Lando 871547b118 feat(engine-details): format engine version 2018-09-05 17:18:09 +03:00
Chaim Lando c15ee9af7e feat(engine-details): build host details object 2018-09-05 12:30:40 +03:00
Chaim Lando 1f16eb446b feat(engine-details): add host-details component 2018-09-05 12:23:53 +03:00
Chaim Lando d612ec9cee feat(engine-details): add host-view container component 2018-09-05 12:23:30 +03:00
Chaim Lando 65f542f722 feat(engine-details): add commaseperated filter 2018-09-05 12:22:25 +03:00
Chaim Lando 47f49b1e5d feat(engine-details): replace host-view with host-overview 2018-09-05 11:40:51 +03:00
Chaim Lando 483c8641d8 feat(engine-details): add basic engine-details-panel component 2018-09-05 11:27:21 +03:00
Chaim Lando 2113da56fa feat(engine-details): replace engine view with host view 2018-09-05 10:13:33 +03: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 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
Chaim Lando 25c5d1ab07 feat(agent): add new host page 2018-08-23 10:32:29 +03: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