Chaim Lev-Ari
1b1a50d6b5
fix(app): add github action for linting and formatting [EE-2344] ( #6356 )
2022-01-17 07:53:32 +02:00
Chaim Lev-Ari
584a46d9d4
fix(stacks): show stack containers [EE-2359] ( #6375 )
...
Co-authored-by: LP B <xAt0mZ@users.noreply.github.com>
2022-01-13 07:28:49 +02:00
Chaim Lev-Ari
07e7fbd270
refactor(containers): replace containers datatable with react component [EE-1815] ( #6059 )
2022-01-04 14:16:09 +02:00
sunportainer
1c374b9fd2
Fix(UI): disable autofill username input EE-2140 ( #6252 )
...
* fix/ee-2140/disable-autofill-username
2021-12-22 10:34:55 +08:00
Hao Zhang
c5fe994cd2
feat(service): duplication validation for configs and secrets EE-1974 ( #6266 )
...
feat(service): check if configs or secrets are duplicated
2021-12-17 20:22:50 +08:00
Hao Zhang
c30292cedd
feat(service): rebase and recommit ( #6245 )
2021-12-17 20:22:13 +08:00
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
Sven Dowideit
120584909c
fix(docker-event-display): EE-1968: support (event_name)[:extra info] for all event Actions, and append it to the output details ( #6092 )
...
Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>
2021-11-30 09:59:55 +10:00
Richard Wei
c24dc3112b
fix(registry): fix order of registries in drop down menu EE-1939 ( #5960 )
...
Co-authored-by: Prabhat Khera <prabhat.khera@portainer.io>
2021-11-30 11:03:08 +13: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
Hao Zhang
97b8da9d10
fix(logs): copy issues caused by extra CR ( #6150 )
2021-11-25 12:46:58 +08:00
itsconquest
aa15b34add
fix(logs): strip trailing comma [EE-1957] ( #5975 )
2021-11-22 09:45:18 +13:00
Hao Zhang
b596d0febd
fix(logs): extra CRs in downloading container logs EE-1973 ( #6041 )
2021-11-19 12:21:16 +08: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
Sven Dowideit
22b72fb6e3
fix(docker-event-display): support the exec exited event type ( #5990 )
...
Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>
2021-11-15 10:00:37 +10: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
Sven Dowideit
5eced421d5
prevent exception when showing stats on windows container ( #5890 )
...
Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>
2021-10-18 16:36:22 +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
Sven Dowideit
9045e17cba
fix(docker): EE-348: fix Docker stats when using cgroups v2 ( #5609 )
...
Signed-off-by: Sven Dowideit <sven@mini.home.org.au>
2021-09-28 13:40:04 +10:00
testA113
5ad3cacefd
Xt 321 automate k8s smoke test data cy attributes ( #5734 )
...
* added data-cy attributes for robust ui test automation
2021-09-24 13:00:55 +12: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
Richard Wei
8d8f21368d
feat(frontend): dark and high contrast theme supported EE-909 ( #5353 )
...
* feat dark theme & high contrast theme supported
2021-09-08 11:06:18 +12:00
testA113
7c02e4b725
Xt 485/give front end elements data cy attributes ( #5483 )
...
* kubernetes attributes done, swarm attributes halfway, aci to go
* all attributes for cypress selectors added
* kubernetes attributes done, swarm attributes halfway, aci to go
* all attributes for cypress selectors added
* all attributes for cypress selectors added
* fixed files from rebase, added docker sidebar element attributes
* kubernetes attributes done, swarm attributes halfway, aci to go
* all attributes for cypress selectors added
* all attributes for cypress selectors added
* removed files to match develop
* ammended comments
* removed bindings for switch
2021-08-26 12:05:28 +12:00
Chaim Lev-Ari
ab30793c48
chore(deps): upgrade eslint and use eslint-plugin ( #4989 )
2021-08-24 07:34:18 +03:00
Chaim Lev-Ari
bbbc61dca9
feat(sidebar): add indicator for an openable submenu ( #5398 ) [EE-538]
2021-08-22 12:23:49 +03:00
Dmitry Salakhov
bcccdfb669
feat(stacks): support automated sync for stacks [EE-248] ( #5340 )
2021-08-17 13:12:07 +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
Matt Hook
cee7ac26e9
Fix dockerhub pro account rate-limit issue ( #5352 )
2021-07-27 10:49:28 +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
Richard Wei
c26af1449c
fix(app): Fix ports displayed twice when using docker EE-706 ( #5239 )
...
* fix duplicate port showing using docker
* fix changes from review by using lodash for filter
* move container filter in filter folder
* change filter name to unique for reuse
2021-07-23 11:29:01 +12:00
Chaim Lev-Ari
fe07815fc7
fix(images): ensure latest image ( #5274 )
2021-07-22 12:19:48 +03: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
Stéphane Busso
340805f880
fix download logs ( #5243 )
2021-07-05 11:10:10 +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