William
17bc17f638
fix(api): fix an issue with ownership for services and stacks ( #3512 )
2020-01-21 08:09:30 +13: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
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
Anthony Lapenna
badb6ee50f
fix(http): update volume browsing validation ( #3416 )
2019-12-03 10:42:55 +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
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
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
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
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