Compare commits

...

2 Commits

Author SHA1 Message Date
Stefan 8ecf97ed29 -
Playwright Tests / test (push) Has been cancelled
2026-06-12 18:21:51 +02:00
Stefan ae5c90b915 Refactor FdsConfig init; update copy task and assets
- FdsConfig.Initialize now accepts IConfiguration for DI support; Program.cs updated to pass builder.Configuration.
- Gulp "copy" task logs copied files for better feedback.
- Bank statement file input now accepts all file types.
- Updated glyphicon font binary assets.
2026-06-09 11:31:31 +02:00
11 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ public class Program
FuchsOcmsIntranet.Initialize(builder.Configuration);
// Initialize FdsConfig so FdsMfr / FdsMfrClient can resolve connection strings
fds.FdsConfig.Initialize();
fds.FdsConfig.Initialize(builder.Configuration);
// FDS MFR singleton — ILogger<FdsMfr> and ILoggerFactory are supplied by the ASP.NET Core DI container
builder.Services.AddSingleton<fds.IFdsMfr, fds.FdsMfr>();
+1 -1
View File
@@ -147,7 +147,7 @@ gulp.task("copy", async () => {
const jobs = [];
for (const cpy of copyconfig) {
jobs.push(
pipeline(gulp.src(cpy.src, { allowEmpty: true }), gulp.dest(cpy.dest), preservetimeSafe())
pipeline(gulp.src(cpy.src, { allowEmpty: true }), gulp.dest(cpy.dest), preservetimeSafe(), logSink("Copied: "))
);
}
await Promise.all(jobs);
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -2
View File
@@ -36,8 +36,7 @@ let $bcol = {
{ name: 'EndToEndReference', label: 'Referenz', type: 'string' }
]),
bsu: new fields_definition('Kontobericht', 'Kontoberichte', [
// Accepts both MT940 (SWIFT text: .sta/.mt940/.txt) and CAMT (ISO 20022 XML: .xml/.camt).
{ name: 'bsu', label: 'Export der Buchungen (MT940 oder CAMT)', type: 'file', required: true, prop: { multiple: true, accept: '.sta,.mt940,.txt,.xml,.camt,application/xml,text/xml,text/plain' } }
{ name: 'bsu', label: 'Export der Buchungen', type: 'file', required: true, prop: { multiple: true } }
])
};
let gi = (n, c) => $$.sc(`glyphicon glyphicon-${n}`).aC(c);
+5
View File
@@ -26,6 +26,11 @@ public static class FdsConfig
.Build();
}
public static void Initialize(IConfiguration configuration)
{
_config = configuration;
}
// -- Connection strings ---------------------------------------------------
internal static string SQLConnectionString() =>
Current.GetConnectionString("fuchs_ConnectionString")
+4 -1
View File
@@ -13,8 +13,11 @@
<BuildType Solution="server02.processweb.de|Any CPU" Project="Debug" />
</Project>
<Project Path="CAMTParser/CAMTParser.csproj">
<BuildType Solution="db-dev.processweb.de|*" Project="Debug" />
<BuildType Solution="db-dev.processweb.de|*" Project="Release" />
<BuildType Solution="server02.processweb.de|*" Project="Debug" />
<Build Solution="db-dev.processweb.de|*" Project="false" />
<Build Solution="Debug|*" Project="false" />
<Build Solution="server02.processweb.de|*" Project="false" />
</Project>
<Project Path="Fuchs.Tests/Fuchs.Tests.csproj">
<BuildType Solution="db-dev.processweb.de|*" Project="Debug" />
+1 -1
Submodule OCORE updated: 3cf8cd1dd5...8ee00b4eec