Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update paths to services, interfaces and shared components #1675

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .github/workflows/qodana_code_quality.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/account/components/add-eid/add-eid.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, OnInit, Inject } from '@angular/core';
import { DIALOG_DATA, DialogService } from 'src/app/shared/dialog';
import { ConfigService } from 'src/app/services/config.service';
import { ConfigService } from '@services/config.service';
import { ConnectEidComponent } from '../connect-eid/connect-eid.component';
import { ConnectSmartIdComponent } from '../connect-smart-id/connect-smart-id.component';

Expand Down
10 changes: 5 additions & 5 deletions src/app/account/components/add-email/add-email.component.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { AuthService } from 'src/app/services/auth.service';
import { AuthService } from '@services/auth.service';
import { Component, OnInit, Inject } from '@angular/core';
import { Router } from '@angular/router';
import { UserService } from 'src/app/services/user.service';
import { NotificationService } from 'src/app/services/notification.service';
import { DialogService, DIALOG_DATA, DialogRef } from 'src/app/shared/dialog';
import { UserService } from '@services/user.service';
import { NotificationService } from '@services/notification.service';
import { DialogService, DIALOG_DATA, DialogRef } from '@shared/dialog';
import { take } from 'rxjs';
import { User } from 'src/app/interfaces/user';
import { User } from '@interfaces/user';
import { UntypedFormGroup, UntypedFormControl, Validators } from '@angular/forms';

export interface AddEmailData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Component, Input } from '@angular/core';
import { catchError, interval, map, of, switchMap, take, takeWhile } from 'rxjs';
import { AuthService } from 'src/app/services/auth.service';
import { ConfigService } from 'src/app/services/config.service';
import { AuthService } from '@services/auth.service';
import { ConfigService } from '@services/config.service';
import { DialogService } from 'src/app/shared/dialog';
import { NotificationService } from 'src/app/services/notification.service';
import { NotificationService } from '@services/notification.service';
import { UntypedFormGroup, UntypedFormControl, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
declare let hwcrypto: any;
Expand Down
10 changes: 4 additions & 6 deletions src/app/account/components/login-form/login-form.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import { PlausibleService } from './../../../services/plausible.service';
import { AuthService } from 'src/app/services/auth.service';
import { PlausibleService } from '@services/plausible.service';
import { AuthService } from '@services/auth.service';
import { Component, Inject, Input } from '@angular/core';
import { NotificationService } from 'src/app/services/notification.service';
import { LocationService } from 'src/app/services/location.service';
import { NotificationService } from '@services/notification.service';
import { LocationService } from '@services/location.service';
import { Router } from '@angular/router';
import { DialogService } from 'src/app/shared/dialog';
import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
import { PasswordForgotComponent } from '../password-forgot/password-forgot.component';
import { TranslateService } from '@ngx-translate/core';
import { RegisterDialogComponent } from '../register/register.component';
import { take } from 'rxjs';

@Component({
selector: 'login-form',
Expand Down
8 changes: 4 additions & 4 deletions src/app/account/components/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { Component, Inject, inject, Input } from '@angular/core';
import { DIALOG_DATA, DialogService, DialogRef } from 'src/app/shared/dialog';
import { ActivatedRoute, Router } from '@angular/router';
import { Subscription, take } from 'rxjs';
import { AuthService } from 'src/app/services/auth.service';
import { ConfigService } from 'src/app/services/config.service';
import { UserService } from 'src/app/services/user.service';
import { AuthService } from '@services/auth.service';
import { ConfigService } from '@services/config.service';
import { UserService } from '@services/user.service';
import { EstIdLoginDialogComponent } from '../est-id-login/est-id-login.component';
import { SmartIdLoginDialogComponent } from '../smart-id-login/smart-id-login.component';
import { LocationService } from 'src/app/services/location.service';
import { LocationService } from '@services/location.service';
import { TranslateService } from '@ngx-translate/core';

@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Component } from '@angular/core';
import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
import { take } from 'rxjs';
import { AuthService } from 'src/app/services/auth.service';
import { NotificationService } from 'src/app/services/notification.service';
import { AuthService } from '@services/auth.service';
import { NotificationService } from '@services/notification.service';

@Component({
selector: 'password-forgot-form',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Component, Input, Inject } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';
import { take } from 'rxjs';
import { AuthService } from 'src/app/services/auth.service';
import { NotificationService } from 'src/app/services/notification.service';
import { AuthService } from '@services/auth.service';
import { NotificationService } from '@services/notification.service';
import { UntypedFormGroup, UntypedFormControl } from '@angular/forms'
import { DialogService } from 'src/app/shared/dialog';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { ActivatedRoute, Router } from '@angular/router';
import { DialogService, DIALOG_DATA } from 'src/app/shared/dialog';
import { take } from 'rxjs';
import { User } from 'src/app/interfaces/user';
import { AuthService } from 'src/app/services/auth.service';
import { ConfigService } from 'src/app/services/config.service';
import { UserService } from 'src/app/services/user.service';
import { AuthService } from '@services/auth.service';
import { ConfigService } from '@services/config.service';
import { UserService } from '@services/user.service';
import { ConfirmDialogComponent } from 'src/app/shared/components/confirm-dialog/confirm-dialog.component';
import { AddEidComponent } from '../add-eid/add-eid.component';

Expand Down
14 changes: 7 additions & 7 deletions src/app/account/components/profile/profile.component.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { languages } from 'src/app/services/language.service';
import { languages } from '@services/language.service';

import { Component, ElementRef, ViewChild } from '@angular/core';
import { ActivatedRoute, Router, PRIMARY_OUTLET } from '@angular/router';
import { map, take, takeWhile } from 'rxjs/operators';
import { DialogService } from 'src/app/shared/dialog';

import { ConfirmDialogComponent } from 'src/app/shared/components/confirm-dialog/confirm-dialog.component';
import { AppService } from 'src/app/services/app.service';
import { AuthService } from 'src/app/services/auth.service';
import { UserService } from 'src/app/services/user.service';
import { TopicNotificationService } from 'src/app/services/topic-notification.service';
import { AppService } from '@services/app.service';
import { AuthService } from '@services/auth.service';
import { UserService } from '@services/user.service';
import { TopicNotificationService } from '@services/topic-notification.service';
import { User } from 'src/app/interfaces/user';
import { NotificationService } from 'src/app/services/notification.service';
import { NotificationService } from '@services/notification.service';
import { Observable, of } from 'rxjs';
import { Topic } from 'src/app/interfaces/topic';
import { TranslateService } from '@ngx-translate/core';
import { ConfigService } from 'src/app/services/config.service';
import { ConfigService } from '@services/config.service';

@Component({
selector: 'app-profile',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, Input } from '@angular/core';
import { ConfigService } from 'src/app/services/config.service';
import { AuthService } from 'src/app/services/auth.service';
import { NotificationService } from 'src/app/services/notification.service';
import { ConfigService } from '@services/config.service';
import { AuthService } from '@services/auth.service';
import { NotificationService } from '@services/notification.service';
import { DialogService } from 'src/app/shared/dialog';
import { take } from 'rxjs';
import { UntypedFormGroup, UntypedFormControl, Validators } from '@angular/forms';
Expand Down
6 changes: 3 additions & 3 deletions src/app/account/components/register/register.component.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Component, Input } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
import { AuthService } from 'src/app/services/auth.service';
import { ConfigService } from 'src/app/services/config.service';
import { LocationService } from 'src/app/services/location.service';
import { AuthService } from '@services/auth.service';
import { ConfigService } from '@services/config.service';
import { LocationService } from '@services/location.service';
import { DialogService } from 'src/app/shared/dialog';
import { EstIdLoginDialogComponent } from '../est-id-login/est-id-login.component';
import { SmartIdLoginDialogComponent } from '../smart-id-login/smart-id-login.component';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, Input, Inject } from '@angular/core';
import { Subscriber, Subscription, catchError, interval, of, switchMap, take, takeWhile } from 'rxjs';
import { AuthService } from 'src/app/services/auth.service';
import { AuthService } from '@services/auth.service';
import { DialogService } from 'src/app/shared/dialog';
import { UntypedFormGroup, UntypedFormControl, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, OnInit, Inject } from '@angular/core';
import { catchError, interval, map, of, switchMap, take, takeWhile } from 'rxjs';
import { AuthService } from 'src/app/services/auth.service';
import { AuthService } from '@services/auth.service';
import { DIALOG_DATA, DialogService } from 'src/app/shared/dialog';
import { UntypedFormGroup, UntypedFormControl, Validators } from '@angular/forms';

Expand Down
2 changes: 1 addition & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { AppComponent } from './app.component';
import { AuthGuard } from './auth/auth.guard';
import { PageNotFoundComponent } from './core/components/page-not-found/page-not-found.component';
import { PageUnauthorizedComponent } from './core/components/page-unauthorized/page-unauthorized.component';
import { authResolver } from './services/auth.service';
import { authResolver } from '@services/auth.service';
import { ActivityFeedComponent } from './core/components/activity-feed/activity-feed.component';

const options: ExtraOptions = {
Expand Down
10 changes: 5 additions & 5 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { Router, PRIMARY_OUTLET, Event, NavigationStart, NavigationEnd } from '@
import { TranslateService } from '@ngx-translate/core';
import { Title, Meta, MetaDefinition } from '@angular/platform-browser';

import { AuthService} from './services/auth.service';
import { AppService } from './services/app.service';
import { LocationService } from './services/location.service';
import { NotificationService } from './services/notification.service';
import { ConfigService } from './services/config.service';
import { AuthService} from '@services/auth.service';
import { AppService } from '@services/app.service';
import { LocationService } from '@services/location.service';
import { NotificationService } from '@services/notification.service';
import { ConfigService } from '@services/config.service';
import { takeUntil, Subject, tap, map } from 'rxjs';
import * as moment from 'moment';
import { DOCUMENT } from '@angular/common';
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client';
import { MomentModule } from 'ngx-moment';


import { MarkdownService, MarkdownModule } from './services/markdown.service';
import { ConfigModule, ConfigService } from './services/config.service';
import { MarkdownService, MarkdownModule } from '@services/markdown.service';
import { ConfigModule, ConfigService } from '@services/config.service';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { HelpComponent } from './core/components/help/help.component';
Expand All @@ -23,7 +23,7 @@ import { NgxTranslateDebugParser } from 'ngx-translate-debug';
import { LanguageSelectComponent } from './core/components/language-select/language-select.component';
import { ActivityFeedComponent, ActivityFeedDialogComponent } from './core/components/activity-feed/activity-feed.component';
import { SharedModule } from './shared/shared.module';
import { HttpErrorInterceptor } from './services/http.error.interceptor.service';
import { HttpErrorInterceptor } from '@services/http.error.interceptor.service';
import { SearchComponent } from './core/components/search/search.component';
import { PageNotFoundComponent } from './core/components/page-not-found/page-not-found.component';
import { PageUnauthorizedComponent } from './core/components/page-unauthorized/page-unauthorized.component';
Expand Down
2 changes: 1 addition & 1 deletion src/app/auth/auth.guard.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router } from '@angular/router';
import { Observable } from 'rxjs';
import { AuthService } from 'src/app/services/auth.service';
import { AuthService } from '@services/auth.service';
@Injectable({
providedIn: 'root'
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component } from '@angular/core';
import { AppService } from 'src/app/services/app.service';
import { AppService } from '@services/app.service';

@Component({
selector: 'app-accessibility-menu',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { style, transition, trigger, animate, state } from '@angular/animations'
import { Component, OnInit, Input, inject} from '@angular/core';
import { DIALOG_DATA, DialogRef, DialogService } from 'src/app/shared/dialog';
import { map, tap, of } from 'rxjs';
import { ActivityService } from 'src/app/services/activity.service'
import { ActivityService } from '@services/activity.service'
import { Location } from '@angular/common';
import { AppService } from 'src/app/services/app.service';
import { AppService } from '@services/app.service';
@Component({
selector: 'activity-feed',
templateUrl: './activity-feed.component.html',
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/components/create/create.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { AppService } from 'src/app/services/app.service';
import { AppService } from '@services/app.service';

@Component({
selector: 'app-create',
Expand Down
14 changes: 7 additions & 7 deletions src/app/core/components/dashboard/dashboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { CookieService } from 'ngx-cookie-service';
import { OnboardingComponent } from './../onboarding/onboarding.component';
import { DialogService } from 'src/app/shared/dialog';
import { Component } from '@angular/core';
import { AppService } from 'src/app/services/app.service';
import { AuthService } from 'src/app/services/auth.service';
import { UserTopicService } from 'src/app/services/user-topic.service';
import { PublicTopicService } from 'src/app/services/public-topic.service';
import { PublicGroupService } from 'src/app/services/public-group.service';
import { AppService } from '@services/app.service';
import { AuthService } from '@services/auth.service';
import { UserTopicService } from '@services/user-topic.service';
import { PublicTopicService } from '@services/public-topic.service';
import { PublicGroupService } from '@services/public-group.service';
import { TranslateService } from '@ngx-translate/core';

import { GroupService } from 'src/app/services/group.service';
import { NewsService } from 'src/app/services/news.service';
import { GroupService } from '@services/group.service';
import { NewsService } from '@services/news.service';
import { of, tap, Observable, map } from 'rxjs';
import { Topic } from 'src/app/interfaces/topic';
import { Group } from 'src/app/interfaces/group';
Expand Down
6 changes: 3 additions & 3 deletions src/app/core/components/feature-box/feature-box.component.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Router } from '@angular/router';
import { Component, Input, inject } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { LocationService } from 'src/app/services/location.service';
import { AuthService } from 'src/app/services/auth.service';
import { AppService } from 'src/app/services/app.service';
import { LocationService } from '@services/location.service';
import { AuthService } from '@services/auth.service';
import { AppService } from '@services/app.service';

@Component({
selector: 'feature-box',
Expand Down
4 changes: 2 additions & 2 deletions src/app/core/components/feedback/feedback.component.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { HttpClient } from '@angular/common/http';
import { Component, OnInit } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { LocationService } from 'src/app/services/location.service';
import { NotificationService } from 'src/app/services/notification.service';
import { LocationService } from '@services/location.service';
import { NotificationService } from '@services/notification.service';
import { take } from 'rxjs';
@Component({
selector: 'app-feedback',
Expand Down
10 changes: 5 additions & 5 deletions src/app/core/components/help/help.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { UntypedFormGroup, UntypedFormControl, Validators } from '@angular/forms
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
import { Router } from '@angular/router';
import { take, tap } from 'rxjs';
import { AppService } from 'src/app/services/app.service';
import { ConfigService } from 'src/app/services/config.service';
import { LocationService } from 'src/app/services/location.service';
import { NotificationService } from 'src/app/services/notification.service';
import { TourService } from 'src/app/services/tour.service';
import { AppService } from '@services/app.service';
import { ConfigService } from '@services/config.service';
import { LocationService } from '@services/location.service';
import { NotificationService } from '@services/notification.service';
import { TourService } from '@services/tour.service';

@Component({
selector: 'app-help',
Expand Down
14 changes: 7 additions & 7 deletions src/app/core/components/home/home.component.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { AuthService } from 'src/app/services/auth.service';
import { TopicService } from 'src/app/services/topic.service';
import { PublicTopicService } from 'src/app/services/public-topic.service';
import { PublicGroupService } from 'src/app/services/public-group.service';
import { GroupService } from 'src/app/services/group.service';
import { AuthService } from '@services/auth.service';
import { TopicService } from '@services/topic.service';
import { PublicTopicService } from '@services/public-topic.service';
import { PublicGroupService } from '@services/public-group.service';
import { GroupService } from '@services/group.service';
import { of, Subject, Observable } from 'rxjs';
import { Topic } from 'src/app/interfaces/topic';
import { Group } from 'src/app/interfaces/group';
import { DialogService } from 'src/app/shared/dialog';
import { TopicCreateComponent } from 'src/app/topic/components/topic-create/topic-create.component';
import { AppService } from 'src/app/services/app.service';
import { AppService } from '@services/app.service';
import { TranslateService } from '@ngx-translate/core';
import { LocationService } from 'src/app/services/location.service';
import { LocationService } from '@services/location.service';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
Expand Down
Loading