portainer/api/bolt
Chaim Lev-Ari edd86f2506
refactor(tags): refactor tag management (#3628)
* refactor(tags): replace tags with tag ids

* refactor(tags): revert tags to be strings and add tagids

* refactor(tags): enable search by tag in home view

* refactor(tags): show endpoint tags

* refactor(endpoints): expect tagIds on create payload

* refactor(endpoints): expect tagIds on update payload

* refactor(endpoints): replace TagIds to TagIDs

* refactor(endpoints): set endpoint group to get TagIDs

* refactor(endpoints): refactor tag-selector to receive tag-ids

* refactor(endpoints): show tags in multi-endpoint-selector

* chore(tags): revert reformat

* refactor(endpoints): remove unneeded bind

* refactor(endpoints): change param tags to tagids in endpoint create

* refactor(endpoints): remove console.log

* refactor(tags): remove deleted tag from endpoint and endpoint group

* fix(endpoints): show loading label while loading tags

* chore(go): remove obsolete import labels

* chore(db): add db version comment

* fix(db): add tag service to migrator

* refactor(db): add error checks in migrator

* style(db): sort props in alphabetical order

* style(tags): fix typo

Co-Authored-By: Anthony Lapenna <anthony.lapenna@portainer.io>

* refactor(endpoints): replace tagsMap with tag string representation

* refactor(tags): rewrite tag delete to be more readable

* refactor(home): rearange code to match former style

* refactor(tags): guard against missing model in tag-selector

* refactor(tags): rename vars in tag_delete

* refactor(tags): allow any authenticated user to fetch tag list

* refactor(endpoints): replace controller function with class

* refactor(endpoints): replace function with helper

* refactor(endpoints): replace controller with class

* refactor(tags): revert tags-selector to use 1 way bindings

* refactor(endpoints): load empty tag array instead of nil

* refactor(endpoints): revert default tag ids

* refactor(endpoints): use function in place

* refactor(tags): use lodash

* style(tags): use parens in arrow functions

* fix(tags): remove tag from tag model

Co-authored-by: Anthony Lapenna <anthony.lapenna@portainer.io>
2020-03-29 22:54:14 +13:00
..
dockerhub refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
endpoint feat(edge): introduce support for Edge agent (#3031) 2019-07-26 10:38:07 +12:00
endpointgroup refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
extension refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
internal fix(api): increment stack identifier atomically (#3290) 2019-10-24 11:38:41 +13:00
migrator refactor(tags): refactor tag management (#3628) 2020-03-29 22:54:14 +13:00
registry refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
resourcecontrol feat(api): rewrite access control management in Docker (#3337) 2019-11-13 12:41:42 +13:00
role feat(settings): add new settings to disable volume browser (#3239) 2019-10-08 13:17:58 +13:00
schedule refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
settings refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
stack refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
tag refactor(tags): refactor tag management (#3628) 2020-03-29 22:54:14 +13:00
team refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
teammembership refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
template refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
tunnelserver feat(edge): introduce support for Edge agent (#3031) 2019-07-26 10:38:07 +12:00
user refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
version refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
webhook refactor(api): refactor base import path (#2788) 2019-03-21 14:20:14 +13:00
datastore.go refactor(tags): refactor tag management (#3628) 2020-03-29 22:54:14 +13:00
init.go refactor(tags): refactor tag management (#3628) 2020-03-29 22:54:14 +13:00