Scriban Problemi ve User Details

This commit is contained in:
Sedat Öztürk 2026-06-04 00:38:21 +03:00
parent 921c3c6d35
commit 197c4e0741
11 changed files with 272 additions and 141 deletions

View file

@ -19,6 +19,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="MailKit" Version="4.16.0" /> <PackageReference Include="MailKit" Version="4.16.0" />
<PackageReference Include="MimeKit" Version="4.16.0" /> <PackageReference Include="MimeKit" Version="4.16.0" />
<PackageReference Include="Scriban" Version="7.2.3" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View file

@ -14,6 +14,7 @@
</PackageReference> </PackageReference>
<PackageReference Include="MailKit" Version="4.16.0" /> <PackageReference Include="MailKit" Version="4.16.0" />
<PackageReference Include="MimeKit" Version="4.16.0" /> <PackageReference Include="MimeKit" Version="4.16.0" />
<PackageReference Include="Scriban" Version="7.2.3" />
</ItemGroup> </ItemGroup>

View file

@ -30,6 +30,7 @@
<PackageReference Include="Volo.Abp.TextTemplating.Razor" Version="10.0.0" /> <PackageReference Include="Volo.Abp.TextTemplating.Razor" Version="10.0.0" />
<PackageReference Include="MailKit" Version="4.16.0" /> <PackageReference Include="MailKit" Version="4.16.0" />
<PackageReference Include="MimeKit" Version="4.16.0" /> <PackageReference Include="MimeKit" Version="4.16.0" />
<PackageReference Include="Scriban" Version="7.2.3" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -14,6 +14,7 @@
</PackageReference> </PackageReference>
<PackageReference Include="MailKit" Version="4.16.0" /> <PackageReference Include="MailKit" Version="4.16.0" />
<PackageReference Include="MimeKit" Version="4.16.0" /> <PackageReference Include="MimeKit" Version="4.16.0" />
<PackageReference Include="Scriban" Version="7.2.3" />
</ItemGroup> </ItemGroup>

View file

@ -14,6 +14,7 @@
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.0" /> <PackageReference Include="Microsoft.Extensions.Http" Version="10.0.0" />
<PackageReference Include="MailKit" Version="4.16.0" /> <PackageReference Include="MailKit" Version="4.16.0" />
<PackageReference Include="MimeKit" Version="4.16.0" /> <PackageReference Include="MimeKit" Version="4.16.0" />
<PackageReference Include="Scriban" Version="7.2.3" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View file

@ -14,6 +14,7 @@
</PackageReference> </PackageReference>
<PackageReference Include="MailKit" Version="4.16.0" /> <PackageReference Include="MailKit" Version="4.16.0" />
<PackageReference Include="MimeKit" Version="4.16.0" /> <PackageReference Include="MimeKit" Version="4.16.0" />
<PackageReference Include="Scriban" Version="7.2.3" />
</ItemGroup> </ItemGroup>

View file

@ -14,6 +14,7 @@
</PackageReference> </PackageReference>
<PackageReference Include="MailKit" Version="4.16.0" /> <PackageReference Include="MailKit" Version="4.16.0" />
<PackageReference Include="MimeKit" Version="4.16.0" /> <PackageReference Include="MimeKit" Version="4.16.0" />
<PackageReference Include="Scriban" Version="7.2.3" />
</ItemGroup> </ItemGroup>

View file

@ -574,6 +574,22 @@
"selectOptions": {}, "selectOptions": {},
"order": 27 "order": 27
}, },
{
"code": "Abp.Mailing.Smtp.UseDefaultCredentials",
"nameKey": "Abp.Mailing.Smtp.UseDefaultCredentials",
"descriptionKey": "Abp.Mailing.Smtp.UseDefaultCredentials.Description",
"defaultValue": "True",
"isVisibleToClients": true,
"providers": "T|G|D",
"isInherited": true,
"isEncrypted": false,
"mainGroupKey": "Abp.Mailing",
"subGroupKey": "Abp.Mailing.Smtp",
"requiredPermissionName": "Abp.Mailing.Smtp",
"dataType": "Bool",
"selectOptions": {},
"order": 28
},
{ {
"code": "Abp.Mailing.AWS.Profile", "code": "Abp.Mailing.AWS.Profile",
"nameKey": "Abp.Mailing.AWS.Profile", "nameKey": "Abp.Mailing.AWS.Profile",
@ -588,7 +604,7 @@
"requiredPermissionName": "Abp.Mailing.AWS", "requiredPermissionName": "Abp.Mailing.AWS",
"dataType": "Text", "dataType": "Text",
"selectOptions": {}, "selectOptions": {},
"order": 28 "order": 29
}, },
{ {
"code": "Abp.Mailing.AWS.Region", "code": "Abp.Mailing.AWS.Region",
@ -604,7 +620,7 @@
"requiredPermissionName": "Abp.Mailing.AWS", "requiredPermissionName": "Abp.Mailing.AWS",
"dataType": "Text", "dataType": "Text",
"selectOptions": {}, "selectOptions": {},
"order": 29 "order": 30
}, },
{ {
"code": "Abp.Mailing.AWS.AccessKey", "code": "Abp.Mailing.AWS.AccessKey",
@ -620,7 +636,7 @@
"requiredPermissionName": "Abp.Mailing.AWS", "requiredPermissionName": "Abp.Mailing.AWS",
"dataType": "Text", "dataType": "Text",
"selectOptions": {}, "selectOptions": {},
"order": 30 "order": 31
}, },
{ {
"code": "Abp.Mailing.AWS.AccessKeyId", "code": "Abp.Mailing.AWS.AccessKeyId",
@ -636,7 +652,7 @@
"requiredPermissionName": "Abp.Mailing.AWS", "requiredPermissionName": "Abp.Mailing.AWS",
"dataType": "Text", "dataType": "Text",
"selectOptions": {}, "selectOptions": {},
"order": 31 "order": 32
}, },
{ {
"code": "Abp.Account.IsSelfRegistrationEnabled", "code": "Abp.Account.IsSelfRegistrationEnabled",
@ -674,8 +690,8 @@
"code": "Abp.Account.TwoFactor.Enabled", "code": "Abp.Account.TwoFactor.Enabled",
"nameKey": "Abp.Account.TwoFactor.Enabled", "nameKey": "Abp.Account.TwoFactor.Enabled",
"descriptionKey": "Abp.Account.TwoFactor.Enabled.Description", "descriptionKey": "Abp.Account.TwoFactor.Enabled.Description",
"defaultValue": "True", "defaultValue": "False",
"isVisibleToClients": false, "isVisibleToClients": true,
"providers": "T|G|D", "providers": "T|G|D",
"isInherited": false, "isInherited": false,
"isEncrypted": false, "isEncrypted": false,
@ -750,6 +766,22 @@
"selectOptions": {}, "selectOptions": {},
"order": 46 "order": 46
}, },
{
"code": "Abp.Identity.OrganizationUnit.MaxUserMembershipCount",
"nameKey": "Abp.Identity.OrganizationUnit.MaxUserMembershipCount",
"descriptionKey": "Abp.Identity.OrganizationUnit.MaxUserMembershipCount.Description",
"defaultValue": "2147483647",
"isVisibleToClients": true,
"providers": "T|G|D",
"isInherited": true,
"isEncrypted": false,
"mainGroupKey": "Abp.Identity",
"subGroupKey": "Abp.Identity.OrganizationUnit",
"requiredPermissionName": "Abp.Identity.OrganizationUnits",
"dataType": "Number",
"selectOptions": {},
"order": 49
},
{ {
"code": "Abp.Identity.Profile.General.RequireVerifiedAccount", "code": "Abp.Identity.Profile.General.RequireVerifiedAccount",
"nameKey": "Abp.Identity.Profile.General.RequireVerifiedAccount", "nameKey": "Abp.Identity.Profile.General.RequireVerifiedAccount",
@ -963,7 +995,7 @@
"nameKey": "Abp.Identity.SignIn.RequireConfirmedEmail", "nameKey": "Abp.Identity.SignIn.RequireConfirmedEmail",
"descriptionKey": "Abp.Identity.SignIn.RequireConfirmedEmail.Description", "descriptionKey": "Abp.Identity.SignIn.RequireConfirmedEmail.Description",
"defaultValue": "True", "defaultValue": "True",
"isVisibleToClients": false, "isVisibleToClients": true,
"providers": "G|D", "providers": "G|D",
"isInherited": false, "isInherited": false,
"isEncrypted": false, "isEncrypted": false,
@ -979,7 +1011,7 @@
"nameKey": "Abp.Identity.SignIn.RequireConfirmedPhoneNumber", "nameKey": "Abp.Identity.SignIn.RequireConfirmedPhoneNumber",
"descriptionKey": "Abp.Identity.SignIn.RequireConfirmedPhoneNumber.Description", "descriptionKey": "Abp.Identity.SignIn.RequireConfirmedPhoneNumber.Description",
"defaultValue": "False", "defaultValue": "False",
"isVisibleToClients": false, "isVisibleToClients": true,
"providers": "G|D", "providers": "G|D",
"isInherited": false, "isInherited": false,
"isEncrypted": false, "isEncrypted": false,
@ -990,6 +1022,38 @@
"selectOptions": {}, "selectOptions": {},
"order": 64 "order": 64
}, },
{
"code": "Abp.Identity.SignIn.EnablePhoneNumberConfirmation",
"nameKey": "Abp.Identity.SignIn.EnablePhoneNumberConfirmation",
"descriptionKey": "Abp.Identity.SignIn.EnablePhoneNumberConfirmation.Description",
"defaultValue": "True",
"isVisibleToClients": true,
"providers": "G|D",
"isInherited": true,
"isEncrypted": false,
"mainGroupKey": "Abp.Identity",
"subGroupKey": "Abp.Identity.SignIn",
"requiredPermissionName": "Abp.Identity.SignIn",
"dataType": "Bool",
"selectOptions": {},
"order": 65
},
{
"code": "Abp.Identity.SignIn.RequireEmailVerificationToRegister",
"nameKey": "Abp.Identity.SignIn.RequireEmailVerificationToRegister",
"descriptionKey": "Abp.Identity.SignIn.RequireEmailVerificationToRegister.Description",
"defaultValue": "True",
"isVisibleToClients": true,
"providers": "G|D",
"isInherited": true,
"isEncrypted": false,
"mainGroupKey": "Abp.Identity",
"subGroupKey": "Abp.Identity.SignIn",
"requiredPermissionName": "Abp.Identity.SignIn",
"dataType": "Bool",
"selectOptions": {},
"order": 66
},
{ {
"code": "Abp.Identity.User.IsUserNameUpdateEnabled", "code": "Abp.Identity.User.IsUserNameUpdateEnabled",
"nameKey": "Abp.Identity.User.IsUserNameUpdateEnabled", "nameKey": "Abp.Identity.User.IsUserNameUpdateEnabled",
@ -1004,7 +1068,7 @@
"requiredPermissionName": "Abp.Identity.User", "requiredPermissionName": "Abp.Identity.User",
"dataType": "Bool", "dataType": "Bool",
"selectOptions": {}, "selectOptions": {},
"order": 65 "order": 67
}, },
{ {
"code": "Abp.Identity.User.IsEmailUpdateEnabled", "code": "Abp.Identity.User.IsEmailUpdateEnabled",
@ -1020,7 +1084,7 @@
"requiredPermissionName": "Abp.Identity.User", "requiredPermissionName": "Abp.Identity.User",
"dataType": "Bool", "dataType": "Bool",
"selectOptions": {}, "selectOptions": {},
"order": 66 "order": 68
} }
], ],
"NotificationTypes": [], "NotificationTypes": [],

View file

@ -1929,8 +1929,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Sender.Url.Description", "key": "App.Sender.Url.Description",
"en": "Url Description", "en": "Posta Güvercini URL is usually in the format: http://api.postaguvercini.com/v1/sms/send?username={username}&password={password}&to={to}&message={message}",
"tr": "Url Açıklaması" "tr": "Posta Güvercini URL'si genellikle şu formatta olur: http://api.postaguvercini.com/v1/sms/send?username={username}&password={password}&to={to}&message={message}"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -1941,8 +1941,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Sender.Sms.PostaGuvercini.Username.Description", "key": "App.Sender.Sms.PostaGuvercini.Username.Description",
"en": "User Name Description", "en": "The user name for the Posta Güvercini service.",
"tr": "Kullanıcı Adııklaması" "tr": "Posta Güvercini hizmeti için kullanıcı adı."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -1953,8 +1953,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Sender.Sms.PostaGuvercini.Password.Description", "key": "App.Sender.Sms.PostaGuvercini.Password.Description",
"en": "Password Description", "en": "The password for the Posta Güvercini service.",
"tr": "Parola Açıklaması" "tr": "Posta Güvercini hizmeti için parola."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -1977,8 +1977,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Sender.WhatsApp.PhoneNumberId.Description", "key": "App.Sender.WhatsApp.PhoneNumberId.Description",
"en": "PhoneNumberId Description", "en": "The phone number ID for the WhatsApp service.",
"tr": "PhoneNumberId Description" "tr": "WhatsApp hizmeti için telefon numarası ID'si."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -1989,8 +1989,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Sender.WhatsApp.TemplateName.Description", "key": "App.Sender.WhatsApp.TemplateName.Description",
"en": "Template Name Description", "en": "The name of the template for the WhatsApp service.",
"tr": "Şablon Adııklaması" "tr": "WhatsApp hizmeti için şablon adı."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2001,8 +2001,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Sender.WhatsApp.Token.Description", "key": "App.Sender.WhatsApp.Token.Description",
"en": "Token Description", "en": "The token for the WhatsApp service.",
"tr": "Token Açıklaması" "tr": "WhatsApp hizmeti için token."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2025,20 +2025,14 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Sender.Rocket.UserId.Description", "key": "App.Sender.Rocket.UserId.Description",
"en": "User Id Description", "en": "The user ID for the Rocket Chat service.",
"tr": "User Id Açıklaması" "tr": "Rocket Chat hizmeti için kullanıcı ID'si."
},
{
"resourceName": "Platform",
"key": "App.Sender.Rocket.Token",
"en": "Token",
"tr": "Token"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Sender.Rocket.Token.Description", "key": "App.Sender.Rocket.Token.Description",
"en": "Token Description", "en": "The token for the Rocket Chat service.",
"tr": "Token Açıklaması" "tr": "Rocket Chat hizmeti için token."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2061,8 +2055,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.DefaultFromDisplayName.Description", "key": "Abp.Mailing.DefaultFromDisplayName.Description",
"en": "From Display Name Description", "en": "Default name to be shown when sending mails. Usually it is company name or application name.",
"tr": "Varsayılan İsim Açıklaması" "tr": "Mail gönderilirken görünecek varsayılan isim. Genellikle şirket adı veya uygulama adı olur."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2073,8 +2067,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.DefaultFromAddress.Description", "key": "Abp.Mailing.DefaultFromAddress.Description",
"en": "From Address Description", "en": "Default email address to be shown when sending mails. Usually it is company email or application email.",
"tr": "Varsayılan Email Adresi Açıklaması" "tr": "Mail gönderilirken görünecek varsayılan email adresi. Genellikle şirket emaili veya uygulama emaili olur."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2091,8 +2085,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.Smtp.Host.Description", "key": "Abp.Mailing.Smtp.Host.Description",
"en": "Host Description", "en": "The host address of the SMTP server.",
"tr": "Host Açıklaması" "tr": "SMTP sunucusunun ana bilgisayar adresi."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2103,8 +2097,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.Smtp.Port.Description", "key": "Abp.Mailing.Smtp.Port.Description",
"en": "Port Description", "en": "The port number of the SMTP server.",
"tr": "Port Açıklaması" "tr": "SMTP sunucusunun port numarası."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2115,8 +2109,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.Smtp.UserName.Description", "key": "Abp.Mailing.Smtp.UserName.Description",
"en": "User Name Description", "en": "The user name for the SMTP server.",
"tr": "Kullanıcı Adııklaması" "tr": "SMTP sunucusu için kullanıcı adı."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2127,8 +2121,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.Smtp.Password.Description", "key": "Abp.Mailing.Smtp.Password.Description",
"en": "Password Description", "en": "The password for the SMTP server.",
"tr": "Parola Açıklaması" "tr": "SMTP sunucusu için parola."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2139,8 +2133,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.Smtp.Domain.Description", "key": "Abp.Mailing.Smtp.Domain.Description",
"en": "Domain Description", "en": "The domain for the SMTP server.",
"tr": "Alan Adııklaması" "tr": "SMTP sunucusu için alan adı."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2151,8 +2145,32 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.Smtp.EnableSsl.Description", "key": "Abp.Mailing.Smtp.EnableSsl.Description",
"en": "Enable Ssl Description", "en": "Whether to enable SSL for the SMTP server.",
"tr": "Ssl Etkinleştir Açıklaması" "tr": "SMTP sunucusu için SSL etkinleştirilip etkinleştirilmeyeceğini belirtir."
},
{
"resourceName": "Platform",
"key": "Abp.Mailing.Smtp.UseDefaultCredentials",
"en": "Use Default Credentials",
"tr": "Varsayılan Kimlik Bilgilerini Kullan"
},
{
"resourceName": "Platform",
"key": "Abp.Mailing.Smtp.UseDefaultCredentials.Description",
"en": "Use Default Credentials Description",
"tr": "Varsayılan Kimlik Bilgilerini Kullan Açıklaması"
},
{
"resourceName": "Platform",
"key": "Abp.Identity.OrganizationUnit.MaxUserMembershipCount",
"en": "Max User Membership Count",
"tr": "Maksimum Kullanıcı Üyelik Sayısı"
},
{
"resourceName": "Platform",
"key": "Abp.Identity.OrganizationUnit.MaxUserMembershipCount.Description",
"en": "Maximum number of users that can be members of each organization unit. 0 means unlimited.",
"tr": "Her bir organizasyon biriminin sahip olabileceği maksimum kullanıcı sayısı. 0 means unlimited."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2169,8 +2187,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.AWS.Profile.Description", "key": "Abp.Mailing.AWS.Profile.Description",
"en": "Profile Description", "en": "The profile for the AWS SES service.",
"tr": "Profil Açıklaması" "tr": "AWS SES hizmeti için profil."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2181,8 +2199,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.AWS.Region.Description", "key": "Abp.Mailing.AWS.Region.Description",
"en": "Region Description", "en": "The region of the AWS SES service.",
"tr": "Bölge Açıklaması" "tr": "AWS SES hizmetinin bölgesi."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2193,8 +2211,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.AWS.AccessKey.Description", "key": "Abp.Mailing.AWS.AccessKey.Description",
"en": "Access Key Description", "en": "The access key for the AWS SES service.",
"tr": "Erişim Anahtarııklaması" "tr": "AWS SES hizmeti için erişim anahtarı."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2205,8 +2223,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Mailing.AWS.AccessKeyId.Description", "key": "Abp.Mailing.AWS.AccessKeyId.Description",
"en": "Access KeyId Description", "en": "The access key ID for the AWS SES service.",
"tr": "Erişim Anahtarı Kimliği Açıklaması" "tr": "AWS SES hizmeti için erişim anahtarı kimliği."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2229,8 +2247,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.SiteManagement.Theme.Style.Description", "key": "App.SiteManagement.Theme.Style.Description",
"en": "Style Description", "en": "The style for the site theme.",
"tr": "Stil Açıklaması" "tr": "Site temasi için stil."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2247,8 +2265,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.SiteManagement.General.NewMemberNotificationEmails.Description", "key": "App.SiteManagement.General.NewMemberNotificationEmails.Description",
"en": "New Member Notification Emails Description", "en": "The emails sent to new members.",
"tr": "Yeni Üye Bildirim Mailleri Açıklaması" "tr": "Yeni üelere gönderilen mailler."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2259,8 +2277,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.SiteManagement.General.TimedLoginEmails.Description", "key": "App.SiteManagement.General.TimedLoginEmails.Description",
"en": "Timed Login Emails Description", "en": "The emails sent for timed login notifications.",
"tr": "Süreli Giriş Mailleri Açıklaması" "tr": "Süreli giriş bildirimleri için gönderilen mailler."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2277,8 +2295,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Localization.DefaultLanguage.Description", "key": "Abp.Localization.DefaultLanguage.Description",
"en": "Default Language Description", "en": "Default language of the application. It is used as a fallback when a translation for the current language is not found.",
"tr": "Varsayılan Dil Açıklaması" "tr": "Uygulamanın varsayılan dili. Geçerli dil için bir çeviri bulunamadığında yedek olarak kullanılır."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2295,8 +2313,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Localization.Timezone.Description", "key": "Abp.Localization.Timezone.Description",
"en": "Timezone Description", "en": "Default timezone of the application. Users' timezones are adjusted according to this value.",
"tr": "Saat Dilimi Açıklaması" "tr": "Uygulamanın varsayılan saat dilimi. Kullanıcıların saat dilimleri bu değere göre ayarlanır."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2319,8 +2337,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Account.EnableLocalLogin.Description", "key": "Abp.Account.EnableLocalLogin.Description",
"en": "Authenticate with a local account Description", "en": "Enables the local login option on the login page.",
"tr": "Yerel bir hesapla kimlik doğrulama açıklaması" "tr": "Login sayfasında yerel giriş seçeneğini etkinleştirir."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2331,8 +2349,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Account.IsSelfRegistrationEnabled.Description", "key": "Abp.Account.IsSelfRegistrationEnabled.Description",
"en": "Enable self registration Description", "en": "Enables the self-registration option on the login page.",
"tr": "Kendi kendine kaydı etkinleştir Açıklaması" "tr": "Login sayfasında kendi kendine kaydolma seçeneğini etkinleştirir."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2457,8 +2475,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Account.Captcha.MaxFailedAccessAttempts.Description", "key": "Abp.Account.Captcha.MaxFailedAccessAttempts.Description",
"en": "Max failed show Captcha Description", "en": "The number of failed login attempts after which the CAPTCHA will be displayed.",
"tr": "Kaç başarısız girişte gösterilecek Açıklaması" "tr": "CAPTCHA'nın gösterileceği başarısız giriş denemesi sayısı."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2469,8 +2487,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Account.Captcha.EndPoint.Description", "key": "Abp.Account.Captcha.EndPoint.Description",
"en": "End Point URL Description", "en": "The URL of the CAPTCHA verification endpoint.",
"tr": "Doğrulama Servis URL Açıklaması" "tr": "CAPTCHA doğrulama uç noktasının URL'si."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2481,8 +2499,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Account.Captcha.SiteKey.Description", "key": "Abp.Account.Captcha.SiteKey.Description",
"en": "Site Key Description", "en": "The site key for the CAPTCHA service.",
"tr": "Site Anahtarııklaması" "tr": "CAPTCHA hizmeti için site anahtarı."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2493,8 +2511,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Account.Captcha.SecretKey.Description", "key": "Abp.Account.Captcha.SecretKey.Description",
"en": "Private Key Description", "en": "The private key for the CAPTCHA service.",
"tr": "Özel Anahtarııklaması" "tr": "CAPTCHA hizmeti için özel anahtarı."
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -2820,6 +2838,30 @@
"en": "Whether a confirmed telephone number is required to sign in.", "en": "Whether a confirmed telephone number is required to sign in.",
"tr": "Oturum açmak için onaylanmış bir telefon numarasının gerekip gerekmediği." "tr": "Oturum açmak için onaylanmış bir telefon numarasının gerekip gerekmediği."
}, },
{
"resourceName": "Platform",
"key": "Abp.Identity.SignIn.EnablePhoneNumberConfirmation",
"en": "Enable Phone Number Confirmation",
"tr": "Telefon Numarası Onayını Etkinleştir"
},
{
"resourceName": "Platform",
"key": "Abp.Identity.SignIn.EnablePhoneNumberConfirmation.Description",
"en": "Whether to enable phone number confirmation during sign in.",
"tr": "Oturum açarken telefon numarası onayının etkinleştirilip etkinleştirilmeyeceği."
},
{
"resourceName": "Platform",
"key": "Abp.Identity.SignIn.RequireEmailVerificationToRegister",
"en": "Require Email Verification to Register",
"tr": "Kayıt Olmak için E-posta Doğrulaması Gerektir"
},
{
"resourceName": "Platform",
"key": "Abp.Identity.SignIn.RequireEmailVerificationToRegister.Description",
"en": "Whether to require email verification to register.",
"tr": "Kayıt olmak için e-posta doğrulaması gerekip gerekmediği."
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Identity.User", "key": "Abp.Identity.User",
@ -3315,14 +3357,14 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Identity.Profile.General.RequireVerifiedAccount", "key": "Abp.Identity.Profile.General.RequireVerifiedAccount",
"en": "Require Verified Account", "en": "Require Admin Verified Account",
"tr": "Hesap Doğrulaması Zorunlu mu?" "tr": "Yönetici Hesap Doğrulaması Yapacak mı?"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Identity.Profile.General.RequireVerifiedAccount.Description", "key": "Abp.Identity.Profile.General.RequireVerifiedAccount.Description",
"en": "Require Verified Account Description", "en": "Whether to require admin verified account to display user profile",
"tr": "Hesap Doğrulama Zorunlu Açıklaması" "tr": "Kullanıcı profilini görüntülemek için yönetici tarafından doğrulanmış hesap gerekip gerekmediği"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -3333,8 +3375,8 @@
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Abp.Identity.Profile.General.BlacklistedEmailProviders.Description", "key": "Abp.Identity.Profile.General.BlacklistedEmailProviders.Description",
"en": "Black listed Email Providers Description", "en": "Comma-separated email providers that are not allowed to be used for registration or updating email. For example: yahoo.com, hotmail.com",
"tr": "Kara Listedeki e-Posta Sağlayıcılarııklaması" "tr": "Kayıt veya e-posta güncelleme için kullanılmaya izin verilmeyen virgülle ayrılmış e-posta sağlayıcıları. Örneğin: yahoo.com, hotmail.com"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",

View file

@ -807,7 +807,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
new EditingFormItemDto { Order=5, DataField="WorkHour", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxSelectBox, EditorOptions = EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order=5, DataField="WorkHour", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxSelectBox, EditorOptions = EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order=6, DataField="DepartmentId", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxSelectBox, EditorOptions = EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order=6, DataField="DepartmentId", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxSelectBox, EditorOptions = EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order=7, DataField="JobPositionId", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxSelectBox, EditorOptions = EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order=7, DataField="JobPositionId", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxSelectBox, EditorOptions = EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order=8, DataField="Password", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=8, DataField="Password", ColSpan=1, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=9, DataField="IsActive", ColSpan=1, EditorType2=EditorTypes.dxCheckBox }, new EditingFormItemDto { Order=9, DataField="IsActive", ColSpan=1, EditorType2=EditorTypes.dxCheckBox },
]} ]}
}), }),

View file

@ -100,9 +100,15 @@ function UserDetails() {
const cropperRef = useRef<CropperRef>(null) const cropperRef = useRef<CropperRef>(null)
const previewRef = useRef<CropperPreviewRef>(null) const previewRef = useRef<CropperPreviewRef>(null)
const auth = useStoreState((state) => state.auth) const auth = useStoreState((state) => state.auth)
const { setUser } = useStoreActions((actions) => actions.auth.user) const { setUser } = useStoreActions((actions) => actions.auth.user)
const { setting } = useSetting() const { setting } = useSetting()
const isEmailUpdateEnabled = setting('Abp.Identity.User.IsEmailUpdateEnabled') const isEmailUpdateEnabled = setting('Abp.Identity.User.IsEmailUpdateEnabled')
const isRequireVerifiedAccount = setting('Abp.Identity.Profile.General.RequireVerifiedAccount')
const isRequireConfirmedEmail = setting('Abp.Identity.SignIn.RequireConfirmedEmail')
const isRequireConfirmedPhoneNumber = setting('Abp.Identity.SignIn.RequireConfirmedPhoneNumber')
const isTwoFactorEnabled = setting('Abp.Account.TwoFactor.Enabled')
const getUser = async (syncAvatar = true) => { const getUser = async (syncAvatar = true) => {
const { data } = await getUserDetail(userId || '') const { data } = await getUserDetail(userId || '')
@ -1268,6 +1274,7 @@ function UserDetails() {
/> />
</FormItem> </FormItem>
{isRequireVerifiedAccount?.toLowerCase() === 'true' && (
<FormItem <FormItem
layout="horizontal" layout="horizontal"
labelClass="!justify-start" labelClass="!justify-start"
@ -1278,13 +1285,16 @@ function UserDetails() {
> >
<Field <Field
name="isVerified" name="isVerified"
disabled={isRequireVerifiedAccount?.toLowerCase() !== 'true'}
placeholder={translate( placeholder={translate(
'::Abp.Identity.User.LockoutManagement.AdminVerification', '::Abp.Identity.User.LockoutManagement.AdminVerification',
)} )}
component={Checkbox} component={Checkbox}
/> />
</FormItem> </FormItem>
)}
{isRequireConfirmedEmail?.toLowerCase() === 'true' && (
<FormItem <FormItem
layout="horizontal" layout="horizontal"
labelClass="!justify-start" labelClass="!justify-start"
@ -1295,13 +1305,16 @@ function UserDetails() {
> >
<Field <Field
name="emailConfirmed" name="emailConfirmed"
disabled={isRequireConfirmedEmail?.toLowerCase() !== 'true'}
placeholder={translate( placeholder={translate(
'::Abp.Identity.User.LockoutManagement.EmailConfirmed', '::Abp.Identity.User.LockoutManagement.EmailConfirmed',
)} )}
component={Checkbox} component={Checkbox}
/> />
</FormItem> </FormItem>
)}
{isRequireConfirmedPhoneNumber?.toLowerCase() === 'true' && (
<FormItem <FormItem
layout="horizontal" layout="horizontal"
labelClass="!justify-start" labelClass="!justify-start"
@ -1312,13 +1325,16 @@ function UserDetails() {
> >
<Field <Field
name="phoneNumberConfirmed" name="phoneNumberConfirmed"
disabled={isRequireConfirmedPhoneNumber?.toLowerCase() !== 'true'}
placeholder={translate( placeholder={translate(
'::Abp.Identity.User.LockoutManagement.PhoneNumberConfirmed', '::Abp.Identity.User.LockoutManagement.PhoneNumberConfirmed',
)} )}
component={Checkbox} component={Checkbox}
/> />
</FormItem> </FormItem>
)}
{isTwoFactorEnabled?.toLowerCase() === 'true' && (
<FormItem <FormItem
layout="horizontal" layout="horizontal"
labelClass="!justify-start" labelClass="!justify-start"
@ -1329,12 +1345,14 @@ function UserDetails() {
> >
<Field <Field
name="twoFactorEnabled" name="twoFactorEnabled"
disabled={isTwoFactorEnabled?.toLowerCase() !== 'true'}
placeholder={translate( placeholder={translate(
'::Abp.Identity.User.LockoutManagement.TwoFactorEnabled', '::Abp.Identity.User.LockoutManagement.TwoFactorEnabled',
)} )}
component={Checkbox} component={Checkbox}
/> />
</FormItem> </FormItem>
)}
</div> </div>
{/* Login & Lockout Settings */} {/* Login & Lockout Settings */}