Anthony Lapenna
19d4db13be
feat(api): rewrite access control management in Docker ( #3337 )
...
* feat(api): decorate Docker resource creation response with resource control
* fix(api): fix a potential resource control conflict between stacks/volumes
* feat(api): generate a default private resource control instead of admin only
* fix(api): fix default RC value
* fix(api): update RC authorizations check to support admin only flag
* refactor(api): relocate access control related methods
* fix(api): fix a potential conflict when fetching RC from database
* refactor(api): refactor access control logic
* refactor(api): remove the concept of DecoratedStack
* feat(api): automatically remove RC when removing a Docker resource
* refactor(api): update filter resource methods documentation
* refactor(api): update proxy package structure
* refactor(api): renamed proxy/misc package
* feat(api): re-introduce ResourceControlDelete operation as admin restricted
* refactor(api): relocate default endpoint authorizations
* feat(api): migrate RBAC data
* feat(app): ResourceControl management refactor
* fix(api): fix access control issue on stack deletion and automatically delete RC
* fix(api): fix stack filtering
* fix(api): fix UpdateResourceControl operation checks
* refactor(api): introduce a NewTransport builder method
* refactor(api): inject endpoint in Docker transport
* refactor(api): introduce Docker client into Docker transport
* refactor(api): refactor http/proxy package
* feat(api): inspect a Docker resource labels during access control validation
* fix(api): only apply automatic resource control creation on success response
* fix(api): fix stack access control check
* fix(api): use StatusCreated instead of StatusOK for automatic resource control creation
* fix(app): resource control fixes
* fix(api): fix an issue preventing administrator to inspect a resource with a RC
* refactor(api): remove useless error return
* refactor(api): document DecorateStacks function
* fix(api): fix invalid resource control type for container deletion
* feat(api): support Docker system networks
* feat(api): update Swagger docs
* refactor(api): rename transport variable
* refactor(api): rename transport variable
* feat(networks): add system tag for system networks
* feat(api): add support for resource control labels
* feat(api): upgrade to DBVersion 22
* refactor(api): refactor access control management in Docker proxy
* refactor(api): re-implement docker proxy taskListOperation
* refactor(api): review parameters declaration
* refactor(api): remove extra blank line
* refactor(api): review method comments
* fix(api): fix invalid ServerAddress property and review method visibility
* feat(api): update error message
* feat(api): update restrictedVolumeBrowserOperation method
* refactor(api): refactor method parameters
* refactor(api): minor refactor
* refactor(api): change Azure transport visibility
* refactor(api): update struct documentation
* refactor(api): update struct documentation
* feat(api): review restrictedResourceOperation method
* refactor(api): remove unused authorization methods
* feat(api): apply RBAC when enabled on stack operations
* fix(api): fix invalid data migration procedure for DBVersion = 22
* fix(app): RC duplicate on private resource
* feat(api): change Docker API version logic for libcompose/client factory
* fix(api): update access denied error message to be Docker API compliant
* fix(api): update volume browsing authorizations data migration
* fix(api): fix an issue with access control in multi-node agent Swarm cluster
2019-11-13 12:41:42 +13:00
xAt0mZ
198e92c734
feat(registry): gitlab support ( #3107 )
...
* feat(api): gitlab registry type
* feat(registries): early support for gitlab registries
* feat(app): registry service selector
* feat(registry): gitlab support : list repositories and tags - remove features missing
* feat(registry): gitlab registry remove features
* feat(registry): gitlab switch to registry V2 API for repositories and tags
* feat(api): use development extension binary
* fix(registry): avoid 401 on gitlab retrieve to disconnect the user
* feat(registry): gitlab browse projects without extension
* style(app): code cleaning
* refactor(app): PR review changes + refactor on types
* fix(gitlab): remove gitlab info from registrymanagementconfig and force gitlab type
* style(api): go fmt
* feat(api): update APIVersion and ExtensionDefinitionsURL
* fix(api): fix invalid RM extension URL
* feat(registry): PAT scope help
* feat(registry): defaults on registry creation
* style(registry-creation): update layout and text for Gitlab registry
* feat(registry-creation): update gitlab notice
2019-11-12 16:28:31 +13:00
Anthony Lapenna
03d9d6afbb
Revert "fix(api): fix invalid resource control check ( #3225 )" ( #3327 )
...
This reverts commit 1fbe6a12f1
.
2019-11-01 17:46:53 +13:00
Anthony Lapenna
0175490161
fix(api): data migration to update default Portainer authorizations ( #3314 )
2019-10-31 12:12:04 +13:00
Anthony Lapenna
310b6b34da
fix(api): update user authorizations after team deletion ( #3315 )
2019-10-31 08:46:50 +13:00
Aaron Korte
53942b741a
fix(api): increment stack identifier atomically ( #3290 )
2019-10-24 11:38:41 +13:00
Anthony Lapenna
4fad28590d
chore(version): bump version number
2019-10-11 10:40:41 +13:00
Anthony Lapenna
ab2acea463
feat(app): add externally sourced support options ( #3249 )
...
* feat(app): add externally sourced support options
* refactor(api): rename struct fields
2019-10-10 10:59:27 +13:00
Anthony Lapenna
521a36e629
fix(api): fix missing default settings for LDAPSettings
2019-10-10 10:28:17 +13:00
Anthony Lapenna
182f3734d0
fix(api): fix an issue with unsupported cron format ( #3240 )
...
* fix(api): fix an issue with unsupported cron format
* refactor(api): review migration method
2019-10-08 16:18:32 +13:00
Anthony Lapenna
d717ad947b
feat(api): remove cron second support
2019-10-08 14:39:37 +13:00
Anthony Lapenna
9aa52a6975
feat(settings): add new settings to disable volume browser ( #3239 )
...
* feat(settings): add new settings to disable volume browser
* feat(api): update setting to be compliant with RBAC
* refactor(api): update method comment
* fix(api): remove volume browsing authorizations by default
* feat(settings): rewrite volume management setting description
* feat(settings): rewrite volume management setting tooltip
* Update app/portainer/views/settings/settings.html
Co-Authored-By: William <william.conquest@portainer.io>
2019-10-08 13:17:58 +13:00
firecyberice
ef4c138e03
fix(authentication): trim the newline character from the password string ( #3091 )
2019-10-08 11:52:37 +13:00
Anthony Lapenna
68fe5d6906
fix(api): fix invalid restriction on StatusInspectVersion
2019-10-08 11:45:16 +13:00
Anthony Lapenna
2912e78f68
fix(api): add access validation for agent browse requests ( #3235 )
...
* fix(api): add access validation for agent browse requests
* fix(api): review query parameter retrieval
* refactor(api): remove useless else case
2019-10-07 16:24:08 +13:00
Anthony Lapenna
fb6f6738d9
fix(api): prevent the use of bind mounts in stacks if setting enabled ( #3232 )
2019-10-07 16:12:21 +13:00
Anthony Lapenna
f7480c4ad4
feat(api): prevent non administrator users to use admin restricted API endpoints ( #3227 )
2019-10-07 16:10:51 +13:00
Anthony Lapenna
1fbe6a12f1
fix(api): fix invalid resource control check ( #3225 )
2019-10-07 16:09:35 +13:00
Anthony Lapenna
b7c38b9569
feat(api): trigger user authorization update when required ( #3213 )
...
* refactor(api): remove useless type cast
* feat(api): trigger user authorization update when required
* fix(api): fix missing RegistryService injection
2019-10-07 15:42:01 +13:00
Anthony Lapenna
d4fa4d8a52
fix(api): always persist data after initial extension check
2019-09-30 14:03:59 +13:00
Anthony Lapenna
ea05d96c73
feat(sidebar): add update notification ( #3196 )
...
* feat(sidebar): add update notification
* style(sidebar): update notification color palette
* refactor(api): rollback to latest version
* feat(sidebar): update style
* style(sidebar): fix color override
2019-09-26 08:38:11 +12:00
Anthony Lapenna
646038cd0f
feat(exec): add DEBUG statement when validating license ( #3191 )
2019-09-24 17:06:08 +12:00
Anthony Lapenna
42d4e1e11c
fix(api): prevent panic in auth when OAuth is enabled ( #3179 )
2019-09-24 11:03:44 +12:00
Anthony Lapenna
1f68aad07f
feat(api): prevent endpoint creation with already paired agent ( #3159 )
2019-09-20 16:14:19 +12:00
Anthony Lapenna
07505fabcc
fix(api): remove automatic backend failure for Down endpoints ( #3160 )
2019-09-20 16:13:58 +12:00
Anthony Lapenna
a5e5983c28
feat(api): only error on ping failure for snapshots ( #3177 )
2019-09-20 16:13:44 +12:00
Anthony Lapenna
baa64ca927
refactor(api): update scheduler to match new cron lib API ( #3157 )
2019-09-15 10:47:44 +12:00
Anthony Lapenna
7d76bc89e7
feat(api): relocate authorizations outside of JWT ( #3079 )
...
* feat(api): relocate authorizations outside of JWT
* fix(api): update user authorization after enabling the RBAC extension
* feat(api): add PortainerEndpointList operation in the default portainer authorizations
* feat(auth): retrieve authorization from API instead of JWT
* refactor(auth): move permissions retrieval to function
* refactor(api): document authorizations methods
2019-09-10 10:58:26 +12:00
Steven Kang
ec19faaa24
fix(stack): Skip SSL Verification ( #3064 )
...
* fix(stack): Skip SSL Verification
* fix(stack): Skip SSL Verification
* fix(stack): move httpsCli into service
* fix(stack): clean-up
* fix(stack): move httpsCli back into the function
* fix(stack): move httpsCli and InstallProtocol back into service
* fix(stack): clean-up debugging
* fix(stack): parameter cleanup
Co-Authored-By: Anthony Lapenna <anthony.lapenna@portainer.io>
2019-09-10 10:56:16 +12:00
Anthony Lapenna
628d4960cc
fix(api): fix an issue with RegistryUpdate operation ( #3137 )
2019-09-10 10:55:27 +12:00
Anthony Lapenna
849ff8cf9b
docs(api): document EdgeAgentCheckinInterval parameter for SettingsUpdate
2019-09-02 07:17:41 +12:00
Anthony Lapenna
a90fa857ee
docs(api): document Edge agent environment type
2019-08-30 09:30:30 +12:00
Anthony Lapenna
e11df28df6
fix(api): fix missing windows dependency
2019-07-28 10:30:12 +12:00
Anthony Lapenna
8cb18f9877
chore(version): bump version number
2019-07-26 14:01:49 +12:00
Anthony Lapenna
448003aaa4
docs(swagger): update Swagger documentation
2019-07-26 11:10:26 +12:00
Anthony Lapenna
12a512f01f
feat(edge): introduce support for Edge agent ( #3031 )
...
* feat(edge): fix webconsole and agent deployment command
* feat(edge): display agent features when connected to IoT endpoint
* feat(edge): add -e CAP_HOST_MANAGEMENT=1 to agent command
* feat(edge): add -v /:/host and --name portainer_agent_iot to agent command
* style(endpoint-creation): refactor IoT agent to Edge agent
* refactor(api): rename AgentIoTEnvironment to AgentEdgeEnvironment
* refactor(api): rename AgentIoTEnvironment to AgentEdgeEnvironment
* feat(endpoint-creation): update Edge agent deployment instructions
* feat(edge): wip edge
* feat(edge): refactor key creation
* feat(edge): update deployment instructions
* feat(home): update Edge agent endpoint item
* feat(edge): support dynamic ports
* feat(edge): support sleep/wake and snapshots
* feat(edge): support offline mode
* feat(edge): host job support for Edge endpoints
* feat(edge): introduce STANDBY state
* feat(edge): update Edge agent deployment command
* feat(edge): introduce EDGE_ID support
* feat(edge): update default inactivity interval to 5min
* feat(edge): reload Edge schedules after restart
* fix(edge): fix execution of endpoint job against an Edge endpoint
* fix(edge): fix minor issues with scheduling UI/UX
* feat(edge): introduce EdgeSchedule version management
* feat(edge): switch back to REQUIRED state from ACTIVE on error
* refactor(edge): remove comment
* feat(edge): updated tunnel status management
* feat(edge): fix flickering UI when accessing Edge endpoint from home view
* feat(edge): remove STANDBY status
* fix(edge): fix an issue with console and Swarm endpoint
* fix(edge): fix an issue with stack deployment
* fix(edge): reset timer when applying active status
* feat(edge): add background ping for Edge endpoints
* fix(edge): fix infinite loading loop after Edge endpoint connection failure
* fix(home): fix an issue with merge
* feat(api): remove SnapshotRaw from EndpointList response
* feat(api): add pagination for EndpointList operation
* feat(api): rename last_id query parameter to start
* feat(api): implement filter for EndpointList operation
* fix(edge): prevent a pointer issue after removing an active Edge endpoint
* feat(home): front - endpoint backend pagination (#2990 )
* feat(home): endpoint pagination with backend
* feat(api): remove default limit value
* fix(endpoints): fix a minor issue with column span
* fix(endpointgroup-create): fix an issue with endpoint group creation
* feat(app): minor loading optimizations
* refactor(api): small refactor of EndpointList operation
* fix(home): fix minor loading text display issue
* refactor(api): document bolt services functions
* feat(home): minor optimization
* fix(api): replace seek with index scanning for EndpointPaginated
* fix(api): fix invalid starting index issue
* fix(api): first implementation of working filter
* fix(home): endpoints list keeps backend pagination when it needs to
* fix(api): endpoint pagination doesn't drop the first item on pages >=2 anymore
* fix(home): UI flickering on page/filter load/change
* feat(auth): login spinner
* feat(api): support searching in associated endpoint group data
* refactor(api): remove unused API endpoint
* refactor(api): remove comment
* refactor(api): refactor proxy manager
* feat(api): declare EndpointList params as optional
* feat(api): support groupID filter on endpoints route
* feat(api): add new API operations endpointGroupAddEndpoint and endpointGroupDeleteEndpoint
* feat(edge): new icon for Edge agent endpoint
* fix(edge): fix missing exec quick action
* fix(edge): add loading indicator when connecting to Edge endpoint
* feat(edge): disable service webhooks for Edge endpoints
* feat(endpoints): backend pagination for endpoints view (#3004 )
* feat(edge): dynamic loading for stack migration feature
* feat(edge): wordwrap edge key
* feat(endpoint-groups): backend pagination support for create and edit
* feat(endpoint-groups): debounce on filter for create/edit views
* feat(endpoint-groups): filter assigned on create view
* (endpoint-groups): unassigned endpoints edit view
* refactor(endpoint-groups): code clean
* feat(endpoint-groups): remove message for Unassigned group
* refactor(websocket): minor refactor associated to Edge agent
* feat(endpoint-group): enable backend pagination (#3017 )
* feat(api): support groupID filter on endpoints route
* feat(api): add new API operations endpointGroupAddEndpoint and endpointGroupDeleteEndpoint
* feat(endpoint-groups): backend pagination support for create and edit
* feat(endpoint-groups): debounce on filter for create/edit views
* feat(endpoint-groups): filter assigned on create view
* (endpoint-groups): unassigned endpoints edit view
* refactor(endpoint-groups): code clean
* feat(endpoint-groups): remove message for Unassigned group
* refactor(api): endpoint group endpoint association refactor
* refactor(api): rename files and remove comments
* refactor(api): remove usage of utils
* refactor(api): optional parameters
* Merge branch 'feat-endpoint-backend-pagination' into edge
# Conflicts:
# api/bolt/endpoint/endpoint.go
# api/http/handler/endpointgroups/endpointgroup_update.go
# api/http/handler/endpointgroups/handler.go
# api/http/handler/endpoints/endpoint_list.go
# app/portainer/services/api/endpointService.js
* fix(api): fix default tunnel server credentials
* feat(api): update endpointListOperation behavior and parameters
* fix(api): fix interface declaration
* feat(edge): support configurable Edge agent checkin interval
* feat(edge): support dynamic tunnel credentials
* feat(edge): update Edge agent deployment commands
* style(edge): update Edge agent settings text
* refactor(edge): remove unused credentials management methods
* feat(edge): associate a remote addr to tunnel credentials
* style(edge): update Edge endpoint icon
* feat(edge): support encrypted tunnel credentials
* fix(edge): fix invalid pointer cast
* feat(bolt): decode endpoints with jsoniter
* feat(edge): persist reverse tunnel keyseed
* refactor(edge): minor refactor
* feat(edge): update chisel library usage
* refactor(endpoint): use controller function
* feat(api): database migration to DBVersion 19
* refactor(api): refactor AddSchedule function
* refactor(schedules): remove comment
* refactor(api): remove comment
* refactor(api): remove comment
* feat(api): tunnel manager now only manage Edge endpoints
* refactor(api): clean-up and clarification of the Edge service
* refactor(api): clean-up and clarification of the Edge service
* fix(api): fix an issue with Edge agent snapshots
* refactor(api): add missing comments
* refactor(api): update constant description
* style(home): remove loading text on error
* feat(endpoint): remove 15s timeout for ping request
* style(home): display information about associated Edge endpoints
* feat(home): redirect to endpoint details on click on unassociated Edge endpoint
* feat(settings): remove 60s Edge poll frequency option
2019-07-26 10:38:07 +12:00
Anthony Lapenna
5b91b1a6c9
feat(api): bump default Docker library timeout to 60s ( #3038 )
2019-07-24 11:56:31 +12:00
Anthony Lapenna
90d3f3a358
Enable endpoint backend pagination ( #2989 )
...
* feat(api): remove SnapshotRaw from EndpointList response
* feat(api): add pagination for EndpointList operation
* feat(api): rename last_id query parameter to start
* feat(api): implement filter for EndpointList operation
* feat(home): front - endpoint backend pagination (#2990 )
* feat(home): endpoint pagination with backend
* feat(api): remove default limit value
* fix(endpoints): fix a minor issue with column span
* fix(endpointgroup-create): fix an issue with endpoint group creation
* feat(app): minor loading optimizations
* refactor(api): small refactor of EndpointList operation
* fix(home): fix minor loading text display issue
* refactor(api): document bolt services functions
* feat(home): minor optimization
* fix(api): replace seek with index scanning for EndpointPaginated
* fix(api): fix invalid starting index issue
* fix(api): first implementation of working filter
* fix(home): endpoints list keeps backend pagination when it needs to
* fix(api): endpoint pagination doesn't drop the first item on pages >=2 anymore
* fix(home): UI flickering on page/filter load/change
* feat(api): support searching in associated endpoint group data
* feat(api): declare EndpointList params as optional
* feat(endpoints): backend pagination for endpoints view (#3004 )
* feat(endpoint-group): enable backend pagination (#3017 )
* feat(api): support groupID filter on endpoints route
* feat(api): add new API operations endpointGroupAddEndpoint and endpointGroupDeleteEndpoint
* feat(endpoint-groups): backend pagination support for create and edit
* feat(endpoint-groups): debounce on filter for create/edit views
* feat(endpoint-groups): filter assigned on create view
* (endpoint-groups): unassigned endpoints edit view
* refactor(endpoint-groups): code clean
* feat(endpoint-groups): remove message for Unassigned group
* refactor(api): endpoint group endpoint association refactor
* refactor(api): rename files and remove comments
* refactor(api): remove usage of utils
* refactor(api): optional parameters
* feat(api): update endpointListOperation behavior and parameters
* refactor(api): remove unused methods associated to EndpointService
* refactor(api): remove unused methods associated to EndpointService
* refactor(api): minor refactor
2019-07-20 16:28:11 -07:00
Anthony Lapenna
92a615d7b6
Revert "fix(api): AddCron fix after library update ( #3014 )" ( #3016 )
...
This reverts commit c432ead45f
.
2019-07-16 22:22:57 -07:00
xAt0mZ
c432ead45f
fix(api): AddCron fix after library update ( #3014 )
2019-07-16 21:34:31 -07:00
Anthony Lapenna
7a8a54c96a
refactor(api): introduce ExtensionServer constant
2019-06-23 11:36:45 +12:00
Anthony Lapenna
67de71a18f
docs(api): update swagger documentation
2019-06-11 10:34:54 +12:00
Anthony Lapenna
48281df41a
chore(version): bump version number
2019-06-04 15:51:11 +12:00
Anthony Lapenna
b4c16a1fb4
refactor(api): update ExtensionDefinitionsURL
2019-06-04 13:54:16 +12:00
Anthony Lapenna
d55212e9da
docs(api): update Swagger documentation
2019-06-04 11:19:37 +12:00
Anthony Lapenna
50f547a6e7
feat(motd): add the ability to use custom style ( #2918 )
...
* feat(motd): rework motd display mechanism for more flexibility on motd content
* feat(api): enhance MOTD
* refactor(api): refactor MOTD related codebase
* feat(motd): hash on message
2019-06-02 18:16:43 +12:00
Anthony Lapenna
5fda4ff9f8
refactor(api): update role descriptions
2019-05-27 15:47:08 +12:00
Anthony Lapenna
a2d29df21b
fix(rbac): add specific authorization for Storidge management
2019-05-27 10:41:12 +12:00
Anthony Lapenna
4349f5803c
fix(api): fix missing default Portainer permissions for users
2019-05-27 09:31:20 +12:00
Anthony Lapenna
407328f9ed
fix(api): remove admin restriction for registry proxy endpoint
2019-05-27 09:15:50 +12:00
baron_l
851607394c
feat(integrations): storidge evolution ( #2711 )
...
* feat(storidge): update storidge routes
* feat(storidge): add new fields on profile create/edit
* feat(storidge): add drives list and details view
* feat(storidge): add node details / cordon / uncordon / remove
* feat(storidge): add volume and snapshot details
* feat(storidge): add snapshot creation on volume details
* feat(storidge): add rescan drives button
* refactor(storidge): move add / remove / put in / put ouf maintenance buttons for cluster nodes
* style(storidge): change cluster / node icon color based on status
* feat(storidge): profiles can enable snapshots without interval + interval in minutes
* refactor(storidge): split cluster and node status badge filter
* fix(storidge): error on volume IOPS update
* fix(storidge): snapshot can now be created without comments
* feat(storidge): remove snapshots panels when volume snapshots are disabled
* fix(app): paginatedItemLimit now retrieved for datables extending GenericDatatableController
* fix(storidge): addDrive is called with the good parameters
* fix(storidge): update model and views for Storidge v2695
* refactor(storidge): webpack migration
* fix(storidge): display modifications + fix js errors
* feat(storidge): snapshots, profile and nodes evolution
* fix(storidge): values for InterfaceDriver on profile create/edit
* feat(storidge): v5 update without style (profile / statuses / volume)
* fix(storidge): description tables on the same view have now the same fixed offset
* fix(app): override rdash-ui select style
* Revert "fix(app): override rdash-ui select style"
This reverts commit e724833261
.
* feat(storidge): wip on update 6
* feat(storidge): update 6
* feat(storidge): update 6
* feat(storidge): update 6
* feat(storidge): update 7 - node details + cluster views
* fix(storidge): update 7 - profiles creation + volume details
* fix(storidge): update 7 - profile create/edit interface type
* feat(storidge): update 8 - add drive
* feat(storidge): update 8 - UI refactors + cluster availability
* fix(storidge): update 8 - revert cluster availability
* feat(storidge): update 8 - node availability on swarm overview
* feat(storidge): cluster condition badge
* fix(storidge): update 9 - move add storage button + api profile filesystem kv to obj
* feat(storidge): update 9 - disable add drive button when action is in progress
* fix(storidge): update 9 - add drive button will now change only for the concerned drive
* fix(storidge): update 10 - disable remove drive button when removal in progress
* fix(api): update Storidge proxy creation process
* refactor(api): update version number
* feat(extensions): fix an issue with Storidge API URL
* feat(storidge): force the use of a manager node
2019-05-25 09:53:10 +12:00
Anthony Lapenna
17765d992e
fix(api): fix missing winio dependency
2019-05-24 19:35:15 +12:00
Anthony Lapenna
8057aa45c4
feat(extensions): introduce RBAC extension ( #2900 )
2019-05-24 18:04:58 +12:00
Anthony Lapenna
6be394c2e0
refactor(api): minor refactor to stream.go
2019-05-13 09:20:55 +12:00
Kai
540d3c2c6b
feat(api): support utf8 output in websocket endpoints
...
* change TCPConnToWebsocketConn read function to ReadRune
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Update websocket_exec.go
* Delete Project_Default.xml
* Delete modules.xml
* Delete portainer.iml
* Delete vcs.xml
* Delete workspace.xml
* Delete exec.go
* change TCPConnToWebsocketConn read function to ReadRune
* Apply suggestions from code review
Co-Authored-By: Anthony Lapenna <lapenna.anthony@gmail.com>
* Update stream.go
2019-05-13 08:55:25 +12:00
mrdrogdrog
1af9fb4490
feat(containers): add support docker attach ( #2842 )
...
* #592 feat(container-details): split websocket backend code into more files and add attach handler
* #592 feat(container-details): rename console to exec and add attach console
* Revert "#592 feat(container-details): rename console to exec and add attach console"
This reverts commit f2deaee1
* #592 feat(container-details): add attach to containerconsole
* #592 feat(container-details): catch more errors
* #592 feat(container-details): use less vars
* #592 feat(container-details): error message is more verbose
* #592 feat(container-details): go fmt
* #592 feat(container-details): unpack netdial
* #592 feat(container-details): reformat service
* #592 feat(container-details): fix go compiler bugs
* #592 feat(container-details): refactor services
* #592 feat(container-details): fix windows dial
* #592 feat(container-details): gofmt dial_windows.go
* #592 feat(container-details): split console into two views and fix breadcrumbs
* #592 feat(container-details): swap exec and attach action
* #592 feat(container-details): add some warnings
* #592 feat(container-details): refresh view more
* #592 feat(container-details): use less functions for connecting/disconnecting
* #592 feat(container-details): move link replacements into initTerm
* #592 feat(container-details): disable attach/exec button if container is not running
* #592 feat(container-details): fix typo
* #592 feat(container-details): autoconnect attach view
* #592 feat(container-details): fix first draw after attach + reformat code
* #592 feat(container-details): remove init-helper-div
* #592 feat(container-details): console resize code and remove padding
* #592 feat(container-details): swap height and width arguments in container tty resize restcall
* #592 feat(container-details): swap height and width arguments in exec tty resize restcall
* #592 feat(container-details): remove css unit
* #592 feat(container-details): remove loaded state from states object
* #592 feat(container-details): reword Disattach to Detach
* #592 feat(container-details): remove unloaded state from states object
* #592 feat(container-details): remove useless code
* #592 feat(container-details): clearer state-check
* #592 feat(container-details): fixed resize bugs by using xterms col attribute
2019-05-09 14:04:40 +12:00
Steven Kang
dc9a3de88f
feat(webhooks): Add Tag Support ( #2871 )
...
* feat(webhooks): Add Tag Support
* feat(webhooks): Add Tag Support
2019-05-08 10:41:31 +12:00
Anthony Lapenna
14845a4a53
refactor(api): refactor base import path ( #2788 )
...
* refactor(api): refactor base import path
* fix(build-system): update build_binary_devops
* fix(build-system): fix build_binary_devops for linux
* fix(build-system): fix build_binary_devops for Windows
2019-03-21 14:20:14 +13:00
linquize
ce6cb837f9
refactor(api): fix lint issues ( #2760 )
2019-03-11 12:50:10 +13:00
Anthony Lapenna
cb858f0412
chore(version): bump version number
2019-03-05 17:34:19 +13:00
Anthony Lapenna
2b31f489d9
feat(api): add support for an externally fetched title for motd ( #2755 )
...
* feat(api): add support for an externally fetched title for motd
* refactor(api): gofmt motd.go
* refactor(api): update go comment
2019-03-05 16:05:15 +13:00
Anthony Lapenna
0670079566
feat(api): update ExtensionDefinitionsURL
2019-03-04 13:46:27 +13:00
Anthony Lapenna
db0091b46d
feat(api): revert extension URLs to correct one
2019-03-01 13:58:55 +13:00
Anthony Lapenna
58962de20e
Merge branch 'develop' into oath-poc
2019-03-01 09:42:38 +13:00
Anthony Lapenna
130baddea0
fix(api): fix an issue when removing non local administrators
2019-02-25 18:54:21 +13:00
baron_l
7aa6a30614
feat(registry-manager): allow regular users to use the registry browse feature ( #2664 )
...
* feat(registries): registries accessibility to all authorized people and not only admins
* feat(registry): dockerhub settings for admin only
* feat(registry): remove registry config access for non admin users
* feat(api): use AuthenticatedAccess policy instead of RestrictedAccess for extensionList operation
* refactor(api): minor update to security package
* refactor(api): revert unexporting function changes
* refactor(api): apply gofmt
2019-02-25 13:02:49 +13:00
Anthony Lapenna
dc2a8cf1f4
feat(oauth): update OAuth configuration UX
2019-02-21 14:02:25 +13:00
Anthony Lapenna
d510d23408
feat(oauth): improve Azure OAuth support
2019-02-20 13:53:25 +13:00
Anthony Lapenna
7643f8d08c
feat(oauth): dev build supporting Oauth extension
2019-02-18 14:46:34 +13:00
Anthony Lapenna
d768e72a21
feat(oauth): add support for default team
2019-02-17 19:01:42 +13:00
Anthony Lapenna
17cf374c30
Merge branch 'develop' into oath-poc
2019-02-17 16:39:23 +13:00
Nathan Baum
165096bef0
refactor(api): fix a typo ( #2712 )
...
Just a trivial spelling error.
2019-02-15 09:12:53 +13:00
Anthony Lapenna
de76ba4e67
feat(oauth): update OAuth UX
2019-02-14 15:58:45 +13:00
baron_l
2755527d28
feat(oauth): default team for user on oauth settings
2019-02-07 19:32:02 +01:00
Anthony Lapenna
508352f4ea
Merge branch 'develop' into oath-poc
2019-02-04 09:19:12 +13:00
Anthony Lapenna
6b1c476b63
chore(version): bump version number
2019-01-31 13:15:18 +13:00
Anthony Lapenna
fca4f619b5
fix(api): re-use previous password when ldap settings update use empty password ( #2659 )
2019-01-30 14:53:14 +13:00
Chaim Lev Ari
193e7eb3f8
refactor(oauth): remove separation of strings
2019-01-18 11:53:44 +02:00
Chaim Lev Ari
de5f6086d0
refactor(oauth): return parse content error
2019-01-18 11:51:41 +02:00
Chaim Lev Ari
46e8f10aea
refactor(ouath): use oauth2 library to get token
2019-01-18 10:56:16 +02:00
Chaim Lev Ari
60040e90d0
refactor(oauth): move build url logic to service
2019-01-18 10:24:42 +02:00
Chaim Lev Ari
c5c06b307a
refactor(oauth): rename authenticate function
2019-01-18 10:15:02 +02:00
Chaim Lev Ari
c28274667d
refactor(oauth): use oauth2 to generate login url
2019-01-18 10:13:33 +02:00
Anthony Lapenna
54163e3b92
fix(extensions): fix an issue with extensions with expired licenses ( #2628 )
...
* fix(extensions): fix an issue with extensions with expired licenses
* fix(api): fix invalid log call
* fix(api): allow to re-enable an extension
2019-01-18 10:00:18 +13:00
Chaim Lev Ari
b09f491f62
style(auth): remove comments and change error
2019-01-16 17:53:10 +02:00
Chaim Lev Ari
dc067b3308
refactor(http): remove old oauth handler
2019-01-16 17:41:56 +02:00
Chaim Lev Ari
24f066716b
refactor(auth): expose only the login url
2019-01-16 17:25:16 +02:00
Chaim Lev Ari
4cbde7bb0d
refactor(auth): move oauth handler under auth
2019-01-16 17:24:58 +02:00
Chaim Lev Ari
f6bdc5c2b3
refactor(auth): move oauth handler code to its own file
2019-01-16 17:01:38 +02:00
Mark Stansberry
d6aafceba8
docs(api): update swagger definitions
2019-01-16 08:04:47 +13:00
Anthony Lapenna
dedc02cc8d
docs(api): fix invalid example value for AutoCreateUsers property ( #2618 )
2019-01-14 16:50:53 +13:00
Chaim Lev Ari
996319d299
feat(auth): don't clear client secret on update
2018-12-30 18:39:16 +02:00
Chaim Lev Ari
2ee6f2780b
refactor(oauth): add debug logs
2018-12-30 18:25:30 +02:00
Chaim Lev Ari
241a701eca
feat(oauth): merge pr from https://github.com/portainer/portainer/pull/2515
2018-12-30 18:02:22 +02:00
Anthony Lapenna
6b05a35881
fix(api): set a default value for potentially empty snapshot interval ( #2543 )
2018-12-12 21:16:44 +13:00
Anthony Lapenna
189d131105
chore(version): bump version number
2018-12-12 17:03:25 +13:00
Anthony Lapenna
1384359baf
fix(api): fix snapshot hanging
2018-12-12 17:00:15 +13:00
Anthony Lapenna
8780b0a901
feat(api): update extension path on Windows arch
2018-12-12 14:19:58 +13:00
Anthony Lapenna
f5ada3085e
fix(api): fix an issue with schedule update
2018-12-12 14:11:40 +13:00
Anthony Lapenna
acc5218c16
fix(api): fix snapshot schedule loading
2018-12-12 12:31:55 +13:00
Anthony Lapenna
8a186b4024
feat(api): update DigitalSignatureService ( #2539 )
2018-12-12 11:19:23 +13:00
Anthony Lapenna
5c2e714e69
style(extensions): minor update to extension UX/UI ( #2538 )
...
* style(extensions): update extension icons
* style(extensions): style update
* feat(extensions): update extension UX
* style(extensions): update extension style
* style(extension-details): update screenshot default size
* style(extensions): update overview diagram image
* refactor(support): fix support URLs
2018-12-12 10:28:21 +13:00
Anthony Lapenna
e440ba53cb
feat(api): migrate template data logo URLs ( #2537 )
2018-12-12 09:46:05 +13:00
Anthony Lapenna
6fd5ddc802
feat(extensions): introduce extension support ( #2527 )
...
* wip
* wip: missing repository & tags removal
* feat(registry): private registry management
* style(plugin-details): update view
* wip
* wip
* wip
* feat(plugins): add license info
* feat(plugins): browse feature preview
* feat(registry-configure): add the ability to configure registry management
* style(app): update text in app
* feat(plugins): add plugin version number
* feat(plugins): wip plugin upgrade process
* feat(plugins): wip plugin upgrade
* feat(plugins): add the ability to update a plugin
* feat(plugins): init plugins at startup time
* feat(plugins): add the ability to remove a plugin
* feat(plugins): update to latest plugin definitions
* feat(plugins): introduce plugin-tooltip component
* refactor(app): relocate plugin files to app/plugins
* feat(plugins): introduce PluginDefinitionsURL constant
* feat(plugins): update the flags used by the plugins
* feat(plugins): wip
* feat(plugins): display a label when a plugin has expired
* wip
* feat(registry-creation): update registry creation logic
* refactor(registry-creation): change name/ids for inputs
* feat(api): pass registry type to management configuration
* feat(api): unstrip /v2 in regsitry proxy
* docs(api): add TODO
* feat(store): mockup-1
* feat(store): mockup 2
* feat(store): mockup 2
* feat(store): update mockup-2
* feat(app): add unauthenticated event check
* update gruntfile
* style(support): update support views
* style(support): update product views
* refactor(extensions): refactor plugins to extensions
* feat(extensions): add a deal property
* feat(extensions): introduce ExtensionManager
* style(extensions): update extension details style
* feat(extensions): display license/company when enabling extension
* feat(extensions): update extensions views
* feat(extensions): use ProductId defined in extension schema
* style(app): remove padding left for form section title elements
* style(support): use per host model
* refactor(extensions): multiple refactors related to extensions mecanism
* feat(extensions): update tls file path for registry extension
* feat(extensions): update registry management configuration
* feat(extensions): send license in header to extension proxy
* fix(proxy): fix invalid default loopback address
* feat(extensions): add header X-RegistryManagement-ForceNew for specific operations
* feat(extensions): add the ability to display screenshots
* feat(extensions): center screenshots
* style(extensions): tune style
* feat(extensions-details): open full screen image on click (#2517 )
* feat(extension-details): show magnifying glass on images
* feat(extensions): support extension logo
* feat(extensions): update support logos
* refactor(lint): fix lint issues
2018-12-09 16:49:27 +13:00
baron_l
1a94158f77
* feat(UX): schedule creation UX overhaul ( #2485 )
...
* feat(api): add a new Recurring property on Schedule
* feat(schedules): date to cron convert + recurring flag
* feat(schedules): update angularjs-datetime-picker from v1 to v2
* chore(app): use minified dependency for angularjs-datetime-picker
* chore(vendor): rollback version of angularjs-datetime-picker
* * feat(ux): replace datepicker for schedule creation/details
* feat(container-stats): add refresh rate of 1 and 3 seconds (#2493 )
* fix(templates): set var to default value if no value selected (#2323 )
* fix(templates): set preset to true iff var type is preset
* fix(templates): add env var value when changing type
* feat(security): shutdown instance after 5minutes if no admin account created (#2500 )
* feat(security): skip admin check if --no-auth
* fix(security): change error message
* fix(vendor): use datepicker minified version
* feat(schedule-creation): replace angular-datetime-picker
* feat(schedule): parse cron to datetime
* fix(schedule): fix zero based months
2018-12-07 08:53:23 +13:00
baron_l
a9b107dbb5
feat(app): add the capability to enable/disable host management features ( #2472 )
...
* feat(settings): add the capability to enable/disable the host management features
* feat(settings): remove the validation of EnableHostManagementFeatures in frontend
* feat(api): disable schedules API when HostManagementFeatures is false + DB migration
* style(settings): update host management settings tooltip
* refacot(schedules): update DBVersion to 15
2018-12-06 11:36:25 +13:00
Chaim Lev-Ari
101bb41587
feat(security): shutdown instance after 5minutes if no admin account created ( #2500 )
...
* feat(security): skip admin check if --no-auth
* fix(security): change error message
2018-12-04 16:50:41 +13:00
Anthony Lapenna
d510bbbcfd
feat(api): filter LDAP password from settings response ( #2488 )
2018-11-24 08:40:56 +13:00
Anthony Lapenna
d03fd5805a
feat(api): support AGENT_SECRET environment variable ( #2486 )
2018-11-23 11:46:51 +13:00
Anthony Lapenna
0ef25a4cbd
fix(schedules): add schedule name validation and remove endpoint name prefix ( #2470 )
2018-11-14 16:10:49 +13:00
Anthony Lapenna
94d3d7bde2
feat(motd): relocate motd file URL and always return 200 ( #2466 )
2018-11-14 12:20:33 +13:00
baron_l
d455ab3fc7
feat(endpoints): enhance offline browsing ( #2454 )
...
* feat(api): rewrite error response when trying to query a down endpoint
* feat(interceptors): adding custom backend return code on offline fastfail
2018-11-13 16:08:12 +13:00
Anthony Lapenna
0825d05546
feat(endpoints): improve offline banner UX ( #2462 )
...
* feat(endpoints): add the last snapshot timestamp in offline banner
* feat(endpoints): add the ability to refresh a snapshot in the offline banner
2018-11-13 16:02:49 +13:00
Anthony Lapenna
cf370f6a4c
refactor(endpoints): remove time.Sleep call
2018-11-13 15:19:29 +13:00
Anthony Lapenna
381ab81fdd
fix(endpoints): ensure endpoint is up to date after snapshot ( #2460 )
...
* feat(snapshots): fix a potential concurrency issue with endpoint snapshots
* fix(endpoints): ensure endpoint is up to date after snapshot
2018-11-13 15:18:38 +13:00
Anthony Lapenna
64c29f7402
feat(schedules): add the ability to list tasks from snapshots ( #2458 )
...
* feat(schedules): add the ability to list tasks from snapshots
* feat(schedules): update schedules
* refactor(schedules): fix linting issue
2018-11-13 14:39:26 +13:00
Anthony Lapenna
a2d9f591a7
feat(schedules): add retry policy to script schedules ( #2445 )
2018-11-09 15:22:08 +13:00
Anthony Lapenna
807c830db0
feat(schedules): add the ability to update a schedule script ( #2438 )
2018-11-07 17:19:10 +13:00
Anthony Lapenna
4740375ba5
feat(schedules): add schedules UI ( #2414 )
...
* feat(schedules): add schedules UI mockups
* feat(schedules): update controller pattern
* feat(schedules): leverages API
* feat(schedules): add the ability create/edit a script execution job schedule
* feat(schedules): add form validation and details about cron expression
2018-11-07 11:59:21 +13:00
Anthony Lapenna
7d32a6619d
feat(api): add created property for schedules ( #2435 )
2018-11-07 09:22:30 +13:00
Anthony Lapenna
110fcc46a6
feat(api): revamp scheduling to introduce system schedules ( #2433 )
...
* feat(api): revamp scheduling to introduce system schedules
* fix(api): fix linting issues
* fix(api): fix lint issues
* refactor(api): fix lint issues
2018-11-06 22:49:48 +13:00
Chaim Lev-Ari
dbbea0a20f
feat(schedules): add the schedule 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
* feat(api): create schedule type
* feat(agent): add basic schedule api
* feat(schedules): add schedule service in bolt
* feat(schedule): add schedule service to handler
* feat(schedule): add and list schedules from db
* feat(agent): get schedule from db
* feat(schedule): update schedule in db
* feat(agent): delete schedule
* fix(bolt): remove sync method from scheduleService
* feat(schedules): save/delete script in fs
* feat(schedules): schedules cron service implementation
* feat(schedule): integrate handler with cron
* feat(schedules): schedules API overhaul
* refactor(project): remove .idea folder
* fix(schedules): fix script task execute call
* refactor(schedules): refactor/fix golint issues
* refactor(schedules): update SnapshotTask documentation
* refactor(schedules): validate image name in ScheduleCreate operation
2018-11-06 09:58:15 +13:00
Anthony Lapenna
e94d6ad6b2
docs(swagger): update EndpointCreate operation
2018-11-01 07:32:41 +13:00
baron_l
a61654a35d
feat(endpoints): add the ability to browse offline endpoints ( #2253 )
...
* feat(back): saved data in snapshot
* feat(endpoints): adding interceptors to retrieve saved data on offline endpoints
* feat(endpoints): offline dashboard working - need tests on offline views
* refactor(endpoints): interceptors cleaning and saving/loading offline endpoints data in/from localstorage
* feat(endpoints): browsing offline endpoints
* feat(endpoints): removing all the link in offline mode - sidebar not working when switching between off and on modes w/ stateManager logic
* feat(endpoints): endpoint status detection in real time
* fix(endpoints): offline swarm endpoint are not accessible anymore
* fix(endpoints): refactor message + disable offline browsing for an endpoint when no snapshot is available for it
* fix(endpoints): adding timeout and enabling loading bar for offline requests
* fix(endpoints): trying to access a down endpoint wont remove sidebar items if it fails
* feat(endpoints): disable checkboxes on offline views for offline mode
* feat(endpoints): updating endpoint status when detecting a change
* refactor(host): moved offline status panel from engine view to new host view
* fix(endpoints): missing endpoint update on ping from home view
* fix(api): rework EndpointUpdate operation
* refactor(offline): moved endpoint status to EndpointProvider and refactor the status-changed detection
* fix(offline): moved status detection to callback on views -> prevent displaying the offline message when endpoint is back online on view change
* fix(offline): offline message is now displayed online when browsing an offline endpoint
* fix(offline): sidebar updates correctly on endpoint status change
* fix(offline): offline panel not displayed and hidden on online mode
* refactor(offline): rework of OfflineMode management
* refactor(offline): extract information-panel for offlineMode into a component
* refactor(offline): remove redundant binding of informationPanel + endpointStatusInterceptor patter as service
* refactor(interceptors): moved interceptors pattern to service pattern
* feat(stacks): prevent inspection of a stack in offline mode
* feat(host): hide devices/disk panels in offline mode
* feat(host): disable browse action in offline mode
* refactor(home): remove comments
2018-10-28 22:27:06 +13:00
baron_l
354fda31f1
feat(jobs): add the ability to run a job on a target endpoint #2374
...
* feat(jobs): adding the ability to run scripts on endpoints
fix(job): click on containerId in JobsDatatable redirects to container's logs
refactor(job): remove the jobs datatable settings + texts changes on JobCreation view
fix(jobs): jobs payloads are now following API rules and case
feat(jobs): adding the capability to run scripts on hosts
* feat(jobs): adding the ability to purge jobs containers
* refactor(job): apply review changes
* feat(job-creation): store image name in local storage
* feat(host): disable job exec link in non-agent Swarm setup
* feat(host): only display execute job in agent setups or standalone
* feat(job): job execution overhaul
* docs(swagger): update EndpointJob documentation
2018-10-28 19:06:50 +13:00
Mark Stansberry
6ab510e5cb
docs(api): update swagger related files to support swagger-codegen ( #2404 )
...
* Linting updates to api/swagger.yaml
* Security updates to api/swagger.yml
* Add api/swagger_config.json for swagger-codegen
* Add swagger_config.json packageVersion to match swagger.yml
2018-10-28 16:05:54 +13:00
Anthony Lapenna
4f9a8180f9
docs(swagger): document the endpoint job execution ( #2392 )
2018-10-23 11:59:43 +13:00
Anthony Lapenna
14d2bf4ebb
refactor(api): fix typo ( #2391 )
...
* refactor(api): fix typo
* refactor(api): remove newline
2018-10-23 10:07:39 +13:00
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
Anthony Lapenna
5341ad33af
docs(swagger): update StackUpdateRequest model ( #2360 )
2018-10-11 13:09:51 +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
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
313c8be997
chore(version): bump version number
2018-09-15 19:26:03 +08:00
Anthony Lapenna
57bd82ba85
chore(version): bump version number
2018-09-15 16:40:26 +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
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
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
8cd3964d75
feat(security): update secured headers and sanitize team name ( #2167 )
2018-08-23 17:10:18 +02:00
Anthony Lapenna
6ab6cfafb7
feat(motd): add the ability to display motd and dimiss information panels ( #2191 )
...
* feat(api): add motd handler
* feat(app): add the motd api layer
* feat(motd): display motd and add the ability to dismiss information messages
* style(home): relocate important message before info01
* feat(api): silently fail when an error occurs during motd retrieval
2018-08-21 20:40:42 +02:00