Skip to content

Commit 9eb2997

Browse files
committed
deploy: 602ff1f
1 parent 8df8fcd commit 9eb2997

File tree

19 files changed

+367
-349
lines changed

19 files changed

+367
-349
lines changed

injectables/PasswdService.html

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ <h3 id="methods">
420420

421421
<tr>
422422
<td class="col-md-4">
423-
<div class="io-line">Defined in <a href="" data-line="266"
424-
class="link-to-prism">src/management/passwd/passwd.service.ts:266</a></div>
423+
<div class="io-line">Defined in <a href="" data-line="272"
424+
class="link-to-prism">src/management/passwd/passwd.service.ts:272</a></div>
425425
</td>
426426
</tr>
427427

@@ -513,8 +513,8 @@ <h3 id="methods">
513513

514514
<tr>
515515
<td class="col-md-4">
516-
<div class="io-line">Defined in <a href="" data-line="204"
517-
class="link-to-prism">src/management/passwd/passwd.service.ts:204</a></div>
516+
<div class="io-line">Defined in <a href="" data-line="210"
517+
class="link-to-prism">src/management/passwd/passwd.service.ts:210</a></div>
518518
</td>
519519
</tr>
520520

@@ -583,8 +583,8 @@ <h3 id="methods">
583583

584584
<tr>
585585
<td class="col-md-4">
586-
<div class="io-line">Defined in <a href="" data-line="469"
587-
class="link-to-prism">src/management/passwd/passwd.service.ts:469</a></div>
586+
<div class="io-line">Defined in <a href="" data-line="475"
587+
class="link-to-prism">src/management/passwd/passwd.service.ts:475</a></div>
588588
</td>
589589
</tr>
590590

@@ -623,8 +623,8 @@ <h3 id="methods">
623623

624624
<tr>
625625
<td class="col-md-4">
626-
<div class="io-line">Defined in <a href="" data-line="327"
627-
class="link-to-prism">src/management/passwd/passwd.service.ts:327</a></div>
626+
<div class="io-line">Defined in <a href="" data-line="333"
627+
class="link-to-prism">src/management/passwd/passwd.service.ts:333</a></div>
628628
</td>
629629
</tr>
630630

@@ -693,8 +693,8 @@ <h3 id="methods">
693693

694694
<tr>
695695
<td class="col-md-4">
696-
<div class="io-line">Defined in <a href="" data-line="304"
697-
class="link-to-prism">src/management/passwd/passwd.service.ts:304</a></div>
696+
<div class="io-line">Defined in <a href="" data-line="310"
697+
class="link-to-prism">src/management/passwd/passwd.service.ts:310</a></div>
698698
</td>
699699
</tr>
700700

@@ -775,8 +775,8 @@ <h3 id="methods">
775775

776776
<tr>
777777
<td class="col-md-4">
778-
<div class="io-line">Defined in <a href="" data-line="445"
779-
class="link-to-prism">src/management/passwd/passwd.service.ts:445</a></div>
778+
<div class="io-line">Defined in <a href="" data-line="451"
779+
class="link-to-prism">src/management/passwd/passwd.service.ts:451</a></div>
780780
</td>
781781
</tr>
782782

@@ -815,8 +815,8 @@ <h3 id="methods">
815815

816816
<tr>
817817
<td class="col-md-4">
818-
<div class="io-line">Defined in <a href="" data-line="141"
819-
class="link-to-prism">src/management/passwd/passwd.service.ts:141</a></div>
818+
<div class="io-line">Defined in <a href="" data-line="147"
819+
class="link-to-prism">src/management/passwd/passwd.service.ts:147</a></div>
820820
</td>
821821
</tr>
822822

@@ -885,8 +885,8 @@ <h3 id="methods">
885885

886886
<tr>
887887
<td class="col-md-4">
888-
<div class="io-line">Defined in <a href="" data-line="430"
889-
class="link-to-prism">src/management/passwd/passwd.service.ts:430</a></div>
888+
<div class="io-line">Defined in <a href="" data-line="436"
889+
class="link-to-prism">src/management/passwd/passwd.service.ts:436</a></div>
890890
</td>
891891
</tr>
892892

@@ -1025,8 +1025,8 @@ <h3 id="methods">
10251025

10261026
<tr>
10271027
<td class="col-md-4">
1028-
<div class="io-line">Defined in <a href="" data-line="392"
1029-
class="link-to-prism">src/management/passwd/passwd.service.ts:392</a></div>
1028+
<div class="io-line">Defined in <a href="" data-line="398"
1029+
class="link-to-prism">src/management/passwd/passwd.service.ts:398</a></div>
10301030
</td>
10311031
</tr>
10321032

@@ -1095,8 +1095,8 @@ <h3 id="methods">
10951095

10961096
<tr>
10971097
<td class="col-md-4">
1098-
<div class="io-line">Defined in <a href="" data-line="349"
1099-
class="link-to-prism">src/management/passwd/passwd.service.ts:349</a></div>
1098+
<div class="io-line">Defined in <a href="" data-line="355"
1099+
class="link-to-prism">src/management/passwd/passwd.service.ts:355</a></div>
11001100
</td>
11011101
</tr>
11021102

@@ -1165,8 +1165,8 @@ <h3 id="methods">
11651165

11661166
<tr>
11671167
<td class="col-md-4">
1168-
<div class="io-line">Defined in <a href="" data-line="456"
1169-
class="link-to-prism">src/management/passwd/passwd.service.ts:456</a></div>
1168+
<div class="io-line">Defined in <a href="" data-line="462"
1169+
class="link-to-prism">src/management/passwd/passwd.service.ts:462</a></div>
11701170
</td>
11711171
</tr>
11721172

@@ -1539,6 +1539,12 @@ <h3 id="inputs">
15391539
//envoi du mail
15401540
try {
15411541
const identity &#x3D; (await this.identities.findOne({ &#x27;inetOrgPerson.uid&#x27;: initDto.uid })) as Identities;
1542+
//test si on peu reninitialiser le compte
1543+
if ( identity.dataStatus &#x3D;&#x3D; DataStatusEnum.INACTIVE){
1544+
throw new BadRequestException(
1545+
&#x27;Une erreur est survenue : Tentative de réinitialisation de mot de passe impossible&#x27;,
1546+
);
1547+
}
15421548
//prise des parametres
15431549
const params &#x3D; await this.passwdadmService.getPolicies();
15441550
const k &#x3D; randomInt(100000, 999999);

interfaces/CipherData.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,12 @@ <h3 id="inputs">Properties</h3>
305305
//envoi du mail
306306
try {
307307
const identity &#x3D; (await this.identities.findOne({ &#x27;inetOrgPerson.uid&#x27;: initDto.uid })) as Identities;
308+
//test si on peu reninitialiser le compte
309+
if ( identity.dataStatus &#x3D;&#x3D; DataStatusEnum.INACTIVE){
310+
throw new BadRequestException(
311+
&#x27;Une erreur est survenue : Tentative de réinitialisation de mot de passe impossible&#x27;,
312+
);
313+
}
308314
//prise des parametres
309315
const params &#x3D; await this.passwdadmService.getPolicies();
310316
const k &#x3D; randomInt(100000, 999999);

interfaces/TokenData.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,12 @@ <h3 id="inputs">Properties</h3>
344344
//envoi du mail
345345
try {
346346
const identity &#x3D; (await this.identities.findOne({ &#x27;inetOrgPerson.uid&#x27;: initDto.uid })) as Identities;
347+
//test si on peu reninitialiser le compte
348+
if ( identity.dataStatus &#x3D;&#x3D; DataStatusEnum.INACTIVE){
349+
throw new BadRequestException(
350+
&#x27;Une erreur est survenue : Tentative de réinitialisation de mot de passe impossible&#x27;,
351+
);
352+
}
347353
//prise des parametres
348354
const params &#x3D; await this.passwdadmService.getPolicies();
349355
const k &#x3D; randomInt(100000, 999999);

js/search/search_index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/BackendsModule.html

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -119,93 +119,93 @@
119119
</g>
120120
<g id="clust4" class="cluster">
121121
<title>cluster_BackendsModule_exports</title>
122-
<polygon fill="none" stroke="black" points="226,-208 226,-260 358,-260 358,-208 226,-208"/>
123-
</g>
124-
<g id="clust6" class="cluster">
125-
<title>cluster_BackendsModule_providers</title>
126-
<polygon fill="none" stroke="black" points="481,-78 481,-130 653,-130 653,-78 481,-78"/>
122+
<polygon fill="none" stroke="black" points="290,-208 290,-260 422,-260 422,-208 290,-208"/>
127123
</g>
128124
<g id="clust3" class="cluster">
129125
<title>cluster_BackendsModule_imports</title>
130-
<polygon fill="none" stroke="black" points="16,-78 16,-130 473,-130 473,-78 16,-78"/>
126+
<polygon fill="none" stroke="black" points="196,-78 196,-130 653,-130 653,-78 196,-78"/>
127+
</g>
128+
<g id="clust6" class="cluster">
129+
<title>cluster_BackendsModule_providers</title>
130+
<polygon fill="none" stroke="black" points="16,-78 16,-130 188,-130 188,-78 16,-78"/>
131131
</g>
132132
<!-- AgentsModule -->
133133
<g id="node1" class="node">
134134
<title>AgentsModule</title>
135-
<polygon fill="#8dd3c7" stroke="black" points="464.71,-122 461.71,-126 440.71,-126 437.71,-122 365.29,-122 365.29,-86 464.71,-86 464.71,-122"/>
136-
<text text-anchor="middle" x="415" y="-99.8" font-family="Times,serif" font-size="14.00">AgentsModule</text>
135+
<polygon fill="#8dd3c7" stroke="black" points="644.71,-122 641.71,-126 620.71,-126 617.71,-122 545.29,-122 545.29,-86 644.71,-86 644.71,-122"/>
136+
<text text-anchor="middle" x="595" y="-99.8" font-family="Times,serif" font-size="14.00">AgentsModule</text>
137137
</g>
138138
<!-- BackendsModule -->
139139
<g id="node5" class="node">
140140
<title>BackendsModule</title>
141-
<polygon fill="#8dd3c7" stroke="black" points="348.97,-187 345.97,-191 324.97,-191 321.97,-187 235.03,-187 235.03,-151 348.97,-151 348.97,-187"/>
142-
<text text-anchor="middle" x="292" y="-164.8" font-family="Times,serif" font-size="14.00">BackendsModule</text>
141+
<polygon fill="#8dd3c7" stroke="black" points="412.97,-187 409.97,-191 388.97,-191 385.97,-187 299.03,-187 299.03,-151 412.97,-151 412.97,-187"/>
142+
<text text-anchor="middle" x="356" y="-164.8" font-family="Times,serif" font-size="14.00">BackendsModule</text>
143143
</g>
144144
<!-- AgentsModule&#45;&gt;BackendsModule -->
145145
<g id="edge1" class="edge">
146146
<title>AgentsModule&#45;&gt;BackendsModule</title>
147-
<path fill="none" stroke="black" d="M415,-122.02C415,-139.37 415,-163 415,-163 415,-163 359.18,-163 359.18,-163"/>
148-
<polygon fill="black" stroke="black" points="359.18,-159.5 349.18,-163 359.18,-166.5 359.18,-159.5"/>
147+
<path fill="none" stroke="black" d="M595,-122.11C595,-141.34 595,-169 595,-169 595,-169 423.25,-169 423.25,-169"/>
148+
<polygon fill="black" stroke="black" points="423.25,-165.5 413.25,-169 423.25,-172.5 423.25,-165.5"/>
149149
</g>
150150
<!-- IdentitiesModule -->
151151
<g id="node2" class="node">
152152
<title>IdentitiesModule</title>
153-
<polygon fill="#8dd3c7" stroke="black" points="347.65,-122 344.65,-126 323.65,-126 320.65,-122 236.35,-122 236.35,-86 347.65,-86 347.65,-122"/>
154-
<text text-anchor="middle" x="292" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesModule</text>
153+
<polygon fill="#8dd3c7" stroke="black" points="527.65,-122 524.65,-126 503.65,-126 500.65,-122 416.35,-122 416.35,-86 527.65,-86 527.65,-122"/>
154+
<text text-anchor="middle" x="472" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesModule</text>
155155
</g>
156156
<!-- IdentitiesModule&#45;&gt;BackendsModule -->
157157
<g id="edge2" class="edge">
158158
<title>IdentitiesModule&#45;&gt;BackendsModule</title>
159-
<path fill="none" stroke="black" d="M292,-122.11C292,-122.11 292,-140.99 292,-140.99"/>
160-
<polygon fill="black" stroke="black" points="288.5,-140.99 292,-150.99 295.5,-140.99 288.5,-140.99"/>
159+
<path fill="none" stroke="black" d="M416.27,-104C409.88,-104 405.6,-104 405.6,-104 405.6,-104 405.6,-140.89 405.6,-140.89"/>
160+
<polygon fill="black" stroke="black" points="402.1,-140.89 405.6,-150.89 409.1,-140.89 402.1,-140.89"/>
161161
</g>
162162
<!-- JobsModule -->
163163
<g id="node3" class="node">
164164
<title>JobsModule</title>
165-
<polygon fill="#8dd3c7" stroke="black" points="218.44,-122 215.44,-126 194.44,-126 191.44,-122 133.56,-122 133.56,-86 218.44,-86 218.44,-122"/>
166-
<text text-anchor="middle" x="176" y="-99.8" font-family="Times,serif" font-size="14.00">JobsModule</text>
165+
<polygon fill="#8dd3c7" stroke="black" points="398.44,-122 395.44,-126 374.44,-126 371.44,-122 313.56,-122 313.56,-86 398.44,-86 398.44,-122"/>
166+
<text text-anchor="middle" x="356" y="-99.8" font-family="Times,serif" font-size="14.00">JobsModule</text>
167167
</g>
168168
<!-- JobsModule&#45;&gt;BackendsModule -->
169169
<g id="edge3" class="edge">
170170
<title>JobsModule&#45;&gt;BackendsModule</title>
171-
<path fill="none" stroke="black" d="M176,-122.02C176,-139.37 176,-163 176,-163 176,-163 225.02,-163 225.02,-163"/>
172-
<polygon fill="black" stroke="black" points="225.02,-166.5 235.02,-163 225.02,-159.5 225.02,-166.5"/>
171+
<path fill="none" stroke="black" d="M356,-122.11C356,-122.11 356,-140.99 356,-140.99"/>
172+
<polygon fill="black" stroke="black" points="352.5,-140.99 356,-150.99 359.5,-140.99 352.5,-140.99"/>
173173
</g>
174174
<!-- TasksModule -->
175175
<g id="node4" class="node">
176176
<title>TasksModule</title>
177-
<polygon fill="#8dd3c7" stroke="black" points="116.21,-122 113.21,-126 92.21,-126 89.21,-122 23.79,-122 23.79,-86 116.21,-86 116.21,-122"/>
178-
<text text-anchor="middle" x="70" y="-99.8" font-family="Times,serif" font-size="14.00">TasksModule</text>
177+
<polygon fill="#8dd3c7" stroke="black" points="296.21,-122 293.21,-126 272.21,-126 269.21,-122 203.79,-122 203.79,-86 296.21,-86 296.21,-122"/>
178+
<text text-anchor="middle" x="250" y="-99.8" font-family="Times,serif" font-size="14.00">TasksModule</text>
179179
</g>
180180
<!-- TasksModule&#45;&gt;BackendsModule -->
181181
<g id="edge4" class="edge">
182182
<title>TasksModule&#45;&gt;BackendsModule</title>
183-
<path fill="none" stroke="black" d="M70,-122.28C70,-143.32 70,-175 70,-175 70,-175 224.83,-175 224.83,-175"/>
184-
<polygon fill="black" stroke="black" points="224.83,-178.5 234.83,-175 224.83,-171.5 224.83,-178.5"/>
183+
<path fill="none" stroke="black" d="M296.31,-104C302.3,-104 306.4,-104 306.4,-104 306.4,-104 306.4,-140.89 306.4,-140.89"/>
184+
<polygon fill="black" stroke="black" points="302.9,-140.89 306.4,-150.89 309.9,-140.89 302.9,-140.89"/>
185185
</g>
186186
<!-- BackendsService -->
187187
<g id="node6" class="node">
188188
<title>BackendsService </title>
189-
<polygon fill="#fb8072" stroke="black" points="349.9,-252 234.1,-252 234.1,-216 349.9,-216 349.9,-252"/>
190-
<text text-anchor="middle" x="292" y="-229.8" font-family="Times,serif" font-size="14.00">BackendsService </text>
189+
<polygon fill="#fb8072" stroke="black" points="413.9,-252 298.1,-252 298.1,-216 413.9,-216 413.9,-252"/>
190+
<text text-anchor="middle" x="356" y="-229.8" font-family="Times,serif" font-size="14.00">BackendsService </text>
191191
</g>
192192
<!-- BackendsModule&#45;&gt;BackendsService -->
193193
<g id="edge5" class="edge">
194194
<title>BackendsModule&#45;&gt;BackendsService </title>
195-
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M292,-187.11C292,-187.11 292,-205.99 292,-205.99"/>
196-
<polygon fill="black" stroke="black" points="288.5,-205.99 292,-215.99 295.5,-205.99 288.5,-205.99"/>
195+
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M356,-187.11C356,-187.11 356,-205.99 356,-205.99"/>
196+
<polygon fill="black" stroke="black" points="352.5,-205.99 356,-215.99 359.5,-205.99 352.5,-205.99"/>
197197
</g>
198198
<!-- BackendsService -->
199199
<g id="node7" class="node">
200200
<title>BackendsService</title>
201-
<ellipse fill="#fdb462" stroke="black" cx="567" cy="-104" rx="77.57" ry="18"/>
202-
<text text-anchor="middle" x="567" y="-99.8" font-family="Times,serif" font-size="14.00">BackendsService</text>
201+
<ellipse fill="#fdb462" stroke="black" cx="102" cy="-104" rx="77.57" ry="18"/>
202+
<text text-anchor="middle" x="102" y="-99.8" font-family="Times,serif" font-size="14.00">BackendsService</text>
203203
</g>
204204
<!-- BackendsService&#45;&gt;BackendsModule -->
205205
<g id="edge6" class="edge">
206206
<title>BackendsService&#45;&gt;BackendsModule</title>
207-
<path fill="none" stroke="black" d="M567,-122.28C567,-143.32 567,-175 567,-175 567,-175 358.98,-175 358.98,-175"/>
208-
<polygon fill="black" stroke="black" points="358.98,-171.5 348.98,-175 358.98,-178.5 358.98,-171.5"/>
207+
<path fill="none" stroke="black" d="M102,-122.11C102,-141.34 102,-169 102,-169 102,-169 289,-169 289,-169"/>
208+
<polygon fill="black" stroke="black" points="289,-172.5 299,-169 289,-165.5 289,-172.5"/>
209209
</g>
210210
</g>
211211
</svg>

0 commit comments

Comments
 (0)