Files
hawkbit/hawkbit-ui/src/main/resources/messages.properties

813 lines
39 KiB
Properties
Raw Normal View History

#
# Copyright (c) 2015 Bosch Software Innovations GmbH and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
#########################################################################################
# This is the messages.properties file
#########################################################################################
# Menu items
dashboard.upload.caption = Upload
dashboard.upload.caption-long = Upload Management
dashboard.tenantconfig.caption = System Config
dashboard.tenantconfig.caption-long = System Configuration
dashboard.distributions.caption = Distributions
dashboard.distributions.caption-long = Distributions Management
dashboard.filters.caption = Target Filters
dashboard.filters.caption-long = Target Filter Management
dashboard.deployment.caption = Deployment
dashboard.deployment.caption-long = Deployment Management
dashboard.rollouts.caption = Rollout
dashboard.rollouts.caption-long = Rollout Management
# Button names prefix with - button
button.save = Save
button.delete = Delete
button.delete.all = Delete All
button.assign.all = Save Assign
button.actions = You have actions
button.no.actions = No actions
button.ok = OK
button.cancel = Cancel
button.upload.file = Upload File
button.no.auto.assignment = none
button.auto.assignment.desc = Select auto assign distribution set
button.approve = Approve
button.deny = Deny
button.apply = Apply
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
bulkupload.wrong.file.format = Please upload csv file.
bulkupload.ds.name = DS Name
button.discard=Discard
New event strategy (#380) * Add notfication overview for remote events Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Refactor css for notification button Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Remove todo Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - Style notfication button (css) - Add i18n message keys - Add switch slider for auto refresh event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Insert Label in MenuItem for displaying occurred events Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * - Style notfication button (css) - Add i18n message keys - Add switch slider for auto refresh event - Insert Label in MenuItem for displaying occurred events Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Solve merge conflicts and add menu item counter Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * CSS refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Adapt JUnit test for events, because constructor is changed Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Skip delete event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - Insert Id for notification menu - Enable push mechanism for target and ds tag and add notfications - Fix several typos Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Add update ui events for tags and add different id's for menue item Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Insert push for SoftwareModule Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Set button enablement Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Add Software module update push event Add unit test software module push events Adapt test for software push event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Close window and set pop id Update the target table to set the new icon Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - several code improvements - Correct license header Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Update vaadin version Rename the base entity and redefine constructors unread counter was not correct Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Closebox of notificationButton is invisible: Insert height for HorizontalLayout of NotificationUnreadButton Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Add software modules to the new event types Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Introduce animation in unreadNotificationButton Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Fix close on safari Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Add publish events direct to the tag entities. Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-12-19 16:05:23 +01:00
notification.unread.button.title=Notifications
notification.unread.button.description=Notifications ({0} unread)
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
metadata.link.desc=View {0} Metadata details
# Headers prefix with - header
header.target.table=Targets
header.dist.table=Distributions
header.filter.tag=Filter by Tag
header.target.filter.tag=Filters
header.first.assignment.table = Targets
header.second.assignment.table = Distributions
header.dist.first.assignment.table = Distributions
header.dist.second.assignment.table = Software Modules
header.third.assignment.table = Discard
header.one.deletedist.table = Distribution Name
header.second.deletedist.table = Discard Changes
header.first.deletetarget.table = Target Name
header.second.deletetarget.table = Discard Changes
header.first.deleteswmodule.table = Delete software
header.first.delete.dist.type.table = DistributionSetType
header.second.delete.dist.type.table = Discard
header.first.delete.swmodule.type.table = Software Module Type
header.second.delete.swmodule.type.table = Discard
header.dist.twintable.selected=Selected
header.dist.twintable.available=Available
header.target.installed = Installed
header.target.assigned = Assigned
header.type=Type
header.migrations.step=IsRequiredMigrationStep
header.action=Actions
header.action.run=Run
header.action.approve=Approve
header.action.pause=Pause
header.action.update=Edit
Create Rollout UI with Groups definition (#369) * Rollout creation UI with groups definition Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improved code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added a legend to the Rollouts Creation UI's PieChart Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Updated color palette for pie chart. Using RolloutGroupCreate for validation. Displaying pie chart for group editing. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized ComboBoxBuilder Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Removed not necessary RPC interfaces. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix Rollout verification count query. Improved UI style. Added dependency management for d3. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Auto start and scheduled start of Rollouts Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized RSQL Utility to avoid multiple joins on the same table. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fixed RSQL Utility to avoid multiple joins on the same table to only work with OR nodes. Optimized validation queries for rollout group creation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Asynchronous handling of groups validation in the create rollouts UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added loading indicator to create rollout UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Avoid parallel validation for a user session. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix issues after merge of master into branch. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improve code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Refreshing the total target count after validation on the rollouts creation UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Remove unused RolloutUpdate method. Optimization of the RolloutHelper. Comments for RolloutGroupsValidation and RSQLUtility with explanation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2017-01-26 09:37:20 +01:00
header.action.copy=Copy
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
header.action.download=Download
header.action.delete=Delete
header.status=Status
New event strategy (#380) * Add notfication overview for remote events Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Refactor css for notification button Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Remove todo Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - Style notfication button (css) - Add i18n message keys - Add switch slider for auto refresh event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Insert Label in MenuItem for displaying occurred events Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * - Style notfication button (css) - Add i18n message keys - Add switch slider for auto refresh event - Insert Label in MenuItem for displaying occurred events Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Solve merge conflicts and add menu item counter Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * CSS refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Adapt JUnit test for events, because constructor is changed Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Skip delete event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - Insert Id for notification menu - Enable push mechanism for target and ds tag and add notfications - Fix several typos Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Add update ui events for tags and add different id's for menue item Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Insert push for SoftwareModule Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Set button enablement Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Add Software module update push event Add unit test software module push events Adapt test for software push event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Close window and set pop id Update the target table to set the new icon Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - several code improvements - Correct license header Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Update vaadin version Rename the base entity and redefine constructors unread counter was not correct Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Closebox of notificationButton is invisible: Insert height for HorizontalLayout of NotificationUnreadButton Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Add software modules to the new event types Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Introduce animation in unreadNotificationButton Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Fix close on safari Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Add publish events direct to the tag entities. Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-12-19 16:05:23 +01:00
# event container
event.notifcation.target.created = 1 target created
event.notifcation.target.deleted = 1 target deleted
event.notifcation.targets.created = {0} targets created
event.notifcation.targets.deleted = {0} targets deleted
event.notifcation.distributionset.created = 1 distribution set created
event.notifcation.distributionset.deleted = 1 distribution set deleted
event.notifcation.distributionsets.created = {0} distribution sets created
event.notifcation.distributionsets.deleted = {0} distribution sets deleted
event.notifcation.softwaremodule.created = 1 software module created
event.notifcation.softwaremodule.deleted = 1 software module deleted
event.notifcation.softwaremodules.created = {0} software modules created
event.notifcation.softwaremodules.deleted = {0} software modules deleted
New event strategy (#380) * Add notfication overview for remote events Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Refactor css for notification button Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Remove todo Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - Style notfication button (css) - Add i18n message keys - Add switch slider for auto refresh event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Insert Label in MenuItem for displaying occurred events Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * - Style notfication button (css) - Add i18n message keys - Add switch slider for auto refresh event - Insert Label in MenuItem for displaying occurred events Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Solve merge conflicts and add menu item counter Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * CSS refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Adapt JUnit test for events, because constructor is changed Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Skip delete event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - Insert Id for notification menu - Enable push mechanism for target and ds tag and add notfications - Fix several typos Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Add update ui events for tags and add different id's for menue item Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Insert push for SoftwareModule Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Set button enablement Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Add Software module update push event Add unit test software module push events Adapt test for software push event Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Close window and set pop id Update the target table to set the new icon Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * - several code improvements - Correct license header Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Update vaadin version Rename the base entity and redefine constructors unread counter was not correct Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Closebox of notificationButton is invisible: Insert height for HorizontalLayout of NotificationUnreadButton Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Add software modules to the new event types Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Introduce animation in unreadNotificationButton Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Fix close on safari Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Add publish events direct to the tag entities. Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-12-19 16:05:23 +01:00
# Captions prefix with - caption
caption.filter.by.type = Filter by type
caption.bulk.upload = Bulk Upload
caption.action.history = Action history
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
caption.action.history.for = Action history for
caption.artifact.details = Artifact Details
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
caption.artifact.details.of = Artifact Details of
caption.action.states= Action States
caption.action.messages = Messages
caption.error = Error
View-scoped event listeners (#1134) * added UI EntityNotFound error details extractor Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * changed Target count label to not rely on grid data change events but rather on EntityModified UI events to decide how to react dependand on the event type Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added current view check on entity modified events Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * unsubscribe/resubscribe event listeners on view leave/enter, reselect grid entities on view enter Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed target grid count reset on initial load and after view change Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * re-evaluate filters on Deployment View enter Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added on view enter logic for rest of the views Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * introduced event listener aware layout and view, adapted code accordingly Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed bulk upload Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added missing docs Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * adapted software module deselection upon master entity change Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed npe in case master support is not present (Artifact View) Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * restructured amqp assignDistributionSetMultipleTimes test Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added waiting for the messages to be dispached by test Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2021-07-22 11:00:05 +02:00
caption.entity.missing.error = Entity is missing
caption.new.softwaremodule.application = Configure New Application
caption.new.softwaremodule.os = Configure New OS
caption.filter.simple = Simple Filter
caption.filter.custom = Custom Filter
caption.metadata = Metadata
caption.rollout.name = Rollout name
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.target = Target
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
caption.target.filter = Target Filter
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.distribution = Distribution
caption.tag = Tag
caption.type = Type
caption.software.module = Software Module
caption.rollout = Rollout
caption.create.new = Create new {0}
caption.update = Edit {0}
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
caption.copy = Copy {0}
caption.approve = Approve {0}
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.select.auto.assign.dist = Select auto assignment distribution set
caption.bulk.upload.targets = Bulk Upload
caption.softwares.distdetail.tab = Modules
caption.tags.tab = Tags
caption.logs.tab = Logs
caption.attributes.tab = Attributes
caption.types.tab = Types
caption.save.window = Action Details
caption.assign.dist.accordion.tab = Assign Software Module
caption.delete.dist.accordion.tab = Delete Distributions
caption.delete.target.accordion.tab = Delete Targets
caption.delete.swmodule.accordion.tab = Delete SW Modules
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.delete.dist.set.type.accordion.tab = Delete Distribution set type
caption.delete.sw.module.type.accordion.tab = Delete Software module type
caption.panel.dist.installed = Installed Distribution set
caption.panel.dist.assigned = Assigned Distribution set
caption.cancel.action.confirmbox = Confirm Action Cancellation
caption.forcequit.action.confirmbox = Confirm force quit action
caption.forced.datefield = Force update at time
caption.force.action.confirmbox = Confirm Force Active Action
caption.confirm.abort.action = Confirm Abort Action
caption.config.create = create
caption.config.edit = edit
caption.config.delete = delete
caption.metadata.popup = Metadata of
caption.confirm.assign.consequences = Auto assign consequences
caption.auto.assignment.ds = Auto assignment
Fix optimize ui maintenance window (#668) * Optimize maintenance window UI Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Add new downloaded status to UI. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Changed Accordion to Tabsheet for better visualization of action types and maintanance window. Signed-off-by: Markus Block <markus.block@bosch-si.com> * Refined UI for maintenance window, refactoring Added ENTER shortcut for save button in dialog windows Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Extended validation for maintenance window, refactored the maintenance window helper class Added text change listeners for the schedule and duration text fields in order to activate "save all" button Added client Locale identification for cron expression translation Moved maintenance window validation from TargetWithActionType constructor to saveAll method of assignment tab Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added SupressWarnings annotation for exception handling cases Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Fixed Sonar issue: added private constructor to Maintenance schedule helper class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Sonar Issue: make utility class Maintenance Schedule final Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added Maintenance Window validation to Distribution Set and Target Management API Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added unit tests for MaintenanceScheduleHelper class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added the license header to MaintenanceScheduleHelperTest class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Small changes after PR review Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added Id for Maintenance Window layout for UI Tests Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
2018-04-04 10:01:55 +02:00
caption.maintenancewindow.enabled = Use maintenance window
caption.maintenancewindow.schedule = Schedule
caption.maintenancewindow.duration = Duration
caption.maintenancewindow.timezone = Time Zone (from GMT)
245 maintenance window (#535) * Maintenance Window: Introduced dynamic update to polling time. (#245) Resolves #245 Added new configuration parameters and controller handling that can be used to enable reduction in polling time near to start of a maintenance window. - The device may only get to know of start of maintenance window when the device polls the server. If a window is available, server responds with maintenanceWindow as 'available' and the update as 'forced'. Hence, as the time for start of a maintenance window approaches, the device should poll the server more often in order to decrease the possibility of missing the maintenance window start time due to non-alignment of polling with the start time, or due to packet losses and other network issues. - Additional configuration parameter is introduced that will be used to specify the minimum number of times the controller should poll between current time and the start of maintenance window. Using this parameter, an "inverse exponential back-off" scheme for reducing the polling time is implemented. - Implemented inverse exponential back-off for polling. For example, considering default polling-time = 00:05:00, min-polling-time = 00:00:30, maintenance-window-poll-count = 3, we expect that controller should poll the server 3 times between current time and start of a maintenance window. Thus in following scenario controller will get to know of start of maintenance 3 secs after scheduled start. Whereas without this scheme, delay may be as much as 4 minutes. time until start: 00:21:00; polling time: 00:05:00 time until start: 00:16:00; polling time: 00:05:00 time until start: 00:11:00; polling time: 00:03:40 time until start: 00:07:20; polling time: 00:02:27 time until start: 00:04:53; polling time: 00:01:38 time until start: 00:02:10; polling time: 00:00:43 time until start: 00:01:27; polling time: 00:00:30 time until start: 00:00:57; polling time: 00:00:30 time until start: 00:00:27; polling time: 00:00:30 time until start: -00:00:03; polling time: 00:05:00 - Once a maintenance window starts, the polling time is reverted to default. Polling time is not changed near the end of a maintenance window. Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Himanshu Kumar Singh <himanshu.singh@siemens.com> Signed-off-by: Raju HS <raju.hs@siemens.com> * Maintenance Window: Updated the DMF API. Added maintenance window handling for DMF API. Currently no timer or scheduler is used to send updates to devices when a maintenance window becomes available. The device can simulate a poll behaviour by sending a message on UPDATE_ACTION_STATUS topic. Depending on whether there is a maintenance window available or not, server should send DOWNLOAD_AND_INSTALL or DOWNLOAD_AND_SKIP. - Additional action status (DOWNLOADED) and event topic (DOWNLOAD_AND_SKIP) - Server sends DOWNLOAD_AND_SKIP or DOWNLOAD_AND_INSTALL based on maintenance window using ControllerManagement Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Himanshu Kumar Singh <himanshu.singh@siemens.com> Signed-off-by: Raju HS <raju.hs@siemens.com> * Maintenance Window: Added tests for DDI and Management APIs. Added test cases for DDI and Management API to test for maintenance window related logic. - Tests for Management API for DistributionSet assignment with and without valid maintenance schedule specified. - Tests for lapsed maintenance schedule. - Additional test helper methods. Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Himanshu Kumar Singh <himanshu.singh@siemens.com> Signed-off-by: Raju HS <raju.hs@siemens.com> * Maintenance Window: Added new fields, enums, APIs and helper classes. Extended the data model and Action API to support maintenance schedule. Also provided helper classes to parse cron expression and calculate maintenance window based on the schedule. - DOWNLOADED status added to Action interface for controller to record action status. - Extra fields and APIs are added to Action to set schedule, duration and time zone of maintenance window. - Maintenance schedule can be defined using: a cron expression (e.g. "0 30 10-13 ? * WED,FRI" for 30 minutes past the hour, between 10:00 AM and 01:59 PM, only on Wednesday and Friday), a duration (e.g. "00:30:00" for 30 minutes) and the time zone (e.g. "+02:00" for CET summer time or "+00:00" for UTC) relative to which maintenance window start time is calculated. - Extra APIs added to check if a maintenance schedule is defined or lapsed and if a maintenance window is available based on the schedule. - Added database fields to store the schedule, duration and timezone of maintenance window. - Added helper classes to parse and calculate the maintenance window schedule. - Added exception handling classes to handle invalid maintenance window schedule. Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Himanshu Kumar Singh <himanshu.singh@siemens.com> Signed-off-by: Raju HS <raju.hs@siemens.com> * Maintenance Window: Extended JSON model for REST APIs. Extended the JSON model to support defining and communicating the maintenance window information using the REST APIs. - Additional JSON objects are defined to extend request and response bodies. - When requesting a distribution set assignment to a target, the maintenance schedule information can be specified. Example below specifies a maintenance schedule at 11:00 PM, only on Saturday, only in 2017, for 30 minutes. Maintenance window start time is then calculated relative to the time zone specified, in this case CET summer time. $ curl 'http://127.0.0.1:8080/rest/v1/targets/2/assignedDS' -i -X POST -H 'Content-Type: application/json;charset=UTF-8' -d '{ "forcetime" : "0", "id" : "1", "type" : "forced", "maintenanceWindow": { "schedule": "0 0 23 ? * SAT 2017", "duration": "00:30:00", "timezone": "+02:00" } }' - When device requests the action information it gets to know if there is a 'maintenance schedule' for this action or not based on presence of maintenanceWindow field in the response. The value of maintenanceWindow is either 'available' (i.e. the maintenance window is now available as per defined schedule and the update can progress) or 'unavailable' (implying that maintenance window is not available now and update should not be attempted). If there is no 'maintenance schedule' defined, the field is null or not present. $ curl 'http://127.0.0.1:8080/default/controller/v1/2/deploymentBase/1?c=411629670' -i -H 'Accept: application/hal+json' HTTP/1.1 200 OK Content-Type: application/hal+json;charset=UTF-8 Content-Length: 1665 { "id": "1", "deployment": { "download": "forced", "update": "forced", "chunks": [ { "part": "os", "version": "1", "name": "1", "artifacts" : [ { "filename" : "binary.tgz", "hashes" : { "sha1" : "8b71973e835cd0718827238b1cf89f0079e44dae", "md5" : "a90218782025c48e09ba0436cf30d029" }, "size" : 5, "_links" : { "download" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz" }, "md5sum" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz.MD5SUM" }, "download-http" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz" }, "md5sum-http" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz.MD5SUM" } } } ] } ], "maintenanceWindow": "available" } } Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Himanshu Kumar Singh <himanshu.singh@siemens.com> Signed-off-by: Raju HS <raju.hs@siemens.com> * Maintenance Window: Added additional UI elements. Added additional UI elements to specify maintenance window schedule in hawkBit UI while assigning distribution set(s) to target(s). - Added UI control to hawkBit UI when distribution set assignment is confirmed. - Also added required theme updates and resource strings. Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Himanshu Kumar Singh <himanshu.singh@siemens.com> Signed-off-by: Raju HS <raju.hs@siemens.com> * Maintenance Window: Modified DDI and Mgmt APIs for maintenance window. Modified controller management and deployment management to handle maintenance window schedule in Management API and DDI API. - Modified REST endpoints to accept and respond with maintenance window information. $ curl 'http://127.0.0.1:8080/rest/v1/targets/2/assignedDS' -i -X POST -H 'Content-Type: application/json;charset=UTF-8' -d '{ "forcetime" : "0", "id" : "1", "type" : "forced", "maintenanceWindow": { "schedule": "0 0 23 ? * SAT 2017", "duration": "00:30:00", "timezone": "+02:00" } }' - Check for availability of a maintenance window based on the schedule. - Device gets go-ahead to install by change in ETAG and 'update' status to 'forced' when it polls during an available maintenance window. $ curl 'http://127.0.0.1:8080/default/controller/v1/2/deploymentBase/1?c=411659461' -i -H 'Accept: application/hal+json' HTTP/1.1 200 OK Content-Type: application/hal+json;charset=UTF-8 Content-Length: 1665 { "id": "1", "deployment": { "download": "forced", "update": "forced", "chunks": [ { "part": "os", "version": "1", "name": "1", "artifacts" : [ { "filename" : "binary.tgz", "hashes" : { "sha1" : "8b71973e835cd0718827238b1cf89f0079e44dae", "md5" : "a90218782025c48e09ba0436cf30d029" }, "size" : 5, "_links" : { "download" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz" }, "md5sum" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz.MD5SUM" }, "download-http" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz" }, "md5sum-http" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz.MD5SUM" } } } ] } ], "maintenanceWindow": "available" } } - In case the current available maintenance window lapses, the device is again sent 'update' status as 'skip'. The device may choose then to abort the update and restart during next available window. $ curl 'http://127.0.0.1:8080/default/controller/v1/2/deploymentBase/1?c=411659455' -i -H 'Accept: application/hal+json' HTTP/1.1 200 OK Content-Type: application/hal+json;charset=UTF-8 Content-Length: 1665 { "id": "1", "deployment": { "download": "forced", "update": "skip", "chunks": [ { "part": "os", "version": "1", "name": "1", "artifacts" : [ { "filename" : "binary.tgz", "hashes" : { "sha1" : "8b71973e835cd0718827238b1cf89f0079e44dae", "md5" : "a90218782025c48e09ba0436cf30d029" }, "size" : 5, "_links" : { "download" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz" }, "md5sum" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz.MD5SUM" }, "download-http" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz" }, "md5sum-http" : { "href" : "http://127.0.0.1:8080/api/v1/default/download/controller/2/softwaremodules/8/filename/binary.tgz.MD5SUM" } } } ] } ], "maintenanceWindow": "unavailable" } } - In case the entire maintenance schedule lapses, before device is able to send the completed status, the action is canceled. $ curl 'http://127.0.0.1:8080/default/controller/v1/2' -i -H 'Accept: application/hal+json' HTTP/1.1 200 OK Content-Type: application/hal+json;charset=UTF-8 Content-Length: 340 { "config": { "polling": { "sleep": "00:05:00" } }, "_links": { "cancelAction": { "href": "http://127.0.0.1:8080/default/controller/v1/2/cancelAction/1" }, "configData": { "href": "http://127.0.0.1:8080/default/controller/v1/2/configData" } } } Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Himanshu Kumar Singh <himanshu.singh@siemens.com> Signed-off-by: Raju HS <raju.hs@siemens.com>
2018-03-06 16:17:31 +01:00
caption.clear.file.upload.queue = Clear file upload queue
# Labels prefix with - label
label.create.filter = Create Filter
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
label.edit.filter = Edit Filter
label.sign.out = Sign Out
label.menu = Menu
label.active = Active
label.action.id = Action Id
label.no.tag = NO TAG
label.action.forced = Forced
Feature download only (#810) * Added initial version of DOWNLOAD_ONLY * Added DOWNLOAD_ONLY option to ActionTypeOptionGroupLayout * Removed DOWNLOAD_ONLY checkbox, added Download Only UI option * Mark actions that finished with DOWNLOADED as finished * initial changes to realize downoadOnly in UI * Changed method of disabling maintenanceWindow into smarter solution * Added new icon for download only option * Set DistributionSet as unassigned when DOWNLOAD_ONLY * Enabled update action status for DOWNLOAD_ONLY after download * Current state of abstraction task * Assign DistributionSet to target if target installs it after downloading * Abstracted class redundant methods * Added tests * Fixed Rollout finish status for DWONLOAD_ONLY Rollouts * Added Rollout type json property in test documentation * Added DOWNLOAD_ONLY test for target assignment * Added event listener also to DistributionTable * Fixed event listener problem * Change column name to "Type" and added also DownloadOnly icon to that column. * Cleanup * Center aligned the icons in type column * Fixed DistributionSet already assigned but not installed * Rename download_only to downloadonly * Further changes regarding center aligned the icons * Fixed target assign status in Rollout view when download_only * Fixed SonarQube issues * Fixed SonarQube issues + code formatting * Fixed Tests * Marked squid:S128 as suppressed - irrelevant * Adapting rollouts view by additional column (not finished by now) * Putted type column on proper position * Trying to display icons in new type column in rollouts view * Added icon also for soft, icon might change -> just change * createOptionGroup method in ActionTypeOptionGroupLayout class * added first draft of type column in rollouts view * increase visibility of sendUpdateMessageToTarget method * Ground functionality of new type column in deployment view is now implemented * Type column implementation in rollouts view is finished for now * Rebased on master * Fixed DurationControl change on ScheduleControl change. * (Re)Added Soft deployment Icon * Fixed SonarQube issues * Fixed SonarQube issues * Fixed failing test * Fixes + added missing header * Added message to the fail() instruction * Fixed copyright header * Apply suggestions from code review * Fixed TotalTargetCountStatus.java * Removed unused method from TotalTargetCountStatus.java * add id to rollout create and update UI popup * Added download_only tests for MgmtTargetResourceTest.java * added missing header in TotalTargetCountStatusTest.java * Rename because of newest changes * added Download_Only dmf integration tests * Renamed MgmtAction.forcedType to actionType * renamed actionType to forceType for Mgmt API * added missing javadocs for public methods * Added Download Only support for AutoAssignment Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch-si.com> Signed-off-by: Ammar Bikic <ammar.bikic@bosch-si.com>
2019-04-17 12:27:23 +02:00
label.action.type = Type
label.action.soft = Soft
Feature download only (#810) * Added initial version of DOWNLOAD_ONLY * Added DOWNLOAD_ONLY option to ActionTypeOptionGroupLayout * Removed DOWNLOAD_ONLY checkbox, added Download Only UI option * Mark actions that finished with DOWNLOADED as finished * initial changes to realize downoadOnly in UI * Changed method of disabling maintenanceWindow into smarter solution * Added new icon for download only option * Set DistributionSet as unassigned when DOWNLOAD_ONLY * Enabled update action status for DOWNLOAD_ONLY after download * Current state of abstraction task * Assign DistributionSet to target if target installs it after downloading * Abstracted class redundant methods * Added tests * Fixed Rollout finish status for DWONLOAD_ONLY Rollouts * Added Rollout type json property in test documentation * Added DOWNLOAD_ONLY test for target assignment * Added event listener also to DistributionTable * Fixed event listener problem * Change column name to "Type" and added also DownloadOnly icon to that column. * Cleanup * Center aligned the icons in type column * Fixed DistributionSet already assigned but not installed * Rename download_only to downloadonly * Further changes regarding center aligned the icons * Fixed target assign status in Rollout view when download_only * Fixed SonarQube issues * Fixed SonarQube issues + code formatting * Fixed Tests * Marked squid:S128 as suppressed - irrelevant * Adapting rollouts view by additional column (not finished by now) * Putted type column on proper position * Trying to display icons in new type column in rollouts view * Added icon also for soft, icon might change -> just change * createOptionGroup method in ActionTypeOptionGroupLayout class * added first draft of type column in rollouts view * increase visibility of sendUpdateMessageToTarget method * Ground functionality of new type column in deployment view is now implemented * Type column implementation in rollouts view is finished for now * Rebased on master * Fixed DurationControl change on ScheduleControl change. * (Re)Added Soft deployment Icon * Fixed SonarQube issues * Fixed SonarQube issues * Fixed failing test * Fixes + added missing header * Added message to the fail() instruction * Fixed copyright header * Apply suggestions from code review * Fixed TotalTargetCountStatus.java * Removed unused method from TotalTargetCountStatus.java * add id to rollout create and update UI popup * Added download_only tests for MgmtTargetResourceTest.java * added missing header in TotalTargetCountStatusTest.java * Rename because of newest changes * added Download_Only dmf integration tests * Renamed MgmtAction.forcedType to actionType * renamed actionType to forceType for Mgmt API * added missing javadocs for public methods * Added Download Only support for AutoAssignment Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch-si.com> Signed-off-by: Ammar Bikic <ammar.bikic@bosch-si.com>
2019-04-17 12:27:23 +02:00
label.action.downloadonly = Download Only
label.action.time.forced = Time Forced
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
label.name = Name
label.version = Version
label.vendor = Vendor
label.modified.date = Last modified at
label.modified.by = Last modified by
label.created.at = Created at
label.created.by = Created by
label.target.count = Targets
label.description = Description
label.ip = Address
label.type = Type
label.assigned.type = Assignment type
label.assigned.count = {0} Assigned
label.installed.count = {0} Installed
label.mandatory.field = * Mandatory Field
label.components.drop.area = Drop here to delete
label.software.module.drop.area = Delete Software
label.create.tag = Create Tag
label.update.tag = Edit Tag
label.create.type = Create Type
label.update.type = Edit Type
label.singleAssign.type = Firmware (FW)
label.multiAssign.type = Software (SW)
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
label.singleAssign.type.desc = Allows only one module per distribution set
label.multiAssign.type.desc = Allows multiple modules per distribution set
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
label.choose.type.color = Type Color
label.choose.tag.color = Tag Color
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
label.target.filtered.total = Total Filtered Targets
label.filter = Filter:
label.target.filter.count = Total Targets
label.filter.selected = Selected:
label.filter.shown = Shown:
label.filter.targets = Filtered Targets:
View-scoped event listeners (#1134) * added UI EntityNotFound error details extractor Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * changed Target count label to not rely on grid data change events but rather on EntityModified UI events to decide how to react dependand on the event type Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added current view check on entity modified events Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * unsubscribe/resubscribe event listeners on view leave/enter, reselect grid entities on view enter Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed target grid count reset on initial load and after view change Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * re-evaluate filters on Deployment View enter Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added on view enter logic for rest of the views Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * introduced event listener aware layout and view, adapted code accordingly Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed bulk upload Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added missing docs Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * adapted software module deselection upon master entity change Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed npe in case master support is not present (Artifact View) Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * restructured amqp assignDistributionSetMultipleTimes test Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added waiting for the messages to be dispached by test Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2021-07-22 11:00:05 +02:00
label.filter.status = Status
label.filter.overdue = Overdue
label.filter.tags = Tags
label.filter.text = Search Text
View-scoped event listeners (#1134) * added UI EntityNotFound error details extractor Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * changed Target count label to not rely on grid data change events but rather on EntityModified UI events to decide how to react dependand on the event type Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added current view check on entity modified events Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * unsubscribe/resubscribe event listeners on view leave/enter, reselect grid entities on view enter Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed target grid count reset on initial load and after view change Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * re-evaluate filters on Deployment View enter Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added on view enter logic for rest of the views Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * introduced event listener aware layout and view, adapted code accordingly Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed bulk upload Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added missing docs Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * adapted software module deselection upon master entity change Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed npe in case master support is not present (Artifact View) Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * restructured amqp assignDistributionSetMultipleTimes test Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added waiting for the messages to be dispached by test Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2021-07-22 11:00:05 +02:00
label.filter.dist = Distribution
label.filter.custom = Custom
label.target.filter.truncated={0} targets has been truncated in the list due the target size limit of {1}, use filters to reduce the targets to be shown
label.unknown = Unknown
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
label.target.id = Controller Id
label.target.ip = Controller IP
label.target.security.token = Security token
label.filter.by.status = Filter by Status
label.filter.by.overdue = Filter by Overdue
label.target.attributes.update.pending = Update pending..
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
label.target.lastpolldate = Last poll
label.tag.name = Tag name
Feature soft autoassignment (#789) * Repository layer and database migration * Changed target filter management to update auto assignment action type together with distribution set, extended mgmt API, adapted auto assign checker/scheduler, changed auto assign distribution set select table to combobox, added filter functionality (needs refactoring) * Refactored auto assignment dialog window, added soft/forced option group, restructured action type option group layout * Added forced icon to target filter table autoassignment cell for the forced auto assign actions * First working draft of distribution set select combobox for auto assignment window * Optimised filtering queries, added alphabetical sorting on distribution set name and version * Refactoring of distribution bean query for lazy loading * Distribution set combobox refactoring and comments * Added verification of auto assign distribution set validity (completed, not deleted), exdended target filter query fields with auto assign action type field, added rsql filter tests, added repository layer tests * Added mgmt API tests * Changed target filter rest docu tests to include auto-assignment type * Updated hawkbit docs with auto-assignment description * Added debouncing to key and value input fields of metadata popup layout to get rid of unnecessary value change events, removed redundant set value call in common dialog window, minimizing the repaint components calls * Fixed sonar findings * Reverted changes of common dialog window validaton, setting the value of the field explicitly as before, until we rethink the whole concept of validaton mechanism * Fixed review findings * Removed rsql filtering by filter auto-assign action type, due to missing conversion of disallowed timeforced action type * Small fix regarding usage of page request * Updated sql script version for flyway * Extended tests for soft deleted distribution sets for auto-assignment and filter string within distribution set specification builder Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
2019-03-13 13:35:22 +01:00
label.configuration.auth.header = Allow targets to authenticate via a certificate authenticated by a reverse proxy
label.configuration.auth.hashField = SSL Issuer Hash
label.configuration.auth.hashField.tooltip = The SSL Issuer iRules.X509 hash, to validate against the controller request certificate.
label.configuration.auth.gatewaytoken = Allow a gateway to authenticate and manage multiple targets through a gateway security token
label.configuration.auth.targettoken = Allow targets to authenticate directly with their target security token
label.configuration.repository.autoclose.action = Autoclose running actions when a new distribution set is assigned
label.configuration.repository.autocleanup.action = Automatically delete terminated actions
label.configuration.repository.autocleanup.action.prefix = Delete actions with status
label.configuration.repository.autocleanup.action.body = after
label.configuration.repository.autocleanup.action.suffix = day(s)
label.configuration.repository.autocleanup.action.expiry.invalid = The specified number of days is invalid. Please enter a positive integer value between 1 and 1000.
label.configuration.anonymous.download = Allow targets to download artifacts without security credentials
label.configuration.repository.autocleanup.action.notice = Warning: The actions are deleted from the repository and cannot be restored
Support for Multi-Assignments (#833) * First draft of new assignment logic Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Enhancements of System Configuration view Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Drag&drop enhancements for multiple distribution set assignments Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Misc fixes Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * test that previous assignments are not canceled Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * add description and expected events to test Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * extend TenantConfigurationManagement by NullPointerException proof getConfigurationValue method Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Hide "Required Migration Step" if Multi Assignments is enabled Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Make fields transient Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Add IDs for Required Migration Step elements Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Save work in progress Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Added new DMF message DmfMultiActionRequest Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * DMF enhancements to send out MultiActionRequest messages Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Minor changes Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Multi Assignment support for cancellations Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * fix permission problems and immutable lists Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * add message dispatcher tests for outgoing multiassignment messages, fix old tests Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Implement Multi-Assignment support for rollout groups Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Minor changes Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Refactoring Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Register new deployment event with protobuff framework Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Allow same DS to be assigned multiple times Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix assignment with pending cancellations Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Reduce repository /DB calls Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Revert latest perf fix (causing a regression) Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * test if a rollout sends multiaction messages in multiassignment mode Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Minor changes Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Do not close new action if DS is already assigned (if multi-assign on) Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * add test that starts and finishes multiple rollouts in multiassignt mode Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * add javadoc to test method Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Prevent Multi-Assignments from being disabled via Repo Config UI Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Add link to Provisioning State Machine Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * test that Multiassignment can not be disabled via mgmt-api Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * refactor AmqpMessageHandlerService code Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Prevent Multi-Assignments feature from being disabled via Mgmt REST API Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * add license header, remove unused instance variables Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * fix tenantConfigurationManagement mock in test Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * return empty list instead of null Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * add ddi test for multiassignment, fix old test Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Prevent autoclose from being modified if Multi-Assignments is enabled # WARNING: head commit changed in the meantime Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Add test for autoClose /multiAssign Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Javadoc improvements Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * change test method that waits for dmf messages to be dispatched Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * clean up code Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * Fix UI-related PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings, Sonar issues, and test failures Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix Sonar findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix PR review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
2019-05-16 10:30:40 +02:00
label.configuration.repository.multiassignments = Allow parallel execution of multiple distribution set assignments and rollouts
label.configuration.repository.multiassignments.notice = Warning: Once this assignment behavior is active, it cannot be deactivated.
label.unsupported.browser.ie = Sorry! Your current browser is not supported. Please use Internet Explorer 11 and above
label.auto.assign.description = When an auto assign distribution set is selected, it will be automatically assigned to all targets that match the target filter.
label.auto.assign.enable = Enable auto assignment
label.approval.decision = Approval decision
label.approval.remark = Remark (optional)
label.drop.area.upload = Drop Files to upload
label.errorthreshold.option.percent = %
label.errorthreshold.option.count = Count
# TextFields prefix with - textfield
textfield.name = Name
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
textfield.query = Query
textfield.key = Key
textfield.version = Version
textfield.vendor = Vendor
textfield.description = Description
textfield.customfiltername = Filter name
textfield.value = Value
prompt.target.id = Controller ID
#Tooltips prefix with - tooltip
tooltip.delete.custom.filter = Delete Custom Filter
tooltip.update.custom.filter = Edit Custom Filter
tooltip.add.module = Add Software Module
tooltip.status.unknown = Unknown
tooltip.status.registered = Registered
tooltip.status.pending = Pending
tooltip.status.error = Error
tooltip.status.insync = In-sync
tooltip.status.overdue = Overdue
tooltip.delete.module = Select and delete Software Module
tooltip.forced.item=Device is supposed to install the update immediately
tooltip.soft.item=Device can execute the update at any time, e.g. with user approval or according to its regular update time plan
Feature download only (#810) * Added initial version of DOWNLOAD_ONLY * Added DOWNLOAD_ONLY option to ActionTypeOptionGroupLayout * Removed DOWNLOAD_ONLY checkbox, added Download Only UI option * Mark actions that finished with DOWNLOADED as finished * initial changes to realize downoadOnly in UI * Changed method of disabling maintenanceWindow into smarter solution * Added new icon for download only option * Set DistributionSet as unassigned when DOWNLOAD_ONLY * Enabled update action status for DOWNLOAD_ONLY after download * Current state of abstraction task * Assign DistributionSet to target if target installs it after downloading * Abstracted class redundant methods * Added tests * Fixed Rollout finish status for DWONLOAD_ONLY Rollouts * Added Rollout type json property in test documentation * Added DOWNLOAD_ONLY test for target assignment * Added event listener also to DistributionTable * Fixed event listener problem * Change column name to "Type" and added also DownloadOnly icon to that column. * Cleanup * Center aligned the icons in type column * Fixed DistributionSet already assigned but not installed * Rename download_only to downloadonly * Further changes regarding center aligned the icons * Fixed target assign status in Rollout view when download_only * Fixed SonarQube issues * Fixed SonarQube issues + code formatting * Fixed Tests * Marked squid:S128 as suppressed - irrelevant * Adapting rollouts view by additional column (not finished by now) * Putted type column on proper position * Trying to display icons in new type column in rollouts view * Added icon also for soft, icon might change -> just change * createOptionGroup method in ActionTypeOptionGroupLayout class * added first draft of type column in rollouts view * increase visibility of sendUpdateMessageToTarget method * Ground functionality of new type column in deployment view is now implemented * Type column implementation in rollouts view is finished for now * Rebased on master * Fixed DurationControl change on ScheduleControl change. * (Re)Added Soft deployment Icon * Fixed SonarQube issues * Fixed SonarQube issues * Fixed failing test * Fixes + added missing header * Added message to the fail() instruction * Fixed copyright header * Apply suggestions from code review * Fixed TotalTargetCountStatus.java * Removed unused method from TotalTargetCountStatus.java * add id to rollout create and update UI popup * Added download_only tests for MgmtTargetResourceTest.java * added missing header in TotalTargetCountStatusTest.java * Rename because of newest changes * added Download_Only dmf integration tests * Renamed MgmtAction.forcedType to actionType * renamed actionType to forceType for Mgmt API * added missing javadocs for public methods * Added Download Only support for AutoAssignment Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch-si.com> Signed-off-by: Ammar Bikic <ammar.bikic@bosch-si.com>
2019-04-17 12:27:23 +02:00
tooltip.downloadonly.item=Device is supposed to only download the update and not install it
tooltip.timeforced.item=Soft update which turns into a forced update after a specific time
tooltip.timeforced.forced.in=Auto forcing in {0}
tooltip.timeforced.forced.since=Auto forced since {0}
tooltip.check.for.mandatory=Check to make Mandatory
tooltip.artifact.icon=Show Artifact Details
tooltip.click.to.edit = Click to edit
tooltip.click.to.remove = Click to remove
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
tooltip.click.to.filter = Click to filter
tooltip.metadata.icon = Manage Metadata..
tooltip.next.maintenance.window = next on {0}
tooltip.target.attributes.update.request = Request attributes update
tooltip.target.attributes.update.requested = Update already requested
tooltip.documentation.link=Documentation
tooltip.artifact.download=Download Artifact
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
#action status
tooltip.action.status.finished=Finished
tooltip.action.status.error=Error
tooltip.action.status.warning=Warning
tooltip.action.status.running=Running
tooltip.action.status.canceled=Cancelled
tooltip.action.status.canceling=Canceling
tooltip.action.status.cancel_rejected=Cancel Rejected
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
tooltip.action.status.retrieved=Retrieved
tooltip.action.status.download=Downloading
tooltip.action.status.downloaded=Downloaded
tooltip.action.status.scheduled=Scheduled
#action active status
tooltip.active.action.status.active=Active
tooltip.active.action.status.scheduled=Scheduled
tooltip.active.action.status.inactive=In-active
tooltip.active.action.status.inactiveerror=In-active Error
#rollout action
tooltip.rollout.run = Run
tooltip.rollout.approve = Approve
tooltip.rollout.pause = Pause
tooltip.rollout.update = Edit..
tooltip.rollout.copy = Copy..
tooltip.delete = Delete..
tooltip.overdue = Overdue for {0}
#rollout status
tooltip.rollout.status.creating=Creating
tooltip.rollout.status.waiting_for_approval=Waiting for approval
tooltip.rollout.status.approval_denied=Approval denied
tooltip.rollout.status.ready=Ready
tooltip.rollout.status.paused=Paused
tooltip.rollout.status.starting=Starting
tooltip.rollout.status.stopped=Stopped
tooltip.rollout.status.running=Running
tooltip.rollout.status.finished=Finished
tooltip.rollout.status.deleting=Deleting
tooltip.rollout.status.deleted=Deleted
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
#rollout group status
tooltip.rollout.group.status.finished=Finished
tooltip.rollout.group.status.scheduled=Scheduled
tooltip.rollout.group.status.running=Running
tooltip.rollout.group.status.ready=Ready
tooltip.rollout.group.status.error=Error
#rollout target status
tooltip.rollout.target.status.finished=Finished
tooltip.rollout.target.status.scheduled=Scheduled
tooltip.rollout.target.status.running=Running
tooltip.rollout.target.status.cancelled=Cancelled
tooltip.rollout.target.status.error=Error
tooltip.rollout.target.status.notstarted=Not Started
tooltip.close = Close
tooltip.search = Search
tooltip.save = Save
tooltip.add = Create..
tooltip.maximize = Maximize
tooltip.minimize = Minimize
tooltip.bulkUpload = Bulk Upload..
tooltip.showTags = Show Tags
tooltip.assignTag = Assign Tag
tooltip.selectTag = Select Tag
tooltip.update = Edit..
tooltip.reset = Reset
tooltip.configure = Configure..
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
tooltip.configure.close = Cancel configure
tooltip.target.status.unknown = Status unknown
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
tooltip.target.status.error = Status error
tooltip.target.status.in_sync = Status In Sync
tooltip.target.status.pending = Status pending
tooltip.target.status.registered = Status registered
tooltip.target.pin = Pin target
tooltip.distribution.set.pin = Pin distribution set
tooltip.in.time = In Time
# Notification messages prefix with - message
message.save.success = {0} saved successfully
message.save.fail = {0} could not be saved, possibly due to invalid user input
message.update.success = {0} updated successfully
message.delete.success = {0} {1} deleted successfully
message.delete.fail = {0} {1} deletion failed
message.dist.pending.action = Target {0} is already assigned with distribution {1} . Pending for action
message.empty.target.tags= No Tags Created
message.empty.disttype.tags = No Distribution type tags created
message.select.row = Please select a row to drag
message.error = Unknown error occurred during the operation. Please contact administrator
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.assigned.one = {0} {1} is assigned to {2} {3}
message.assigned.many = {0} {1}s are assigned to {2} {3}
message.unassigned.one = {0} {1} is unassigned from {2} {3}
message.unassigned.many = {0} {1}s are unassigned from {2} {3}
message.alreadyAssigned = {0} {1}s are already assigned to {2} {3}
message.cannot.delete = Cannot be deleted
message.check.softwaremodule = Please provide both name and version!
message.duplicate.softwaremodule = {0} : {1} already exists!
message.tag.delete = Please deselect the tag {0} before deleting
message.dist.type.check.delete = Please deselect the distribution type {0} before deleting
message.cannot.delete.default.dstype = Default distribution set type cannot be deleted
message.swmodule.type.check.delete = Please deselect the Software Module type {0} before deleting
message.targets.already.deleted = Few Target(s) are already deleted. Pending for action
message.dists.already.deleted = Few distribution(s) are already deleted.Pending for action
message.target.deleted.pending = Target(s) already deleted.Pending for action
message.dist.deleted.pending = Distribution(s) already deleted.Pending for action
message.dist.delete.success = All selected distribution sets are deleted successfully !
message.target.delete.success = All selected targets are deleted successfully !
message.target.discard.success = All targets selected for delete are discarded successfully !
message.software.discard.success = All software modules selected for delete are discarded successfully !
message.software.type.discard.success = All software moduleTypes selected for delete are discarded successfully !
message.assign.software.discard.success = All software moduleTypes selected for assign are discarded successfully !
message.software.delete.success = All software modules selected for delete are deleted successfully !
message.software.type.delete.success = All software modules types selected for delete are deleted successfully !
message.dist.set.type.deleted.success = {0} DistributionSetType deleted successfully !
message.new.dist.save.success = {0} - {1} saved successfully
message.dist.update.success = {0} - {1} updated successfully
message.duplicate.dist = Distribution set [{0}] or version [{1}] must be unique, entered value already exists.
message.error.view = No such view: {0}
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.accessdenied = Access denied
message.accessdenied.view = No access to view: {0}
message.no.data = No Data
message.data.available = Data available
message.target.assignment = {0} Assignment(s) done
message.target.deleted = {0} Target(s) deleted
message.dist.deleted = {0} Distribution set(s) deleted
message.tag.update.mandatory = Please select the Tag to update
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.type.duplicate.check = Type with name {0} already exists, please enter another value
message.tag.duplicate.check = Tag with name {0} already exists, please enter another value
message.type.key.ds.duplicate.check = Distribution set type with key {0} already exists, please give another value
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.type.update.mandatory = Please select the Distribution set type to update
message.type.key.swmodule.duplicate.check = Software Module type with key {0} already exists, please give another value
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.type.key.empty = You must provide type key
message.no.action.history = No action history is available for the target: {0}
message.no.available = --No messages available--
message.no.actionupdateds.available = No other updates available for this action
message.mandatory.check = Mandatory details are missing
message.target.duplicate.check = Target [ {0} ] must be unique, entered value already exists.
message.target.whitespace.check = Please enter a valid controller ID with no whitespaces
message.permission.insufficient = Missing permissions to perform this action: {0}
message.dists.tag.assigned = {0} DistributionSet's assigned to Tag {1}
message.dists.tag.unassigned = {0} DistributionSet's un-assigned from Tag {1}
message.dist.no.operation = {0} - already assigned/installed, No operation
message.error.softmodule.deleted = The selected Software Module is already deleted
message.cancel.action = Cancel..
message.cancel.action.success = Action cancelled successfully !
message.cancel.action.failed = Unable to cancel the action !
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.cancel.action.confirm = Are you sure you want to cancel this action?
message.target.alreadyAssigned = {0} Target(s) were already assigned
message.force.action = Force
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.force.action.confirm = Are you sure you want to force this action?
message.force.action.success = Action forced successfully !
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.force.action.failed = Unable to force the action !
message.forcequit.action = Force Quit..
message.forcequit.action.success = Action has been force quit successfully !
message.forcequit.action.failed = Force Quitting the action is not possible !
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.forcequit.action.confirm = Attention!\nForce quit should only be used when the assignment action is not working properly.\nForce quitting an action has no effect on the connected target. It is just resetting \nthe data stored on the SP update server. \nAre you absolutely sure you want to force quit this action?
Feature download only (#810) * Added initial version of DOWNLOAD_ONLY * Added DOWNLOAD_ONLY option to ActionTypeOptionGroupLayout * Removed DOWNLOAD_ONLY checkbox, added Download Only UI option * Mark actions that finished with DOWNLOADED as finished * initial changes to realize downoadOnly in UI * Changed method of disabling maintenanceWindow into smarter solution * Added new icon for download only option * Set DistributionSet as unassigned when DOWNLOAD_ONLY * Enabled update action status for DOWNLOAD_ONLY after download * Current state of abstraction task * Assign DistributionSet to target if target installs it after downloading * Abstracted class redundant methods * Added tests * Fixed Rollout finish status for DWONLOAD_ONLY Rollouts * Added Rollout type json property in test documentation * Added DOWNLOAD_ONLY test for target assignment * Added event listener also to DistributionTable * Fixed event listener problem * Change column name to "Type" and added also DownloadOnly icon to that column. * Cleanup * Center aligned the icons in type column * Fixed DistributionSet already assigned but not installed * Rename download_only to downloadonly * Further changes regarding center aligned the icons * Fixed target assign status in Rollout view when download_only * Fixed SonarQube issues * Fixed SonarQube issues + code formatting * Fixed Tests * Marked squid:S128 as suppressed - irrelevant * Adapting rollouts view by additional column (not finished by now) * Putted type column on proper position * Trying to display icons in new type column in rollouts view * Added icon also for soft, icon might change -> just change * createOptionGroup method in ActionTypeOptionGroupLayout class * added first draft of type column in rollouts view * increase visibility of sendUpdateMessageToTarget method * Ground functionality of new type column in deployment view is now implemented * Type column implementation in rollouts view is finished for now * Rebased on master * Fixed DurationControl change on ScheduleControl change. * (Re)Added Soft deployment Icon * Fixed SonarQube issues * Fixed SonarQube issues * Fixed failing test * Fixes + added missing header * Added message to the fail() instruction * Fixed copyright header * Apply suggestions from code review * Fixed TotalTargetCountStatus.java * Removed unused method from TotalTargetCountStatus.java * add id to rollout create and update UI popup * Added download_only tests for MgmtTargetResourceTest.java * added missing header in TotalTargetCountStatusTest.java * Rename because of newest changes * added Download_Only dmf integration tests * Renamed MgmtAction.forcedType to actionType * renamed actionType to forceType for Mgmt API * added missing javadocs for public methods * Added Download Only support for AutoAssignment Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch-si.com> Signed-off-by: Ammar Bikic <ammar.bikic@bosch-si.com>
2019-04-17 12:27:23 +02:00
message.downloadonly.action = DownloadOnly
message.distribution.no.update = distribution {0} set is already assigned to targets and cannot be changed
message.action.not.allowed = Action not allowed
message.action.did.not.work = Action did not work. Please try again.
message.onlyone.distribution.assigned = Only one distribution set can be assigned
message.onlyone.distribution.dropallowed = Only one distribution set can be dropped
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.error.missing.typenameorkeyorsmtype = Missing Type Name or Key or Software Module type
message.tag.cannot.be.assigned = Target/DS cannot be assigned to {0}
message.no.targets.assiged.fortag = No targets are assigned to tag {0}
message.error.missing.tagname = Please select tag name
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.error.missing.filtername = Please select target filter name
message.error.missing.controllerId = Missing Controller Id
message.error.missing.nameorversion = Missing Name or Version
message.error.missing.nameorversionortype = Missing Name or Version or Type
message.type.delete = Please unclick the type {0}, then try to delete
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.error.dist.set.type.update= Distribution set type is already assigned to set(s) and cannot be changed
message.no.directory.upload = Directory upload is not supported
message.drop.onlyFiles = Please drop files only
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.delete.filter.confirm = Are you sure you want to delete custom filter?
message.delete.filter.success = Custom filter {0} deleted Successfully!
message.create.filter.success = Custom filter {0} created Successfully!
message.update.filter.success = Custom filter updated Successfully!
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.filter.query.error.notValide = Target filter query is not valid
message.target.filter.validation = Please enter name and query
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.target.filter.duplicate = Target Filter {0} already exists, please enter another value
message.bulk.upload.upload.started = Uploading a file..
message.bulk.upload.provisioning.started = Provisioning targets..
message.bulk.upload.assignment.started = Assigning tags and DS..
message.bulk.upload.tag.assignment.failed = Tag {0} assignment failed as tag no longer exists
message.bulk.upload.tag.assignments.failed= Few tag assignments failed as tags no longer exists
message.confirm.assign.consequences.none = This auto assignment will not have any effect on the currently available targets. In future added targets might match the filter and will receive the selected distribution set automatically.
message.confirm.assign.consequences.text = When you confirm this auto assignment, {0} targets which match the filter will immediately get assigned with the selected distribution set.
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.maintenancewindow.schedule.required.error = Please provide a Cron expression
Fix optimize ui maintenance window (#668) * Optimize maintenance window UI Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Add new downloaded status to UI. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Changed Accordion to Tabsheet for better visualization of action types and maintanance window. Signed-off-by: Markus Block <markus.block@bosch-si.com> * Refined UI for maintenance window, refactoring Added ENTER shortcut for save button in dialog windows Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Extended validation for maintenance window, refactored the maintenance window helper class Added text change listeners for the schedule and duration text fields in order to activate "save all" button Added client Locale identification for cron expression translation Moved maintenance window validation from TargetWithActionType constructor to saveAll method of assignment tab Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added SupressWarnings annotation for exception handling cases Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Fixed Sonar issue: added private constructor to Maintenance schedule helper class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Sonar Issue: make utility class Maintenance Schedule final Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added Maintenance Window validation to Distribution Set and Target Management API Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added unit tests for MaintenanceScheduleHelper class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added the license header to MaintenanceScheduleHelperTest class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Small changes after PR review Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added Id for Maintenance Window layout for UI Tests Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
2018-04-04 10:01:55 +02:00
message.maintenancewindow.schedule.validation.error = Please enter a valid Cron expression
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.maintenancewindow.duration.required.error = Please provide a duration
Fix optimize ui maintenance window (#668) * Optimize maintenance window UI Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Add new downloaded status to UI. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Changed Accordion to Tabsheet for better visualization of action types and maintanance window. Signed-off-by: Markus Block <markus.block@bosch-si.com> * Refined UI for maintenance window, refactoring Added ENTER shortcut for save button in dialog windows Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Extended validation for maintenance window, refactored the maintenance window helper class Added text change listeners for the schedule and duration text fields in order to activate "save all" button Added client Locale identification for cron expression translation Moved maintenance window validation from TargetWithActionType constructor to saveAll method of assignment tab Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added SupressWarnings annotation for exception handling cases Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Fixed Sonar issue: added private constructor to Maintenance schedule helper class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Sonar Issue: make utility class Maintenance Schedule final Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added Maintenance Window validation to Distribution Set and Target Management API Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added unit tests for MaintenanceScheduleHelper class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added the license header to MaintenanceScheduleHelperTest class Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Small changes after PR review Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com> * Added Id for Maintenance Window layout for UI Tests Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
2018-04-04 10:01:55 +02:00
message.maintenancewindow.duration.validation.error = Please enter the duration in the format hh:mm:ss, error is at {0} position
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.autoassign.create.error.missingElements = Missing assignment type or distribution set
message.error.nameRequired = Please provide a name
message.error.versionRequired = Please provide a version
message.error.distributionSetRequired = Please provide a distribution set
message.error.tfqRequired = Please provide a target filter
message.error.typeRequired = You must provide the software module type
message.error.noSmTypeSelected = You must select a software module type
message.entity.error.deleted = Entity does no exist. It might have been deleted by an other user.
message.entity.error.readonly = You are not allowed to modify this entity.
message.error.deleteMetaData = No {0} is currently selected or metadata to delete is missing
message.deleted.or.notAllowed = {0} with name {0} was deleted or you are not allowed to update it
message.key.deleted.or.notAllowed = {0} with key {0} was deleted or you are not allowed to update it
message.forcedTime.cannotBeEmpty = Forced time can not be empty
message.forcedTime.missing = Force time is not specified for the time-forced assignment
message.scheduledTime.cannotBeEmpty = Scheduled time can not be empty
message.clear.file.upload.queue.confirm = There is still at least one queued file upload pending. By leaving this view the upload queue will be cleared. \nAre you sure you want to leave this view?
# action info
action.target.table.selectall = Select all (Ctrl+A)
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
action.target.table.clear = Clear selections
action.grid.selection.limit = Selection is limited to {0} entities
#reused messages
soft.module.jvm =Runtime
soft.module.application =Application
soft.module.os =OS
#Artifact upload
message.error.noSwModuleSelected = Please select a Software Module
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.error.multiSwModuleSelected = Please select only one Software Module
message.no.duplicateFiles = Duplicate files selected
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.delete.artifact = Are you sure you want to delete artifact {0} ?
message.swModule.deleted = {0} Software Module(s) deleted
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.error.swModule.notDeleted = Upload is running for Software Module(s)
message.upload.failed = Upload failed
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.upload.failed.with.reason = Upload failed due to {0}
message.upload.assignmentQuota = Max assignments per software module exceeded
message.upload.fileSizeQuota = Maximum artifact size ({0}) exceeded
message.upload.storageQuota = Storage quota exceeded, {0} left
Fix artifact filename validation (#770) * use validated ArtifactUpload object when creating a new artifact Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * rename method Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * add regular expression classes Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * add filename validation to UI upload button Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * move filename validation to uploadStarted Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * clean up code for UI error handling during artifact upload, assert filename validation Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * update visibilities Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * clean up code Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * clean up code Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * change RegexChar class to enum and use i18n Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * typo, use StringBuilder Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * typo Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * use dedicated class for collections of regular expression characters Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * remove Optional, remove stringBuilder Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * PR findings Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * make regex validation method static Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * use WhiteListType.NONE for filename validation via mgmt-api Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com>
2018-12-17 10:17:46 +01:00
message.uploadedfile.illegalFilename = Filename contains illegal characters
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.artifact.deleted = Artifact with file {0} deleted successfully
message.artifact.download.failure = Artifact Download Failed
artifact.upload.popup.caption = Upload status
artifact.upload.status.caption = Status
artifact.upload.progress.caption = Progress
artifact.upload.reason.caption = Reason
artifact.filename.caption = File name
artifact.filesize.bytes.caption = Size(B)
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
tooltip.upload.status.inprogress = In progress
tooltip.upload.status.finished = Finished
tooltip.upload.status.failed = Failed
upload.swModuleTable.header = Software Module
upload.selectedfile.name = file selected for upload
upload.file.name = File name
upload.sha1 = SHA1 checksum
upload.md5 = MD5 checksum
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
upload.sha256 = SHA256 checksum
upload.last.modified.date=Last modified date
upload.failed = Failed
upload.success = Success
upload.validation = Validation
upload.action = Action
upload.result.status = Upload status
upload.file = Upload File
caption.tab.details = Details
caption.tab.description = Description
caption.delete.artifact.confirmbox = Confirm Artifact Delete Action
custom.filter.name = Filter Name
custom.filter.created.by = Created By
custom.created.date = Created Date
#Manage distributions view
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
label.dist.required.migration.step = Required Migration Step
label.no.tag.assigned = NO TAG
caption.assign.software.dist.accordion.tab = Assign Software Modules
message.software.assignment = {0} Software Module Assignment(s) done
message.dist.inuse = Distribution {0} is already assigned to target
message.software.dist.already.assigned = Software Module {0} is already assigned to Distribution {1}
message.software.dist.type.notallowed = Software Module {0} cannot be assigned, because Distribution {1} does not support the Software Module Type {2}
message.software.already.dragged = Software Module {0} was already dragged to this Distribution.
message.target.assigned = {0} is assigned to {1}
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.dist.type.delete = Distribution Type deleted successfully.
message.sw.module.type.delete = Software Module Type deleted successfully.
message.dist.type.discard.success = All Distribution Types are discarded successfully !
message.dist.discard.success = All Distributions are discarded successfully !
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.dist.type.notfound = Distribution set type for {0} was not found
message.assign.discard.success = All assignments are discarded successfully !
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.target.ds.assign.success = Assignment saved successfully !
message.target.ds.multiassign.error = Cannot assign multiple distribution sets to a target!
message.bulk.upload.assignment.failed = Distribution set assignment failed as distribution set no longer exists!
message.bulk.upload.result.success = Successful: {0}
message.bulk.upload.result.fail = Failed: {0}
message.key.missing = Key is missing !
message.value.missing = Value is missing !
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.metadata.key.required = You must provide metadata key
message.metadata.value.required = You must provide metadata value
message.metadata.saved = Metadata with key {0} successfully saved !
message.metadata.updated = Metadata with key {0} successfully updated !
message.metadata.duplicate.check = Metadata with key {0} already exists, please enter another value
message.metadata.deleted.successfully = Metadata with key {0} successfully deleted !
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
message.confirm.delete.metadata = Are you sure you want to delete metadata with key {0} ?
message.error.notification.ds.target.assigned = Distribution set {0}:{1} is already assigned to targets and cannot be changed
# Login view
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
notification.login.title=Welcome to Bosch IoT Software Provisioning.
notification.login.description=Please login with your Bosch Identity Management credentials.
notification.login.failed.title=Login failed!
notification.login.failed.description=Login with the given credentials failed.
notification.login.failed.credentialsexpired.title=Password Expired!
notification.login.failed.credentialsexpired.description=Password has been expired or needs to be set initially, please visit the User Management to change or set your password.
label.login.tenant=Tenant
label.login.username=Username
label.login.password=Password
label.login.disclaimer=Privacy Notice
button.login.signin=Sign in
button.login.agreeandsignin=Agree & Sign in
# Links
link.documentation.name=Documentation
link.demo.name=Demo
link.requestaccount.name=Request Account
link.support.name=Support
link.usermanagement.name=User Management
# System Configuration View
notification.configuration.save.successful=Saved changes
notification.configuration.save.notpossible = Saving was not possible, because of invalid user input.
configuration.defaultdistributionset.title=Distribution Configuration
configuration.defaultdistributionset.select.label=Select the default distribution set type:
configuration.savebutton.tooltip=Save Configurations
configuration.cancellbutton.tooltip=Cancel Configurations
configuration.button.regenerateKey = Regenerate Key
configuration.authentication.title=Authentication Configuration
configuration.repository.title=Repository Configuration
configuration.polling.title=Polling Configuration
configuration.polling.time=Polling Time
configuration.polling.overduetime=Polling Overdue Time
configuration.polling.custom.value=use a custom value
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
configuration.datetime.format.invalid = Input is not in hh:mm:ss/hhmmss format
configuration.rollout.title=Rollout Configuration
configuration.rollout.approval.label=Approve rollout before it can be started
#Calendar
calendar.year=year
calendar.years=years
calendar.month=month
calendar.months=months
calendar.day=day
calendar.days=days
calendar.hour=hour
calendar.hours=hours
calendar.minute=minute
calendar.minutes=minutes
calendar.second=second
calendar.seconds=seconds
header.name = Name
header.controllerId = Controller ID
header.vendor = Vendor
header.version = Version
header.description = Description
Feature download only (#810) * Added initial version of DOWNLOAD_ONLY * Added DOWNLOAD_ONLY option to ActionTypeOptionGroupLayout * Removed DOWNLOAD_ONLY checkbox, added Download Only UI option * Mark actions that finished with DOWNLOADED as finished * initial changes to realize downoadOnly in UI * Changed method of disabling maintenanceWindow into smarter solution * Added new icon for download only option * Set DistributionSet as unassigned when DOWNLOAD_ONLY * Enabled update action status for DOWNLOAD_ONLY after download * Current state of abstraction task * Assign DistributionSet to target if target installs it after downloading * Abstracted class redundant methods * Added tests * Fixed Rollout finish status for DWONLOAD_ONLY Rollouts * Added Rollout type json property in test documentation * Added DOWNLOAD_ONLY test for target assignment * Added event listener also to DistributionTable * Fixed event listener problem * Change column name to "Type" and added also DownloadOnly icon to that column. * Cleanup * Center aligned the icons in type column * Fixed DistributionSet already assigned but not installed * Rename download_only to downloadonly * Further changes regarding center aligned the icons * Fixed target assign status in Rollout view when download_only * Fixed SonarQube issues * Fixed SonarQube issues + code formatting * Fixed Tests * Marked squid:S128 as suppressed - irrelevant * Adapting rollouts view by additional column (not finished by now) * Putted type column on proper position * Trying to display icons in new type column in rollouts view * Added icon also for soft, icon might change -> just change * createOptionGroup method in ActionTypeOptionGroupLayout class * added first draft of type column in rollouts view * increase visibility of sendUpdateMessageToTarget method * Ground functionality of new type column in deployment view is now implemented * Type column implementation in rollouts view is finished for now * Rebased on master * Fixed DurationControl change on ScheduleControl change. * (Re)Added Soft deployment Icon * Fixed SonarQube issues * Fixed SonarQube issues * Fixed failing test * Fixes + added missing header * Added message to the fail() instruction * Fixed copyright header * Apply suggestions from code review * Fixed TotalTargetCountStatus.java * Removed unused method from TotalTargetCountStatus.java * add id to rollout create and update UI popup * Added download_only tests for MgmtTargetResourceTest.java * added missing header in TotalTargetCountStatusTest.java * Rename because of newest changes * added Download_Only dmf integration tests * Renamed MgmtAction.forcedType to actionType * renamed actionType to forceType for Mgmt API * added missing javadocs for public methods * Added Download Only support for AutoAssignment Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch-si.com> Signed-off-by: Ammar Bikic <ammar.bikic@bosch-si.com>
2019-04-17 12:27:23 +02:00
header.type = Type
header.createdBy = Created By
header.createdDate = Created Date
header.modifiedBy = Modified By
header.modifiedDate = Modified Date
header.maintenancewindow = Maintenance Window
header.assigned.ds = Assigned DS
header.installed.ds = Installed DS
header.target.status = Status
header.target.tags = Tags
header.total.targets = Targets
header.key = Key
header.value = Value
metadata.targetvisible = Visible for targets
header.auto.assignment.ds = Auto assignment
header.target.filter.name = Target filter name
header.target.filter.query = Target filter query
header.approvalDecidedBy = Decided By
header.approvalRemark = Approval Remark
distribution.details.header = Distribution set
target.details.header = Target
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
artifact.details.header = Artifact
header.caption.mandatory = Mandatory
header.caption.typename = SoftwareModuleType
header.caption.softwaremodule = SoftwareModule
message.sw.unassigned = Software Module {0} successfully unassigned
header.caption.upload.details = Upload details
label.yes = Yes
label.no = No
#rollout - start
header.distributionset = Distribution set
header.numberofgroups = Groups
header.detail.status = Detail status
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
header.rolloutgroup.installed.percentage = Finished
header.rolloutgroup.threshold.error = Error threshold
header.rolloutgroup.threshold = Trigger threshold
header.rolloutgroup.target.date = Date and time
header.rolloutgroup.target.message = Messages
rollout.group.label.target.truncated = {0} targets has been truncated in the list due the target size limit of {1}
Create Rollout UI with Groups definition (#369) * Rollout creation UI with groups definition Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improved code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added a legend to the Rollouts Creation UI's PieChart Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Updated color palette for pie chart. Using RolloutGroupCreate for validation. Displaying pie chart for group editing. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized ComboBoxBuilder Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Removed not necessary RPC interfaces. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix Rollout verification count query. Improved UI style. Added dependency management for d3. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Auto start and scheduled start of Rollouts Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized RSQL Utility to avoid multiple joins on the same table. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fixed RSQL Utility to avoid multiple joins on the same table to only work with OR nodes. Optimized validation queries for rollout group creation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Asynchronous handling of groups validation in the create rollouts UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added loading indicator to create rollout UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Avoid parallel validation for a user session. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix issues after merge of master into branch. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improve code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Refreshing the total target count after validation on the rollouts creation UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Remove unused RolloutUpdate method. Optimization of the RolloutHelper. Comments for RolloutGroupsValidation and RSQLUtility with explanation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2017-01-26 09:37:20 +01:00
prompt.groups = Groups
prompt.number.of.groups = Number of groups
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
prompt.trigger.threshold = Trigger threshold
prompt.trigger.threshold.required = Trigger threshold is required
prompt.error.threshold = Error threshold
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
prompt.error.threshold.required = Error threshold is required
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
prompt.distribution.set = Distribution set
Create Rollout UI with Groups definition (#369) * Rollout creation UI with groups definition Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improved code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added a legend to the Rollouts Creation UI's PieChart Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Updated color palette for pie chart. Using RolloutGroupCreate for validation. Displaying pie chart for group editing. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized ComboBoxBuilder Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Removed not necessary RPC interfaces. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix Rollout verification count query. Improved UI style. Added dependency management for d3. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Auto start and scheduled start of Rollouts Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized RSQL Utility to avoid multiple joins on the same table. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fixed RSQL Utility to avoid multiple joins on the same table to only work with OR nodes. Optimized validation queries for rollout group creation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Asynchronous handling of groups validation in the create rollouts UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added loading indicator to create rollout UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Avoid parallel validation for a user session. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix issues after merge of master into branch. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improve code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Refreshing the total target count after validation on the rollouts creation UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Remove unused RolloutUpdate method. Optimization of the RolloutHelper. Comments for RolloutGroupsValidation and RSQLUtility with explanation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2017-01-26 09:37:20 +01:00
button.rollout.groups.def.button = Define groups
button.rollout.add.group = Add Group
caption.configure.rollout = Configure Rollout
Create Rollout UI with Groups definition (#369) * Rollout creation UI with groups definition Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improved code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added a legend to the Rollouts Creation UI's PieChart Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Updated color palette for pie chart. Using RolloutGroupCreate for validation. Displaying pie chart for group editing. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized ComboBoxBuilder Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Removed not necessary RPC interfaces. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix Rollout verification count query. Improved UI style. Added dependency management for d3. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Auto start and scheduled start of Rollouts Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized RSQL Utility to avoid multiple joins on the same table. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fixed RSQL Utility to avoid multiple joins on the same table to only work with OR nodes. Optimized validation queries for rollout group creation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Asynchronous handling of groups validation in the create rollouts UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added loading indicator to create rollout UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Avoid parallel validation for a user session. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix issues after merge of master into branch. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improve code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Refreshing the total target count after validation on the rollouts creation UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Remove unused RolloutUpdate method. Optimization of the RolloutHelper. Comments for RolloutGroupsValidation and RSQLUtility with explanation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2017-01-26 09:37:20 +01:00
caption.configure.rollout.groups = Configure Deployment Groups
prompt.target.filter = Custom Target Filter
message.rollout.nonzero.group.number = Number of groups must be greater than zero
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.max.group.number = Number of groups must not be greater than 500
message.rollout.target.unassigned = Unassigned
message.rollout.duplicate.check = Rollout [ {0} ] must be unique, entered value already exists.
Remove String manipulations concerning whitespaces (#633) * Add html tag Validator on strings. Add string trim. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Revert unintended changes. Sonar issues. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Remove weired comment. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Remove unnecessary trim operations. Trim is performed by the repository. Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * redo refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Extend mandatory check in CommonDialogWindow, trim string before check Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Raise EclipseLink due to validation problem. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Fix permission. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Insert EmptyStringValidator Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Colour field test. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Assign EmptyStringValidator to required TextFields Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Remove String validation of CommonDialogWindow mandatory check Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Extend EmptyStringValidator to check the max allowed characters in field Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-02-19 08:27:54 +01:00
message.rollout.name.empty = Please enter a name for Rollout
message.correct.invalid.value = Please correct invalid values
message.enter.number = Please enter number
message.rollout.field.value.range = Value should be in range {0} to {1}
message.rollout.filter.target.exists = The selected target filter does not match any existing target
Protection against misuse with system-wide quota definitions (#670) * Added quota for meta data per software module Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Added unit test for "meta data per module" quota Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * quota test enhancements Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Verify enforcement of meta data quota via REST Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Quota for distribution set meta data Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Verify enforcement of distribution set meta data quota via REST Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * software modules per distribution set quota Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Integration test enhancements for Modules per DistSet quota Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Quota for software module types per distribution set type Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Quota for max artifacts per software module Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Quotas for ActionStatus per Action and Messages per ActionStatus Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Quota attributes per target Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Quota targets per rollout group Signed-off-by: stefbehl <stefan.behl@bosch-si.com> * Quota max targets per rollout group Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per rollout group Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per rollout group Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per rollout group Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per group Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * quota max actions per target Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per rollout group Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max actions per target Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max actions per target Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per auto assignment Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per manual assignment Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per auto assignment Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per auto assign Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per auto assignment Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max actions per target Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per manual assignment Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix issues caused by merge Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Improve JavaDoc Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix Sonar issues Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix Sonar findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max artifact size Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Optimize quota configuration Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix test failures Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Improve test coverage Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max rollout groups per rollout Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Configure Rollout UI enhancements Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * UI enhancements Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Minor changes Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per group Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Quota max targets per group Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix Sonar findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix Sonar findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix Sonar finding Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix code review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * New approach for 'max artifact size' enforcement Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix Sonar findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix failing tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Reduce max artifact size for tests Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com> * Fix Kai's review findings Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
2018-05-02 12:09:29 +02:00
message.rollout.max.group.size.exceeded = The maximum group size of {0} targets is exceeded. Please increase the number of groups or select a different target filter
message.rollout.max.group.size.exceeded.advanced = The maximum size of {0} targets is exceeded for this group. Please re-distribute the targets across the groups and create further groups if needed
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.rollout.approval.required = You should approve or reject the Rollout
message.rollout.started = Rollout {0} started successfully
message.rollout.paused = Rollout {0} paused successfully
message.rollout.resumed = Rollout {0} resumed successfully
message.rollout.deleted = Rollout {0} deleted successfully
message.rollout.noofgroups.or.targetfilter.missing = Please enter number of groups and select target filter
message.rollouts = Rollouts
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
label.target.per.group = Targets per group:
message.dist.already.assigned = Distribution {0} is already assigned to target
message.error.creating.rollout = Server error. Error creating Rollout. Please contact the administrator
message.error.starting.rollout = Server error. Error starting Rollout. Please contact the administrator
message.delete.rollout = You are about to delete the rollout "{0}".\n{1}Are you sure?
message.delete.rollout.details = There are {0} running updates that will continue and {1} scheduled updates that will terminate.\n
Create Rollout UI with Groups definition (#369) * Rollout creation UI with groups definition Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improved code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added a legend to the Rollouts Creation UI's PieChart Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Updated color palette for pie chart. Using RolloutGroupCreate for validation. Displaying pie chart for group editing. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized ComboBoxBuilder Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Removed not necessary RPC interfaces. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix Rollout verification count query. Improved UI style. Added dependency management for d3. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Auto start and scheduled start of Rollouts Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized RSQL Utility to avoid multiple joins on the same table. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fixed RSQL Utility to avoid multiple joins on the same table to only work with OR nodes. Optimized validation queries for rollout group creation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Asynchronous handling of groups validation in the create rollouts UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added loading indicator to create rollout UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Avoid parallel validation for a user session. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix issues after merge of master into branch. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improve code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Refreshing the total target count after validation on the rollouts creation UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Remove unused RolloutUpdate method. Optimization of the RolloutHelper. Comments for RolloutGroupsValidation and RSQLUtility with explanation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2017-01-26 09:37:20 +01:00
caption.rollout.group.definition.desc = Define which groups the Rollout should have.
header.target.percentage = Target percentage
textfield.target.percentage = Target percentage
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
textfield.target.percentage.required = Target percentage is required
textfield.target.percentage.format.error = Target percentage format is wrong
Create Rollout UI with Groups definition (#369) * Rollout creation UI with groups definition Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improved code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added a legend to the Rollouts Creation UI's PieChart Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Updated color palette for pie chart. Using RolloutGroupCreate for validation. Displaying pie chart for group editing. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized ComboBoxBuilder Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Removed not necessary RPC interfaces. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix Rollout verification count query. Improved UI style. Added dependency management for d3. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Auto start and scheduled start of Rollouts Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Optimized RSQL Utility to avoid multiple joins on the same table. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fixed RSQL Utility to avoid multiple joins on the same table to only work with OR nodes. Optimized validation queries for rollout group creation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Asynchronous handling of groups validation in the create rollouts UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Added loading indicator to create rollout UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Avoid parallel validation for a user session. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Fix issues after merge of master into branch. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Improve code quality Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Refreshing the total target count after validation on the rollouts creation UI. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com> * Remove unused RolloutUpdate method. Optimization of the RolloutHelper. Comments for RolloutGroupsValidation and RSQLUtility with explanation. Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2017-01-26 09:37:20 +01:00
textfield.rollout.group.default.name = Group {0}
message.rollout.group.name.invalid = Enter a group name with a length between 1 and 64
caption.rollout.tabs.simple = Number of Groups
caption.rollout.tabs.advanced = Advanced Group definition
caption.rollout.generate.groups = Generate the groups automatically with the specified thresholds.
caption.rollout.action.type = Action type
message.rollout.remaining.targets.error = Not all targets are addressed
textfield.rollout.copied.name = Copy of {0}
label.rollout.targets.in.group = {0} in {1}
caption.rollout.start.type = Start type
caption.rollout.start.manual = Manual
caption.rollout.start.manual.desc = The user starts the rollout manually.
caption.rollout.start.auto = Auto
caption.rollout.start.auto.desc = The rollout is started as soon as it is created.
caption.rollout.start.scheduled = Scheduled
caption.rollout.start.scheduled.desc = The rollout starts as soon as it is ready and the set time has passed.
label.rollout.calculating = Calculating groups ...
#rollout - end
#Menu
menu.user.description = Tenant: {0} User: {1}
#Target Filter Management
breadcrumb.target.filter.custom.filters = Custom Filters
notification.configuration.save=Saved changes
controller.polling.title=Polling Configuration
controller.polling.time=Polling Time
# entity not exist
View-scoped event listeners (#1134) * added UI EntityNotFound error details extractor Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * changed Target count label to not rely on grid data change events but rather on EntityModified UI events to decide how to react dependand on the event type Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added current view check on entity modified events Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * unsubscribe/resubscribe event listeners on view leave/enter, reselect grid entities on view enter Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed target grid count reset on initial load and after view change Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * re-evaluate filters on Deployment View enter Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added on view enter logic for rest of the views Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * introduced event listener aware layout and view, adapted code accordingly Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed bulk upload Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added missing docs Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * adapted software module deselection upon master entity change Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * fixed npe in case master support is not present (Artifact View) Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * restructured amqp assignDistributionSetMultipleTimes test Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io> * added waiting for the messages to be dispached by test Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2021-07-22 11:00:05 +02:00
rollout.not.exists=Rollout {0} does not exist. Maybe the it was deleted.
rollout.group.not.exists=Rollout Group {0} does not exist. Maybe the it was deleted.
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
color.not.exists=There is no mapping for the provided colour {0}
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.entity.target.tag = Target Tag
caption.entity.target.tags = Target Tags
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.entity.distribution.tag = Distribution Tag
caption.entity.distribution.tags = Distribution Tags
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.entity.distribution.type = Distribution set Type
caption.entity.distribution.types = Distribution set Types
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.entity.software.module.type = Software Module Type
caption.entity.software.module.types = Software Module Types
Remove String manipulations concerning whitespaces (#633) * Add html tag Validator on strings. Add string trim. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Revert unintended changes. Sonar issues. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Remove weired comment. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Remove unnecessary trim operations. Trim is performed by the repository. Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * redo refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Extend mandatory check in CommonDialogWindow, trim string before check Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Raise EclipseLink due to validation problem. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Fix permission. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Insert EmptyStringValidator Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Colour field test. Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com> * Assign EmptyStringValidator to required TextFields Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Remove String validation of CommonDialogWindow mandatory check Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Refactor Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Extend EmptyStringValidator to check the max allowed characters in field Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-02-19 08:27:54 +01:00
validator.textfield.min.length = Please enter a text consisting of at least one and a maximum of {0} characters.
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.entity.delete.action.confirmbox = Confirm Deletion
message.confirm.delete.entity = Are you sure you want to delete {0} {1}?
Remove footer, expand layout and move functions to other elements (#689) * Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered. * Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses. * Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed. * Prevent file upload if no software module or more than one is selected. * Added Unit Tests and fixed Sonar findings. * Move upload button from the buttom to the right side of the drag and drop area. * Remove minimize and resize buttons in progress dialog. Remove unused code. * Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area. * Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545 * Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods. * Disable drag-and-drop area in case no OR more than one software module selected. * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * First draw, insert delete button in entity tables * Add shortcuts to cancel/confirm buttons in confirmation dialog * First draw, target/distribution assignment * Entity assignments for tables * Fix table row mark correctly when assigning entities * Mark the right entity in table when deleting an entity * Refactor code for distribution tags on deployment view * Target Tags can be managed with Menu Bar * Refactor classes for managing tags and types for all entities * Disable fields correctly when updating/deleting tags and types * Remove delete and action buttons in the bottom * Delete Metadata column in tables * Redesign tables for tags and types. Show action icon for update/delete * Correct CSS for menubar for tag/type actions * Add confirmation window when deleting tag or type * Remove unused code. Fix style for target tag config menu bar * New abstract classes for target/ds tags * Reorganize package structure tags, set ids for tags * Add total targets count in target table, add close icon for menubar * Add total target label and remove footer styles * MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left * Insert EventHandling for show menuBar/CancelButton * Delete drag & drop criteria where not needed anymore * Fix mandatory field check in DistributionTypeLayout * Fix notification message * Move upload button into drop area * Enhance /adapt unit tests * Enhance /adapt UI tests Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
caption.entity.assign.action.confirmbox = Confirm Assignment
Migrated Hawkbit UI to Vaadin 8 (#980) * Migrated Hawkbit UI to Vaadin 8 * fixed tag assignment messages * disable rollout buttons instead of hinding them in Rollout Grid * fix mssql db error * small improvements to remove duplications while creating labels and distribution set type combo * upgraded Vaadin to 8.11.1, upgraded jsoup to 1.11.2 (used by Vaadin 8.11.1), fixed selection in Metadata window, moved Rollout Window components to separate components package * moved DS/SM type combobox creation to FormComponentBuilder, fixed add to collection error in SoftwareModuleDetails, changed save entity icons to harddrive, common refactoring * removed duplications between breadcrumb grid headers (RolloutGroupGridHeader, RolloutGroupTargetGridHeader, TargetFilterDetailsGridHeader) * replace proxy type in proxy objects with simple type info * made all text fileds lazy (the timeout is 500ms), fixed add rollout window error on getting the bean from layout to controller * removed duplications between ds to tag and target to tag assignment supports, extracted assignment notification from HawkbitCommonUtils * fixed search input with caption overlap * refactored layout visibility and resize listeners * fixed approval strategy, adapted rollout advanced group ids to always increase * Combine created and modified column creation * remove Column<?, ?> variables * fix confirmation dialog line breaks * fix grids in details and filters * fix column creation for upload grids * add default ExpandRatio, fix rollouts and target filter * add default addColumn method and fix action grids * update deployment and rollout grid and grid css * fix grid column widths * refactored approval layout * adapted approval layout * refactored advanced rollout group layout * refactored advanced group definitions to use proxy bean * fixed copy rollout window enable save button * third draft of Rollout Window validation: added UNKNOWN validation status, validate all layouts after validation listener is added * second draft of Rollout Window Validation * first Rollout Window Validation draft for enable/disable save button * fixed custom target filter de-selection on delete, re-selection on update, reset edit/delete crud menu mode on custom filter tab selection * added error threshold validation on total target and number of groups change * added random ids to Proxy identifiable entities without defined ids * add universal check box generator * adapted Update and Approve Rollout Window Layout * adapted setting and getting bean values for Add and Copy Rollout layouts * fix setting ConfirmationDialog ID * refactor ConfirmationDialog to use a CommonDialogWindow internally * fix rollout group definition input width * remove code duplication in UI grid column creation * refactored rollout group pie chart and legend by extracing them to their own class VisualGroupDefinitionLayout * remove code duplication on link creation * moved creation of AutoStartOptionGroupLayout to FormComponentBuilder * extracted RolloutFormLayout and SimpleGroupsLayout together with corresponding proxy beans from AddRolloutWindowLayout, adapted code accordingly * move TimeforcedIcon generation to StatusIconBuilder * move code to StatusIconBuilder * use objects to build labels from entity states * use generic method to generate status icon labels * moved AdvancedGroupRow from DefineGroupsLayout to separate class * remove code duplication on icon creation * removed Optionals from Data Providers * fixed remaining parts of xss vulnarable components (tags/types) * added description to key-value details pairs, moved the logic of paginated database access to HawkbitCommonUtils * further adapted xss atack posibilities * adapted details header and key-value details * adapted MetaData header * adapted Artifact and Action History Grid headers * adapted artifact download * adapted already assigned notification and rollout approval permission check * removed tenant and username cookies from hawkbit login * adapted attributes sorting by key * adapted controller attributes details * removed grid ResizeSupport (can be introduced later if needed) * refactored grids to not use resizeSupport but rather removing all columns and re-adding them after max/min state transition * fixed selection of added items * moved restoreState to AbstractGrid * unified Ds grids on Distribution and Deployment Views * moved filter support and drag and drop support to AbstractGrid * removed stale Sm grid id for Upload view * removed duplication between SwModuleGrid and SoftwareModuleGrid * removed unneccessary status icons css properties * added grid MasterEntitySupport, adapted grids * fixed tags/types filter deselection after deletion * fixed deletion success notification, added artifact uploads count check to software module table * unified target/ds/sm grid headers * unified DS and SM grid headers and details * added Delete Support to Rollout, adapted deletion permissions * introduced EntityResizeSupport, upgraded vaadin version to 8.10.4 * unified ds and sm type filter components * removed duplications between Target and Ds tag filters * removed duplication for #buildActionButton * initial iteration of removing duplications between grids * added GridActionsVisibilityListener * added layout visibility listener to filter and rollout views * unified LayoutResizeListener and LayoutVisibilityListener * extracted ShowEntityFormLayoutListener * refactored grid filter listeners * refactored target filter listeners, introduced filter support * added GenericEventListener, further unified listeners * partially unified LayoutViewAware event listeners, added PinningChangedListener, TagFilterListener and TypeFilterListener * fixed sql exception in case NO_TAG is selected without any additional tags active * unified entity modified listeners, adapted tag token modified update * fixed Upload View drop area enable on SM select * unified selection listeners * unified search listeners * added common SearchFilterListener, added temporare EntityModifiedMasterAwareSupport for EntityModifiedListener, fixed Rollout View change after rollout deletion/modification, adapted state restore * refactored entity modified and selection listeners together with support classes * added maintenance window and created/modified at tooltips in Action History Window, added id to Bulk Upload popup window and main popup layout, fixed duplicated DS error during DS edit/update * substituted ShowEntityDetailsEventPayload with SelectionChangedEventPayload in Rollout View for consistency with other Views, unified rollout ui state class * added builder to EntityModifiedListener, adapted code * refactored sm type modification of ds type * fix removing sm type from ds type via ui * refresh rollout group targets table on group-updated-event * moved grid label icon creation to SpUiComponent builder * fixed edit tag/type with invalid colour * added range validator(0-100) to trigger threshold * fixed rollout auto start option updates, fixed rollout grid search state restore, extended SPDateTimeUtil * Rollout Window Form fixes * small partial fix for error threshold percent/count validation and value change * fixed time forced empty datetime in Rollouts Update Window * added workaround for target/ds tags drag and drop due to the missing selection support * fixed ds unpinning after deletion and completion state change * added reason to bulk upload failed notification * fixed target add/update window form name id, introduced separate layout listeners for entity modified events and selection/master changed events, extended grid selection support, refactored corresponding grids, layouts and listeners * fixed required messages in the from builder, changed asyncExecutor to ui executor for file streaming, fixed auto-assignment for layout * fixed drag and drop registration for non-selection grid model, small restore state refactoring * fixed action remote events tests, adapted crudMenu/resize/search header supports to use mode-{mode} classes instead of ids modification * changed id of metadata popup grid to 'metadata.window.table.id' and details grid to '{typePrefix}.metadata.details.table.id', fixed tag/type cell text wrapping, tooltip shows full tag/type name, removed checkboxes from Distributions Set Type Software module selection grids * added tooltip to Rollout/RolloutGroup status bar, small bug fixes for Rollout Window target filter and approval * fixed edit permission validation in DetailsHeader * unbind distributionsview javascript from vaadin theme * small refactoring of form component builder, assignment and rollout layout * remove ds combobox code duplication, fix assig and autoassign popup * add BoundComponent class, fix assignment popup * remove duplicates for name, version description and actiontype fields * removed code duplication, fix assign- and autoassign-popup * adapted Action history eventing, changed entity modified parent event propagation * added id to DS details modules grid * started adapting Action History View * adapted filter by ds drop area restore * align drop styling with previous * fix filter target table by assigned ds * small refactoring of Deployment View and System config View layouts * adapted DS tag layout * fixed incompelete DS deselection and unpinning * added filter to RemoteEventListener in order to ignore remote events, added select entity on add to grids * fixed DS modules details, explained why session scope is used for bulk upload * adapted bulk upload window to be lazy loaded, fixed restore by usinng session scope * fixed user cell text selection in grid, drop hint highlighting * fixed undo for iot-update-server config option * fixed parsing in DurationField and refactored system config view * removed unused variable from DurationField * refactored config option view * fixed polling option value in config option view * fixed token refresh value in config option view * added binder auth config option * added binder to save config option * added binder for auto cleanup option * upgraded vaadin to 8.10.0, removed dd package together with CustomAcceptCriteria extension, removed CustomAcceptCriteria tests, removed all vaadin v7 dependencies, removed compatibility server and client * added selection by pressing key up/down, refactored range selection handler and connector, drag and drop support drop style listener, removed unneccessary styles for selection extension * show drop hint * fix h2 cast error * make unselected row dragable * add support for selection using Shift and CTRL * remove grid checkboxes, fix selection and drag and drop * moved bulk upload classes to own package, started implementing bulk upload window builder * further adaptations of bulk upload * started adapting bulk upload * partially removed stale classes/methods, vaadin v7 imports * completeted pinning refactoring * further pinning refactoring, added restore to distributions grid in deployment view * started adapting pinning of target and distribution set * further remote eventing refactoring, small styling adaptations * added 'maximize' and 'minimize' ids to max/min grid icons * removed event containers, adapting the delayed event bus push strategy, event provider and remote events listener * small eventing refactoring * adapted tag filter eventing, removed old event classes * adapted selection eventing, fixed color styling for grid selection, added countByAssignedId to softwaremodulemanagement * adapted type filter eventing * adapted search filter eventing * adapted actions visibility change eventing in filter layouts * adapted layout eventing in Deployment View * adapted layout eventing in Distributions View * adapted layout eventing in Upload View * adapted entity modified eventing * adapted rollout eventing * fix rollout view and window styling * handle rollouts view remote events * adapted eventing in Rollouts View * fixed Target Filter session state management in Edit Form mode * adapted target filter query add/update layout to use form layout * started adapting tags assignment * removed AbstractNotificationView * added row border in grids * fixed restoreState in Target Filters and Target Grid, refatored eventing in Deployment View * Added event listener for DsSetType * added confirmation window id for deletion support, added id for action type radio group, reworked restore state, small changes in Deployment view * started adapting ds grid, ds tags, action history and Deployment View layout * started adapting target grid * reworked Target Filter View and event handling * fixed Target Details error, started adapting Target Grid Layout * refactored Date time parser * fixed Date time parser * fixed formatting * fixed errors in auto close option * fixed errors in auto cleanup option * fixed errors in Polling view option * adapted filter management view and selection listener behaviour * cleanup, fix vaadin query to spring pageable convertion * adapted target tag filter layout * started adapting Deployment view * fixed software modules details grid rendering under Distribution Set Details * adapted artifact details grid popup window for Software Module details * adapted auto assignment details grid for DS * added get by ids to target tag management, adapted tag details layout for distribution set tag and target tag * package structure refactoring * started adapting software module details tab within distribution set details layout * excluded javax.validation because of a reference to an old sources file * fixed system config view misconfiguration * fixed ids formating, added UI access call for updating entities through listeners * refactored sm and ds types saving in proxy sm and ds entities * fixed software module to distribution set assignment and software module dataprovider in Distributions View * adapted add/update notification for software module and distribution set to show name and version, fixed search text field id * adapted software module color highlighting in Distributions View * adapted login ui * started adapting Distributions View * unified filter buttons click behaviour, added restore clicked filter to Upload View * removed duplications in filter headers * removed duplication in filter type/tag layouts * added sm and ds type remote events matchers for listener * adapted metadata details grid, update eventing fo details layout in Upload View * adapted entity deletion eventing and selection on restore state for Upload View * adapted file upload events handling, introduced RemoteEventsListener for the complete UI * adapted Details Header to render two separate labels for caption prefix (entity type) and entity name to prevent xss attack * upgraded vaadin to version 8.9.3, adapted upload artifact view and corresponding eventing further * change visibility of components instead of removing them in Upload View * adapted metadata popup window for target, distribution set and software module * first iteration of adapting metadata window layout: created meta data dataproviders and window grids for target, ds and sm * adapted auto assign window layout * further refactoring of Target filter view and layouts * adapted software module add/update window layout * adapted distribution set add/update window layout * refactored window layouts * fixed software module add/update layout, adapted target add/update layout * added validation of empty distribution set type software module types and mandatory property change * further refactoring of distribution set type add/update window * adapted distribution set type add/update window * adapted software module type add/update window layout * adapted tag layouts and color picker structure * adapted target and ds tag add/update windows, refactored color picker * added ds and sm type event containers * refactored local eventing and remote events handling, mainly only for distributions view * fixed ui alignment on the right side of the page * Finalized upload view migration * Fixed upload layout not enabled problem * Migrated Upload view. Some small glitches still open. * moved details headers to layouts * added callback to update last selected entity in UI state after each grid selection, unified all details layouts * further refactoring of Target Details * added selected event publishing to selection support, refactored target details * started unifying details layouts and adding details support classes * unified grid layouts * unified Target Filter Header * fixed glitches in UI regarding Headers, dapted eventing for crud menu and close header supports * unified types and tags headers * unified more headers * adapted TargetTableHeader to use AbstractGridHeader with Header Support classes, renamed to TargetGridHeader, removed unsused css properties * added CrudMenuHeaderSupport, refactored AbstractGridHeader * added AddHeaderSupport, BulkUploadHeaderSupport, CloseHeaderSupport, FilterButtonsHeaderSupport, ResizeHeaderSupport, SearchHeaderSupport, refactored ConfigMenuBar behaviour in MultipleTargetFilter * started unifying headers * extracted BulkUpload from AbstractTableHeader to TargetTableHeader * removed header row for tags and types grids, adapted margin/padding for some layouts, modified css properties for borders, updated vaadin version to 8.8.6, vaadin-spring to 3.2.1 * added javax servlet api maven dependency to hawkbit-autoconfigure, because gwt-user is not used anymore, fixed a couple of runtime errors, hawkbit starts :) * adapted TargetTableHeader drag and drop in order to filter targets by Distribution Sets, adapted gwt modules to inherit from compatibility Vaadin7WidgetSet, upgraded DistributionBar addon to be compatible with vaadin 8 * added NO TAG button to Target Tag and Distribution Tag layouts * adapted Distribution Set Types and Software Module Types layouts * adapted Target Tags layout, Distribution Set Tags Layout, added corresponding drag and drop supports * migrated from Table to Grid in TargetFilterQueryButtons, adapted click listeners * adapted twin columns layout for creating/updating Distribution Set Type * adapted MetaData Details classes * adapted AbstractMetadataPopupLayout and all children classes, refactored DeleteSupport * adapted Grid in UploadProgressInfoWindow * adapted software module details, target filter query details, removed custom combobox for autoassignment, adapted layouts and details * removed obsolete classes, adapted layouts as needed, removed Custom Renderers because components are used directly within the grids * added ArtifactDetailsGrid for Upload View, modified Artifact Layout to be consistent with Action History Layout in Deployment View, adapted Views and Layouts * added SoftwareModuleGrid to Upload View * migrated SwModuleTable to SwModuleGrid * migrated Distribution Set Table from Distributions View to Grid, refactored drag and drop * refactored target grid in Create/Update Filter View * refactored tag classes to use TagData where possible * migrated CreateOrupdateFilterTable to grid * adapted tag token classes * adapted Layouts, chaned Base Ui Event to except Proxy Entities * adapted TargetFilterGrid * Migrated TargetFilterTable to grid * Removed vaadin Tokenfield dependency * removed ConfirmationTab, using Component ConfirmationDialog instead; adapted MaintenanceWindowLayout, introduced AssignmentWindowLayout together with corresponding ComponentBuilder and Controller; added Drag and Drop support with differen Assignments support, adapted TargetGrid and DistributionGrid correspondingly; removed TargetAssignmentOperations utility class * second version of PinSupport * added DeleteSupport for target and distribution set items deletion * first draft of PinSupport for pinning targets and distribution setes * added first draft of Management Distribution Set Grid, adapted the corresponding data provider, adapted AbstractBaseViewFilter (should be checked) * first draft of Target Grid, refactored Selection support to include multi-selection mode * extracted single selection support, resize support and master details support from AbstractGrid, added filter type to AbstractGrid so the dataproviders are filterable by default, adapted some data providers to use filters, refactored master-details scenario for action history/status/msg layouts * Adapted AbstractGrid for resize support, adapted ActionHistoryGrid, ActionStatusGrid, ActionStatusMsgGrid * added rollout window specific classes (layouts, controllers, component builders) * changed Rollout/Group/Target List Grids to use vaadin 8 concepts, added temp utility classes * added ArtifactDataProvider and corresponding ProxyArtifact, SoftwareModuleArtifactsStateDataProvider, SoftwareModuleDistributionsStateDataProvider, TargetFilterStateDataProvider, TargetManagementStateDataProvider, TargetTagDataProvider and corresponding mappers * added parent Type model class for DistributionSetType and SoftwareModuleType and corresponding ProxyType, added ActionDataProvider, ActionStatusDataProvider, ActionStatusMsgDataProvider, DistributionSetTagDataProvider, DistributionSetTypeDataProvider, SoftwareModuleTypeDataProvider and corresponding mappers * extended data providers with filter, implemented multiple distribution set data providers for sifferent ui state (views), added target tag data provider, adapted Proxy Tag * added data providers, mappers and proxy classes for fetching entities from backend and mapping them to ui proxy entities * removed setImmediate on classes * fixed usage of option group layouts, removed all setImmediate calls * removed flexibleoptiongroup dependency and adapted the Option Group Layouts to use the default RadioButtonGroup * adapted Vaadin Security and fixed Notifications * Migrated vaadin 7 sources with the Vaadin migration tool to vaadin 8 compatibility mode * fixed some minor sonar issues * fixed license headers * fixed dynamic stylesheet js license header * adapted java docs parameters description, removed unused event classes * fixed icon styles, made action icons a little bigger * fixed download artifact action icon column header, fixed styling for the target filter query add/update layout, made it more responsive instead of hardcoding pixel values * fixed Notification rendering regarding word wrap * fixed restore behaviour with the invalid target filter query in Filter View * replaced List collection with Set for better performance during DS pinning, tag assignment, target status filtering and rollout add/update window validation, ignored irrelevant sonar issues * disable crud menu button on no CUD permissions, disable Rollout Group Button on missing permissions, removed Target Metadata details tab on missing repository read permissions, removed Autoassignment DS details tab on missing target read permissions, added UIEventPermissionChecker/HawkbitEventPermissionChecker to verify if current user has the required permissions in order to receive push events/notifications * disable Autoassignment link in case of missing read repository permissions, disable TFQ save button in case of missing update target permissions * adapted ordering of columns in maximized state * limited selection in grids to 1000 entities, removed shift+ctrl selection behaviour (due to complex logic for preserving and limiting selection) disable edit/copy rollout on creation, small naming changes and java docs improvements * added java docs to notification class * fixed restoration of the default filter value for grids * added caption to Delete column in grids, made target filter grid columns hidable, stoped propagation of select all event in order to not select the text on the page * removed com.google.gwt.gwtmockito test dependency * renamed RemoteEventsListener to HawkbitEntityEventListener to better describe the use-case for the listener * changed Guava cache to Caffeine cache for EntityModified UI events * removed obsolete HawkbitErrorNotificationMessage, UINotification is used instead * added stacked notifications custom extension * removed unused JUnitParams dependency * fixed license header for ParallelNotificationConnector * set ui mode back to production Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
2020-08-21 16:57:00 +02:00
message.confirm.assign.multiple.entities.to.entity = Are you sure you want to assign {0} {1} to {2} {3}?
caption.distributionsets = Distribution sets
caption.softwaremodules = Software Modules
caption.targets = Targets
caption.artifacts = Artifacts
caption.metadata.plur = Metadata
caption.rollouts = Rollouts
caption.filter.custom.plur = Custom Filters
Fix artifact filename validation (#770) * use validated ArtifactUpload object when creating a new artifact Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * rename method Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * add regular expression classes Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * add filename validation to UI upload button Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * move filename validation to uploadStarted Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * clean up code for UI error handling during artifact upload, assert filename validation Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * update visibilities Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * clean up code Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * clean up code Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * change RegexChar class to enum and use i18n Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * typo, use StringBuilder Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * typo Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * use dedicated class for collections of regular expression characters Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * remove Optional, remove stringBuilder Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * PR findings Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * make regex validation method static Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com> * use WhiteListType.NONE for filename validation via mgmt-api Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com>
2018-12-17 10:17:46 +01:00
# character descriptions
character.whitespace = whitespace
character.digits = digits
character.quotationMarks = quotation marks
character.slashes = slashes
# Vaadin system messages
vaadin.system.sessionexpired.caption=Session Expired
vaadin.system.sessionexpired.message=Take note of any unsaved data, and click here or press ESC key to continue.
vaadin.system.communicationerror.caption=Communication problem
vaadin.system.communicationerror.message=Take note of any unsaved data, and click here or press ESC to continue.
vaadin.system.internalerror.caption=Internal error
vaadin.system.internalerror.message=Please notify the administrator. Take note of any unsaved data, and click here or press ESC to continue.
vaadin.system.tryingreconnect=Server connection lost, trying to reconnect...