William
9da08bc792
refactor(endpoint-creation): remove unneeded port ( #3467 )
...
* refactor(endpoint-creation): remove unneeded port
* refactor(endpoint-creation): remove from clipboard
2020-01-22 09:17:41 +13:00
William
17bc17f638
fix(api): fix an issue with ownership for services and stacks ( #3512 )
2020-01-21 08:09:30 +13:00
William
efae49d92b
chore(project): require Portainer logs ( #3508 )
2020-01-19 18:46:40 +13:00
Iceyer
58c00401e9
fix: atob convert unicode in config failed ( #3415 )
...
atob only support decode ascii char, when this unicode in config, it will show unknown char.
2019-12-09 17:52:02 +01:00
Anthony Lapenna
e9f6861df0
feat(api): add go module support ( #3408 )
...
* feat(api): experiment with go mod
* feat(api): experiment with go mod
* feat(api): experiment with go mod
* feat(api): add go module support
* refactor(api): go fmt
2019-12-05 17:02:27 +13:00
Anthony Lapenna
bba13f69ad
chore(version): bump version number
2019-12-04 17:07:21 +13:00
Anthony Lapenna
36020dd8bc
Merge tag '1.23.0' into develop
...
Release 1.23.0
2019-12-04 17:05:49 +13:00
Anthony Lapenna
b7eca7ce17
Merge branch 'release/1.23.0'
2019-12-04 17:05:42 +13:00
Anthony Lapenna
2189deb3bd
chore(version): bump version number
2019-12-04 17:05:36 +13:00
Anthony Lapenna
29b7eeef5a
fix(api): trigger an authorization update after auto-provisioning users ( #3428 )
2019-12-04 15:32:55 +13:00
Anthony Lapenna
f6cefb3318
fix(api): fix invalid method call for docker_windows proxy
2019-12-04 12:54:11 +13:00
Anthony Lapenna
a42619a442
fix(api): fix invalid extensions.json location
2019-12-04 11:42:43 +13:00
xAt0mZ
1465825988
feat(container): disable recreate/duplicate buttons with RBAC for non admins ( #3426 )
2019-12-04 10:47:07 +13:00
xAt0mZ
2d576394d0
fix(registry-selector): unique images in auto suggest ( #3425 )
2019-12-04 10:46:03 +13:00
William
f79dae3e27
feat(about): add analytics notice ( #3423 )
2019-12-04 08:05:00 +13:00
Anthony Lapenna
badb6ee50f
fix(http): update volume browsing validation ( #3416 )
2019-12-03 10:42:55 +13:00
Anthony Lapenna
c2e1129804
feat(extensions): update offline manifest
2019-12-03 09:50:10 +13:00
Mohab Abd El-Dayem
3b1a8e4bba
feat(cli): remove the logging of the hashed password of the admin user ( #3328 )
2019-11-29 09:23:18 +13:00
William
dd0c80e915
fix(container-creation): preserve aliases if null ( #3405 )
...
* fix(container-creation): preserve aliases if null
* Update app/docker/views/containers/create/createContainerController.js
2019-11-29 09:21:23 +13:00
William
5ab63bd151
fix(container-create): patch aliases ( #3403 )
...
* fix(container-create): patch aliases
* Update app/docker/views/containers/create/createContainerController.js
2019-11-28 17:38:53 +13:00
xAt0mZ
ea1ca76f70
fix(auth): clean browser cache on logout ( #3402 )
2019-11-28 12:16:34 +13:00
xAt0mZ
e19bc8abc7
fix(app): registry push-pull features overhaul ( #3393 )
...
* feat(registry): registry or direct url selector
* feat(app): push pull container creation
* feat(app): push pull container duplicate
* feat(app): push pull container details recreate
* feat(app): push pull container details commit
* feat(app): push pull images
* feat(app): push pull image tag
* feat(app): push pull image push
* feat(app): push pull image pull
* feat(app): push pull service creation
* feat(app): push pull templates create container
* feat(app): push pull templates create stacks
* feat(app): push pull template edit
* feat(app): push pull service details update
* fix(app): refactor registry selector + registry auto select
* feat(app): remove autocomplete on registry selector
* style(image-registry): reword simple/advanced mode
* Revert "feat(app): remove autocomplete on registry selector"
This reverts commit 97ec2ddd62
.
* refactor(registry-selector): reverse registry and image fields
* feat(app): autocomplete on registry selector
* feat(registry-selector): change gitlab registry autocomplete
* feat(registry-selector): autocomplete for dockerhub
* feat(registry-selector): gitlab url based on locked value instead of name
* fix(registry-selector): gitlab registries URL are not modified anymore
* fix(registry-selector): change gitlab image autofill on duplicate
* fix(registry-selector): gitlab registries now only suggest their own images and not all from gitlab
* fix(registry-selector): psuh pull issues with gitlab registries
* fix(registry-selector): dockerhub registry selection on duplicate for dockerhub images
* fix(templates): registry retrieval for template
* feat(images): add autocomplete on image pull panel
* fix(registry-selector): add latest tag when no tag is specified
* fix(registry-selector): latest tag now applied for non gitlab registries
2019-11-28 11:36:39 +13:00
William
61c38534a7
fix(container-creation): preserve network aliases ( #3401 )
2019-11-28 09:35:14 +13:00
William
7f54584ed6
fix(container-creation): match container_network by id ( #3398 )
2019-11-27 09:19:22 +13:00
xAt0mZ
1a65dbf85f
fix(app): permissions lost for UI on browser refresh ( #3354 )
...
* fix(app): permissions lost for UI on browser refresh
* fix(app): permissions retrieval moved to global app resolve
2019-11-26 17:01:39 +13:00
William
a3a83d1d7e
fix(container): hide opts when autoremove true ( #3397 )
2019-11-26 08:08:48 +13:00
KemoNine
a41ca1fd46
feat(container-creation): allow empty value for labels ( #2655 )
...
* Allow empty values for labels
* Allow empty labels when creating containers from a template
2019-11-25 13:25:30 +13:00
Anthony Lapenna
130c188717
fix(libcompose): apply same normalize name rule as libcompose on stack name ( #3395 )
2019-11-24 14:28:07 +13:00
Anthony Lapenna
a85f0058ee
feat(extensions): add the ability to upload and enable an extension ( #3345 )
...
* feat(extensions): offline mode mockup
* feat(extensions): offline mode mockup
* feat(api): add support for extensionUpload API operation
* feat(extensions): offline extension upload
* feat(api): better support for extensions in offline mode
* feat(extension): update offline description
* feat(api): introduce local extension manifest
* fix(api): fix LocalExtensionManifestFile value
* feat(api): use a 5second timeout for online extension infos
* feat(extensions): add download archive link
* feat(extensions): add support for offline update
* fix(api): fix issues with offline install and online updates of extensions
* fix(extensions): fix extensions link URL
* fix(extension): hide screenshot in offline mode
2019-11-20 18:16:40 +13:00
Anthony Lapenna
8b0eb71d69
feat(api): automatically update extensions at startup ( #3349 )
...
* feat(api): automatically update extensions at startup
* feat(api): review updateAndStartExtensions
2019-11-20 18:02:07 +13:00
Anthony Lapenna
1f90a091a8
feat(api): bind extensions stdout and stderr to current process ( #3375 )
2019-11-20 14:08:16 +13:00
Anthony Lapenna
b8be795505
feat(templates): replace volume selector with typeahead ( #3371 )
2019-11-20 12:18:27 +13:00
Anthony Lapenna
4239db7b34
fix(api): remove roles associated to access policies after removing RBAC extension ( #3373 )
2019-11-20 11:58:26 +13:00
Anthony Lapenna
81c0bf0632
fix(api): introduce priority based logic for RBAC roles ( #3374 )
...
* fix(api): introduce priority based logic for RBAC roles
* refactor(api): rename method
2019-11-18 21:22:47 +13:00
Anthony Lapenna
9decbce511
chore(version): bump version number
2019-11-14 17:50:11 +13:00
Anthony Lapenna
914b46f813
fix(api): introduce gitlab proxy package
2019-11-13 13:12:55 +13:00
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
George Cheng
c559b6b55c
fix(container-creation): Fix bad env in container creation ( #2996 )
...
Currently we are using RegExp `/\=(.+)/` to catch key-value
of environment variables, which could not match empty-value
environment variables such as `KEY=`.
This commit will change the RegExp to `/\=(.*)/`, which
matches the empty values.
2019-11-01 16:15:33 +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
Anthony Lapenna
07db1ca16e
feat(test): update e2e to support swarm and CI mode
2019-10-29 12:51:26 +13:00
Anthony Lapenna
36de0aee7b
feat(test): update e2e setup
2019-10-29 11:38:38 +13:00
Anthony Lapenna
c6e9d8e616
feat(test): update docker-compose file for cypress e2e testing
2019-10-28 16:51:59 +13:00
Anthony Lapenna
dbef3a0508
feat(test): update cypress projectId
2019-10-28 15:29:32 +13:00
William
91c83eccd2
feat(project): add automated testing with cypress ( #3305 )
...
* feat(project): add automated testing with cypress
* feat(project): made suggested edits
* feat(project): add init test
* feat(project): add socket to correct container
2019-10-25 18:53:29 +13:00
William
542b76912a
feat(endpoint-details): add edge-key to commands ( #3302 )
2019-10-24 16:36:24 +02:00
Aaron Korte
53942b741a
fix(api): increment stack identifier atomically ( #3290 )
2019-10-24 11:38:41 +13:00
Mattias Edlund
accca0f2a6
feat(containers): added support for port range mappings when deploying containers ( #3194 )
...
* feat(containers): added support for port range mappings when deploying containers
* feat(containers): added placeholders to port publishing input fields
* feat(containers): added a tooltip to the manual network port publishing
* feat(containers): improved the code consistency
2019-10-15 11:13:57 +02:00