Changes in / [7899209:79ae621]


Ignore:
Location:
src/Clients/Angular/finki-chattery
Files:
10 added
7 edited

Legend:

Unmodified
Added
Removed
  • src/Clients/Angular/finki-chattery/package-lock.json

    r7899209 r79ae621  
    17461746      }
    17471747    },
     1748    "@tinymce/tinymce-angular": {
     1749      "version": "4.0.0",
     1750      "resolved": "https://registry.npmjs.org/@tinymce/tinymce-angular/-/tinymce-angular-4.0.0.tgz",
     1751      "integrity": "sha512-CmsKournkWWK5O7d8qgZQPvRC76z36GjeD3ZAHZEY/kUXKWAIXfbrHxxgQq9m7+wlfZq9QNgRx5ufN9y9N46DQ==",
     1752      "requires": {
     1753        "tslib": "^1.10.0"
     1754      },
     1755      "dependencies": {
     1756        "tslib": {
     1757          "version": "1.14.1",
     1758          "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
     1759          "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
     1760        }
     1761      }
     1762    },
    17481763    "@types/glob": {
    17491764      "version": "7.1.3",
  • src/Clients/Angular/finki-chattery/package.json

    r7899209 r79ae621  
    2929    "@ngrx/store-devtools": "^11.0.1",
    3030    "@ngx-translate/core": "^13.0.0",
     31    "@tinymce/tinymce-angular": "^4.0.0",
    3132    "moment": "^2.29.1",
    3233    "ng2-file-upload": "^1.4.0",
  • src/Clients/Angular/finki-chattery/src/app/app.component.ts

    r7899209 r79ae621  
    11import { Component, OnInit } from '@angular/core';
    2 import { LoaderService } from './core/services';
     2import { LoaderService, RedirectService } from './core/services';
    33
    44@Component({
     
    88})
    99export class AppComponent implements OnInit {
    10   constructor(public loader: LoaderService) {}
     10  constructor(public loader: LoaderService, private redirect: RedirectService) {}
    1111
    12   ngOnInit(): void {}
     12  ngOnInit(): void {
     13    this.redirect.redirectLoggedInUser();
     14  }
    1315}
  • src/Clients/Angular/finki-chattery/src/app/modules/questioning/components/questioning-components.ts

    r7899209 r79ae621  
    33import { QuestionsPreviewGeneralComponent } from './questions-preview-general/questions-preview-general.component';
    44import { QuestionsSearchComponent } from './questions-search/questions-search.component';
     5import { AskQuestionComponent } from './ask-question/ask-question.component';
    56
    67export const QUESTIONING_COMPONENTS: any[] = [
     
    89  QuestionsPreviewGeneralComponent,
    910  QuestioningGeneralComponent,
    10   QuestionsSearchComponent
     11  QuestionsSearchComponent,
     12  AskQuestionComponent
    1113];
  • src/Clients/Angular/finki-chattery/src/app/modules/questioning/questioning.routes.ts

    r7899209 r79ae621  
    55import { QuestionsPreviewGeneralComponent } from './components/questions-preview-general/questions-preview-general.component';
    66import { QuestionsSearchComponent } from './components/questions-search/questions-search.component';
     7import { AuthorizedStudentGuard } from 'src/app/core/guards/authorized-student.guard';
     8import { AskQuestionComponent } from './components/ask-question/ask-question.component';
    79
    810const routes: Routes = [
     
    2224      },
    2325      {
     26        path: 'ask',
     27        pathMatch: 'full',
     28        component: AskQuestionComponent,
     29        canActivate: [AuthorizedStudentGuard]
     30      }
     31      {
    2432        path: ':questionUid',
    2533        component: QuestionPreviewGeneralComponent
  • src/Clients/Angular/finki-chattery/src/app/shared-app/models/index.ts

    r7899209 r79ae621  
    44export * from './category-state-view-models.models';
    55export * from './question-state-enums.models';
     6export * from './categories.models';
  • src/Clients/Angular/finki-chattery/src/app/shared-app/shared-app.module.ts

    r7899209 r79ae621  
    77import { NgxMaterialTimepickerModule } from 'ngx-material-timepicker';
    88import { FileUploadModule } from 'ng2-file-upload';
     9import { EditorModule } from '@tinymce/tinymce-angular';
    910
    1011import { COMPONENTS } from './components/components';
     
    2526    FlexLayoutModule,
    2627    FileUploadModule,
    27     NgxMaterialTimepickerModule
     28    NgxMaterialTimepickerModule,
     29    EditorModule
    2830  ],
    2931  exports: [
     
    3840    DIRECTIVES,
    3941    PIPES,
    40     SharedMaterialModule
     42    SharedMaterialModule,
     43    EditorModule
    4144  ]
    4245})
Note: See TracChangeset for help on using the changeset viewer.