From 072b0a63c4ffe54d40eb2f5051a5258859b6635a Mon Sep 17 00:00:00 2001 From: Mohaimen Hasan Date: Mon, 9 Nov 2026 18:44:05 +0600 Subject: [PATCH] Done --- .gitignore | 5 -- HRM.UI/appsettings.json | 143 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+), 5 deletions(-) create mode 100644 HRM.UI/appsettings.json diff --git a/.gitignore b/.gitignore index df2dde4..776fab5 100644 --- a/.gitignore +++ b/.gitignore @@ -749,11 +749,6 @@ FodyWeavers.xsd # Additional files built by Visual Studio # End of https://www.toptal.com/developers/gitignore/api/csharp,angular,aspnetcore,visualstudio,visualstudiocode -/HRM.UI/appsettings.json -/HRM.UI/appsettings.json -/HRM.UI/appsettings.json -/HRM.UI/appsettings.json -/HRM.UI/appsettings.json # Employee photos written at runtime (approved thumbnails + photos awaiting approval). # Not source; regenerated/repopulated by the app. diff --git a/HRM.UI/appsettings.json b/HRM.UI/appsettings.json new file mode 100644 index 0000000..607abe1 --- /dev/null +++ b/HRM.UI/appsettings.json @@ -0,0 +1,143 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Warning" + } + }, + "Jwt": { + "Secret": "6A2609257D581456601B1F5367702414311F0C2E1B31110F4B383B0C3D2226043F1D7E5B170D255C3245", + "Issuer": "492609050A061C37055E31", + "Audience": "4C2629050A061C37055B250D28270D26", + "TokenLifetimeMinutes": 86400 + }, + "LDAPSettings": { + "ADServer": "100.100.100.40", // Ad Server + "ADServerPort": 389, //636 for LDAPS (SSL) + "MasterDomain": "celimited.com", + "Domain": "ease.local", + "isADLogin": "false", // only true or false + "isMFA": "false", // only true or false + "MFATimer": "2" + }, + "AppSettings": { + "DefaultDB": "spadb3", + "AttendanceDataLocation": "C:\\Local\\", + "AttendanceDataPassword": "1235", + "AttendanceCollectionType": 5, + //"Secret": "Computer ease limited, dhaka, bangladesh", + "Secret": "fB5fx0XD0nu7Xw7DJy7fLctn+Uq7haV8wngouK3/TuZM9HDoj0ksFimbVGlF+eJI", + // JWT signing key (HS512). Must be 64+ ASCII chars since the .NET 10 upgrade (IdentityModel 8 rejects shorter HS512 keys, IDX10720; Ease.Core.Utility.JwtSigningKey stretches a shorter one). Random, one per client/server, never commit it. Changing it signs everyone out once. + "downloadFolder": "D:\\Local\\ionic\\Ease.ERP.Api\\Ease.ERP.Api\\DownloadedFiles", + "API": { + "Title": "FSIE API", + "Description": "REST API" + }, + "Swagger": { + "Enabled": true + }, + "DbConfig": [ + { + "ConnectionNode": { + "ConnectionString": "server=CEL70;Database=EFT;User ID=sa;Password=;", + "Key": "spadb", + "Provider": "sql", + "SqlSyntax": "SQL" + } + } + ] + }, + "dbSettings": { + //master project DB + + //"Default": "provider=sql;sqlSyntax=SQL;server=103.197.204.164,1718;Database=MasterProjectDB;User Id=DBuser;Password=ceLEa&e2025;TrustServerCertificate=True;", + //"SqlCommandConnection": "Data Source=103.197.204.164,1718;Initial Catalog=autocrop;Persist Security Info=True; User ID=DBuser;Password=ceLEa&e2025;TrustServerCertificate=True;", // Development + + "Default": "provider=sql;sqlSyntax=SQL;server=103.197.204.164,1718;Database=MasterProjectDBBRAC;User Id= DBuser;Password=ceLEa&e2025;TrustServerCertificate=True;", + "SqlCommandConnection": "Data Source=103.197.204.164,1718;Initial Catalog=MasterProjectDBBRAC;Persist Security Info=True; User ID=DBuser;Password=ceLEa&e2025;TrustServerCertificate=True;" // Development + + }, + "Calendar": { + "RemindersEnabled": true, + "SendMail": true, + "RedirectAllMailTo": "", + "ReminderGraceMinutes": 60, + "TimeZoneId": "", + "IcsDomain": "", + "OutlookSync": "Ics", // None | Ics | Graph + "MaxAttendees": 500, + "ScheduleJobsEnabled": true, + "ScheduleEmailsEnabled": true + }, + "EmailSettings": { + //"WebAddress": "https://celclouds.com/synoviahr/", + // live + "WebAddress": "http://37.61.216.162/sanofi/", // UAT + "SendMethod": "SMTP", + "EmailServer": "celimited.com", + "FromAddress": "gtlm@celimited.com", + "UserID": "gtlm@celimited.com", + "Password": "4A2218420C245F295C76", + "isSSO": "false", + "isNewDashboard": "true", + "PortNumber": "587", + "EnableSSL": "YES", + "SingleSignOn": "NO", + "LDAP": "CEL14" + + }, + "OpenAI": { + "ApiKey": "E71627443D1B3B0F6917242B7A2D213648250712000B17165C0E2D1F7E2F6E21022D24253E5D025E0D53607B5D0C5023007536330C307A73203938316E5D09393F1F3154284411121E7C1A7B08740D193E3B55101D03082F222809170911203F1F1F0F4319081E222B04071A10202F2E152F4724223D223D021F794420062354351C06343A000A31537438203037100C631E1508713637232733345A1C1F224D0323222E2F", + "Model": "gpt-5" + }, + "Approver": { + "ApproverOneId": "1", + "ApproverTwoId": "2", + "Balance": "1120000" + }, + "EmployeeApiInfo": { + "UserId": "sanofi", + "Password": "x" + }, + "AdminPendingJob": { + "Profile": "Admin", + "MedicalClaim": "x" + }, + "RDLCLocation": "", + "AllowedHosts": "*", + + // for Synovia only + // the emails has to be comma separated (,) not comma + // subordinates of first one and others will be just CC + //"SalesEmpEmail": "raq@synoviapharma.com;mtamiz.uddin@synoviapharma.com;ashraful.sharif@synoviapharma.com" // Live + "SalesEmpEmail": "", // test + + "BankHead": "22010105", + "BergerHead": "11010101", + "EPFHead": "21020103", + "EPFInterestHead": "21020101", + "CPFHead": "21020104", + "CPFInterestHead": "21020102", + "CPFForfittedHead": "22010102", + "EPFPerInterest": "41030101", + "CPFPerInterest": "41030102", + "EPFFractionYearInterest": "41030103", + "LoanHead": "11014101", + "LoanInterestHead": "31030102", + + "TrainingSettings": { + "InProduction": "NO", + "ProjectPath": "\\\\100.100.100.164\\c$\\inetpub\\wwwroot\\SGSRevamp", + "ServerIP": "100.100.100.164", + "UserID": "EASE\\EaseOne", + "Password": "cel1@3$5" + + }, + + "SAPSettings": { + //"URL": "http://s4dev.bergerbd.com:8001/hrapipossrv/prfbpos?sap-client=900", + "URL": "http://bpblecchq.bergerbd.com:8000/hrapipossrvn/prfbpos?sap-client=900", + "UserID": "dev_odata", + "Password": "Missi@n2020" + } + +}