feat(log): Add message log retrieval functionality and update related typings

This commit is contained in:
web@ppanel
2025-02-13 21:25:21 +07:00
parent 13c33378aa
commit 1c0ecaecbd
84 changed files with 928 additions and 534 deletions
+23 -3
View File
@@ -10,9 +10,27 @@
"inviteSettings": "Invite Settings",
"saveSuccess": "Save Successful"
},
"log": {
"content": "Content",
"createdAt": "Created At",
"emailLog": "Email Log",
"mobileLog": "Mobile Log",
"platform": "Platform",
"sendFailed": "Failed",
"sendSuccess": "Success",
"status": "Status",
"subject": "Subject",
"to": "Recipient",
"updatedAt": "Updated At"
},
"register": {
"day": "Day",
"hour": "Hour",
"ipRegistrationLimit": "IP Registration Limit",
"ipRegistrationLimitDescription": "When enabled, IPs that meet the rule requirements will be restricted from registering; note that IP determination may cause issues due to CDNs or frontend proxies",
"minute": "Minute",
"month": "Month",
"noLimit": "No Limit",
"penaltyTime": "Penalty Time (minutes)",
"penaltyTimeDescription": "Users must wait for the penalty time to expire before registering again",
"registerSettings": "Register Settings",
@@ -21,8 +39,12 @@
"saveSuccess": "Save Successful",
"stopNewUserRegistration": "Stop New User Registration",
"stopNewUserRegistrationDescription": "When enabled, no one can register",
"trialDuration": "Trial Duration",
"trialRegistration": "Trial Registration",
"trialRegistrationDescription": "Enable trial registration; modify trial package and duration first"
"trialRegistrationDescription": "Enable trial registration; modify trial package and duration first",
"trialSubscribePlan": "Trial Subscription Plan",
"trialSubscribePlanDescription": "Select trial subscription plan",
"year": "Year"
},
"verify": {
"inputPlaceholder": "Enter",
@@ -33,9 +55,7 @@
"resetPasswordVerificationCode": "Reset Password Verification Code",
"resetPasswordVerificationCodeDescription": "Human verification during password reset",
"saveSuccess": "Save Successful",
"turnstileSecret": "Turnstile Secret Key",
"turnstileSecretDescription": "Turnstile secret key provided by Cloudflare",
"turnstileSiteKey": "Turnstile Site Key",
"turnstileSiteKeyDescription": "Turnstile site key provided by Cloudflare",
"verifySettings": "Verify Settings"
}
+3 -3
View File
@@ -1,11 +1,8 @@
{
"emailBasicConfig": "Basic Configuration",
"emailBasicConfigDescription": "Configure SMTP server settings and email verification options",
"emailLogs": "Email Logs",
"emailLogsDescription": "View the history of sent emails and their status",
"emailSuffixWhitelist": "Email Suffix Whitelist",
"emailSuffixWhitelistDescription": "When enabled, only emails with suffixes in the list can register",
"emailTemplate": "Email Template",
"emailVerification": "Email Verification",
"emailVerificationDescription": "When enabled, users will need to verify their email",
"enable": "Enable",
@@ -14,6 +11,7 @@
"expiration_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables.",
"failed": "Failed",
"inputPlaceholder": "Enter value...",
"logs": "Logs",
"maintenance_email_template": "Maintenance Notice Template",
"maintenance_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables.",
"recipient": "Recipient",
@@ -27,6 +25,7 @@
"senderAddressDescription": "The default email address used for sending emails.",
"sent": "Sent",
"sentAt": "Sent At",
"settings": "Settings",
"smtpAccount": "SMTP Account",
"smtpAccountDescription": "The email account used for authentication.",
"smtpEncryptionMethod": "SMTP Encryption Method",
@@ -39,6 +38,7 @@
"smtpServerPortDescription": "Specify the port used to connect to the SMTP server.",
"status": "Status",
"subject": "Subject",
"template": "Template",
"verify_email_template": "Verification Email Template",
"verify_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables.",
"whitelistSuffixes": "Whitelist Suffixes",
+1 -11
View File
@@ -1,10 +1,6 @@
{
"SmsList": "SMS Log List",
"accessLabel": "Access",
"applyPlatform": "Apply Platform",
"areaCode": "Area Code",
"content": "Content",
"createdAt": "Send Time",
"enable": "Enable",
"enableTip": "After enabling, mobile phone registration, login, binding, and unbinding functions will be enabled",
"endpointLabel": "Endpoint",
@@ -26,23 +22,17 @@
"platform": "SMS Platform",
"platformConfigTip": "Please fill in the provided {key} configuration",
"platformTip": "Please select SMS platform",
"search": "Search phone number",
"secretLabel": "Secret",
"sendFailed": "Send Failed",
"sendSuccess": "Send Success",
"settings": "Settings",
"signNameLabel": "Sign Name",
"status": "Status",
"telephone": "Phone Number",
"template": "SMS Template",
"templateCode": "Template Code",
"templateCodeLabel": "Template Code",
"templateParam": "Template Parameter",
"templateTip": "Please fill in the SMS template, keep {code} in the middle, otherwise SMS function will not work",
"testSms": "Send Test SMS",
"testSmsContent": "This is a test message",
"testSmsPhone": "Enter phone number",
"testSmsTip": "Send a test SMS to verify your configuration",
"testSmsTip": "Send a test message to verify your configuration",
"updateSuccess": "Update Success",
"whitelistAreaCode": "Whitelist Area Code",
"whitelistAreaCodeTip": "Please enter whitelist area codes, e.g., 1, 852, 886, 888",