From 081824ba57a5bbd5c4673f51bcdf9ec91c050cc3 Mon Sep 17 00:00:00 2001 From: rvald26 <37116247+rvald26@users.noreply.github.com> Date: Thu, 11 Jan 2024 11:54:16 -0500 Subject: [PATCH 1/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 936a9b2fb..1b7b7a22d 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ Resources needed for one month of hot log storage. - You may combine these tiers to allocate resources based on the number of devices and desired hot log storage retention ## Installation steps +The installation can be performed using an installer file or an [ISO image](https://utmstack.com/install). The "Preparing for installation" instructions below are only for the installer file option; please skip them if you use the ISO image instead. ### Preparing for installation From f2fc2f2e714c12cc3a163c02f10afc61fdecce10 Mon Sep 17 00:00:00 2001 From: Manuel Abascal Date: Thu, 11 Jan 2024 21:48:08 +0200 Subject: [PATCH 2/4] Bugfix/v10.2/260 frontend is making continuous requests when logout (#267) * Fix: Frontend is making continuous requests when logout (260) --- .../utm-notification-alert.component.ts | 1 - .../shared/directives/auth/has-any-authority.directive.ts | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/shared/components/layout/header/shared/notification/utm-notification-alert/utm-notification-alert.component.ts b/frontend/src/app/shared/components/layout/header/shared/notification/utm-notification-alert/utm-notification-alert.component.ts index 177774c8e..279026830 100644 --- a/frontend/src/app/shared/components/layout/header/shared/notification/utm-notification-alert/utm-notification-alert.component.ts +++ b/frontend/src/app/shared/components/layout/header/shared/notification/utm-notification-alert/utm-notification-alert.component.ts @@ -42,7 +42,6 @@ export class UtmNotificationAlertComponent implements OnInit, OnDestroy { } ngOnDestroy() { - console.log('destroy'); this.destroy$.next(true); clearInterval(this.timeoutAlert); clearInterval(this.intervalAlert); diff --git a/frontend/src/app/shared/directives/auth/has-any-authority.directive.ts b/frontend/src/app/shared/directives/auth/has-any-authority.directive.ts index 9364b6f59..8f9486b69 100644 --- a/frontend/src/app/shared/directives/auth/has-any-authority.directive.ts +++ b/frontend/src/app/shared/directives/auth/has-any-authority.directive.ts @@ -1,4 +1,5 @@ import {Directive, Input, TemplateRef, ViewContainerRef} from '@angular/core'; +import {distinctUntilChanged} from 'rxjs/operators'; import {AccountService} from '../../../core/auth/account.service'; /** @@ -30,7 +31,9 @@ export class HasAnyAuthorityDirective { this.authorities = typeof value === 'string' ? [value] : value; this.updateView(); // Get notified each time authentication state changes. - this.accountService.getAuthenticationState().subscribe(identity => this.updateView()); + this.accountService.getAuthenticationState() + .pipe(distinctUntilChanged((prev, next) => prev && next && prev.id === next.id)) + .subscribe(identity => this.updateView()); } private updateView(): void { From 9b2ad624ae0c373c42671511b2ab8559c892b3c7 Mon Sep 17 00:00:00 2001 From: Manuel Abascal Date: Sun, 14 Jan 2024 10:58:00 +0200 Subject: [PATCH 3/4] Fix: Incorrect rendering of multi-selection filter when choosing multiple values (268) (#270) --- frontend/src/styles.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 78884eee3..9a7413c9a 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -1292,5 +1292,12 @@ $topnav-background-color: #FFFFFF; } } +app-rules { + .ng-select .ng-select-container { + min-height: 33px !important; + height: auto !important; + } +} + From 7372efd5fe9c00cc32cfd6590cfc79d5c8f7c38b Mon Sep 17 00:00:00 2001 From: Manuel Abascal Date: Sun, 14 Jan 2024 10:58:56 +0200 Subject: [PATCH 4/4] Fix: Unable to login with token query param (269) (#271) --- .../src/app/shared/components/auth/login/login.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/app/shared/components/auth/login/login.component.ts b/frontend/src/app/shared/components/auth/login/login.component.ts index 0188addb9..de2829975 100644 --- a/frontend/src/app/shared/components/auth/login/login.component.ts +++ b/frontend/src/app/shared/components/auth/login/login.component.ts @@ -58,8 +58,6 @@ export class LoginComponent implements OnInit, AfterViewInit { this.apiServiceCheckerService.isOnlineApi$.subscribe(result => { if (result) { - this.startNavigation(); - this.activatedRoute.queryParams.subscribe(params => { if (params.token) { this.loginService.loginWithToken(params.token, true).then(() => {