diff --git a/docs/en/modules/audit-logging-pro.md b/docs/en/modules/audit-logging-pro.md index ef609e5422..1ef05fc131 100644 --- a/docs/en/modules/audit-logging-pro.md +++ b/docs/en/modules/audit-logging-pro.md @@ -9,6 +9,8 @@ This module implements the Audit Logging system of an application; * See all changes of entities and filter entity change logs. * View details of an entity change. * View all changes of an entity. +* Export audit logs and entity changes to Excel. +* Receive email notifications for completed or failed exports. * This module also defines reusable "Average Execution Duration Per Day" and "Error Rate" widgets. * Periodic clean up of audit logs. @@ -56,6 +58,10 @@ You can view details of an audit log by clicking the magnifier icon on each audi * **Actions:** This tab shows list of actions (controller actions and application service method calls with their parameters) executed during a web request. * **Changes:** This tab shows changed entities during the web request. +##### Export to Excel + +You can export audit logs to Excel by clicking the "Export to Excel" button in the toolbar. If the result set is small (less than a configurable threshold), the file will be generated and downloaded immediately. For larger result sets, the export will be processed as a background job and you'll receive an email with a download link once the export is completed. + #### Entity Changes Entity changes tab is used to list, view and filter entity change logs. @@ -80,6 +86,10 @@ You can view details of all changes of an entity by clicking the "Full Change Hi ![audit-logging-module-full-entity-change-details-modal](../images/audit-logging-module-full-entity-change-details-modal.png) +##### Export to Excel + +You can export entity changes to Excel by clicking the "Export to Excel" button in the toolbar. Similar to audit logs export, for large datasets the export will be processed as a background job and you'll receive an email notification once completed. + #### Audit Log Settings The *Audit Log* settings tab is used to configure audit log settings. You can enable or disable the clean up service system wide. This way, you can shut down the clean up service for all tenants and host. If the system wide clean up service is enabled, you can configure the global *Expired Item Deletion Period* for all tenants and host. @@ -126,6 +136,25 @@ Configure(options => The *Period* doesn't mean the *Expired Item Deletion Period*. It's the period of the worker to run clean up service system wide. The default value is 1 day. +### AuditLogExcelFileOptions + +`AuditLogExcelFileOptions` can be configured in the UI layer, within the `ConfigureServices` method of your [module](../framework/architecture/modularity/basics.md). Example: + +```csharp +Configure(options => +{ + options.FileRetentionHours = 24; // How long to keep files before cleanup (default: 24 hours) + options.DownloadBaseUrl = "https://yourdomain.com"; // Base URL for download links in emails + options.ExcelFileCleanupOptions.Period = (int)TimeSpan.FromHours(24).TotalMilliseconds; // Interval of the cleanup worker (default: 24 hours) +}); +``` + +> Note: The `FileRetentionHours` value determines when files become eligible for deletion, but actual deletion depends on when the cleanup worker runs. If the worker hasn't run after the retention period expires, files will remain accessible. Therefore, `FileRetentionHours` represents the minimum intended retention time, but the actual retention time might be longer depending on the worker's execution schedule. + +These settings control where Excel export files are stored, how long they are kept before automatic cleanup, and what base URL is used in email download links. + +> You must use a valid [BLOB Storage Provider](https://abp.io/docs/latest/framework/infrastructure/blob-storing#blob-storage-providers) to use this feature. + ## Internals ### Domain layer @@ -156,6 +185,15 @@ Following custom repositories are defined for this module: * `AuditLogsAppService` (implements `IAuditLogsAppService`): Implements the use cases of the audit logs management UI. +#### Email Templates + +The module provides email templates for notifications: + +* `AuditLogExportCompleted`: Sent when an audit log export is successfully completed, including a download link. +* `AuditLogExportFailed`: Sent when an audit log export fails, including error details. +* `EntityChangeExportCompleted`: Sent when an entity change export is successfully completed, including a download link. +* `EntityChangeExportFailed`: Sent when an entity change export fails, including error details. + ### Database providers #### Common diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/AuditLogExcelFileConsts.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/AuditLogExcelFileConsts.cs new file mode 100644 index 0000000000..7e74632910 --- /dev/null +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/AuditLogExcelFileConsts.cs @@ -0,0 +1,9 @@ +namespace Volo.Abp.AuditLogging; + +public static class AuditLogExcelFileConsts +{ + /// + /// Default value: 256 + /// + public static int MaxFileNameLength { get; set; } = 256; +} diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ar.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ar.json index 58f1b5bf7a..86a9ad9581 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ar.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ar.json @@ -79,9 +79,39 @@ "DurationMs": "المدة (مللي ثانية)", "StartDate": "تاريخ البدء", "EndDate": "تاريخ الانتهاء", - "Feature:AuditLoggingGroup": "تدوين التسجيل", + "Feature:AuditLoggingGroup": "تسجيل التدقيق", "Feature:AuditLoggingEnable": "تمكين صفحة تسجيل التدقيق", - "Feature:AuditLoggingEnableDescription": "تفعيل صفحة تسجيل التدقيق في التطبيق.", - "TenantId": "معرف المستأجر" + "Feature:AuditLoggingEnableDescription": "تمكين صفحة تسجيل التدقيق في التطبيق.", + "Feature:AuditLoggingSettingManagementEnable": "تمكين إدارة إعدادات تسجيل التدقيق", + "Feature:AuditLoggingSettingManagementEnableDescription": "تمكين تكوين إدارة إعدادات تسجيل التدقيق داخل التطبيق.", + "InvalidAuditLogDeletionSettings": "إعدادات حذف سجل التدقيق غير صالحة. إذا تم تمكين الحذف، يجب أن تكون الفترة أكبر من 0 أيام.", + "AuditLogSettingsGeneral": "عام", + "AuditLogSettingsGlobal": "عالمي", + "DisplayName:IsPeriodicDeleterEnabled": "تمكين خدمة التنظيف على مستوى النظام", + "Description:IsPeriodicDeleterEnabled": "إذا تم تعطيل هذا الخيار، فلن يعمل المحذف الدوري. لن يتم حذف سجلات التدقيق تلقائياً.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "تمكين خدمة التنظيف لجميع المستأجرين والمضيف", + "Description:GlobalIsExpiredDeleterEnabled": "إذا تم تمكين هذا الخيار، سيتم حذف جميع العناصر المنتهية الصلاحية للمستأجرين والمضيف تلقائياً ما لم يكن لديها إعداد محدد.", + "DisplayName:IsExpiredDeleterEnabled": "تمكين خدمة التنظيف", + "Description:IsExpiredDeleterEnabled": "إذا تم تمكين هذا الخيار، سيتم حذف العناصر المنتهية الصلاحية تلقائياً.", + "DisplayName:ExpiredDeleterPeriod": "فترة حذف العناصر المنتهية الصلاحية", + "Description:ExpiredDeleterPeriod": "حدد عدد الأيام التي سيتم بعدها حذف العناصر المنتهية الصلاحية تلقائياً.", + "ExpiredDeleterPeriodUnit": "يوم (أيام)", + "AuditLogsBeforeXWillBeDeleted": "سيتم حذف سجلات التدقيق قبل {0}.", + "TenantId": "معرف المستأجر", + "Permission:Export": "تصدير سجلات التدقيق", + "ExportToExcel": "تصدير إلى Excel", + "Exporting": "جاري التصدير", + "ExportCompleted": "تم إكمال التصدير بنجاح", + "ExportFailed": "فشل التصدير", + "ExportJobQueued": "تم وضع مهمة التصدير في الطابور لـ {0} سجل. ستتلقى بريداً إلكترونياً عند اكتمال التصدير.", + "ExportReady": "تم إكمال التصدير لـ {0} سجل وجاهز للتنزيل.", + "FileName": "اسم الملف", + "TotalRecords": "إجمالي السجلات", + "ExcelFileAttachedMessage": "ملف Excel مرفق بهذا البريد الإلكتروني.", + "EntityChangeExportCompletedSubject": "تم إكمال تصدير تغييرات الكيان", + "AuditLogExportCompletedSubject": "تم إكمال تصدير سجل التدقيق", + "DownloadLinkExplanation": "يمكنك تنزيل الملف باستخدام الرابط أدناه حتى {0} (UTC)", + "DownloadNow": "تنزيل الآن", + "TryAgainMessage": "الرجاء المحاولة مرة أخرى. إذا استمرت المشكلة، يرجى الاتصال بالدعم." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/cs.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/cs.json index b415c41556..a98da37703 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/cs.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/cs.json @@ -82,6 +82,36 @@ "Feature:AuditLoggingGroup": "Protokolování auditu", "Feature:AuditLoggingEnable": "Povolena stránka protokolování auditu", "Feature:AuditLoggingEnableDescription": "Povolit stránku protokolování auditu v aplikaci.", - "TenantId": "ID nájemce" + "Feature:AuditLoggingSettingManagementEnable": "Povolit správu nastavení protokolování auditu", + "Feature:AuditLoggingSettingManagementEnableDescription": "Povolit konfiguraci správy nastavení protokolování auditu v aplikaci.", + "InvalidAuditLogDeletionSettings": "Neplatná nastavení mazání protokolu auditu. Pokud je mazání povoleno, období by mělo být větší než 0 dní.", + "AuditLogSettingsGeneral": "Obecné", + "AuditLogSettingsGlobal": "Globální", + "DisplayName:IsPeriodicDeleterEnabled": "Povolit službu čištění v celém systému", + "Description:IsPeriodicDeleterEnabled": "Pokud je tato možnost zakázána, periodický mazač nebude fungovat. Protokoly auditu nebudou automaticky mazány.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Povolit službu čištění pro všechny nájemce a hostitele", + "Description:GlobalIsExpiredDeleterEnabled": "Pokud je tato možnost povolena, všechny prošlé položky nájemců a hostitele budou automaticky smazány, pokud nemají specifické nastavení.", + "DisplayName:IsExpiredDeleterEnabled": "Povolit službu čištění", + "Description:IsExpiredDeleterEnabled": "Pokud je tato možnost povolena, prošlé položky budou automaticky smazány.", + "DisplayName:ExpiredDeleterPeriod": "Období mazání prošlých položek", + "Description:ExpiredDeleterPeriod": "Nastavte počet dní, po kterých budou prošlé položky automaticky smazány.", + "ExpiredDeleterPeriodUnit": "den(dny)", + "AuditLogsBeforeXWillBeDeleted": "Protokoly auditu před {0} budou smazány.", + "TenantId": "ID nájemce", + "Permission:Export": "Exportovat protokoly auditu", + "ExportToExcel": "Exportovat do Excelu", + "Exporting": "Exportování", + "ExportCompleted": "Export úspěšně dokončen", + "ExportFailed": "Export se nezdařil", + "ExportJobQueued": "Úloha exportu byla zařazena do fronty pro {0} záznamů. Obdržíte e-mail, když bude export dokončen.", + "ExportReady": "Export dokončen pro {0} záznamů a připraven ke stažení.", + "FileName": "Název souboru", + "TotalRecords": "Celkem záznamů", + "ExcelFileAttachedMessage": "Soubor Excel je připojen k tomuto e-mailu.", + "EntityChangeExportCompletedSubject": "Export změn entit dokončen", + "AuditLogExportCompletedSubject": "Export protokolu auditu dokončen", + "DownloadLinkExplanation": "Soubor můžete stáhnout pomocí odkazu níže až do {0} (UTC)", + "DownloadNow": "Stáhnout nyní", + "TryAgainMessage": "Zkuste to prosím znovu. Pokud problém přetrvává, kontaktujte podporu." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/de-DE.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/de-DE.json index 512556988f..334ada8c9a 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/de-DE.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/de-DE.json @@ -81,6 +81,9 @@ "Feature:AuditLoggingGroup": "Audit-Protokollierung", "Feature:AuditLoggingEnable": "Aktivieren Sie die Überwachungsprotokollseite", "Feature:AuditLoggingEnableDescription": "Aktivieren Sie die Überwachungsprotokollseite in der App.", - "TenantId": "Mandanten-ID" + "TenantId": "Mandanten-ID", + "DownloadLinkExplanation": "Sie können die Datei über den Link unten bis {0} (UTC) herunterladen", + "DownloadNow": "Jetzt herunterladen", + "TryAgainMessage": "Bitte versuchen Sie es erneut. Wenn das Problem weiterhin besteht, wenden Sie sich bitte an den Support." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/de.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/de.json index 06d2a825f4..cc316ff867 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/de.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/de.json @@ -82,6 +82,36 @@ "Feature:AuditLoggingGroup": "Audit-Protokollierung", "Feature:AuditLoggingEnable": "Aktivierte Audit-Logging-Seite", "Feature:AuditLoggingEnableDescription": "Aktivieren Sie die Audit-Logging-Seite in der Anwendung.", - "TenantId": "Mandanten-ID" + "Feature:AuditLoggingSettingManagementEnable": "Audit-Log-Einstellungsverwaltung aktivieren", + "Feature:AuditLoggingSettingManagementEnableDescription": "Aktivieren Sie die Konfiguration der Audit-Log-Einstellungsverwaltung in der Anwendung.", + "InvalidAuditLogDeletionSettings": "Ungültige Audit-Log-Löscheinstellungen. Wenn das Löschen aktiviert ist, sollte der Zeitraum größer als 0 Tage sein.", + "AuditLogSettingsGeneral": "Allgemein", + "AuditLogSettingsGlobal": "Global", + "DisplayName:IsPeriodicDeleterEnabled": "Bereinigungsdienst systemweit aktivieren", + "Description:IsPeriodicDeleterEnabled": "Wenn diese Option deaktiviert ist, funktioniert der periodische Löscher nicht. Audit-Logs werden nicht automatisch gelöscht.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Bereinigungsdienst für alle Mandanten und Host aktivieren", + "Description:GlobalIsExpiredDeleterEnabled": "Wenn diese Option aktiviert ist, werden alle abgelaufenen Elemente der Mandanten und des Hosts automatisch gelöscht, es sei denn, es gibt eine spezifische Einstellung.", + "DisplayName:IsExpiredDeleterEnabled": "Bereinigungsdienst aktivieren", + "Description:IsExpiredDeleterEnabled": "Wenn diese Option aktiviert ist, werden abgelaufene Elemente automatisch gelöscht.", + "DisplayName:ExpiredDeleterPeriod": "Löschzeitraum für abgelaufene Elemente", + "Description:ExpiredDeleterPeriod": "Legen Sie die Anzahl der Tage fest, nach denen abgelaufene Elemente automatisch gelöscht werden.", + "ExpiredDeleterPeriodUnit": "Tag(e)", + "AuditLogsBeforeXWillBeDeleted": "Audit-Logs vor {0} werden gelöscht.", + "TenantId": "Mandanten-ID", + "Permission:Export": "Audit-Logs exportieren", + "ExportToExcel": "Nach Excel exportieren", + "Exporting": "Exportieren", + "ExportCompleted": "Export erfolgreich abgeschlossen", + "ExportFailed": "Export fehlgeschlagen", + "ExportJobQueued": "Export-Job wurde für {0} Datensätze in die Warteschlange eingereiht. Sie erhalten eine E-Mail, wenn der Export abgeschlossen ist.", + "ExportReady": "Export für {0} Datensätze abgeschlossen und zum Download bereit.", + "FileName": "Dateiname", + "TotalRecords": "Gesamtdatensätze", + "ExcelFileAttachedMessage": "Die Excel-Datei ist an diese E-Mail angehängt.", + "EntityChangeExportCompletedSubject": "Entity-Änderungsexport abgeschlossen", + "AuditLogExportCompletedSubject": "Audit-Log-Export abgeschlossen", + "DownloadLinkExplanation": "Sie können die Datei über den Link unten bis {0} (UTC) herunterladen", + "DownloadNow": "Jetzt herunterladen", + "TryAgainMessage": "Bitte versuchen Sie es erneut. Wenn das Problem weiterhin besteht, wenden Sie sich bitte an den Support." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/en.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/en.json index ac03e75db7..e837e01666 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/en.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/en.json @@ -97,6 +97,21 @@ "Description:ExpiredDeleterPeriod": "Set the number of days after which expired items will be automatically deleted.", "ExpiredDeleterPeriodUnit": "day(s)", "AuditLogsBeforeXWillBeDeleted": "Audit logs before {0} will be deleted.", - "TenantId": "Tenant Id" + "TenantId": "Tenant Id", + "Permission:Export": "Export audit logs", + "ExportToExcel": "Export to Excel", + "Exporting": "Exporting", + "ExportCompleted": "Export completed successfully", + "ExportFailed": "Export failed", + "ExportJobQueued": "Export job has been queued for {0} records. You will receive an email when the export is completed.", + "ExportReady": "Export completed for {0} records and is ready for download.", + "FileName": "File name", + "TotalRecords": "Total records", + "ExcelFileAttachedMessage": "The Excel file is attached to this email.", + "EntityChangeExportCompletedSubject": "Entity change export completed", + "AuditLogExportCompletedSubject": "Audit log export completed", + "DownloadLinkExplanation": "You can download the file using the link below until {0} (UTC)", + "DownloadNow": "Download now", + "TryAgainMessage": "Please try again. If the problem persists, please contact support." } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/es.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/es.json index 310b5de91b..518c29d0ea 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/es.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/es.json @@ -82,6 +82,36 @@ "Feature:AuditLoggingGroup": "Registros de auditoría", "Feature:AuditLoggingEnable": "Habilitar la página de registro de auditoría", "Feature:AuditLoggingEnableDescription": "Habilite la página de registro de auditoría en la aplicación.", - "TenantId": "ID de inquilino" + "Feature:AuditLoggingSettingManagementEnable": "Habilitar la gestión de configuración de registro de auditoría", + "Feature:AuditLoggingSettingManagementEnableDescription": "Habilite la configuración de la gestión de configuración de registro de auditoría dentro de la aplicación.", + "InvalidAuditLogDeletionSettings": "Configuración de eliminación de registro de auditoría no válida. Si la eliminación está habilitada, el período debe ser mayor a 0 días.", + "AuditLogSettingsGeneral": "General", + "AuditLogSettingsGlobal": "Global", + "DisplayName:IsPeriodicDeleterEnabled": "Habilitar servicio de limpieza en todo el sistema", + "Description:IsPeriodicDeleterEnabled": "Si esta opción está deshabilitada, el eliminador periódico no funcionará. Los registros de auditoría no se eliminarán automáticamente.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Habilitar servicio de limpieza para todos los inquilinos y host", + "Description:GlobalIsExpiredDeleterEnabled": "Si esta opción está habilitada, todos los elementos vencidos de los inquilinos y el host se eliminarán automáticamente a menos que tenga una configuración específica.", + "DisplayName:IsExpiredDeleterEnabled": "Habilitar servicio de limpieza", + "Description:IsExpiredDeleterEnabled": "Si esta opción está habilitada, los elementos vencidos se eliminarán automáticamente.", + "DisplayName:ExpiredDeleterPeriod": "Período de eliminación de elementos vencidos", + "Description:ExpiredDeleterPeriod": "Establezca el número de días después de los cuales los elementos vencidos se eliminarán automáticamente.", + "ExpiredDeleterPeriodUnit": "día(s)", + "AuditLogsBeforeXWillBeDeleted": "Los registros de auditoría antes de {0} serán eliminados.", + "TenantId": "ID de inquilino", + "Permission:Export": "Exportar registros de auditoría", + "ExportToExcel": "Exportar a Excel", + "Exporting": "Exportando", + "ExportCompleted": "Exportación completada exitosamente", + "ExportFailed": "Exportación fallida", + "ExportJobQueued": "El trabajo de exportación ha sido puesto en cola para {0} registros. Recibirá un correo electrónico cuando se complete la exportación.", + "ExportReady": "Exportación completada para {0} registros y lista para descarga.", + "FileName": "Nombre del archivo", + "TotalRecords": "Total de registros", + "ExcelFileAttachedMessage": "El archivo de Excel está adjunto a este correo electrónico.", + "EntityChangeExportCompletedSubject": "Exportación de cambios de entidad completada", + "AuditLogExportCompletedSubject": "Exportación de registro de auditoría completada", + "DownloadLinkExplanation": "Puede descargar el archivo usando el enlace a continuación hasta {0} (UTC)", + "DownloadNow": "Descargar ahora", + "TryAgainMessage": "Por favor, inténtelo de nuevo. Si el problema persiste, contacte con soporte." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/fi.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/fi.json index 76b374f51a..a71a9cf5e8 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/fi.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/fi.json @@ -79,9 +79,39 @@ "DurationMs": "Kesto (ms)", "StartDate": "Aloituspäivämäärä", "EndDate": "Päättymispäivä", - "Feature:AuditLoggingGroup": "Tarkastusten kirjaaminen", - "Feature:AuditLoggingEnable": "Aktivoi auditointilokisivu", - "Feature:AuditLoggingEnableDescription": "Ota käyttöön tarkastuksen kirjaussivu sovelluksessa.", - "TenantId": "Vuokralaisen tunnus" + "Feature:AuditLoggingGroup": "Tarkastuslokin kirjaaminen", + "Feature:AuditLoggingEnable": "Ota käyttöön tarkastuslokin kirjaussivu", + "Feature:AuditLoggingEnableDescription": "Ota käyttöön tarkastuslokin kirjaussivu sovelluksessa.", + "Feature:AuditLoggingSettingManagementEnable": "Ota käyttöön tarkastuslokin asetusten hallinta", + "Feature:AuditLoggingSettingManagementEnableDescription": "Ota käyttöön tarkastuslokin asetusten hallinnan konfigurointi sovelluksessa.", + "InvalidAuditLogDeletionSettings": "Virheelliset tarkastuslokin poisto-asetukset. Jos poistaminen on käytössä, ajanjakson tulee olla suurempi kuin 0 päivää.", + "AuditLogSettingsGeneral": "Yleinen", + "AuditLogSettingsGlobal": "Globaali", + "DisplayName:IsPeriodicDeleterEnabled": "Ota käyttöön siivouspalvelu koko järjestelmässä", + "Description:IsPeriodicDeleterEnabled": "Jos tämä vaihtoehto on poistettu käytöstä, jaksollinen poistaja ei toimi. Tarkastuslokeja ei poisteta automaattisesti.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Ota käyttöön siivouspalvelu kaikille vuokralaisille ja isännälle", + "Description:GlobalIsExpiredDeleterEnabled": "Jos tämä vaihtoehto on käytössä, kaikki vuokralaisten ja isännän vanhentuneet kohteet poistetaan automaattisesti, ellei niillä ole erityistä asetusta.", + "DisplayName:IsExpiredDeleterEnabled": "Ota käyttöön siivouspalvelu", + "Description:IsExpiredDeleterEnabled": "Jos tämä vaihtoehto on käytössä, vanhentuneet kohteet poistetaan automaattisesti.", + "DisplayName:ExpiredDeleterPeriod": "Vanhentuneiden kohteiden poistojakso", + "Description:ExpiredDeleterPeriod": "Aseta päivien määrä, jonka jälkeen vanhentuneet kohteet poistetaan automaattisesti.", + "ExpiredDeleterPeriodUnit": "päivä(ä)", + "AuditLogsBeforeXWillBeDeleted": "Tarkastuslokit ennen {0} poistetaan.", + "TenantId": "Vuokralaisen tunnus", + "Permission:Export": "Vie tarkastuslokit", + "ExportToExcel": "Vie Exceliin", + "Exporting": "Viedään", + "ExportCompleted": "Vienti suoritettu onnistuneesti", + "ExportFailed": "Vienti epäonnistui", + "ExportJobQueued": "Vientityö on asetettu jonoon {0} tietueelle. Saat sähköpostin, kun vienti on valmis.", + "ExportReady": "Vienti valmis {0} tietueelle ja valmis ladattavaksi.", + "FileName": "Tiedostonimi", + "TotalRecords": "Tietueiden kokonaismäärä", + "ExcelFileAttachedMessage": "Excel-tiedosto on liitetty tähän sähköpostiin.", + "EntityChangeExportCompletedSubject": "Entiteettimuutosten vienti valmis", + "AuditLogExportCompletedSubject": "Tarkastuslokin vienti valmis", + "DownloadLinkExplanation": "Voit ladata tiedoston alla olevan linkin kautta {0} (UTC) asti", + "DownloadNow": "Lataa nyt", + "TryAgainMessage": "Yritä uudelleen. Jos ongelma jatkuu, ota yhteyttä tukeen." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/fr.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/fr.json index 5ea79065aa..c12e499403 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/fr.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/fr.json @@ -82,6 +82,36 @@ "Feature:AuditLoggingGroup": "Journalisation d'audit", "Feature:AuditLoggingEnable": "Page de journalisation d'audit activée", "Feature:AuditLoggingEnableDescription": "Activez la page de journalisation d'audit dans l'application.", - "TenantId": "ID du locataire" + "Feature:AuditLoggingSettingManagementEnable": "Activer la gestion des paramètres de journalisation d'audit", + "Feature:AuditLoggingSettingManagementEnableDescription": "Activez la configuration de la gestion des paramètres de journalisation d'audit dans l'application.", + "InvalidAuditLogDeletionSettings": "Paramètres de suppression de journal d'audit non valides. Si la suppression est activée, la période doit être supérieure à 0 jour.", + "AuditLogSettingsGeneral": "Général", + "AuditLogSettingsGlobal": "Global", + "DisplayName:IsPeriodicDeleterEnabled": "Activer le service de nettoyage à l'échelle du système", + "Description:IsPeriodicDeleterEnabled": "Si cette option est désactivée, le suppresseur périodique ne fonctionnera pas. Les journaux d'audit ne seront pas supprimés automatiquement.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Activer le service de nettoyage pour tous les locataires et l'hôte", + "Description:GlobalIsExpiredDeleterEnabled": "Si cette option est activée, tous les éléments expirés des locataires et de l'hôte seront supprimés automatiquement, sauf s'il y a un paramètre spécifique.", + "DisplayName:IsExpiredDeleterEnabled": "Activer le service de nettoyage", + "Description:IsExpiredDeleterEnabled": "Si cette option est activée, les éléments expirés seront supprimés automatiquement.", + "DisplayName:ExpiredDeleterPeriod": "Période de suppression des éléments expirés", + "Description:ExpiredDeleterPeriod": "Définissez le nombre de jours après lesquels les éléments expirés seront automatiquement supprimés.", + "ExpiredDeleterPeriodUnit": "jour(s)", + "AuditLogsBeforeXWillBeDeleted": "Les journaux d'audit avant {0} seront supprimés.", + "TenantId": "ID du locataire", + "Permission:Export": "Exporter les journaux d'audit", + "ExportToExcel": "Exporter vers Excel", + "Exporting": "Exportation", + "ExportCompleted": "Exportation terminée avec succès", + "ExportFailed": "Échec de l'exportation", + "ExportJobQueued": "Le travail d'exportation a été mis en file d'attente pour {0} enregistrements. Vous recevrez un e-mail lorsque l'exportation sera terminée.", + "ExportReady": "Exportation terminée pour {0} enregistrements et prête pour le téléchargement.", + "FileName": "Nom du fichier", + "TotalRecords": "Total des enregistrements", + "ExcelFileAttachedMessage": "Le fichier Excel est joint à cet e-mail.", + "EntityChangeExportCompletedSubject": "Exportation des changements d'entité terminée", + "AuditLogExportCompletedSubject": "Exportation du journal d'audit terminée", + "DownloadLinkExplanation": "Vous pouvez télécharger le fichier en utilisant le lien ci-dessous jusqu'au {0} (UTC)", + "DownloadNow": "Télécharger maintenant", + "TryAgainMessage": "Veuillez réessayer. Si le problème persiste, veuillez contacter le support." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hi.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hi.json index 7e1e84de7e..b2e2788e52 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hi.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hi.json @@ -82,6 +82,9 @@ "Feature:AuditLoggingGroup": "ऑडिट लॉगिंग", "Feature:AuditLoggingEnable": "सक्षम ऑडिट लॉगिंग पृष्ठ", "Feature:AuditLoggingEnableDescription": "एप्लिकेशन में ऑडिट लॉगिंग पृष्ठ सक्षम करें।", - "TenantId": "किरायेदार आईडी" + "TenantId": "किरायेदार आईडी", + "DownloadLinkExplanation": "आप {0} (UTC) तक नीचे दिए गए लिंक का उपयोग करके फ़ाइल डाउनलोड कर सकते हैं", + "DownloadNow": "अभी डाउनलोड करें", + "TryAgainMessage": "कृपया पुनः प्रयास करें। यदि समस्या बनी रहती है, तो कृपया सहायता से संपर्क करें।" } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hr.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hr.json index ed6c345578..7d4a3f57b6 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hr.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hr.json @@ -82,6 +82,9 @@ "Feature:AuditLoggingGroup": "Zapisivanje revizije", "Feature:AuditLoggingEnable": "Omogućena stranica za bilježenje revizije", "Feature:AuditLoggingEnableDescription": "Omogućite stranicu za bilježenje revizije u aplikaciji.", - "TenantId": "ID stanara" + "TenantId": "ID stanara", + "DownloadLinkExplanation": "Datoteku možete preuzeti pomoću veze u nastavku do {0} (UTC)", + "DownloadNow": "Preuzmi odmah", + "TryAgainMessage": "Molimo pokušajte ponovno. Ako se problem nastavi, obratite se podršci." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hu.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hu.json index 816aa4c0d5..af744ac07b 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hu.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/hu.json @@ -80,8 +80,38 @@ "StartDate": "Kezdő dátum", "EndDate": "Befejezés dátuma", "Feature:AuditLoggingGroup": "Audit naplózás", - "Feature:AuditLoggingEnable": "Engedélyezett naplózási oldal", - "Feature:AuditLoggingEnableDescription": "Engedélyezze a naplózási oldalt az alkalmazásban.", - "TenantId": "Bérlő azonosító" + "Feature:AuditLoggingEnable": "Audit naplózási oldal engedélyezése", + "Feature:AuditLoggingEnableDescription": "Engedélyezze az audit naplózási oldalt az alkalmazásban.", + "Feature:AuditLoggingSettingManagementEnable": "Audit napló beállítások kezelésének engedélyezése", + "Feature:AuditLoggingSettingManagementEnableDescription": "Engedélyezze az audit napló beállítások kezelésének konfigurációját az alkalmazásban.", + "InvalidAuditLogDeletionSettings": "Érvénytelen audit napló törlési beállítások. Ha a törlés engedélyezett, az időszaknak nagyobbnak kell lennie 0 napnál.", + "AuditLogSettingsGeneral": "Általános", + "AuditLogSettingsGlobal": "Globális", + "DisplayName:IsPeriodicDeleterEnabled": "Takarítási szolgáltatás engedélyezése rendszerszinten", + "Description:IsPeriodicDeleterEnabled": "Ha ez az opció le van tiltva, a periodikus törlő nem fog működni. Az audit naplók nem lesznek automatikusan törölve.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Takarítási szolgáltatás engedélyezése minden bérlő és host számára", + "Description:GlobalIsExpiredDeleterEnabled": "Ha ez az opció engedélyezett, minden bérlő és host lejárt elemei automatikusan törölve lesznek, kivéve ha van specifikus beállítás.", + "DisplayName:IsExpiredDeleterEnabled": "Takarítási szolgáltatás engedélyezése", + "Description:IsExpiredDeleterEnabled": "Ha ez az opció engedélyezett, a lejárt elemek automatikusan törölve lesznek.", + "DisplayName:ExpiredDeleterPeriod": "Lejárt elemek törlési időszaka", + "Description:ExpiredDeleterPeriod": "Állítsa be a napok számát, amely után a lejárt elemek automatikusan törölve lesznek.", + "ExpiredDeleterPeriodUnit": "nap(ok)", + "AuditLogsBeforeXWillBeDeleted": "Az audit naplók {0} előtt törölve lesznek.", + "TenantId": "Bérlő azonosító", + "Permission:Export": "Audit naplók exportálása", + "ExportToExcel": "Exportálás Excelbe", + "Exporting": "Exportálás", + "ExportCompleted": "Exportálás sikeresen befejezve", + "ExportFailed": "Exportálás sikertelen", + "ExportJobQueued": "Exportálási feladat sorba állítva {0} rekordhoz. E-mailt fog kapni, amikor az exportálás befejeződött.", + "ExportReady": "Exportálás befejezve {0} rekordhoz és letöltésre kész.", + "FileName": "Fájlnév", + "TotalRecords": "Összes rekord", + "ExcelFileAttachedMessage": "Az Excel fájl csatolva van ehhez az e-mailhez.", + "EntityChangeExportCompletedSubject": "Entitás változás exportálás befejezve", + "AuditLogExportCompletedSubject": "Audit napló exportálás befejezve", + "DownloadLinkExplanation": "A fájlt letöltheti az alábbi linken keresztül {0} (UTC) időpontig", + "DownloadNow": "Letöltés most", + "TryAgainMessage": "Kérjük, próbálja újra. Ha a probléma továbbra is fennáll, forduljon az ügyfélszolgálathoz." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/is.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/is.json index fc556570ff..2d2f8915f3 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/is.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/is.json @@ -82,6 +82,9 @@ "Feature:AuditLoggingGroup": "Endurskoðunarskráning", "Feature:AuditLoggingEnable": "Virkjað endurskoðunarskráningarsíða", "Feature:AuditLoggingEnableDescription": "Virkjaðu endurskoðunarskráningarsíðu í forritinu.", - "TenantId": "Leigutakaauðkenni" + "TenantId": "Leigutakaauðkenni", + "DownloadLinkExplanation": "Þú getur sótt skrána með tenglinum hér að neðan til {0} (UTC)", + "DownloadNow": "Sækja núna", + "TryAgainMessage": "Vinsamlegast reyndu aftur. Ef vandamálið er viðvarandi, hafðu samband við þjónustuaðila." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/it.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/it.json index 6e3ef94959..b43511d03b 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/it.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/it.json @@ -82,6 +82,36 @@ "Feature:AuditLoggingGroup": "Registrazione di controllo", "Feature:AuditLoggingEnable": "Pagina di registrazione di controllo abilitata", "Feature:AuditLoggingEnableDescription": "Abilita la pagina di registrazione dell'audit nell'applicazione.", - "TenantId": "ID inquilino" + "Feature:AuditLoggingSettingManagementEnable": "Abilita gestione impostazioni log di audit", + "Feature:AuditLoggingSettingManagementEnableDescription": "Abilita la configurazione della gestione delle impostazioni del log di audit nell'applicazione.", + "InvalidAuditLogDeletionSettings": "Impostazioni di eliminazione del log di audit non valide. Se l'eliminazione è abilitata, il periodo dovrebbe essere maggiore di 0 giorni.", + "AuditLogSettingsGeneral": "Generale", + "AuditLogSettingsGlobal": "Globale", + "DisplayName:IsPeriodicDeleterEnabled": "Abilita servizio di pulizia a livello di sistema", + "Description:IsPeriodicDeleterEnabled": "Se questa opzione è disabilitata, l'eliminatore periodico non funzionerà. I log di audit non verranno eliminati automaticamente.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Abilita servizio di pulizia per tutti i tenant e l'host", + "Description:GlobalIsExpiredDeleterEnabled": "Se questa opzione è abilitata, tutti gli elementi scaduti dei tenant e dell'host verranno eliminati automaticamente a meno che non abbiano un'impostazione specifica.", + "DisplayName:IsExpiredDeleterEnabled": "Abilita servizio di pulizia", + "Description:IsExpiredDeleterEnabled": "Se questa opzione è abilitata, gli elementi scaduti verranno eliminati automaticamente.", + "DisplayName:ExpiredDeleterPeriod": "Periodo di eliminazione elementi scaduti", + "Description:ExpiredDeleterPeriod": "Imposta il numero di giorni dopo i quali gli elementi scaduti verranno eliminati automaticamente.", + "ExpiredDeleterPeriodUnit": "giorno(i)", + "AuditLogsBeforeXWillBeDeleted": "I log di audit prima di {0} verranno eliminati.", + "TenantId": "ID inquilino", + "Permission:Export": "Esporta log di audit", + "ExportToExcel": "Esporta in Excel", + "Exporting": "Esportazione", + "ExportCompleted": "Esportazione completata con successo", + "ExportFailed": "Esportazione fallita", + "ExportJobQueued": "Il lavoro di esportazione è stato messo in coda per {0} record. Riceverai un'email quando l'esportazione sarà completata.", + "ExportReady": "Esportazione completata per {0} record e pronta per il download.", + "FileName": "Nome file", + "TotalRecords": "Record totali", + "ExcelFileAttachedMessage": "Il file Excel è allegato a questa email.", + "EntityChangeExportCompletedSubject": "Esportazione modifiche entità completata", + "AuditLogExportCompletedSubject": "Esportazione log di audit completata", + "DownloadLinkExplanation": "Puoi scaricare il file utilizzando il link qui sotto fino a {0} (UTC)", + "DownloadNow": "Scarica ora", + "TryAgainMessage": "Per favore riprova. Se il problema persiste, contatta il supporto." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/nl.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/nl.json index 289b2318e3..9b44a3c884 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/nl.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/nl.json @@ -79,9 +79,39 @@ "DurationMs": "Duur (ms)", "StartDate": "Begin datum", "EndDate": "Einddatum", - "Feature:AuditLoggingGroup": "Auditregistratie", - "Feature:AuditLoggingEnable": "Pagina voor auditregistratie ingeschakeld", - "Feature:AuditLoggingEnableDescription": "Schakel de auditlogboekpagina in de applicatie in.", - "TenantId": "Huurder-ID" + "Feature:AuditLoggingGroup": "Auditlogboekregistratie", + "Feature:AuditLoggingEnable": "Auditlogboekregistratiepagina ingeschakeld", + "Feature:AuditLoggingEnableDescription": "Schakel de auditlogboekregistratiepagina in de applicatie in.", + "Feature:AuditLoggingSettingManagementEnable": "Beheer van auditlog-instellingen inschakelen", + "Feature:AuditLoggingSettingManagementEnableDescription": "Schakel de configuratie van het beheer van auditlog-instellingen binnen de applicatie in.", + "InvalidAuditLogDeletionSettings": "Ongeldige instellingen voor het verwijderen van auditlogs. Als verwijdering is ingeschakeld, moet de periode groter zijn dan 0 dagen.", + "AuditLogSettingsGeneral": "Algemeen", + "AuditLogSettingsGlobal": "Globaal", + "DisplayName:IsPeriodicDeleterEnabled": "Opruimservice systeembreed inschakelen", + "Description:IsPeriodicDeleterEnabled": "Als deze optie is uitgeschakeld, werkt de periodieke verwijderaar niet. Auditlogs worden niet automatisch verwijderd.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Opruimservice inschakelen voor alle huurders en host", + "Description:GlobalIsExpiredDeleterEnabled": "Als deze optie is ingeschakeld, worden alle verlopen items van huurders en de host automatisch verwijderd, tenzij er een specifieke instelling is.", + "DisplayName:IsExpiredDeleterEnabled": "Opruimservice inschakelen", + "Description:IsExpiredDeleterEnabled": "Als deze optie is ingeschakeld, worden verlopen items automatisch verwijderd.", + "DisplayName:ExpiredDeleterPeriod": "Verwijderingsperiode voor verlopen items", + "Description:ExpiredDeleterPeriod": "Stel het aantal dagen in waarna verlopen items automatisch worden verwijderd.", + "ExpiredDeleterPeriodUnit": "dag(en)", + "AuditLogsBeforeXWillBeDeleted": "Auditlogs vóór {0} worden verwijderd.", + "TenantId": "Huurder-ID", + "Permission:Export": "Auditlogs exporteren", + "ExportToExcel": "Exporteren naar Excel", + "Exporting": "Exporteren", + "ExportCompleted": "Export succesvol voltooid", + "ExportFailed": "Export mislukt", + "ExportJobQueued": "Exporttaak is in de wachtrij geplaatst voor {0} records. U ontvangt een e-mail wanneer de export is voltooid.", + "ExportReady": "Export voltooid voor {0} records en klaar voor download.", + "FileName": "Bestandsnaam", + "TotalRecords": "Totaal aantal records", + "ExcelFileAttachedMessage": "Het Excel-bestand is bijgevoegd bij deze e-mail.", + "EntityChangeExportCompletedSubject": "Export van entiteitswijzigingen voltooid", + "AuditLogExportCompletedSubject": "Auditlog export voltooid", + "DownloadLinkExplanation": "U kunt het bestand downloaden via de onderstaande link tot {0} (UTC)", + "DownloadNow": "Download nu", + "TryAgainMessage": "Probeer het opnieuw. Als het probleem aanhoudt, neem dan contact op met de ondersteuning." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/pl-PL.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/pl-PL.json index 9f4f6db58f..17162d6af8 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/pl-PL.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/pl-PL.json @@ -80,8 +80,38 @@ "StartDate": "Data rozpoczęcia", "EndDate": "Data końcowa", "Feature:AuditLoggingGroup": "Rejestrowanie audytu", - "Feature:AuditLoggingEnable": "Włączono stronę rejestrowania audytu", + "Feature:AuditLoggingEnable": "Włącz stronę rejestrowania audytu", "Feature:AuditLoggingEnableDescription": "Włącz stronę rejestrowania audytu w aplikacji.", - "TenantId": "Identyfikator najemcy" + "Feature:AuditLoggingSettingManagementEnable": "Włącz zarządzanie ustawieniami dziennika audytu", + "Feature:AuditLoggingSettingManagementEnableDescription": "Włącz konfigurację zarządzania ustawieniami dziennika audytu w aplikacji.", + "InvalidAuditLogDeletionSettings": "Nieprawidłowe ustawienia usuwania dziennika audytu. Jeśli usuwanie jest włączone, okres powinien być większy niż 0 dni.", + "AuditLogSettingsGeneral": "Ogólne", + "AuditLogSettingsGlobal": "Globalne", + "DisplayName:IsPeriodicDeleterEnabled": "Włącz usługę czyszczenia w całym systemie", + "Description:IsPeriodicDeleterEnabled": "Jeśli ta opcja jest wyłączona, okresowy usuwacz nie będzie działać. Dzienniki audytu nie będą automatycznie usuwane.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Włącz usługę czyszczenia dla wszystkich najemców i hosta", + "Description:GlobalIsExpiredDeleterEnabled": "Jeśli ta opcja jest włączona, wszystkie wygasłe elementy najemców i hosta będą automatycznie usuwane, chyba że mają określone ustawienie.", + "DisplayName:IsExpiredDeleterEnabled": "Włącz usługę czyszczenia", + "Description:IsExpiredDeleterEnabled": "Jeśli ta opcja jest włączona, wygasłe elementy będą automatycznie usuwane.", + "DisplayName:ExpiredDeleterPeriod": "Okres usuwania wygasłych elementów", + "Description:ExpiredDeleterPeriod": "Ustaw liczbę dni, po których wygasłe elementy będą automatycznie usuwane.", + "ExpiredDeleterPeriodUnit": "dzień(dni)", + "AuditLogsBeforeXWillBeDeleted": "Dzienniki audytu przed {0} zostaną usunięte.", + "TenantId": "ID najemcy", + "Permission:Export": "Eksportuj dzienniki audytu", + "ExportToExcel": "Eksportuj do Excela", + "Exporting": "Eksportowanie", + "ExportCompleted": "Eksport zakończony pomyślnie", + "ExportFailed": "Eksport nieudany", + "ExportJobQueued": "Zadanie eksportu zostało umieszczone w kolejce dla {0} rekordów. Otrzymasz e-mail po zakończeniu eksportu.", + "ExportReady": "Eksport zakończony dla {0} rekordów i gotowy do pobrania.", + "FileName": "Nazwa pliku", + "TotalRecords": "Łączna liczba rekordów", + "ExcelFileAttachedMessage": "Plik Excel jest załączony do tego e-maila.", + "EntityChangeExportCompletedSubject": "Eksport zmian encji zakończony", + "AuditLogExportCompletedSubject": "Eksport dziennika audytu zakończony", + "DownloadLinkExplanation": "Możesz pobrać plik, korzystając z poniższego łącza do {0} (UTC)", + "DownloadNow": "Pobierz teraz", + "TryAgainMessage": "Proszę spróbuj ponownie. Jeśli problem nie ustąpi, skontaktuj się z pomocą techniczną." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/pt-BR.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/pt-BR.json index d88aba16a6..03ec81d51e 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/pt-BR.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/pt-BR.json @@ -82,6 +82,36 @@ "Feature:AuditLoggingGroup": "Registro de auditoria", "Feature:AuditLoggingEnable": "Página de registro de auditoria habilitada", "Feature:AuditLoggingEnableDescription": "Habilite a página de registro de auditoria no aplicativo.", - "TenantId": "ID do inquilino" + "Feature:AuditLoggingSettingManagementEnable": "Habilitar gerenciamento de configurações de log de auditoria", + "Feature:AuditLoggingSettingManagementEnableDescription": "Habilite a configuração do gerenciamento de configurações de log de auditoria dentro do aplicativo.", + "InvalidAuditLogDeletionSettings": "Configurações de exclusão de log de auditoria inválidas. Se a exclusão estiver habilitada, o período deve ser maior que 0 dias.", + "AuditLogSettingsGeneral": "Geral", + "AuditLogSettingsGlobal": "Global", + "DisplayName:IsPeriodicDeleterEnabled": "Habilitar serviço de limpeza em todo o sistema", + "Description:IsPeriodicDeleterEnabled": "Se esta opção estiver desabilitada, o excluidor periódico não funcionará. Os logs de auditoria não serão excluídos automaticamente.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Habilitar serviço de limpeza para todos os inquilinos e host", + "Description:GlobalIsExpiredDeleterEnabled": "Se esta opção estiver habilitada, todos os itens expirados dos inquilinos e do host serão excluídos automaticamente, a menos que tenham uma configuração específica.", + "DisplayName:IsExpiredDeleterEnabled": "Habilitar serviço de limpeza", + "Description:IsExpiredDeleterEnabled": "Se esta opção estiver habilitada, os itens expirados serão excluídos automaticamente.", + "DisplayName:ExpiredDeleterPeriod": "Período de exclusão de itens expirados", + "Description:ExpiredDeleterPeriod": "Defina o número de dias após os quais os itens expirados serão excluídos automaticamente.", + "ExpiredDeleterPeriodUnit": "dia(s)", + "AuditLogsBeforeXWillBeDeleted": "Os logs de auditoria antes de {0} serão excluídos.", + "TenantId": "ID do inquilino", + "Permission:Export": "Exportar logs de auditoria", + "ExportToExcel": "Exportar para Excel", + "Exporting": "Exportando", + "ExportCompleted": "Exportação concluída com sucesso", + "ExportFailed": "Exportação falhou", + "ExportJobQueued": "O trabalho de exportação foi enfileirado para {0} registros. Você receberá um email quando a exportação for concluída.", + "ExportReady": "Exportação concluída para {0} registros e pronta para download.", + "FileName": "Nome do arquivo", + "TotalRecords": "Total de registros", + "ExcelFileAttachedMessage": "O arquivo Excel está anexado a este email.", + "EntityChangeExportCompletedSubject": "Exportação de mudanças de entidade concluída", + "AuditLogExportCompletedSubject": "Exportação de log de auditoria concluída", + "DownloadLinkExplanation": "Você pode baixar o arquivo usando o link abaixo até {0} (UTC)", + "DownloadNow": "Baixar agora", + "TryAgainMessage": "Por favor, tente novamente. Se o problema persistir, entre em contato com o suporte." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ro-RO.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ro-RO.json index 0b546c4866..2cc471a1e4 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ro-RO.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ro-RO.json @@ -82,6 +82,9 @@ "Feature:AuditLoggingGroup": "Înregistrare de audit", "Feature:AuditLoggingEnable": "Pagina de înregistrare a auditului activată", "Feature:AuditLoggingEnableDescription": "Activați pagina de înregistrare a auditului în aplicație.", - "TenantId": "ID chiriaș" + "TenantId": "ID chiriaș", + "DownloadLinkExplanation": "Puteți descărca fișierul folosind link-ul de mai jos până la {0} (UTC)", + "DownloadNow": "Descărcați acum", + "TryAgainMessage": "Vă rugăm să încercați din nou. Dacă problema persistă, vă rugăm să contactați asistența." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ru.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ru.json index 9d12238ac2..f07c7baa78 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ru.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/ru.json @@ -82,6 +82,36 @@ "Feature:AuditLoggingGroup": "Ведение журнала аудита", "Feature:AuditLoggingEnable": "Включенная страница ведения журнала аудита", "Feature:AuditLoggingEnableDescription": "Включить страницу ведения журнала аудита в приложении.", - "TenantId": "Идентификатор арендатора" + "Feature:AuditLoggingSettingManagementEnable": "Включить управление настройками журнала аудита", + "Feature:AuditLoggingSettingManagementEnableDescription": "Включить конфигурацию управления настройками журнала аудита в приложении.", + "InvalidAuditLogDeletionSettings": "Недопустимые настройки удаления журнала аудита. Если удаление включено, период должен быть больше 0 дней.", + "AuditLogSettingsGeneral": "Общие", + "AuditLogSettingsGlobal": "Глобальные", + "DisplayName:IsPeriodicDeleterEnabled": "Включить службу очистки в масштабе системы", + "Description:IsPeriodicDeleterEnabled": "Если эта опция отключена, периодический удалитель не будет работать. Журналы аудита не будут удаляться автоматически.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Включить службу очистки для всех арендаторов и хоста", + "Description:GlobalIsExpiredDeleterEnabled": "Если эта опция включена, все просроченные элементы арендаторов и хоста будут удаляться автоматически, если у них нет специальной настройки.", + "DisplayName:IsExpiredDeleterEnabled": "Включить службу очистки", + "Description:IsExpiredDeleterEnabled": "Если эта опция включена, просроченные элементы будут удаляться автоматически.", + "DisplayName:ExpiredDeleterPeriod": "Период удаления просроченных элементов", + "Description:ExpiredDeleterPeriod": "Установите количество дней, после которых просроченные элементы будут автоматически удалены.", + "ExpiredDeleterPeriodUnit": "день(дни)", + "AuditLogsBeforeXWillBeDeleted": "Журналы аудита до {0} будут удалены.", + "TenantId": "Идентификатор арендатора", + "Permission:Export": "Экспорт журналов аудита", + "ExportToExcel": "Экспорт в Excel", + "Exporting": "Экспорт", + "ExportCompleted": "Экспорт успешно завершен", + "ExportFailed": "Экспорт не удался", + "ExportJobQueued": "Задача экспорта поставлена в очередь для {0} записей. Вы получите электронное письмо, когда экспорт будет завершен.", + "ExportReady": "Экспорт завершен для {0} записей и готов к загрузке.", + "FileName": "Имя файла", + "TotalRecords": "Всего записей", + "ExcelFileAttachedMessage": "Файл Excel прикреплен к этому электронному письму.", + "EntityChangeExportCompletedSubject": "Экспорт изменений сущности завершен", + "AuditLogExportCompletedSubject": "Экспорт журнала аудита завершен", + "DownloadLinkExplanation": "Вы можете скачать файл по ссылке ниже до {0} (UTC)", + "DownloadNow": "Скачать сейчас", + "TryAgainMessage": "Пожалуйста, попробуйте еще раз. Если проблема не исчезнет, обратитесь в службу поддержки." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sk.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sk.json index ae3925ea79..e406b3ec25 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sk.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sk.json @@ -79,9 +79,39 @@ "DurationMs": "Trvanie (ms)", "StartDate": "Dátum začiatku", "EndDate": "Dátum konca", - "Feature:AuditLoggingGroup": "Audit logovanie", - "Feature:AuditLoggingEnable": "Povoliť stránku audit logovania", - "Feature:AuditLoggingEnableDescription": "Povolená stránka audit logovania v aplikácii.", - "TenantId": "ID nájomníka" + "Feature:AuditLoggingGroup": "Protokolovanie auditu", + "Feature:AuditLoggingEnable": "Povoliť stránku protokolovania auditu", + "Feature:AuditLoggingEnableDescription": "Povoliť stránku protokolovania auditu v aplikácii.", + "Feature:AuditLoggingSettingManagementEnable": "Povoliť správu nastavení protokolu auditu", + "Feature:AuditLoggingSettingManagementEnableDescription": "Povoliť konfiguráciu správy nastavení protokolu auditu v aplikácii.", + "InvalidAuditLogDeletionSettings": "Neplatné nastavenia mazania protokolu auditu. Ak je mazanie povolené, obdobie by malo byť väčšie ako 0 dní.", + "AuditLogSettingsGeneral": "Všeobecné", + "AuditLogSettingsGlobal": "Globálne", + "DisplayName:IsPeriodicDeleterEnabled": "Povoliť službu čistenia v celom systéme", + "Description:IsPeriodicDeleterEnabled": "Ak je táto možnosť zakázaná, periodický mazač nebude fungovať. Protokoly auditu nebudú automaticky mazané.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Povoliť službu čistenia pre všetkých nájomcov a hostiteľa", + "Description:GlobalIsExpiredDeleterEnabled": "Ak je táto možnosť povolená, všetky prešlé položky nájomcov a hostiteľa budú automaticky zmazané, pokiaľ nemajú špecifické nastavenie.", + "DisplayName:IsExpiredDeleterEnabled": "Povoliť službu čistenia", + "Description:IsExpiredDeleterEnabled": "Ak je táto možnosť povolená, prešlé položky budú automaticky zmazané.", + "DisplayName:ExpiredDeleterPeriod": "Obdobie mazania prešlých položiek", + "Description:ExpiredDeleterPeriod": "Nastavte počet dní, po ktorých budú prešlé položky automaticky zmazané.", + "ExpiredDeleterPeriodUnit": "deň(dni)", + "AuditLogsBeforeXWillBeDeleted": "Protokoly auditu pred {0} budú zmazané.", + "TenantId": "ID nájomcu", + "Permission:Export": "Exportovať protokoly auditu", + "ExportToExcel": "Exportovať do Excelu", + "Exporting": "Exportovanie", + "ExportCompleted": "Export úspešne dokončený", + "ExportFailed": "Export sa nepodaril", + "ExportJobQueued": "Úloha exportu bola zaradená do fronty pre {0} záznamov. Dostanete e-mail, keď bude export dokončený.", + "ExportReady": "Export dokončený pre {0} záznamov a pripravený na stiahnutie.", + "FileName": "Názov súboru", + "TotalRecords": "Celkom záznamov", + "ExcelFileAttachedMessage": "Súbor Excel je pripojený k tomuto e-mailu.", + "EntityChangeExportCompletedSubject": "Export zmien entít dokončený", + "AuditLogExportCompletedSubject": "Export protokolu auditu dokončený", + "DownloadLinkExplanation": "Súbor si môžete stiahnuť pomocou odkazu nižšie do {0} (UTC)", + "DownloadNow": "Stiahnuť teraz", + "TryAgainMessage": "Skúste to prosím znova. Ak problém pretrváva, kontaktujte podporu." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sl.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sl.json index 460e43458e..0efc30a3d0 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sl.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sl.json @@ -79,9 +79,39 @@ "DurationMs": "Trajanje (ms)", "StartDate": "Začetni datum", "EndDate": "Končni datum", - "Feature:AuditLoggingGroup": "Revizijsko beleženje", - "Feature:AuditLoggingEnable": "Omogočena stran za beleženje revizije", - "Feature:AuditLoggingEnableDescription": "Omogočite stran za beleženje revizije v aplikaciji.", - "TenantId": "ID najemnika" + "Feature:AuditLoggingGroup": "Beleženje revizije", + "Feature:AuditLoggingEnable": "Omogoči stran beleženja revizije", + "Feature:AuditLoggingEnableDescription": "Omogočite stran beleženja revizije v aplikaciji.", + "Feature:AuditLoggingSettingManagementEnable": "Omogoči upravljanje nastavitev dnevnika revizije", + "Feature:AuditLoggingSettingManagementEnableDescription": "Omogočite konfiguracijo upravljanja nastavitev dnevnika revizije v aplikaciji.", + "InvalidAuditLogDeletionSettings": "Neveljavne nastavitve brisanja dnevnika revizije. Če je brisanje omogočeno, mora biti obdobje večje od 0 dni.", + "AuditLogSettingsGeneral": "Splošno", + "AuditLogSettingsGlobal": "Globalno", + "DisplayName:IsPeriodicDeleterEnabled": "Omogoči storitev čiščenja po celotnem sistemu", + "Description:IsPeriodicDeleterEnabled": "Če je ta možnost onemogočena, periodični brisalec ne bo deloval. Dnevniki revizije ne bodo samodejno izbrisani.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Omogoči storitev čiščenja za vse najemnike in gostitelja", + "Description:GlobalIsExpiredDeleterEnabled": "Če je ta možnost omogočena, bodo vsi potekli elementi najemnikov in gostitelja samodejno izbrisani, razen če imajo specifično nastavitev.", + "DisplayName:IsExpiredDeleterEnabled": "Omogoči storitev čiščenja", + "Description:IsExpiredDeleterEnabled": "Če je ta možnost omogočena, bodo potekli elementi samodejno izbrisani.", + "DisplayName:ExpiredDeleterPeriod": "Obdobje brisanja poteklih elementov", + "Description:ExpiredDeleterPeriod": "Nastavite število dni, po katerih bodo potekli elementi samodejno izbrisani.", + "ExpiredDeleterPeriodUnit": "dan(i)", + "AuditLogsBeforeXWillBeDeleted": "Dnevniki revizije pred {0} bodo izbrisani.", + "TenantId": "ID najemnika", + "Permission:Export": "Izvozi dnevnike revizije", + "ExportToExcel": "Izvozi v Excel", + "Exporting": "Izvažanje", + "ExportCompleted": "Izvoz uspešno dokončan", + "ExportFailed": "Izvoz neuspešen", + "ExportJobQueued": "Naloga izvoza je bila postavljena v vrsto za {0} zapisov. Prejeli boste e-pošto, ko bo izvoz dokončan.", + "ExportReady": "Izvoz dokončan za {0} zapisov in pripravljen za prenos.", + "FileName": "Ime datoteke", + "TotalRecords": "Skupaj zapisov", + "ExcelFileAttachedMessage": "Datoteka Excel je priložena tej e-pošti.", + "EntityChangeExportCompletedSubject": "Izvoz sprememb entitet dokončan", + "AuditLogExportCompletedSubject": "Izvoz dnevnika revizije dokončan", + "DownloadLinkExplanation": "Datoteko lahko prenesete s spodnjo povezavo do {0} (UTC)", + "DownloadNow": "Prenesi zdaj", + "TryAgainMessage": "Prosimo, poskusite znova. Če težava vztraja, se obrnite na podporo." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sv.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sv.json index 3c57005a3d..b3a44c27ed 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sv.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/sv.json @@ -79,24 +79,39 @@ "DurationMs": "Varaktighet (ms)", "StartDate": "Startdatum", "EndDate": "Slutdatum", - "Feature:AuditLoggingGroup": "Granskning av loggning", - "Feature:AuditLoggingEnable": "Aktivera granskningsloggning sida", - "Feature:AuditLoggingEnableDescription": "Aktivera sidan för granskningsloggning i programmet.", - "Feature:AuditLoggingSettingManagementEnable": "Aktivera hantering av inställningar för granskningslogg", - "Feature:AuditLoggingSettingManagementEnableDescription": "Aktivera konfigurationen av inställningshanteringen för granskningsloggen i programmet.", - "InvalidAuditLogDeletionSettings": "Ogiltiga inställningar för radering av revisionslogg. Om radering är aktiverad ska perioden vara större än 0 dagar.", + "Feature:AuditLoggingGroup": "Granskningsloggning", + "Feature:AuditLoggingEnable": "Aktivera granskningsloggningssida", + "Feature:AuditLoggingEnableDescription": "Aktivera granskningsloggningssidan i applikationen.", + "Feature:AuditLoggingSettingManagementEnable": "Aktivera hantering av granskningslogginställningar", + "Feature:AuditLoggingSettingManagementEnableDescription": "Aktivera konfiguration av hantering av granskningslogginställningar inom applikationen.", + "InvalidAuditLogDeletionSettings": "Ogiltiga inställningar för borttagning av granskningslogg. Om borttagning är aktiverat ska perioden vara större än 0 dagar.", "AuditLogSettingsGeneral": "Allmänt", "AuditLogSettingsGlobal": "Globalt", - "DisplayName:IsPeriodicDeleterEnabled": "Möjliggör uppstädning av hela systemet", - "Description:IsPeriodicDeleterEnabled": "Om detta alternativ är avaktiverat fungerar inte den periodiska raderingen. Granskningsloggar kommer inte att raderas automatiskt.", - "DisplayName:GlobalIsExpiredDeleterEnabled": "Aktivera städservice för alla hyresgäster och värd", - "Description:GlobalIsExpiredDeleterEnabled": "Om det här alternativet är aktiverat raderas alla förfallna objekt för hyresgäster och värd automatiskt om det inte har en specifik inställning.", - "DisplayName:IsExpiredDeleterEnabled": "Möjliggör städning", - "Description:IsExpiredDeleterEnabled": "Om detta alternativ är aktiverat raderas de utgångna artiklarna automatiskt.", - "DisplayName:ExpiredDeleterPeriod": "Utgången raderingsperiod för objekt", - "Description:ExpiredDeleterPeriod": "Ställ in antalet dagar efter vilka utgångna objekt automatiskt ska raderas.", + "DisplayName:IsPeriodicDeleterEnabled": "Aktivera rengöringstjänst systemomfattande", + "Description:IsPeriodicDeleterEnabled": "Om detta alternativ är inaktiverat kommer den periodiska raderaren inte att fungera. Granskningsloggar kommer inte att raderas automatiskt.", + "DisplayName:GlobalIsExpiredDeleterEnabled": "Aktivera rengöringstjänst för alla hyresgäster och värd", + "Description:GlobalIsExpiredDeleterEnabled": "Om detta alternativ är aktiverat kommer alla utgångna objekt för hyresgäster och värd att raderas automatiskt såvida de inte har en specifik inställning.", + "DisplayName:IsExpiredDeleterEnabled": "Aktivera rengöringstjänst", + "Description:IsExpiredDeleterEnabled": "Om detta alternativ är aktiverat kommer utgångna objekt att raderas automatiskt.", + "DisplayName:ExpiredDeleterPeriod": "Period för radering av utgångna objekt", + "Description:ExpiredDeleterPeriod": "Ange antalet dagar efter vilka utgångna objekt kommer att raderas automatiskt.", "ExpiredDeleterPeriodUnit": "dag(ar)", "AuditLogsBeforeXWillBeDeleted": "Granskningsloggar före {0} kommer att raderas.", - "TenantId": "Hyresgäst-ID" + "TenantId": "Hyresgäst-ID", + "Permission:Export": "Exportera granskningsloggar", + "ExportToExcel": "Exportera till Excel", + "Exporting": "Exporterar", + "ExportCompleted": "Export slutförd framgångsrikt", + "ExportFailed": "Export misslyckades", + "ExportJobQueued": "Exportjobb har köats för {0} poster. Du kommer att få ett e-postmeddelande när exporten är klar.", + "ExportReady": "Export slutförd för {0} poster och redo för nedladdning.", + "FileName": "Filnamn", + "TotalRecords": "Totalt antal poster", + "ExcelFileAttachedMessage": "Excel-filen är bifogad till detta e-postmeddelande.", + "EntityChangeExportCompletedSubject": "Export av entitetsändringar slutförd", + "AuditLogExportCompletedSubject": "Export av granskningslogg slutförd", + "DownloadLinkExplanation": "Du kan ladda ner filen via länken nedan fram till {0} (UTC)", + "DownloadNow": "Ladda ner nu", + "TryAgainMessage": "Försök igen. Om problemet kvarstår, kontakta support." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/tr.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/tr.json index b3e09335fc..86105e1a08 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/tr.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/tr.json @@ -82,6 +82,21 @@ "Feature:AuditLoggingEnable": "İşlem kayıtları sayfasını etkinleştirin", "Feature:AuditLoggingEnableDescription": "Uygulamadanızdaki işlem kayıtları sayfasını etkinleştirir.", "MinMaxDuration": "Süre (Min. - Max.)", - "TenantId": "Müşteri Id" + "TenantId": "Müşteri Id", + "Permission:Export": "İşlem kayıtlarını dışa aktar", + "ExportToExcel": "Excel'e Aktar", + "Exporting": "Aktarılıyor", + "ExportCompleted": "Aktarma başarıyla tamamlandı", + "ExportFailed": "Aktarma başarısız", + "ExportJobQueued": "{0} kayıt için dışa aktarma işi sıraya alındı. İşlem tamamlandığında e-posta ile bilgilendirileceksiniz.", + "ExportReady": "{0} kayıt için dışa aktarma tamamlandı ve indirme için hazır.", + "FileName": "Dosya adı", + "TotalRecords": "Toplam kayıt", + "ExcelFileAttachedMessage": "Excel dosyası bu e-postaya eklenmiştir.", + "EntityChangeExportCompletedSubject": "Entity değişiklik dışa aktarma tamamlandı", + "AuditLogExportCompletedSubject": "İşlem log dışa aktarma tamamlandı", + "DownloadLinkExplanation": "Dosyayı aşağıdaki bağlantıyı kullanarak {0} (UTC) tarihine kadar indirebilirsiniz", + "DownloadNow": "Şimdi İndir", + "TryAgainMessage": "Lütfen tekrar deneyin. Sorun devam ederse, lütfen destek ekibiyle iletişime geçin." } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/vi.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/vi.json index 933593c168..ad4f040a96 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/vi.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/vi.json @@ -82,6 +82,9 @@ "Feature:AuditLoggingGroup": "Ghi nhật ký kiểm tra", "Feature:AuditLoggingEnable": "Đã bật trang ghi nhật ký kiểm tra", "Feature:AuditLoggingEnableDescription": "Kích hoạt trang ghi nhật ký kiểm tra trong ứng dụng.", - "TenantId": "ID người thuê" + "TenantId": "ID người thuê", + "DownloadLinkExplanation": "Bạn có thể tải xuống tệp bằng liên kết bên dưới cho đến {0} (UTC)", + "DownloadNow": "Tải xuống ngay", + "TryAgainMessage": "Vui lòng thử lại. Nếu sự cố vẫn tiếp diễn, vui lòng liên hệ bộ phận hỗ trợ." } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/zh-Hans.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/zh-Hans.json index dc9cc4d667..4b3d61f2a3 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/zh-Hans.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/zh-Hans.json @@ -80,8 +80,38 @@ "StartDate": "开始日期", "EndDate": "结束日期", "Feature:AuditLoggingGroup": "审计日志", - "Feature:AuditLoggingEnable": "启用审计记录页面", + "Feature:AuditLoggingEnable": "启用审计日志页面", "Feature:AuditLoggingEnableDescription": "在应用程序中启用审计日志页面。", - "TenantId": "租户 ID" + "Feature:AuditLoggingSettingManagementEnable": "启用审计日志设置管理", + "Feature:AuditLoggingSettingManagementEnableDescription": "在应用程序中启用审计日志设置管理的配置。", + "InvalidAuditLogDeletionSettings": "无效的审计日志删除设置。如果启用删除,期间应大于0天。", + "AuditLogSettingsGeneral": "常规", + "AuditLogSettingsGlobal": "全局", + "DisplayName:IsPeriodicDeleterEnabled": "启用系统范围的清理服务", + "Description:IsPeriodicDeleterEnabled": "如果禁用此选项,定期删除器将不工作。审计日志不会自动删除。", + "DisplayName:GlobalIsExpiredDeleterEnabled": "为所有租户和主机启用清理服务", + "Description:GlobalIsExpiredDeleterEnabled": "如果启用此选项,所有租户和主机的过期项目将自动删除,除非有特定设置。", + "DisplayName:IsExpiredDeleterEnabled": "启用清理服务", + "Description:IsExpiredDeleterEnabled": "如果启用此选项,过期项目将自动删除。", + "DisplayName:ExpiredDeleterPeriod": "过期项目删除期间", + "Description:ExpiredDeleterPeriod": "设置过期项目自动删除的天数。", + "ExpiredDeleterPeriodUnit": "天", + "AuditLogsBeforeXWillBeDeleted": "{0}之前的审计日志将被删除。", + "TenantId": "租户ID", + "Permission:Export": "导出审计日志", + "ExportToExcel": "导出到Excel", + "Exporting": "导出中", + "ExportCompleted": "导出成功完成", + "ExportFailed": "导出失败", + "ExportJobQueued": "导出作业已为{0}条记录排队。导出完成后您将收到电子邮件。", + "ExportReady": "{0}条记录的导出已完成,可以下载。", + "FileName": "文件名", + "TotalRecords": "总记录数", + "ExcelFileAttachedMessage": "Excel文件已附加到此电子邮件。", + "EntityChangeExportCompletedSubject": "实体变更导出已完成", + "AuditLogExportCompletedSubject": "审计日志导出已完成", + "DownloadLinkExplanation": "您可以使用下面的链接下载文件,直到{0}(UTC)", + "DownloadNow": "立即下载", + "TryAgainMessage": "请再试一次。如果问题仍然存在,请联系支持人员。" } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/zh-Hant.json b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/zh-Hant.json index dc0275186d..00e9cc4c08 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/zh-Hant.json +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/Localization/zh-Hant.json @@ -79,9 +79,39 @@ "DurationMs": "持續時間(毫秒)", "StartDate": "開始時間", "EndDate": "結束時間", - "Feature:AuditLoggingGroup": "審計日誌", - "Feature:AuditLoggingEnable": "啟用審計日誌頁面", - "Feature:AuditLoggingEnableDescription": "在應用程序中啟用審計日誌頁面.", - "TenantId": "租戶 ID" + "Feature:AuditLoggingGroup": "稽核日誌", + "Feature:AuditLoggingEnable": "啟用稽核日誌頁面", + "Feature:AuditLoggingEnableDescription": "在應用程式中啟用稽核日誌頁面。", + "Feature:AuditLoggingSettingManagementEnable": "啟用稽核日誌設定管理", + "Feature:AuditLoggingSettingManagementEnableDescription": "在應用程式中啟用稽核日誌設定管理的配置。", + "InvalidAuditLogDeletionSettings": "無效的稽核日誌刪除設定。如果啟用刪除,期間應大於0天。", + "AuditLogSettingsGeneral": "一般", + "AuditLogSettingsGlobal": "全域", + "DisplayName:IsPeriodicDeleterEnabled": "啟用系統範圍的清理服務", + "Description:IsPeriodicDeleterEnabled": "如果停用此選項,定期刪除器將不工作。稽核日誌不會自動刪除。", + "DisplayName:GlobalIsExpiredDeleterEnabled": "為所有租戶和主機啟用清理服務", + "Description:GlobalIsExpiredDeleterEnabled": "如果啟用此選項,所有租戶和主機的過期項目將自動刪除,除非有特定設定。", + "DisplayName:IsExpiredDeleterEnabled": "啟用清理服務", + "Description:IsExpiredDeleterEnabled": "如果啟用此選項,過期項目將自動刪除。", + "DisplayName:ExpiredDeleterPeriod": "過期項目刪除期間", + "Description:ExpiredDeleterPeriod": "設定過期項目自動刪除的天數。", + "ExpiredDeleterPeriodUnit": "天", + "AuditLogsBeforeXWillBeDeleted": "{0}之前的稽核日誌將被刪除。", + "TenantId": "租戶ID", + "Permission:Export": "匯出稽核日誌", + "ExportToExcel": "匯出到Excel", + "Exporting": "匯出中", + "ExportCompleted": "匯出成功完成", + "ExportFailed": "匯出失敗", + "ExportJobQueued": "匯出作業已為{0}條記錄排隊。匯出完成後您將收到電子郵件。", + "ExportReady": "{0}條記錄的匯出已完成,可以下載。", + "FileName": "檔案名稱", + "TotalRecords": "總記錄數", + "ExcelFileAttachedMessage": "Excel檔案已附加到此電子郵件。", + "EntityChangeExportCompletedSubject": "實體變更匯出已完成", + "AuditLogExportCompletedSubject": "稽核日誌匯出已完成", + "DownloadLinkExplanation": "您可以使用下面的連結下載檔案,直到{0}(UTC)", + "DownloadNow": "立即下載", + "TryAgainMessage": "請再試一次。如果問題仍然存在,請聯絡支援人員。" } } \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLogExcelFile.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLogExcelFile.cs new file mode 100644 index 0000000000..ed2e99db4c --- /dev/null +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLogExcelFile.cs @@ -0,0 +1,27 @@ +using System; +using Volo.Abp.Domain.Entities.Auditing; +using Volo.Abp.MultiTenancy; + +namespace Volo.Abp.AuditLogging; + +public class AuditLogExcelFile : CreationAuditedEntity, IMultiTenant +{ + public virtual Guid? TenantId { get; protected set; } + + public virtual string FileName { get; protected set; } + + protected AuditLogExcelFile() + { + } + + public AuditLogExcelFile( + Guid id, + string fileName, + Guid? tenantId = null, + Guid? creatorId = null) : base(id) + { + FileName = Check.NotNullOrWhiteSpace(fileName, nameof(fileName), AuditLogExcelFileConsts.MaxFileNameLength); + TenantId = tenantId; + CreatorId = creatorId; + } +} \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/IAuditLogExcelFileRepository.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/IAuditLogExcelFileRepository.cs new file mode 100644 index 0000000000..b29ec07684 --- /dev/null +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/IAuditLogExcelFileRepository.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +using Volo.Abp.Domain.Repositories; + +namespace Volo.Abp.AuditLogging; + +public interface IAuditLogExcelFileRepository : IRepository +{ + Task> GetListCreationTimeBeforeAsync( + DateTime creationTimeBefore, + int maxResultCount = 50, + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContext.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContext.cs index b0e4eee5ba..16f6ac5603 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContext.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContext.cs @@ -9,6 +9,8 @@ public class AbpAuditLoggingDbContext : AbpDbContext, { public DbSet AuditLogs { get; set; } + public DbSet AuditLogExcelFiles { get; set; } + public AbpAuditLoggingDbContext(DbContextOptions options) : base(options) { diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContextModelBuilderExtensions.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContextModelBuilderExtensions.cs index e63d806993..da73060c8e 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContextModelBuilderExtensions.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContextModelBuilderExtensions.cs @@ -103,6 +103,13 @@ public static class AbpAuditLoggingDbContextModelBuilderExtensions b.ApplyObjectExtensionMappings(); }); + builder.Entity(b => + { + b.ToTable(AbpAuditLoggingDbProperties.DbTablePrefix + "AuditLogExcelFiles", AbpAuditLoggingDbProperties.DbSchema); + b.ConfigureByConvention(); + b.Property(x => x.FileName).HasMaxLength(AuditLogExcelFileConsts.MaxFileNameLength).HasColumnName(nameof(AuditLogExcelFile.FileName)); + }); + builder.TryConfigureObjectExtensions(); } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreModule.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreModule.cs index d413994f87..28d1436088 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreModule.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreModule.cs @@ -13,6 +13,7 @@ public class AbpAuditLoggingEntityFrameworkCoreModule : AbpModule context.Services.AddAbpDbContext(options => { options.AddRepository(); + options.AddRepository(); }); } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/EfCoreAuditLogExcelFileRepository.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/EfCoreAuditLogExcelFileRepository.cs new file mode 100644 index 0000000000..d3b8cc8d7c --- /dev/null +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/EfCoreAuditLogExcelFileRepository.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Volo.Abp.AuditLogging.EntityFrameworkCore; + +public class EfCoreAuditLogExcelFileRepository : EfCoreRepository, IAuditLogExcelFileRepository +{ + public EfCoreAuditLogExcelFileRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public async Task> GetListCreationTimeBeforeAsync( + DateTime creationTimeBefore, + int maxResultCount = 50, + CancellationToken cancellationToken = default) + { + var queryable = await GetQueryableAsync(); + return await queryable.Where(x => x.CreationTime < creationTimeBefore).Take(maxResultCount).ToListAsync(cancellationToken); + } +} \ No newline at end of file diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/IAuditLoggingDbContext.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/IAuditLoggingDbContext.cs index ca03f6b6a3..d2f47e574b 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/IAuditLoggingDbContext.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/IAuditLoggingDbContext.cs @@ -8,4 +8,6 @@ namespace Volo.Abp.AuditLogging.EntityFrameworkCore; public interface IAuditLoggingDbContext : IEfCoreDbContext { DbSet AuditLogs { get; } + + DbSet AuditLogExcelFiles { get; } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbContextExtensions.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbContextExtensions.cs index b20a2b20a2..3f48b34bb2 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbContextExtensions.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbContextExtensions.cs @@ -13,5 +13,10 @@ public static class AbpAuditLoggingMongoDbContextExtensions { b.CollectionName = AbpAuditLoggingDbProperties.DbTablePrefix + "AuditLogs"; }); + + builder.Entity(b => + { + b.CollectionName = AbpAuditLoggingDbProperties.DbTablePrefix + "AuditLogExcelFiles"; + }); } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs index 116df1f0f6..ab46e8d1cc 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs @@ -13,6 +13,7 @@ public class AbpAuditLoggingMongoDbModule : AbpModule context.Services.AddMongoDbContext(options => { options.AddRepository(); + options.AddRepository(); }); } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AuditLoggingMongoDbContext.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AuditLoggingMongoDbContext.cs index d755029372..1d286022e1 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AuditLoggingMongoDbContext.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AuditLoggingMongoDbContext.cs @@ -9,6 +9,8 @@ public class AuditLoggingMongoDbContext : AbpMongoDbContext, IAuditLoggingMongoD { public IMongoCollection AuditLogs => Collection(); + public IMongoCollection AuditLogExcelFiles => Collection(); + protected override void CreateModel(IMongoModelBuilder modelBuilder) { base.CreateModel(modelBuilder); diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/IAuditLoggingMongoDbContext.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/IAuditLoggingMongoDbContext.cs index 54350672ab..e11241ddb1 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/IAuditLoggingMongoDbContext.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/IAuditLoggingMongoDbContext.cs @@ -8,4 +8,6 @@ namespace Volo.Abp.AuditLogging.MongoDB; public interface IAuditLoggingMongoDbContext : IAbpMongoDbContext { IMongoCollection AuditLogs { get; } + + IMongoCollection AuditLogExcelFiles { get; } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/MongoAuditLogExcelFileRepository.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/MongoAuditLogExcelFileRepository.cs new file mode 100644 index 0000000000..3e2ab68361 --- /dev/null +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/MongoAuditLogExcelFileRepository.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using MongoDB.Driver.Linq; +using Volo.Abp.Domain.Repositories.MongoDB; +using Volo.Abp.MongoDB; + +namespace Volo.Abp.AuditLogging.MongoDB; + +public class MongoAuditLogExcelFileRepository : MongoDbRepository, IAuditLogExcelFileRepository +{ + public MongoAuditLogExcelFileRepository(IMongoDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public async Task> GetListCreationTimeBeforeAsync(DateTime creationTimeBefore, int maxResultCount = 50, CancellationToken cancellationToken = default) + { + var queryable = await GetQueryableAsync(); + return await queryable.Where(x => x.CreationTime < creationTimeBefore).Take(maxResultCount).ToListAsync(cancellationToken); + } +} \ No newline at end of file