Richard Wei
187b66f5cb
feat(frontend): upgrade frontend dependencies DTD-11 ( #6244 )
...
* upgrade webpack, eslint, storybook and other dependencies
2021-12-17 07:52:54 +13:00
Chaim Lev-Ari
7ae5a3042c
feat(app): introduce component library in react [EE-1816] ( #6236 )
...
* refactor(app): replace notification with es6 service (#6015 ) [EE-1897]
chore(app): format
* refactor(containers): remove the dependency on angular modal service (#6017 ) [EE-1898]
* refactor(app): remove angular from http-request [EE-1899] (#6016 )
* feat(app): add axios [EE-2035](#6077 )
* refactor(feature): remove angular dependency from feature service [EE-2034] (#6078 )
* refactor(app): replace box-selector with react component (#6046 )
fix: rename angular2react
refactor(app): make box-selector type generic
feat(app): add story for box-selector
feat(app): test box-selector
feat(app): add stories for box selector item
fix(app): remove unneccesary element
refactor(app): remove assign
* feat(feature): add be-indicator in react [EE-2005] (#6106 )
* refactor(app): add react components for headers [EE-1949] (#6023 )
* feat(auth): provide user context
* feat(app): added base header component [EE-1949]
style(app): reformat
refactor(app/header): use same api as angular
* feat(app): add breadcrumbs component [EE-2024]
* feat(app): remove u element from user links
* fix(users): handle axios errors
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
* refactor(app): convert switch component to react [EE-2005] (#6025 )
Co-authored-by: Marcelo Rydel <marcelorydel26@gmail.com>
2021-12-15 08:14:53 +13:00
Chaim Lev-Ari
eb9f6c77f4
refactor(endpoints): remove endpointProvider from views [EE-1136] ( #5359 )
...
[EE-1136]
2021-12-14 09:34:54 +02:00
sunportainer
b3e04adee3
fix/ee-1909/show-pull-image-error ( #6195 )
...
Co-authored-by: sunportainer <ericsun@SG1.local>
2021-12-08 12:07:45 +08:00
Hao Zhang
a78d8a4ff1
fix(container):disable Duplicate/Edit button when the container is portainer ( #6223 )
2021-12-07 23:25:20 +08:00
cong meng
98972dec0d
feat(webhook) EE-2125 send registry auth haeder when update swarms service via webhook ( #6220 )
...
* feat(webhook) EE-2125 add some helpers to registry utils
* feat(webhook) EE-2125 persist registryID when creating a webhook
* feat(webhook) EE-2125 send registry auth header when executing a webhook
* feat(webhook) EE-2125 send registryID to backend when creating a service with webhook
* feat(webhook) EE-2125 use the initial registry ID to create webhook on editing service screen
* feat(webhook) EE-2125 update webhook when update registry
* feat(webhook) EE-2125 add endpoint of update webhook
* feat(webhook) EE-2125 code cleanup
* feat(webhook) EE-2125 fix a typo
* feat(webhook) EE-2125 fix circle import issue with unit test
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-12-07 09:11:44 +13:00
Prabhat Khera
4aea5690a8
feat(config): add base url support EE-506 ( #5999 )
2021-12-03 14:34:45 +13:00
Hao Zhang
42e782452c
fix(container): prevent user from editing the portainer container it self EE-917 ( #6093 )
...
* fix(container): prevent from editing portainer container
* fix(container): prevent from editing portainer container
* Missing kill operation
* fix(container): enhance creating stack from template
* fix(docker): prevent user from editing the portainer container itself EE-917
* fix(docker): enhance code style
* fix(container): fix issues from code review
* fix(container): enhance creating stack from template
* fix(container): some code review issues
* fix(container): disable leave network when the container is portainer
* fix(container): disable leave network when the container is portainer
2021-12-02 08:41:05 +08:00
Prabhat Khera
1e80061186
feat(docker): allow docker container resource settings without restart EE-1942 ( #6065 )
...
Co-authored-by: sam <sam@allofword>
Co-authored-by: sam@gemibook <huapox@126.com>
Co-authored-by: Prabhat Khera <prabhat.khera@gmail.com>
2021-11-30 11:01:09 +13:00
J.F.Gratton
33871eb447
style(images): remove files filter from upload image task EE-1944
2021-11-19 11:27:21 +13:00
Prabhat Khera
80af93afec
feat(images): allow tags when importing docker image EE-1737 ( #5883 )
2021-11-18 10:58:38 +13:00
Chaim Lev-Ari
85a6a80722
feat(app): introduce react configurations [EE-1809] ( #5953 )
2021-11-03 12:41:59 +02:00
Matt Hook
3fb8a232b8
feat(update): highlight business edition feature auto update change window EE-1482 ( #5961 )
...
* remove unuse component from ce (#5930 )
* update wording to Change Window
Co-authored-by: Richard Wei <54336863+WaysonWei@users.noreply.github.com>
Co-authored-by: waysonwei <degui.wei@gmail.com>
2021-11-03 09:57:21 +13:00
cong meng
5c85c563e1
fix(image) EE-1955 unable to tag image ( #5974 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-10-26 15:22:28 +13:00
cong meng
d18c8d0e88
fix(registry) EE-1861 improve registry selection ( #5925 )
...
* fix(registry) EE-1861 improve registry selection (#5899 )
* fix(registry) EE-1861 hide anonymous dockerhub registry if user has an authenticated one
* fix(registry) EE-1861 pick up a best match dockerhub registry
* fix(registry) EE-1861 set the anonymous registry as default if it is shown
* fix(registry) EE-1861 refactor how to match registry
Co-authored-by: Simon Meng <simon.meng@portainer.io>
* fix(registry) EE-1861 fail to select registry with same name
* fix(registry) EE-1861 show registry modal when pull and push image
* fix(registry) EE-1861 cleanup code
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-10-19 14:54:53 +13:00
Marcelo Rydel
edb25ee10d
fix(services): pre fill service registry and image [EE-1769] ( #5798 )
...
fix(services): pre fill service registry and image [EE-1769] (#5798 )
2021-10-14 09:42:10 -03:00
cong meng
6a67e8142d
fix(frontend) prevent notification showing Object Object EE-1745 ( #5778 )
...
* fix(frontend) prevent notification showing Object Object EE-1745
* fix(frontend) fix notification args in wrong order EE-1745
* fix(rbac) add metrics rbac for regular users EE-1745
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-10-12 10:37:07 +13:00
zees-dev
f6f31b8872
fixed docker image pull text on error scenario ( #5656 )
2021-09-20 01:42:55 +12:00
zees-dev
a781021072
docker image pull toast fix ( #5644 )
2021-09-17 18:22:57 +12:00
Richard Wei
9f179fe3ec
feat(ui):rename endpoint(s) to environment(s) EE-1206 ( #5588 )
...
* rename endpoints to environments EE-1206
2021-09-08 20:42:17 +12:00
Chaim Lev-Ari
f990617a7e
fix(docker): pass endpoint to registry field ( #5365 )
2021-08-12 14:28:25 +03:00
Richard Wei
3257cb1e28
fix(app):fix additional not save warning EE-799 ( #5161 )
...
* fix(app):fix additional not save warning EE-799
* fix additional warning when user leave page
* fix additional warning when user leave page in buildImageController.js
* fix docker build controller additional warning message
* fix changes required from reviews
* - refactored ondestroy hook function to align it closer to (below) oninit
- removed duplicated hook func duplication in configurationController
Co-authored-by: zees-dev <dev.786zshan@gmail.com>
2021-08-10 16:44:33 +12:00
Richard Wei
49f25e9c4c
fix(docker):Fix image pulled errorDetails not showing EE-936 ( #5336 )
...
* fix image pulled errorDetails not showing
* code clean up for errorDetail detection
2021-07-24 08:51:34 +12:00
Chaim Lev-Ari
db16299aab
feat(docker/volumes): change how volume resource id is calculated ( #5067 )
...
[EE-494]
2021-07-19 10:43:49 +03:00
LP B
179df06267
feat(app): rework private registries and support private registries in kubernetes EE-30 ( #5131 )
...
* feat(app): rework private registries and support private registries in kubernetes
[EE-30]
feat(api): backport private registries backend changes (#5072 )
* feat(api/bolt): backport bolt changes
* feat(api/exec): backport exec changes
* feat(api/http): backport http/handler/dockerhub changes
* feat(api/http): backport http/handler/endpoints changes
* feat(api/http): backport http/handler/registries changes
* feat(api/http): backport http/handler/stacks changes
* feat(api/http): backport http/handler changes
* feat(api/http): backport http/proxy/factory/azure changes
* feat(api/http): backport http/proxy/factory/docker changes
* feat(api/http): backport http/proxy/factory/utils changes
* feat(api/http): backport http/proxy/factory/kubernetes changes
* feat(api/http): backport http/proxy/factory changes
* feat(api/http): backport http/security changes
* feat(api/http): backport http changes
* feat(api/internal): backport internal changes
* feat(api): backport api changes
* feat(api/kubernetes): backport kubernetes changes
* fix(api/http): changes on backend following backport
feat(app): backport private registries frontend changes (#5056 )
* feat(app/docker): backport docker/components changes
* feat(app/docker): backport docker/helpers changes
* feat(app/docker): backport docker/views/container changes
* feat(app/docker): backport docker/views/images changes
* feat(app/docker): backport docker/views/registries changes
* feat(app/docker): backport docker/views/services changes
* feat(app/docker): backport docker changes
* feat(app/kubernetes): backport kubernetes/components changes
* feat(app/kubernetes): backport kubernetes/converters changes
* feat(app/kubernetes): backport kubernetes/models changes
* feat(app/kubernetes): backport kubernetes/registries changes
* feat(app/kubernetes): backport kubernetes/services changes
* feat(app/kubernetes): backport kubernetes/views/applications changes
* feat(app/kubernetes): backport kubernetes/views/configurations changes
* feat(app/kubernetes): backport kubernetes/views/configure changes
* feat(app/kubernetes): backport kubernetes/views/resource-pools changes
* feat(app/kubernetes): backport kubernetes/views changes
* feat(app/portainer): backport portainer/components/accessManagement changes
* feat(app/portainer): backport portainer/components/datatables changes
* feat(app/portainer): backport portainer/components/forms changes
* feat(app/portainer): backport portainer/components/registry-details changes
* feat(app/portainer): backport portainer/models changes
* feat(app/portainer): backport portainer/rest changes
* feat(app/portainer): backport portainer/services changes
* feat(app/portainer): backport portainer/views changes
* feat(app/portainer): backport portainer changes
* feat(app): backport app changes
* config(project): gitignore + jsconfig changes
gitignore all files under api/cmd/portainer but main.go and enable Code Editor autocomplete on import ... from '@/...'
fix(app): fix pull rate limit checker
fix(app/registries): sidebar menus and registry accesses users filtering
fix(api): add missing kube client factory
fix(kube): fetch dockerhub pull limits (#5133 )
fix(app): pre review fixes (#5142 )
* fix(app/registries): remove checkbox for endpointRegistries view
* fix(endpoints): allow access to default namespace
* fix(docker): fetch pull limits
* fix(kube/ns): show selected registries for non admin
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
chore(webpack): ignore missing sourcemaps
fix(registries): fetch registry config from url
feat(kube/registries): ignore not found when deleting secret
feat(db): move migration to db 31
fix(registries): fix bugs in PR EE-869 (#5169 )
* fix(registries): hide role
* fix(endpoints): set empty access policy to edge endpoint
* fix(registry): remove double arguments
* fix(admin): ignore warning
* feat(kube/configurations): tag registry secrets (#5157 )
* feat(kube/configurations): tag registry secrets
* feat(kube/secrets): show registry secrets for admins
* fix(registries): move dockerhub to beginning
* refactor(registries): use endpoint scoped registries
feat(registries): filter by namespace if supplied
feat(access-managment): filter users for registry (#5191 )
* refactor(access-manage): move users selector to component
* feat(access-managment): filter users for registry
refactor(registries): sync code with CE (#5200 )
* refactor(registry): add inspect handler under endpoints
* refactor(endpoint): sync endpoint_registries_list
* refactor(endpoints): sync registry_access
* fix(db): rename migration functions
* fix(registries): show accesses for admin
* fix(kube): set token on transport
* refactor(kube): move secret help to bottom
* fix(kuberentes): remove shouldLog parameter
* style(auth): add description of security.IsAdmin
* feat(security): allow admin access to registry
* feat(edge): connect to edge endpoint when creating client
* style(portainer): change deprecation version
* refactor(sidebar): hide manage
* refactor(containers): revert changes
* style(container): remove whitespace
* fix(endpoint): add handler to registy on endpointService
* refactor(image): use endpointService.registries
* fix(kueb/namespaces): rename resource pool to namespace
* fix(kube/namespace): move selected registries
* fix(api/registries): hide accesses on registry creation
Co-authored-by: LP B <xAt0mZ@users.noreply.github.com>
refactor(api): remove code duplication after rebase
fix(app/registries): replace last registry api usage by endpoint registry api
fix(api/endpoints): update registry access policies on endpoint deletion (#5226 )
[EE-1027]
fix(db): update db version
* fix(dockerhub): fetch rate limits
* fix(registry/tests): supply restricred context
* fix(registries): show proget registry only when selected
* fix(registry): create dockerhub registry
* feat(db): move migrations to db 32
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
2021-07-14 21:15:21 +12:00
itsconquest
a5e8cf62d2
feat(UX): introduce new env variables UI ( #4175 )
...
* feat(app): introduce new env vars ui
feat(app): introduce new env vars ui
feat(UX): WIP new env variables UI
feat(UX): update button and placeholder
feat(UX): mention .env file in message
feat(UX): allow add/remove value & load correctly
feat(UX): restrict filesize to 1MB
feat(UX): vertical align error message
feat(UX): fill UI from file & when switching modes
feat(UX): strip un-needed newline character
feat(UX): introduce component to other views
feat(UX): fix title alignment
feat(UX): only populate editor on mode switch when key exists
feat(UX): prevent trimming of whitespace on values
feat(UX): change editor to async
feat(UX): add message describing use
feat(UX): Refactor variable text to editorText
refactor(app): rename env vars controller
refactor(app): move env var explanation to parent
refactor(app): order env var panels
refactor(app): move simple env vars mode to component
refactor(app): parse env vars
refactor(app): move styles to css
refactor(app): rename functions
refactor(container): parse env vars
refactor(env-vars): move utils to helper module
refactor(env-vars): use util function for parse dot env file
fix(env-vars): ignore comments
refactor(services): use env vars utils
refactor(env-vars): rename files
refactor(env-panel): use utils
style(stack): revert EnvContent to Env
style(service): revert EnvContent to Env
style(container): revert EnvContent to Env
refactor(env-vars): support default value
refactor(service): use new env var component
refactor(env-var): use one way data flow
refactor(containers): remove unused function
* fix(env-vars): prevent using non .env files
* refactor(env-vars): move env vars items to a component
* feat(app): fixed env vars form validation in Stack
* feat(services): disable env form submit if invalid
* fix(app): show key pairs correctly
* fix(env-var): use the same validation as with kubernetes
* fix(env-vars): parse env var
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
Co-authored-by: Felix Han <felix.han@portainer.io>
2021-06-14 18:59:07 +12:00
zees-dev
6e9f472723
feat(container-stats): introduce container block I/O stats ( #5017 )
...
* feat(container-stats):introduce container block io stats
* Change charts to 2x2 view
* fix(container-stats): handle missing io stats by detecting stats based on op codes
Co-authored-by: DarkAEther <30438425+DarkAEther@users.noreply.github.com>
2021-06-14 15:57:00 +12:00
Chaim Lev-Ari
0b85684168
fix(app): parse response with null body ( #4654 )
...
* fix(app): parse response with null body
* style(docker): add comment explaining change
* fix(images): show correct error when failing import
* fix(images): use async await
2021-06-11 12:05:54 +12:00
cong meng
3018801fc0
fix(image) Confirmation modal on builder output view EE-816 ( #5107 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-05-26 17:11:32 +12:00
Chaim Lev-Ari
a21798f518
fix(docker/containers): show sysctl control ( #5051 )
2021-05-12 02:29:35 +02:00
Chaim Lev-Ari
0ac6274712
fix(docker/services): create a service webhook ( #5052 )
2021-05-11 10:59:42 +12:00
Lukas Grotz
d09ae22ba8
feat(container): add sysctls setting in the container view ( #4910 )
...
* feat(container): add sysctls in the container view (#2756 )
* feat(container): add setting to restrict sysctl access
* feat(endpoint): move sysctl disable setting to security settings
* feat(container): add sysctls to container edit view
* fix(container) remove unnecessary migration setting
Co-authored-by: Owen Kirby <oskirby@gmail.com>
2021-04-12 19:40:45 +12:00
Chaim Lev-Ari
f5aa6c4dc2
feat(docker): show docker pull rate limits ( #4666 )
...
* feat(dockerhub): introduce local status endpoint
* feat(proxy): rewrite request with dockerhub credentials
* feat(endpoint): check env type
* feat(endpoint): check for local endpoint
* feat(docker): introduce client side service to get limits
* feat(container): add info about rate limits in container
* feat(dockerhub): load rate limits just for specific endpoints
* feat(images): show specific dockerhub messages for admin
* feat(service-create): show docker rate limits
* feat(service-edit): show rate limit messages
* fix(images): fix loading of page
* refactor(images): move rate limits check to container
* feat(kubernetes): proxy agent requests
* feat(kubernetes/apps): show pull limits in application creation
* refactor(image-registry): move warning to end of field
* fix(image-registry): show right message for admin
* fix(images): silently fail when loading rate limits
* fix(kube/apps): use new rate limits comp
* fix(images): move rate warning to end
* fix(registry): move search to right place
* fix(service): remove service warning
* fix(endpoints): check if kube endpoint is local
2021-03-24 19:27:32 +01:00
Alice Groux
a7ed6222b0
feat(app): Prevent web editor related views from being accidentally closed ( #4715 )
...
* feat(app): when leaving a view with unsaved changed, a modal prompt the user with a confirmation message
feat(app): when leaving a view with unsaved changes, a modal prompt the user with a confirmation message
* feat(app/web-editor): fix the modal behaviour when editing a stack details
* feat(app/web-editor): add a reusable function confirmWebEditorDiscard in modal service
* feat(docker/stack): fix missing dependency
2021-03-20 22:13:27 +01:00
Chaim Lev-Ari
6c8276c65c
fix(service-details): clear volume source when changing type ( #4671 )
2021-03-02 23:10:34 +01:00
cong meng
c705c04d65
feat(volume) change the way portainer creates NFS4 volumes ( #4729 ) ( #4735 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-03-02 02:46:18 +01:00
Chaim Lev-Ari
c72d07441d
feat(services): hide webhook interface ( #4794 )
2021-02-24 23:08:22 +01:00
Alice Groux
387bbeceba
feat(app): sort environment variables ( #4815 )
...
* feat(app): sort environment variables
* feat(k8s/application): improve the sorting for the env variables when creating/editing application
* feat(k8s/application): update the removal of the env var
* feat(docker/service): improve the sorting order for env var in service edition view
2021-02-18 14:46:26 +01:00
Alice Groux
0ac8a45825
feat(app): add type=button on every button with ngf-select ( #4783 )
2021-02-16 00:43:35 +01:00
jfadelhaye
bc459b55ae
Merge pull request #4766 from portainer/fix/GH/3068-fix-auto-refresh-collapse
...
fix(docker/services): save the settings of the table for auto refresh
2021-02-14 22:49:52 +01:00
Alice Groux
81b4672076
feat(docker/services): update the information message about default location of secrets ( #4816 )
2021-02-12 14:27:02 +13:00
Alice Groux
f7e6ba544e
fix(docker/service): enable apply change button when user make change on mounts section ( #4645 )
2021-02-11 16:38:25 +13:00
Chaim Lev-Ari
46dec01fe3
feat(endpoint): relocate docker security settings ( #4657 )
...
* feat(endpoint): migrate security settings to endpoint
* feat(endpoint): check for specific endpoint settings
* feat(endpoint): check security settings
* feat(docker): add config page
* feat(endpoint): save settings page
* feat(endpoints): disable features when not agent
* feat(sidebar): hide docker settings for regular user
* fix(docker): small fixes in configs
* fix(volumes): hide browse button for non admins
* refactor(docker): introduce switch component
* refactor(components/switch): seprate label from switch
* feat(app/components): align switch label
* refactor(app/components): move switch css
* fix(docker/settings): add ngijnect
* feat(endpoints): set default security values
* style(portainer): sort types
* fix(endpoint): rename security heading
* fix(endpoints): update endpoints settings
2021-02-09 21:09:06 +13:00
alice groux
51d584bb50
fix(docker/services): get datas from local storage when auto refresh is enable
2021-01-27 16:10:49 +01:00
yi-portainer
2b257d2785
Squashed commit of the following 2.0.1 release fixes:
...
commit f90d6b55d6
Author: Chaim Lev-Ari <chiptus@users.noreply.github.com>
Date: Wed Jan 13 00:56:19 2021 +0200
feat(service): clear source volume when change type (#4627 )
* feat(service): clear source volume when change type
* feat(service): init volume source to the correct value
commit 1b82b450d7
Author: Yi Chen <69284638+yi-portainer@users.noreply.github.com>
Date: Thu Jan 7 14:47:32 2021 +1300
* bump the APIVersion to 2.0.1 (#4688 )
commit b78d804881
Author: Yi Chen <69284638+yi-portainer@users.noreply.github.com>
Date: Wed Dec 30 23:03:43 2020 +1300
Revert "chore(build): bump Kompose version (#4475 )" (#4676 )
This reverts commit 380f106571
.
Co-authored-by: Stéphane Busso <sbusso@users.noreply.github.com>
commit 51b72c12f9
Author: Anthony Lapenna <anthony.lapenna@portainer.io>
Date: Wed Dec 23 14:45:32 2020 +1300
fix(docker/stack-details): do not display editor tab for external stack (#4650 )
commit 58c04bdbe3
Author: Yi Chen <69284638+yi-portainer@users.noreply.github.com>
Date: Tue Dec 22 13:47:11 2020 +1300
+ silently continue when downloading artifacts in windows (#4637 )
commit a6320d5222
Author: cong meng <mcpacino@gmail.com>
Date: Tue Dec 22 13:38:54 2020 +1300
fix(frontend) unable to retrieve config map error when trying to manage newly created resource pool (ce#180) (#4618 )
* fix(frontend) unable to retrieve config map error when trying to manage newly created resource pool (ce#180)
* fix(frontend) rephrase comments (#4629 )
Co-authored-by: Stéphane Busso <sbusso@users.noreply.github.com>
Co-authored-by: Simon Meng <simon.meng@portainer.io>
Co-authored-by: Stéphane Busso <sbusso@users.noreply.github.com>
2021-01-21 00:04:15 +13:00
Alice Groux
d1eddaa188
feat(app/network): rename restrict external acces to the network label and add a tooltip ( #4514 )
2021-01-14 12:24:56 +13:00
DarkAEther
b9fe8009dd
feat(image-details): Show labels in images datatable ( #4287 )
...
* feat(images): show labels in images datatable
* move labels to image details view
2021-01-11 15:35:19 +13:00
Alice Groux
58bf76a58f
feat(app/volumes): add confirmation modal before deleting volumes in volumes view and volume view ( #4597 )
2020-12-16 19:57:31 +13:00
Alice Groux
4bc958f865
feat(app/logs): add download button on container logs and service logs views ( #4529 )
2020-12-16 12:30:16 +13:00
Chaim Lev-Ari
067257df2b
fix(services): prevent adding volume without source and target ( #4538 )
...
* feat(services): check that target mounts are non empty
* feat(services): prevent creating service when no source
* refactor(services): remove ng-form
* fix(services): check that every volume is valid
2020-12-14 16:27:05 +13:00