Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • web-et-numerique / Factory / Resin / Client
1 result
Select Git revision
  • 354-actualites-partage-article-via-rs-image-d-illus-a-la-place-du-logo-res-in
  • 582-modification-fiche-structure-offre-structure-vs-offre-accompagnant-numerique-ordre-des-blocs
  • 630-bo-admin-fonction-2
  • 673-fiche-structure-mise-en-forme-des-rs
  • 722-envsubst-client-side-conf
  • 723-structures-l-api-ne-prend-pas-en-compte-l-offre-des-mediateurs
  • 728-cartographie-ordre-d-affichage-de-la-liste
  • 734-actualites-menu-en-mobile
  • dev
  • feat/nginx-security
  • master
  • renovate/bluehalo-ngx-leaflet-20.x
  • renovate/chokidar-4.x
  • renovate/chromatic-com-storybook-4.x
  • renovate/devdependencies-(non-major)
  • renovate/leaflet.locatecontrol-0.x
  • renovate/major-ag-grid-monorepo
  • renovate/major-angular-cli-monorepo
  • renovate/major-angular-eslint-monorepo
  • renovate/major-angular-monorepo
  • renovate/major-angularmaterial-monorepo
  • renovate/major-storybook-monorepo
  • renovate/major-typescript-eslint-monorepo
  • renovate/ng-packagr-20.x
  • renovate/ngx-matomo-client-8.x
  • renovate/ngx-toastr-19.x
  • renovate/npm-11.x
  • wip_3.4
  • 1.1.0
  • v0.0.1
  • v0.0.2
  • v0.0.3
  • v1.1.0
  • v1.10.0
  • v1.11.0
  • v1.11.1
  • v1.12.0
  • v1.12.1
  • v1.13.0
  • v1.14.0
  • v1.15.0
  • v1.16.0
  • v1.16.1
  • v1.16.2
  • v1.16.3
  • v1.17.0
  • v1.17.1
  • v1.17.2
  • v1.17.3
  • v1.2.0
  • v1.3.0
  • v1.4.0
  • v1.5.0
  • v1.6.0
  • v1.6.1
  • v1.7.0
  • v1.8.0
  • v1.9.0
  • v1.9.1
  • v2.0.0
  • v2.0.0-beta1
  • v2.0.0-beta1.1
  • v2.0.0-beta2
  • v2.0.0-beta2.1
  • v2.0.0-beta2.2
  • v2.0.0-beta4
  • v2.0.0-beta5
  • v2.0.1
  • v2.0.2
  • v2.1.0
  • v2.1.1
  • v2.1.2
  • v2.2.0
  • v2.3.0
  • v2.3.1
  • v2.3.2
  • v2.3.3
  • v2.4.0
  • v2.4.1
  • v2.4.2
  • v2.5.0
  • v3.0.0
  • v3.0.1
  • v3.0.2
  • v3.1.0
  • v3.1.0-openshift
  • v3.2.0
  • v3.2.1
  • v3.2.2
  • v3.3.0
  • v3.3.1
  • v3.4.0
  • v3.4.1
  • v3.4.2
  • v3.4.3
  • v4.0.0
  • v4.0.1
  • v4.0.2
  • v4.1.0
  • v4.1.1
100 results
Show changes

Commits on Source 10

65 files
+ 268
228
Compare changes
  • Side-by-side
  • Inline

Files

+16 −4
Original line number Original line Diff line number Diff line
{
{
  "printWidth": 120,
  "printWidth": 128,
  "singleQuote": true,
  "useTabs": false,
  "tabWidth": 2,
  "tabWidth": 2,
  "useTabs": false,
  "semi": true,
  "semi": true,
  "bracketSpacing": true
  "singleQuote": true,
  "quoteProps": "as-needed",
  "jsxSingleQuote": true,
  "trailingComma": "none",
  "bracketSpacing": true,
  "bracketSameLine": true,
  "arrowParens": "always",
  "requirePragma": false,
  "insertPragma": false,
  "proseWrap": "preserve",
  "htmlWhitespaceSensitivity": "ignore",
  "vueIndentScriptAndStyle": false,
  "endOfLine": "lf",
  "embeddedLanguageFormatting": "auto"
}
}
Original line number Original line Diff line number Diff line
@@ -36,7 +36,7 @@ export class ClaimStructureComponent implements OnInit {
      });
      });
  }
  }


  public claimedStructure(event: boolean): void {
  public claimedStructure(_event: boolean): void {
    this.isClaimedStructure = !this.isClaimedStructure;
    this.isClaimedStructure = !this.isClaimedStructure;
  }
  }
}
}
Original line number Original line Diff line number Diff line
@@ -18,7 +18,7 @@ export class ManageEmployersComponent implements OnInit {
  public validatedEmployers: Employer[] = [];
  public validatedEmployers: Employer[] = [];
  public unvalidatedEmployers: Employer[] = [];
  public unvalidatedEmployers: Employer[] = [];
  public deleteModalOpenned = false;
  public deleteModalOpenned = false;
  public validatedEmployersName: String[] = [];
  public validatedEmployersName: string[] = [];
  public mergeEmployerModalOpenned = false;
  public mergeEmployerModalOpenned = false;
  public employerToDelete: Employer = null;
  public employerToDelete: Employer = null;
  public mergeOpe: any = {
  public mergeOpe: any = {
@@ -209,8 +209,8 @@ export class ManageEmployersComponent implements OnInit {
    }
    }
  }
  }


  public validateEmployer(employerId: string, context?): void {
  public validateEmployer(employerId: string, _context?): void {
    this.adminService.validateEmployer(employerId).subscribe((data) => {
    this.adminService.validateEmployer(employerId).subscribe((_data) => {
      this.findValidatedEmployers();
      this.findValidatedEmployers();
      this.findUnvalidatedEmployers();
      this.findUnvalidatedEmployers();
    });
    });
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@ export class ManageJobsComponent implements OnInit {
  public validatedJobs: Job[] = [];
  public validatedJobs: Job[] = [];
  public unvalidatedJobs: Job[] = [];
  public unvalidatedJobs: Job[] = [];
  public deleteModalOpenned = false;
  public deleteModalOpenned = false;
  public validatedJobsName: String[] = [];
  public validatedJobsName: string[] = [];
  public mergeJobModalOpenned = false;
  public mergeJobModalOpenned = false;
  public jobToDelete: Job = null;
  public jobToDelete: Job = null;
  public mergeOpe: any = {
  public mergeOpe: any = {
@@ -246,8 +246,8 @@ export class ManageJobsComponent implements OnInit {
    }
    }
  }
  }


  public validateJob(jobId: string, context?): void {
  public validateJob(jobId: string, _context?): void {
    this.adminService.validateJob(jobId).subscribe((data) => {
    this.adminService.validateJob(jobId).subscribe((_data) => {
      this.findValidatedJobs();
      this.findValidatedJobs();
      this.findUnvalidatedJobs();
      this.findUnvalidatedJobs();
    });
    });
Original line number Original line Diff line number Diff line
@@ -18,9 +18,9 @@ export class ManageUsersComponent {
  public attachedUsers: User[] = [];
  public attachedUsers: User[] = [];
  public unAttachedUsers: User[] = [];
  public unAttachedUsers: User[] = [];
  public unVerifiedUsers: User[] = [];
  public unVerifiedUsers: User[] = [];
  public validatedJobsName: String[] = [];
  public validatedJobsName: string[] = [];
  public validatedJobs: Job[] = [];
  public validatedJobs: Job[] = [];
  public validatedEmployersName: String[] = [];
  public validatedEmployersName: string[] = [];
  public validatedEmployers: Employer[] = [];
  public validatedEmployers: Employer[] = [];
  public deleteModalOpenned = false;
  public deleteModalOpenned = false;
  public editJobModalOpenned = false;
  public editJobModalOpenned = false;
Original line number Original line Diff line number Diff line
@@ -34,7 +34,7 @@ export class NewsletterUsersComponent {
  public unsubscribeEmail(email: string, shouldUnsubscribe: boolean): void {
  public unsubscribeEmail(email: string, shouldUnsubscribe: boolean): void {
    this.toggleUnsubscribeModal(email);
    this.toggleUnsubscribeModal(email);
    if (shouldUnsubscribe) {
    if (shouldUnsubscribe) {
      this.adminService.unsubscribeEmail(email).subscribe((data) => {
      this.adminService.unsubscribeEmail(email).subscribe((_data) => {
        this.subscriptions = this.subscriptions.filter((obj) => obj.email !== email);
        this.subscriptions = this.subscriptions.filter((obj) => obj.email !== email);
        this.subscriptionsCount = this.subscriptions.length;
        this.subscriptionsCount = this.subscriptions.length;
      });
      });
Original line number Original line Diff line number Diff line
@@ -33,7 +33,7 @@ describe('HomeComponent', () => {


  it('getAddress(): should getAddress', () => {
  it('getAddress(): should getAddress', () => {
    spyOn(navigator.geolocation, 'getCurrentPosition').and.callFake(() => {
    spyOn(navigator.geolocation, 'getCurrentPosition').and.callFake(() => {
      const position = {
      return {
        coords: {
        coords: {
          accuracy: 1490,
          accuracy: 1490,
          altitude: null,
          altitude: null,
@@ -44,7 +44,6 @@ describe('HomeComponent', () => {
          speed: null,
          speed: null,
        },
        },
      };
      };
      return position;
    });
    });
    component.getLocation();
    component.getLocation();
    expect(navigator.geolocation.getCurrentPosition).toHaveBeenCalled();
    expect(navigator.geolocation.getCurrentPosition).toHaveBeenCalled();
Original line number Original line Diff line number Diff line
@@ -116,8 +116,10 @@ export class CartoComponent implements OnInit {
      structures.map(async (structure) => {
      structures.map(async (structure) => {
        if (this.geolocation) {
        if (this.geolocation) {
          structure = this.getStructurePosition(structure, lon, lat);
          structure = this.getStructurePosition(structure, lon, lat);
          if (this.isAdmin) {
            structure.isClaimed = await this.isClaimed(structure).toPromise();
            structure.isClaimed = await this.isClaimed(structure).toPromise();
          }
          }
        }
        return structure;
        return structure;
      })
      })
    ).then(async (structureList: Structure[]) => {
    ).then(async (structureList: Structure[]) => {
Original line number Original line Diff line number Diff line
import { Observable } from 'rxjs';
import { Observable } from 'rxjs';
import { Injectable } from '@angular/core';
import { Injectable } from '@angular/core';
import { HttpInterceptor } from '@angular/common/http';
import { HttpInterceptor, HttpHandler, HttpEvent, HttpRequest, HttpHeaders } from '@angular/common/http';
import { HttpRequest } from '@angular/common/http';
import { HttpHandler } from '@angular/common/http';
import { HttpEvent } from '@angular/common/http';
import { HttpHeaders } from '@angular/common/http';
import { AuthService } from '../services/auth.service';
import { AuthService } from '../services/auth.service';


@Injectable()
@Injectable()
Original line number Original line Diff line number Diff line
@@ -10,7 +10,7 @@ export class AccountNewsletterComponent {
  @Input() accountForm: FormGroup;
  @Input() accountForm: FormGroup;
  @Input() profile: User;
  @Input() profile: User;
  @Output() acceptNewsletter = new EventEmitter<any>();
  @Output() acceptNewsletter = new EventEmitter<any>();
  public userAcceptNewsletter: Boolean = false;
  public userAcceptNewsletter: boolean = false;


  public acceptReceiveNewsletter(accepts: boolean) {
  public acceptReceiveNewsletter(accepts: boolean) {
    this.acceptNewsletter.emit(accepts);
    this.acceptNewsletter.emit(accepts);
Original line number Original line Diff line number Diff line
import { NgModule } from '@angular/core';
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { Routes, RouterModule } from '@angular/router';
import { AdminGuard } from '../../guards/admin.guard';
import { AuthGuard } from '../../guards/auth.guard';
import { AuthGuard } from '../../guards/auth.guard';
import { RoleGuard } from '../../guards/role.guard';
import { RoleGuard } from '../../guards/role.guard';
import { StructureResolver } from '../../resolvers/structure.resolver';
import { StructureResolver } from '../../resolvers/structure.resolver';