portainer/app
Chaim Lev-Ari 05357ecce5
fix(edge): filtering of edge devices [EE-3210] (#7077)
* fix(edge): filtering of edge devices [EE-3210]

fixes [EE-3210]

changes:
- replaces `edgeDeviceFilter` with two filters:
	- `edgeDevice`
	- `edgeDeviceUntrusted`

these filters will only apply to the edge endpoints in the query (so it's possible to get both regular endpoints and edge devices).

if `edgeDevice` is true, will filter out edge agents which are not an edge device.
			false, will filter out edge devices

`edgeDeviceUntrusted` applies only when `edgeDevice` is true. then false (default) will hide the untrusted edge devices, true will show only untrusted edge devices.

fix(edge/job-create): retrieve only trusted endpoints + fix endpoint selector pagination limits onChange

fix(endpoint-groups): remove listing of untrusted edge envs (aka in waiting room)

refactor(endpoints): move filter to another function

feat(endpoints): separate edge filters

refactor(environments): change getEnv api

refactor(endpoints): use single getEnv

feat(groups): show error when failed loading envs

style(endpoints): remove unused endpointsByGroup

* chore(deps): update go to 1.18

* fix(endpoint): filter out untrusted by default

* fix(edge): show correct endpoints

* style(endpoints): fix typo

* fix(endpoints): fix swagger

* fix(admin): use new getEnv function

Co-authored-by: LP B <xAt0mZ@users.noreply.github.com>
2022-07-19 18:00:45 +02:00
..
__mocks__ feat(ui): add sorting icon component and table header cell styling EE-3626 (#7165) 2022-07-08 01:20:33 +12:00
agent fix(app): add github action for linting and formatting [EE-2344] (#6356) 2022-01-17 07:53:32 +02:00
angulartics.matomo fix(analytics): load public settings [EE-3590] (#7128) 2022-06-27 19:29:17 +03:00
assets feat(ui): UI improvements node details screen EE-3468 (#7256) 2022-07-18 11:48:24 +12:00
azure refactor(app): redesign dashboard-item component [EE-3634] (#7175) 2022-07-06 11:23:53 +03:00
docker EE-3723 update headers to feather icon (#7275) 2022-07-19 11:29:50 +08:00
edge fix(edge): filtering of edge devices [EE-3210] (#7077) 2022-07-19 18:00:45 +02:00
kubernetes feat(ui): UI improvements node details screen EE-3468 (#7256) 2022-07-18 11:48:24 +12:00
nomad refactor(app): create empty react structure [EE-3178] (#6926) 2022-05-17 07:22:44 +03:00
portainer fix(edge): filtering of edge devices [EE-3210] (#7077) 2022-07-19 18:00:45 +02:00
react fix(edge): filtering of edge devices [EE-3210] (#7077) 2022-07-19 18:00:45 +02:00
react-tools feat(gpu) EE-3191 Add GPU support for containers (#7146) 2022-07-18 11:02:14 +12:00
setup-tests refactor(sidebar): migrate sidebar to react [EE-2907] (#6725) 2022-06-23 10:25:56 +03:00
app.js refactor(sidebar): migrate sidebar to react [EE-2907] (#6725) 2022-06-23 10:25:56 +03:00
config.js feat(docker-desktop-extension): Make Portainer compatible with Docker Desktop Extension EE-2747 (#6644) 2022-04-19 13:10:42 +12:00
constants.js fix(networks): handle windows specific system networks [EE-2594] (#6922) 2022-05-17 14:45:30 +12:00
global.d.ts feat(app): ui additional css class [EE-3594] (#7157) 2022-07-01 13:14:22 +12:00
i18n.ts feat(i18n): add support for multiple languages (#6270) 2022-01-10 15:22:21 +02:00
index.html refactor(sidebar): migrate sidebar to react [EE-2907] (#6725) 2022-06-23 10:25:56 +03:00
index.js refactor(app): create empty react structure [EE-3178] (#6926) 2022-05-17 07:22:44 +03:00
matomo-setup.js feat(telemetry): replace GA with matomo (#4140) 2020-08-07 10:46:25 +12:00
react-table-config.d.ts fix(app): add github action for linting and formatting [EE-2344] (#6356) 2022-01-17 07:53:32 +02:00
timeout.ejs fix(timeout): change the url of the documentation link on timeout page (#6729) 2022-04-07 13:16:28 +12:00
types.ts refactor(sidebar): migrate sidebar to react [EE-2907] (#6725) 2022-06-23 10:25:56 +03:00
vendors.js feat(app): introduce react configurations [EE-1809] (#5953) 2021-11-03 12:41:59 +02:00