Commit 15bdd77
authored
Refactor publish mode logic remove unused code (#947)
* Remove diagnostic file writing from AppEnvironment
Eliminate ApplicationDiagnosticPath and all file-writing logic for diagnostics. Diagnostics are now stored only in memory, and AddDiagnostics no longer supports writing to disk. Cleans up related properties and methods.
* Remove unused writable options infrastructure
Removed IWritableOptions<T> interface, its WritableOptions<T> implementation, and the AddWritableOptions<T> DI extension.
* Remove custom MSAL webview HTML and loader class
Removed MsalSystemWebViewOptions.cs and the associated auth-msalsuccess.html and auth-msalerror.html files. This eliminates the use of custom HTML pages for MSAL authentication success and error states, along with the code that loaded and provided these pages.
* Remove Debug_wwwroot config and related conditionals
Clean up project files by removing the Debug_wwwroot configuration and all associated conditional logic.
* Remove publishmode variable from build scripts
Simplified build-bravo.yaml and publish.cmd by removing the publishmode variable and related AdditionalConstants property. The publish mode is now determined solely by the --self-contained parameter, reducing redundancy and streamlining the build process.1 parent 183f2a3 commit 15bdd77
14 files changed
Lines changed: 26 additions & 281 deletions
File tree
- .azure/pipelines
- src
- Infrastructure
- Authentication
- Configuration
- Options
- Extensions
- wwwroot
- test/Bravo.Tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
| 76 | + | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | | - | |
24 | | - | |
25 | 20 | | |
26 | 21 | | |
27 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
46 | 36 | | |
47 | 37 | | |
48 | 38 | | |
| |||
131 | 121 | | |
132 | 122 | | |
133 | 123 | | |
134 | | - | |
| 124 | + | |
135 | 125 | | |
136 | 126 | | |
137 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
| 122 | + | |
124 | 123 | | |
125 | | - | |
126 | | - | |
127 | 124 | | |
128 | | - | |
| 125 | + | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
| |||
160 | 157 | | |
161 | 158 | | |
162 | 159 | | |
163 | | - | |
164 | | - | |
165 | 160 | | |
166 | 161 | | |
167 | 162 | | |
| |||
182 | 177 | | |
183 | 178 | | |
184 | 179 | | |
185 | | - | |
| 180 | + | |
186 | 181 | | |
187 | 182 | | |
188 | 183 | | |
189 | 184 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | 185 | | |
196 | 186 | | |
197 | 187 | | |
| |||
220 | 210 | | |
221 | 211 | | |
222 | 212 | | |
223 | | - | |
224 | 213 | | |
225 | 214 | | |
226 | 215 | | |
227 | 216 | | |
228 | 217 | | |
229 | 218 | | |
230 | 219 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | 220 | | |
262 | 221 | | |
263 | 222 | | |
| |||
308 | 267 | | |
309 | 268 | | |
310 | 269 | | |
311 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
312 | 282 | | |
313 | | - | |
314 | 283 | | |
315 | 284 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 0 additions & 75 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| |||
0 commit comments