Skip to content

Commit d02f324

Browse files
committed
Merge branch 'main' into auth/pm-29584/create-email-for-emergency-access-removal
2 parents b884efc + d1fdaa6 commit d02f324

185 files changed

Lines changed: 19975 additions & 2306 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ dotnet_naming_symbols.any_async_methods.applicable_kinds = method
7171
dotnet_naming_symbols.any_async_methods.applicable_accessibilities = *
7272
dotnet_naming_symbols.any_async_methods.required_modifiers = async
7373

74-
dotnet_naming_style.end_in_async.required_prefix =
74+
dotnet_naming_style.end_in_async.required_prefix =
7575
dotnet_naming_style.end_in_async.required_suffix = Async
7676
dotnet_naming_style.end_in_async.capitalization = pascal_case
77-
dotnet_naming_style.end_in_async.word_separator =
77+
dotnet_naming_style.end_in_async.word_separator =
7878

7979
# Obsolete warnings, this should be removed or changed to warning once we address some of the obsolete items.
8080
dotnet_diagnostic.CS0618.severity = suggestion
@@ -85,6 +85,12 @@ dotnet_diagnostic.CS0612.severity = suggestion
8585
# Remove unnecessary using directives https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0005
8686
dotnet_diagnostic.IDE0005.severity = warning
8787

88+
# Specify CultureInfo https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1304
89+
dotnet_diagnostic.CA1304.severity = warning
90+
91+
# Specify IFormatProvider https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1305
92+
dotnet_diagnostic.CA1305.severity = warning
93+
8894
# CSharp code style settings:
8995
[*.cs]
9096
# Prefer "var" everywhere

.vscode/launch.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,28 @@
6969
"preLaunchTask": "buildFullServer",
7070
"stopAll": true
7171
},
72+
{
73+
"name": "Full Server with Seeder API",
74+
"configurations": [
75+
"run-Admin",
76+
"run-API",
77+
"run-Events",
78+
"run-EventsProcessor",
79+
"run-Identity",
80+
"run-Sso",
81+
"run-Icons",
82+
"run-Billing",
83+
"run-Notifications",
84+
"run-SeederAPI"
85+
],
86+
"presentation": {
87+
"hidden": false,
88+
"group": "AA_compounds",
89+
"order": 6
90+
},
91+
"preLaunchTask": "buildFullServerWithSeederApi",
92+
"stopAll": true
93+
},
7294
{
7395
"name": "Self Host: Bit",
7496
"configurations": [
@@ -204,6 +226,17 @@
204226
},
205227
"preLaunchTask": "buildSso",
206228
},
229+
{
230+
"name": "Seeder API",
231+
"configurations": [
232+
"run-SeederAPI"
233+
],
234+
"presentation": {
235+
"hidden": false,
236+
"group": "cloud",
237+
},
238+
"preLaunchTask": "buildSeederAPI",
239+
},
207240
{
208241
"name": "Admin Self Host",
209242
"configurations": [
@@ -270,6 +303,17 @@
270303
},
271304
"preLaunchTask": "buildSso",
272305
},
306+
{
307+
"name": "Seeder API Self Host",
308+
"configurations": [
309+
"run-SeederAPI-SelfHost"
310+
],
311+
"presentation": {
312+
"hidden": false,
313+
"group": "self-host",
314+
},
315+
"preLaunchTask": "buildSeederAPI",
316+
}
273317
],
274318
"configurations": [
275319
// Configurations represent run-only scenarios so that they can be used in multiple compounds
@@ -311,6 +355,25 @@
311355
"/Views": "${workspaceFolder}/Views"
312356
}
313357
},
358+
{
359+
"name": "run-SeederAPI",
360+
"presentation": {
361+
"hidden": true,
362+
},
363+
"requireExactSource": true,
364+
"type": "coreclr",
365+
"request": "launch",
366+
"program": "${workspaceFolder}/util/SeederApi/bin/Debug/net8.0/SeederApi.dll",
367+
"args": [],
368+
"cwd": "${workspaceFolder}/util/SeederApi",
369+
"stopAtEntry": false,
370+
"env": {
371+
"ASPNETCORE_ENVIRONMENT": "Development",
372+
},
373+
"sourceFileMap": {
374+
"/Views": "${workspaceFolder}/Views"
375+
}
376+
},
314377
{
315378
"name": "run-Billing",
316379
"presentation": {
@@ -488,6 +551,27 @@
488551
"/Views": "${workspaceFolder}/Views"
489552
}
490553
},
554+
{
555+
"name": "run-SeederAPI-SelfHost",
556+
"presentation": {
557+
"hidden": true,
558+
},
559+
"requireExactSource": true,
560+
"type": "coreclr",
561+
"request": "launch",
562+
"program": "${workspaceFolder}/util/SeederApi/bin/Debug/net8.0/SeederApi.dll",
563+
"args": [],
564+
"cwd": "${workspaceFolder}/util/SeederApi",
565+
"stopAtEntry": false,
566+
"env": {
567+
"ASPNETCORE_ENVIRONMENT": "Development",
568+
"ASPNETCORE_URLS": "http://localhost:5048",
569+
"developSelfHosted": "true",
570+
},
571+
"sourceFileMap": {
572+
"/Views": "${workspaceFolder}/Views"
573+
}
574+
},
491575
{
492576
"name": "run-Admin-SelfHost",
493577
"presentation": {

.vscode/tasks.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@
4343
"label": "buildFullServer",
4444
"hide": true,
4545
"dependsOrder": "sequence",
46+
"dependsOn": [
47+
"buildAdmin",
48+
"buildAPI",
49+
"buildEventsProcessor",
50+
"buildIdentity",
51+
"buildSso",
52+
"buildIcons",
53+
"buildBilling",
54+
"buildNotifications"
55+
],
56+
},
57+
{
58+
"label": "buildFullServerWithSeederApi",
59+
"hide": true,
60+
"dependsOrder": "sequence",
4661
"dependsOn": [
4762
"buildAdmin",
4863
"buildAPI",
@@ -52,6 +67,7 @@
5267
"buildIcons",
5368
"buildBilling",
5469
"buildNotifications",
70+
"buildSeederAPI"
5571
],
5672
},
5773
{
@@ -89,6 +105,9 @@
89105
"/property:GenerateFullPaths=true",
90106
"/consoleloggerparameters:NoSummary"
91107
],
108+
"options": {
109+
"cwd": "${workspaceFolder}"
110+
},
92111
"problemMatcher": "$msCompile"
93112
},
94113
{
@@ -102,6 +121,9 @@
102121
"/property:GenerateFullPaths=true",
103122
"/consoleloggerparameters:NoSummary"
104123
],
124+
"options": {
125+
"cwd": "${workspaceFolder}"
126+
},
105127
"problemMatcher": "$msCompile"
106128
},
107129
{
@@ -115,6 +137,9 @@
115137
"/property:GenerateFullPaths=true",
116138
"/consoleloggerparameters:NoSummary"
117139
],
140+
"options": {
141+
"cwd": "${workspaceFolder}"
142+
},
118143
"problemMatcher": "$msCompile"
119144
},
120145
{
@@ -128,6 +153,9 @@
128153
"/property:GenerateFullPaths=true",
129154
"/consoleloggerparameters:NoSummary"
130155
],
156+
"options": {
157+
"cwd": "${workspaceFolder}"
158+
},
131159
"problemMatcher": "$msCompile"
132160
},
133161
{
@@ -141,6 +169,9 @@
141169
"/property:GenerateFullPaths=true",
142170
"/consoleloggerparameters:NoSummary"
143171
],
172+
"options": {
173+
"cwd": "${workspaceFolder}"
174+
},
144175
"problemMatcher": "$msCompile"
145176
},
146177
{
@@ -154,6 +185,9 @@
154185
"/property:GenerateFullPaths=true",
155186
"/consoleloggerparameters:NoSummary"
156187
],
188+
"options": {
189+
"cwd": "${workspaceFolder}"
190+
},
157191
"problemMatcher": "$msCompile"
158192
},
159193
{
@@ -167,6 +201,9 @@
167201
"/property:GenerateFullPaths=true",
168202
"/consoleloggerparameters:NoSummary"
169203
],
204+
"options": {
205+
"cwd": "${workspaceFolder}"
206+
},
170207
"problemMatcher": "$msCompile"
171208
},
172209
{
@@ -180,6 +217,29 @@
180217
"/property:GenerateFullPaths=true",
181218
"/consoleloggerparameters:NoSummary"
182219
],
220+
"options": {
221+
"cwd": "${workspaceFolder}"
222+
},
223+
"problemMatcher": "$msCompile",
224+
"group": {
225+
"kind": "build",
226+
"isDefault": true
227+
}
228+
},
229+
{
230+
"label": "buildSeederAPI",
231+
"hide": true,
232+
"command": "dotnet",
233+
"type": "process",
234+
"args": [
235+
"build",
236+
"${workspaceFolder}/util/SeederApi/SeederApi.csproj",
237+
"/property:GenerateFullPaths=true",
238+
"/consoleloggerparameters:NoSummary"
239+
],
240+
"options": {
241+
"cwd": "${workspaceFolder}"
242+
},
183243
"problemMatcher": "$msCompile",
184244
"group": {
185245
"kind": "build",
@@ -197,6 +257,9 @@
197257
"/property:GenerateFullPaths=true",
198258
"/consoleloggerparameters:NoSummary"
199259
],
260+
"options": {
261+
"cwd": "${workspaceFolder}"
262+
},
200263
"problemMatcher": "$msCompile",
201264
"group": {
202265
"kind": "build",
@@ -214,6 +277,9 @@
214277
"/property:GenerateFullPaths=true",
215278
"/consoleloggerparameters:NoSummary"
216279
],
280+
"options": {
281+
"cwd": "${workspaceFolder}"
282+
},
217283
"problemMatcher": "$msCompile",
218284
"group": {
219285
"kind": "build",
@@ -224,6 +290,9 @@
224290
"label": "test",
225291
"type": "shell",
226292
"command": "dotnet test",
293+
"options": {
294+
"cwd": "${workspaceFolder}"
295+
},
227296
"group": {
228297
"kind": "test",
229298
"isDefault": true

Directory.Build.props

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@
1313
<TreatWarningsAsErrors Condition="'$(TreatWarningsAsErrors)' == ''">true</TreatWarningsAsErrors>
1414
</PropertyGroup>
1515

16-
16+
1717
<PropertyGroup>
18-
18+
1919
<MicrosoftNetTestSdkVersion>18.0.1</MicrosoftNetTestSdkVersion>
20-
20+
2121
<XUnitVersion>2.6.6</XUnitVersion>
22-
22+
2323
<XUnitRunnerVisualStudioVersion>2.5.6</XUnitRunnerVisualStudioVersion>
24-
24+
2525
<CoverletCollectorVersion>6.0.0</CoverletCollectorVersion>
26-
26+
2727
<NSubstituteVersion>5.1.0</NSubstituteVersion>
28-
28+
2929
<AutoFixtureXUnit2Version>4.18.1</AutoFixtureXUnit2Version>
30-
30+
3131
<AutoFixtureAutoNSubstituteVersion>4.18.1</AutoFixtureAutoNSubstituteVersion>
3232
</PropertyGroup>
33-
</Project>
33+
</Project>

0 commit comments

Comments
 (0)