strapi-plugin-magic-sessionmanager 4.7.1 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +17 -38
- package/dist/admin/Analytics-CaRlu5ad.js +332 -0
- package/dist/admin/Analytics-THqDbNX0.mjs +330 -0
- package/dist/admin/App-AbZwLHtF.js +1263 -0
- package/dist/admin/App-hSh7guii.mjs +1261 -0
- package/dist/admin/FormField-C8kIT2NE.mjs +59 -0
- package/dist/admin/FormField-b5KBvkrj.js +60 -0
- package/dist/admin/License-BXBVwUVu.mjs +299 -0
- package/dist/admin/License-CABdPwnd.js +301 -0
- package/dist/admin/OnlineUsersWidget-BnWFj9IM.mjs +230 -0
- package/dist/admin/OnlineUsersWidget-CPFAACSb.js +230 -0
- package/dist/admin/PluginPageLayout-BPFMcgrx.mjs +42 -0
- package/dist/admin/PluginPageLayout-DmNzMdqu.js +43 -0
- package/dist/admin/Settings-B4DNdeKx.js +2152 -0
- package/dist/admin/Settings-C4RsJosh.mjs +2150 -0
- package/dist/admin/{de-JBE-iylO.mjs → de-AwIFTd9i.mjs} +154 -20
- package/dist/admin/{de-BnqGCokx.js → de-D23nmqnl.js} +154 -20
- package/dist/admin/{en-BRmVwd8-.js → en-C5iYQ0mC.js} +155 -21
- package/dist/admin/{en-kQWtdEai.mjs → en-D6QEGeRh.mjs} +155 -21
- package/dist/admin/{es-CH691xcL.js → es-CIXnsG-p.js} +154 -20
- package/dist/admin/{es-DOQvBxih.mjs → es-CnFfVdKw.mjs} +154 -20
- package/dist/admin/{fr-CLExO0w_.js → fr-BglXE-W4.js} +154 -20
- package/dist/admin/{fr-CmfCpepX.mjs → fr-DefoR7uH.mjs} +154 -20
- package/dist/admin/index-BFVITQ-o.mjs +624 -0
- package/dist/admin/{index-Duc7cR_d.js → index-DlMm-NyK.js} +261 -188
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/maskSensitiveValue-1uGWmrfG.mjs +20 -0
- package/dist/admin/maskSensitiveValue-B9vhxPad.js +19 -0
- package/dist/admin/{pt-BJ_F0yNi.js → pt-J5sf7jiY.js} +154 -20
- package/dist/admin/{pt-BSzZdyAH.mjs → pt-TODwvNQA.mjs} +154 -20
- package/dist/server/index.js +2812 -6159
- package/dist/server/index.mjs +2812 -6159
- package/package.json +21 -19
- package/scripts/geoip-updater.cjs +234 -15
- package/scripts/update-geoip-db.mjs +3 -0
- package/dist/admin/Analytics-CsrpxJwQ.mjs +0 -497
- package/dist/admin/Analytics-D03ZNNMR.js +0 -499
- package/dist/admin/App-B2VCS3cz.js +0 -1481
- package/dist/admin/App-qxKnK7G2.mjs +0 -1479
- package/dist/admin/License-ClW7sZLR.mjs +0 -318
- package/dist/admin/License-fixnQ7wF.js +0 -320
- package/dist/admin/OnlineUsersWidget-mR_OMiwi.mjs +0 -185
- package/dist/admin/OnlineUsersWidget-qb9utPBy.js +0 -185
- package/dist/admin/Settings-U3V4eGMo.mjs +0 -2038
- package/dist/admin/Settings-gv2BF54w.js +0 -2040
- package/dist/admin/StyledButtons-Cz8oYhmc.mjs +0 -418
- package/dist/admin/StyledButtons-DDuxnYz8.js +0 -419
- package/dist/admin/index-B_lFjUAg.mjs +0 -551
- package/dist/admin/sessionStatus-D_fWEzgj.js +0 -11
- package/dist/admin/sessionStatus-kwggjEMw.mjs +0 -12
|
@@ -21,6 +21,72 @@ const en = {
|
|
|
21
21
|
"settings.general": "General",
|
|
22
22
|
"settings.analytics": "Analytics",
|
|
23
23
|
"settings.license": "Activation",
|
|
24
|
+
"analytics.title": "Session analytics",
|
|
25
|
+
"analytics.subtitle": "Session activity and device trends",
|
|
26
|
+
"analytics.loading": "Loading analytics data...",
|
|
27
|
+
"analytics.error.title": "Analytics could not be loaded",
|
|
28
|
+
"analytics.error.description": "Try again. If the problem continues, check session API access and permissions.",
|
|
29
|
+
"analytics.stats.total": "Total sessions",
|
|
30
|
+
"analytics.stats.active": "Online now",
|
|
31
|
+
"analytics.stats.today": "Logins today",
|
|
32
|
+
"analytics.stats.week": "Logins this week",
|
|
33
|
+
"analytics.devices.title": "Devices",
|
|
34
|
+
"analytics.browsers.title": "Browsers",
|
|
35
|
+
"analytics.duration.title": "Average session duration",
|
|
36
|
+
"analytics.duration.minutes": "{count} min",
|
|
37
|
+
"analytics.duration.description": "Average time between login and last activity. Higher values can indicate idle or abandoned sessions.",
|
|
38
|
+
"analytics.empty": "Session analytics will appear here after end users sign in.",
|
|
39
|
+
"license.title": "Optional activation",
|
|
40
|
+
"license.subtitle": "An activation key is optional. All features remain available without one.",
|
|
41
|
+
"license.refresh": "Refresh status",
|
|
42
|
+
"license.loading": "Loading activation information...",
|
|
43
|
+
"license.error.load": "Activation information could not be loaded.",
|
|
44
|
+
"license.error.copy": "Could not copy the activation key.",
|
|
45
|
+
"license.error.download": "Could not download the activation key.",
|
|
46
|
+
"license.success.copied": "Activation key copied to clipboard.",
|
|
47
|
+
"license.success.downloaded": "Activation key downloaded.",
|
|
48
|
+
"license.status.noKey.title": "No activation key stored",
|
|
49
|
+
"license.status.noKey.description": "All Session Manager features are available. An activation key is optional and only used for install tracking or display.",
|
|
50
|
+
"license.status.stored.title": "Activation key stored",
|
|
51
|
+
"license.status.stored.description": "Your optional activation key is stored. All features remain available with or without this key.",
|
|
52
|
+
"license.status.failed.title": "Activation check failed",
|
|
53
|
+
"license.status.failed.description": "The activation server could not verify this key. The plugin still keeps all features available.",
|
|
54
|
+
"license.key.label": "Activation key",
|
|
55
|
+
"license.key.show": "Show key",
|
|
56
|
+
"license.key.hide": "Hide key",
|
|
57
|
+
"license.key.copy": "Copy key",
|
|
58
|
+
"license.key.download": "Download as TXT",
|
|
59
|
+
"license.active": "Active",
|
|
60
|
+
"license.inactive": "Inactive",
|
|
61
|
+
"license.account.title": "Account information",
|
|
62
|
+
"license.account.email": "Email address",
|
|
63
|
+
"license.account.holder": "Activation holder",
|
|
64
|
+
"license.value.notProvided": "Not provided",
|
|
65
|
+
"license.value.notSpecified": "Not specified",
|
|
66
|
+
"license.details.title": "Activation details",
|
|
67
|
+
"license.details.expiredOn": "Expired on",
|
|
68
|
+
"license.details.expiresOn": "Expires on",
|
|
69
|
+
"license.value.never": "Never",
|
|
70
|
+
"license.details.deviceName": "Device name",
|
|
71
|
+
"license.value.unknown": "Unknown",
|
|
72
|
+
"license.details.ipAddress": "IP address",
|
|
73
|
+
"license.value.notDetected": "Not detected",
|
|
74
|
+
"license.features.title": "Features and capabilities",
|
|
75
|
+
"license.features.included": "All features included",
|
|
76
|
+
"license.features.geolocation": "IP geolocation with country, city, and timezone",
|
|
77
|
+
"license.features.security": "Security scoring, VPN and proxy detection, and threat analysis",
|
|
78
|
+
"license.features.analytics": "Session analytics, CSV and JSON export, and real-time monitoring",
|
|
79
|
+
"license.features.alerts": "Email alerts, Discord and Slack webhooks, and geofencing",
|
|
80
|
+
"license.system.title": "System status",
|
|
81
|
+
"license.system.activation": "Activation status",
|
|
82
|
+
"license.system.connection": "Connection",
|
|
83
|
+
"license.system.online": "Online",
|
|
84
|
+
"license.system.offline": "Offline",
|
|
85
|
+
"license.system.lastSync": "Last sync",
|
|
86
|
+
"license.system.deviceLimit": "Device limit",
|
|
87
|
+
"common.error": "Error",
|
|
88
|
+
"common.retry": "Retry",
|
|
89
|
+
"common.unavailable": "Unavailable",
|
|
24
90
|
"widget.online-users.title": "Online Users",
|
|
25
91
|
"widget.stats.onlineNow": "Online Now",
|
|
26
92
|
"widget.stats.offline": "Offline",
|
|
@@ -28,8 +94,12 @@ const en = {
|
|
|
28
94
|
"widget.stats.last30min": "Last 30 min",
|
|
29
95
|
"widget.stats.totalUsers": "Total Users",
|
|
30
96
|
"widget.stats.blocked": "Blocked",
|
|
97
|
+
"widget.error.title": "Session statistics could not be loaded",
|
|
98
|
+
"widget.error.description": "Try again. If the problem continues, check Session Manager API access.",
|
|
99
|
+
"widget.partial.title": "Some user counts are unavailable",
|
|
100
|
+
"widget.partial.description": "Session activity is shown, but total and blocked user counts could not be loaded.",
|
|
31
101
|
"homepage.title": "Session Manager",
|
|
32
|
-
"homepage.subtitle": "Monitor and manage user sessions
|
|
102
|
+
"homepage.subtitle": "Monitor and manage end-user sessions",
|
|
33
103
|
"homepage.stats.active": "Active",
|
|
34
104
|
"homepage.stats.idle": "Idle",
|
|
35
105
|
"homepage.stats.loggedOut": "Logged Out",
|
|
@@ -39,10 +109,17 @@ const en = {
|
|
|
39
109
|
"homepage.export.json": "Export JSON",
|
|
40
110
|
"homepage.loading": "Loading sessions...",
|
|
41
111
|
"homepage.allSessions": "All Sessions",
|
|
112
|
+
"homepage.search.label": "Search sessions",
|
|
113
|
+
"homepage.search.hint": "Search end-user sessions by username, email, IP address, or device.",
|
|
42
114
|
"homepage.search.placeholder": "Search by user, IP address, or device...",
|
|
115
|
+
"homepage.filter.label": "Filter sessions by status",
|
|
116
|
+
"homepage.filter.hint": "Limit the list to sessions with this status.",
|
|
117
|
+
"homepage.entries.label": "Sessions per page",
|
|
118
|
+
"homepage.entries.hint": "Choose how many sessions appear on each page.",
|
|
119
|
+
"homepage.mobileList.label": "Session results",
|
|
43
120
|
"homepage.filter.all": "All Sessions",
|
|
44
121
|
"homepage.filter.active": "Currently active",
|
|
45
|
-
"homepage.filter.idle": "
|
|
122
|
+
"homepage.filter.idle": "Idle",
|
|
46
123
|
"homepage.filter.loggedout": "Logged Out",
|
|
47
124
|
"homepage.filter.terminated": "Terminated",
|
|
48
125
|
"homepage.entries.10": "10 entries",
|
|
@@ -51,6 +128,12 @@ const en = {
|
|
|
51
128
|
"homepage.entries.100": "100 entries",
|
|
52
129
|
"homepage.showing": "Showing {count} of {total} sessions",
|
|
53
130
|
"homepage.showingFiltered": 'Showing {count} of {total} sessions (filtered by "{query}")',
|
|
131
|
+
"homepage.pagination.label": "Session pages",
|
|
132
|
+
"homepage.pagination.page": "Page {page} of {pages}",
|
|
133
|
+
"homepage.pagination.previous": "Previous",
|
|
134
|
+
"homepage.pagination.next": "Next",
|
|
135
|
+
"homepage.pagination.range": "Showing {start}-{end} of {count} sessions",
|
|
136
|
+
"homepage.pagination.filteredRange": 'Showing {start}-{end} of {count} matching sessions (filtered by "{query}")',
|
|
54
137
|
"homepage.table.status": "Status",
|
|
55
138
|
"homepage.table.user": "User",
|
|
56
139
|
"homepage.table.device": "Device",
|
|
@@ -62,22 +145,28 @@ const en = {
|
|
|
62
145
|
"homepage.status.idle": "Idle",
|
|
63
146
|
"homepage.status.loggedOut": "Logged Out",
|
|
64
147
|
"homepage.status.terminated": "Terminated",
|
|
65
|
-
"homepage.user.unknown": "
|
|
148
|
+
"homepage.user.unknown": "Unavailable",
|
|
66
149
|
"homepage.time.minAgo": "{minutes} min ago",
|
|
67
150
|
"homepage.actions.viewDetails": "View Details",
|
|
68
151
|
"homepage.actions.terminate": "Terminate (Logout)",
|
|
69
152
|
"homepage.actions.alreadyInactive": "Already inactive",
|
|
70
|
-
"homepage.actions.deletePermanently": "
|
|
153
|
+
"homepage.actions.deletePermanently": "Remove Session Details",
|
|
71
154
|
"homepage.empty.title": "No sessions yet",
|
|
72
|
-
"homepage.empty.description": "Sessions will appear here when users log in
|
|
155
|
+
"homepage.empty.description": "Sessions will appear here when end users log in.",
|
|
73
156
|
"homepage.noResults.title": "No sessions found",
|
|
74
|
-
"homepage.noResults.description": "Try adjusting your search
|
|
157
|
+
"homepage.noResults.description": "Try adjusting your search or status filter.",
|
|
158
|
+
"homepage.noResults.reset": "Clear filters",
|
|
159
|
+
"homepage.error.title": "Unable to load sessions",
|
|
160
|
+
"homepage.error.load": "Session data could not be loaded. Try again.",
|
|
75
161
|
"homepage.confirm.terminate": "Are you sure you want to terminate this session?\n\nThis will set isActive to false (user will be logged out).",
|
|
76
|
-
"homepage.confirm.delete": "
|
|
162
|
+
"homepage.confirm.delete": "Remove this session's details? Any unexpired access token remains blocked until it expires.",
|
|
77
163
|
"modal.title": "Session Details",
|
|
78
164
|
"modal.id": "ID: {id}",
|
|
79
|
-
"modal.status.online": "
|
|
80
|
-
"modal.status.offline": "
|
|
165
|
+
"modal.status.online": "Online",
|
|
166
|
+
"modal.status.offline": "Offline",
|
|
167
|
+
"modal.status.idle": "Idle",
|
|
168
|
+
"modal.status.loggedOut": "Logged out",
|
|
169
|
+
"modal.status.terminated": "Terminated",
|
|
81
170
|
"modal.section.user": "User",
|
|
82
171
|
"modal.section.device": "Device",
|
|
83
172
|
"modal.section.timeline": "Timeline",
|
|
@@ -108,22 +197,25 @@ const en = {
|
|
|
108
197
|
"modal.technical.show": "Show Details",
|
|
109
198
|
"modal.technical.hide": "Hide Details",
|
|
110
199
|
"modal.actions.close": "Close",
|
|
111
|
-
"modal.actions.terminate": "
|
|
112
|
-
"modal.confirm.terminate": "
|
|
200
|
+
"modal.actions.terminate": "Log out this session",
|
|
201
|
+
"modal.confirm.terminate": "Log out this device session? Other sessions will stay active.",
|
|
113
202
|
"panel.title": "Session Info",
|
|
203
|
+
"panel.user.saveBeforeManagingSessions": "Save this user before managing sessions.",
|
|
114
204
|
"panel.loading": "Loading...",
|
|
115
205
|
"panel.status.active": "ACTIVE",
|
|
116
206
|
"panel.status.offline": "OFFLINE",
|
|
117
207
|
"panel.sessions.count": "{count} active session{count, plural, one {} other {s}}",
|
|
118
|
-
"panel.sessions.title": "
|
|
119
|
-
"panel.sessions.
|
|
208
|
+
"panel.sessions.title": "Current Sessions",
|
|
209
|
+
"panel.sessions.currentCount": "{count, plural, one {# current session} other {# current sessions}}",
|
|
210
|
+
"panel.sessions.active": "Online",
|
|
211
|
+
"panel.sessions.idle": "Idle",
|
|
120
212
|
"panel.sessions.activeNow": "Active now",
|
|
121
213
|
"panel.sessions.activeAgo": "Active {minutes} min ago",
|
|
122
214
|
"panel.sessions.more": "+{count} more session{count, plural, one {} other {s}}",
|
|
123
215
|
"panel.blocked.title": "User is blocked",
|
|
124
216
|
"panel.blocked.description": "Authentication disabled",
|
|
125
|
-
"panel.empty.title": "No
|
|
126
|
-
"panel.empty.description": "
|
|
217
|
+
"panel.empty.title": "No current sessions",
|
|
218
|
+
"panel.empty.description": "This user has no current sessions",
|
|
127
219
|
"panel.actions.title": "Actions",
|
|
128
220
|
"panel.actions.terminateAll": "Terminate All Sessions",
|
|
129
221
|
"panel.actions.blockUser": "Block User",
|
|
@@ -159,6 +251,9 @@ const en = {
|
|
|
159
251
|
"settings.general.cleanup.30min": "30 minutes (Recommended)",
|
|
160
252
|
"settings.general.cleanup.1hour": "1 hour",
|
|
161
253
|
"settings.general.cleanup.2hours": "2 hours",
|
|
254
|
+
"settings.general.cleanupMode.ds": "Document Service",
|
|
255
|
+
"settings.general.cleanupMode.db": "Direct SQL",
|
|
256
|
+
"settings.general.cleanupMode.hint": "Document Service is the recommended safe strategy. Direct SQL can drain very large idle-session backlogs in one statement but bypasses lifecycle hooks; use it only above 50,000 active sessions.",
|
|
162
257
|
"settings.general.retention.title": "Retention Period",
|
|
163
258
|
"settings.general.retention.hint": "Old sessions deleted after {days}",
|
|
164
259
|
"settings.general.retention.hintNever": "Old sessions deleted after never",
|
|
@@ -170,17 +265,38 @@ const en = {
|
|
|
170
265
|
"settings.general.retention.1year": "1 year",
|
|
171
266
|
"settings.general.retention.forever": "Forever",
|
|
172
267
|
"settings.general.danger.title": "Danger Zone",
|
|
173
|
-
"settings.general.danger.description": "Clean All Inactive
|
|
268
|
+
"settings.general.danger.description": "Clean All Inactive removes session details while keeping unexpired access-token hashes revoked until expiry.",
|
|
174
269
|
"settings.general.danger.cleanNow": "Clean Now",
|
|
175
|
-
"settings.general.danger.confirm": "
|
|
270
|
+
"settings.general.danger.confirm": "Remove all inactive session details? Any unexpired access tokens remain revoked until they expire.",
|
|
176
271
|
"settings.security.title": "Security Settings",
|
|
177
272
|
"settings.security.description": "Security policies and threat protection",
|
|
273
|
+
"settings.security.enforcement.title": "Session Enforcement Policy",
|
|
274
|
+
"settings.security.enforcement.badgeRelaxed": "RELAXED",
|
|
275
|
+
"settings.security.enforcement.badgeStrict": "STRICT",
|
|
276
|
+
"settings.security.enforcement.description": "Controls how aggressively JWT tokens are tied to an active session record.\n\nStrict mode rejects any token without a matching session. This is more secure, but tokens issued before this plugin was installed will also be rejected.",
|
|
277
|
+
"settings.security.enforcement.strict.title": "Strict Session Enforcement",
|
|
278
|
+
"settings.security.enforcement.strict.description": "Reject every authenticated request that does not have a matching session record.\n\nRecommended for production.",
|
|
279
|
+
"settings.security.enforcement.maxAge.title": "Max Session Age",
|
|
280
|
+
"settings.security.enforcement.maxAge.hint": "Sessions older than {days} days are automatically terminated, even if they are still active.",
|
|
281
|
+
"settings.security.enforcement.maxAge.1day": "1 day (very strict)",
|
|
282
|
+
"settings.security.enforcement.maxAge.7days": "7 days",
|
|
283
|
+
"settings.security.enforcement.maxAge.14days": "14 days",
|
|
284
|
+
"settings.security.enforcement.maxAge.30days": "30 days (recommended)",
|
|
285
|
+
"settings.security.enforcement.maxAge.60days": "60 days",
|
|
286
|
+
"settings.security.enforcement.maxAge.90days": "90 days",
|
|
287
|
+
"settings.security.enforcement.maxAge.180days": "180 days",
|
|
288
|
+
"settings.security.enforcement.maxAge.365days": "1 year",
|
|
289
|
+
"settings.security.enforcement.trustedProxies.title": "Trust Upstream Proxy",
|
|
290
|
+
"settings.security.enforcement.trustedProxies.description": "Only enable this when Strapi runs behind a trusted reverse proxy such as nginx or Cloudflare.\n\nOtherwise, clients can spoof the X-Forwarded-For header.",
|
|
291
|
+
"settings.security.enforcement.warning.title": "Running in Relaxed Mode",
|
|
292
|
+
"settings.security.enforcement.warning.body": "Tokens without a matching session record are allowed through.\n\nManual session termination is still enforced via the token hash. We strongly recommend enabling strict mode in production.",
|
|
178
293
|
"settings.security.options": "SECURITY OPTIONS",
|
|
179
294
|
"settings.security.encryption.title": "JWT Encryption Key Generator",
|
|
180
295
|
"settings.security.encryption.description": "Generate a secure 32-character encryption key for JWT token storage. This key is used to encrypt tokens before saving them to the database.",
|
|
181
296
|
"settings.security.encryption.important": "Important",
|
|
182
297
|
"settings.security.encryption.envHint": "Add this key to your .env file as SESSION_ENCRYPTION_KEY for production.",
|
|
183
298
|
"settings.security.encryption.label": "Generated Encryption Key",
|
|
299
|
+
"settings.security.encryption.fieldHint": "The key stays masked until you choose to show it.",
|
|
184
300
|
"settings.security.encryption.placeholder": "Click 'Generate Key' to create a secure key",
|
|
185
301
|
"settings.security.encryption.show": "Show",
|
|
186
302
|
"settings.security.encryption.hide": "Hide",
|
|
@@ -195,18 +311,22 @@ const en = {
|
|
|
195
311
|
"settings.security.scoring.title": "Security Scoring",
|
|
196
312
|
"settings.security.scoring.description": "Calculate security scores and detect threats",
|
|
197
313
|
"settings.security.maxFailed.title": "Max Failed Login Attempts",
|
|
314
|
+
"settings.security.maxFailed.fieldHint": "Set how many consecutive login failures are allowed before the protective action applies.",
|
|
198
315
|
"settings.security.maxFailed.hint": "User will be blocked after {count} failed attempts",
|
|
199
316
|
"settings.security.maxFailed.disabled": "Login lockout is disabled",
|
|
200
317
|
"settings.geofencing.provider.title": "GeoIP Provider",
|
|
318
|
+
"settings.geofencing.provider.hint": "Choose which source resolves approximate end-user session locations.",
|
|
201
319
|
"settings.geofencing.provider.auto": "Auto",
|
|
202
320
|
"settings.geofencing.provider.local": "Local MMDB",
|
|
203
321
|
"settings.geofencing.provider.ipapi": "ipapi.co",
|
|
204
322
|
"settings.geofencing.provider.disabled": "Disabled",
|
|
205
323
|
"settings.geofencing.failureMode.title": "Lookup Failure Mode",
|
|
324
|
+
"settings.geofencing.failureMode.hint": "Choose whether login is allowed when location lookup is unavailable.",
|
|
206
325
|
"settings.geofencing.failureMode.auto": "Auto",
|
|
207
326
|
"settings.geofencing.failureMode.allow": "Allow",
|
|
208
327
|
"settings.geofencing.failureMode.block": "Block",
|
|
209
|
-
"settings.geofencing.databasePath.title": "Local MMDB
|
|
328
|
+
"settings.geofencing.databasePath.title": "Local MMDB filename",
|
|
329
|
+
"settings.geofencing.databasePath.help": "Downloads stay in data/magic-sessionmanager/geoip. Use a supported .mmdb filename.",
|
|
210
330
|
"settings.geofencing.database.title": "Local GeoIP Database (City recommended)",
|
|
211
331
|
"settings.geofencing.database.exists": "Database is installed locally. GeoLite2-City enables city-level lookup; Country remains supported.",
|
|
212
332
|
"settings.geofencing.database.missing": "No local database installed yet. GeoLite2-City is recommended for city-level lookup.",
|
|
@@ -220,7 +340,13 @@ const en = {
|
|
|
220
340
|
"settings.geofencing.database.force": "Force Refresh",
|
|
221
341
|
"settings.geofencing.database.saveFirst": "Save settings before downloading so the server uses the latest database path.",
|
|
222
342
|
"settings.geofencing.maxmind.accountId": "MaxMind Account ID",
|
|
343
|
+
"settings.geofencing.maxmind.accountId.hint": "Used only to download the local GeoIP database.",
|
|
223
344
|
"settings.geofencing.maxmind.licenseKey": "MaxMind License Key",
|
|
345
|
+
"settings.geofencing.maxmind.licenseKey.hint": "The key is masked while you enter it.",
|
|
346
|
+
"settings.geofencing.pick.label": "Select a country",
|
|
347
|
+
"settings.geofencing.pick.hint": "Choose a country to add it to the active list.",
|
|
348
|
+
"settings.geofencing.manual.label": "Country code",
|
|
349
|
+
"settings.geofencing.manual.hint": "Enter a two-letter ISO country code.",
|
|
224
350
|
"settings.geofencing.maxmind.licenseStored": "License key stored",
|
|
225
351
|
"settings.geofencing.credentials.saving": "Saving...",
|
|
226
352
|
"settings.geofencing.credentials.save": "Save MaxMind Credentials",
|
|
@@ -231,15 +357,18 @@ const en = {
|
|
|
231
357
|
"settings.email.enable.title": "Enable Email Alerts",
|
|
232
358
|
"settings.email.enable.description": "Send security alerts for suspicious logins, new locations, and VPN/Proxy usage",
|
|
233
359
|
"settings.email.types.title": "ALERT TYPES",
|
|
360
|
+
"settings.email.types.description": "Choose which security events should send an email alert.",
|
|
234
361
|
"settings.email.types.suspicious": "Suspicious Login",
|
|
235
362
|
"settings.email.types.newLocation": "New Location",
|
|
236
363
|
"settings.email.types.vpnProxy": "VPN/Proxy",
|
|
237
364
|
"settings.email.templates.title": "EMAIL TEMPLATES",
|
|
238
365
|
"settings.email.templates.subtitle": "Customize email notification templates with dynamic variables",
|
|
239
366
|
"settings.email.templates.subject": "Email Subject",
|
|
367
|
+
"settings.email.templates.subjectHint": "This subject line is used for the selected alert type.",
|
|
240
368
|
"settings.email.templates.subjectPlaceholder": "Enter email subject...",
|
|
241
369
|
"settings.email.templates.variables": "Available Variables (click to copy)",
|
|
242
370
|
"settings.email.templates.html.title": "HTML Template",
|
|
371
|
+
"settings.email.templates.html.editorLabel": "HTML template source",
|
|
243
372
|
"settings.email.templates.html.badge": "Main Template",
|
|
244
373
|
"settings.email.templates.html.description": "HTML template for email notifications. Use variables like {{user.email}} for dynamic content.",
|
|
245
374
|
"settings.email.templates.html.loadDefault": "Load Default",
|
|
@@ -247,6 +376,7 @@ const en = {
|
|
|
247
376
|
"settings.email.templates.html.validate": "Validate",
|
|
248
377
|
"settings.email.templates.html.info": "Template Info",
|
|
249
378
|
"settings.email.templates.text.title": "Text Template",
|
|
379
|
+
"settings.email.templates.text.editorLabel": "Plain text template source",
|
|
250
380
|
"settings.email.templates.text.badge": "Fallback",
|
|
251
381
|
"settings.email.templates.text.description": "Plain text version (no HTML) as fallback for older email clients",
|
|
252
382
|
"settings.email.templates.text.loadDefault": "Load Default",
|
|
@@ -266,7 +396,7 @@ const en = {
|
|
|
266
396
|
"settings.webhooks.slack.hint": "Optional: Post session alerts to your Slack workspace",
|
|
267
397
|
"settings.webhooks.characters": "{count} characters",
|
|
268
398
|
"settings.footer.title": "Database-Backed Settings",
|
|
269
|
-
"settings.footer.description": "All settings are stored in your Strapi database and shared across all admin users
|
|
399
|
+
"settings.footer.description": "All settings are stored in your Strapi database and shared across all admin users.\n\nChanges take effect immediately - no server restart required!\n\nEmail templates, webhooks, and security options are all managed from this interface.",
|
|
270
400
|
"common.loading": "Loading...",
|
|
271
401
|
"common.save": "Save",
|
|
272
402
|
"common.cancel": "Cancel",
|
|
@@ -279,13 +409,16 @@ const en = {
|
|
|
279
409
|
"common.active": "ACTIVE",
|
|
280
410
|
"common.inactive": "INACTIVE",
|
|
281
411
|
"notifications.success.saved": "Settings saved successfully to database!",
|
|
282
|
-
"notifications.success.deleted": "Session
|
|
412
|
+
"notifications.success.deleted": "Session details removed. The access-token hash remains blocked until expiry.",
|
|
283
413
|
"notifications.success.terminated": "Session terminated successfully",
|
|
284
414
|
"notifications.success.terminatedAll": "All sessions terminated successfully",
|
|
285
415
|
"notifications.success.blocked": "User blocked successfully",
|
|
286
416
|
"notifications.success.unblocked": "User unblocked successfully",
|
|
287
417
|
"notifications.success.exported": "Exported {count} sessions to {format}",
|
|
288
|
-
"notifications.success.cleaned": "
|
|
418
|
+
"notifications.success.cleaned": "Removed {count} inactive session records. Unexpired access tokens remain revoked until expiry.",
|
|
419
|
+
"panel.confirm.terminateAll": "End all active sessions for this user?",
|
|
420
|
+
"panel.confirm.blockUser": "Block this user and end all active sessions?",
|
|
421
|
+
"panel.confirm.unblockUser": "Unblock this user?",
|
|
289
422
|
"notifications.success.keyCopied": "Encryption key copied to clipboard!",
|
|
290
423
|
"notifications.success.keyGenerated": "32-character encryption key generated!",
|
|
291
424
|
"notifications.success.envCopied": "Copied as .env format!",
|
|
@@ -309,6 +442,7 @@ const en = {
|
|
|
309
442
|
"notifications.error.geoipUpdate": "Failed to update GeoIP database.",
|
|
310
443
|
"notifications.error.clean": "Failed to delete inactive sessions",
|
|
311
444
|
"notifications.error.export": "Failed to export sessions",
|
|
445
|
+
"notifications.error.clipboard": "Could not copy to clipboard.",
|
|
312
446
|
"notifications.info.templateStats": "Template has {lines} lines and {chars} characters"
|
|
313
447
|
};
|
|
314
448
|
exports.Session = Session;
|