feat: add audit log system for tracking admin-significant actions (#2759)
This commit is contained in:
@@ -14,6 +14,7 @@ import settingsUsers from './settings-users.json';
|
||||
import settingsNaming from './settings-naming.json';
|
||||
import settingsOpds from './settings-opds.json';
|
||||
import settingsTasks from './settings-tasks.json';
|
||||
import settingsAuditLogs from './settings-audit-logs.json';
|
||||
import settingsAuth from './settings-auth.json';
|
||||
import settingsDevice from './settings-device.json';
|
||||
import settingsProfile from './settings-profile.json';
|
||||
@@ -35,5 +36,5 @@ import magicShelf from './magic-shelf.json';
|
||||
|
||||
// To add a new domain: create the JSON file and add it here.
|
||||
// Settings tabs each get their own file: settings-email, settings-reader, settings-view, etc.
|
||||
const translations: Translation = {common, auth, nav, dashboard, settings, settingsEmail, settingsReader, settingsView, settingsMeta, settingsLibMeta, settingsApp, settingsUsers, settingsNaming, settingsOpds, settingsTasks, settingsAuth, settingsDevice, settingsProfile, app, shared, layout, libraryCreator, bookdrop, metadata, notebook, book, readerAudiobook, readerCbx, readerEbook, readerPdf, statsLibrary, statsUser, magicShelf};
|
||||
const translations: Translation = {common, auth, nav, dashboard, settings, settingsEmail, settingsReader, settingsView, settingsMeta, settingsLibMeta, settingsApp, settingsUsers, settingsNaming, settingsOpds, settingsTasks, settingsAuditLogs, settingsAuth, settingsDevice, settingsProfile, app, shared, layout, libraryCreator, bookdrop, metadata, notebook, book, readerAudiobook, readerCbx, readerEbook, readerPdf, statsLibrary, statsUser, magicShelf};
|
||||
export default translations;
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"title": "Audit Logs",
|
||||
"description": "View a record of admin-significant actions performed across the system.",
|
||||
"sectionTitle": "Activity Log",
|
||||
"filterPlaceholder": "Filter by action",
|
||||
"userFilterPlaceholder": "Filter by user",
|
||||
"dateRangePlaceholder": "Filter by date range",
|
||||
"pageReport": "Showing {first} to {last} of {totalRecords} entries",
|
||||
"empty": "No audit logs found",
|
||||
"columns": {
|
||||
"timestamp": "Date & Time",
|
||||
"user": "User",
|
||||
"action": "Action",
|
||||
"description": "Description",
|
||||
"ip": "IP Address"
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,7 @@
|
||||
"patterns": "Patterns",
|
||||
"authentication": "Authentication",
|
||||
"tasks": "Tasks",
|
||||
"auditLogs": "Audit Logs",
|
||||
"opds": "OPDS",
|
||||
"devices": "Devices"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user