* simple-ui: improve the oidc id token refresh
* make sure we get the latest context after refresh
* further simplification of the method
* remove principal oidc check
* remove relying on previous oidcuser, as the infinite loop was fixed on spring security
* simplify the granted authorities fetch
* rollback some changes to simplify review
* lint
* feat[Simple-UI]: add action status list
* fix[Simple-UI]: various ui issues
* chore: add devtool
* feat[Simple-UI: add DS metadata
* feat[Simple-UI]: add sort in DS view
* feat[Simple-UI]: add created at to DS view
* style[Simple-UI]: remove id from DS view
* feat[Simple-UI]: add rsql filter & url filter
* feat[Simple-UI]: if one ds in result show details
* feat[Simple-UI]: add filter from url to targetview
* feat[Simple-UI]: add link from target details view to DS
* feat[Simple-UI]: add sort & version on target view
* refacto[Simple-UI]: linkted text area
* feat[Simple-UI]: dynamic homepage depending on permissions
* feat[Simple-UI]: sort by newest version
* feat[Simple-UI]: add target address
* feat[Simple-UI]: sort by last modified target
* fix[Simple-UI]: securityToken null if no permission
* fix[Simple-UI]: green circle on bad update
* feat[Simple-UI]: use local date format
* docs: update user config
* fix: tag filter
* feat[Simple-UI]: search on multiple attributes
* refacto: rename TargetActions -> TargetActionsHistory
* refacto: move TargetActionsHistory to a new file
* simple-ui: fix flaky OAuth2TokenManager bean creation
* simple-ui: add Assigned / installed tab
This is inspired by the original hawkbit interface; however, as we've got more space it merges both Assigned and Installed into the same tab
* simple-ui: add assign and unassign to targets, and create tags
* simple-ui: add action history tab
This allows tracking the actions, see their status, and cancel / force / force cancel them; just like the previous ui
This has some limitations though; the previous UI had access to the Action's main class, whereas we're dealing with the rest dto; hence we're missing some information to make the ui simpler to create.
* use textblock with generic line-separator
* fix tags not shown due to missing badge import
* improve the action's status by combining the four statuses into one icon
* simple-ui: add oauth2 support
This uses a trick to ensure that the id token is refreshed; it needs to be revisited after Spring Security 6.5 is released
* fixed style and added a way to enable / disable oauth2 client
* simple-ui: improve target filters
- improve the overall ui of the filters by using the proper icons and layout
- add target filter update and the ability to duplicate filters
Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>
* simple-ui: add poll status and target update status icons
Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>
* apply official style + improve update / create listeners
* one last clean up - revert import bad changes
---------
Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>
This commit adds a new option, when creating a new SoftwareModule, to
also create a new distributionSet, based on the created SoftwareModule.
This is useful for cases, where software modules and distributionSets
have a 1:1 relation.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
It is useful to see target attributes in the Target's view: for instance
SWUpdate can deliver values from the platform which identify some
features of it. This can include an arbitrary data, e.g. platform HW
revision, component's versions etc.
Thus, add a possibility to see those attributes in the dedicated view.
Signed-off-by: Oleksandr Andrushchenko <andr2000@gmail.com>