strapi-plugin-magic-sessionmanager 4.8.0 → 4.9.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +83 -5
  2. package/README.md +379 -641
  3. package/dist/admin/Analytics-B6d-39Qh.js +420 -0
  4. package/dist/admin/Analytics-DxOWXHn8.mjs +418 -0
  5. package/dist/admin/App-ZsSGj7n8.mjs +1894 -0
  6. package/dist/admin/App-mRFV50K6.js +1896 -0
  7. package/dist/admin/License-BE6UQ_V3.mjs +443 -0
  8. package/dist/admin/License-DXt2oi6u.js +443 -0
  9. package/dist/admin/OnlineUsersWidget-CFvM3Vbp.js +273 -0
  10. package/dist/admin/OnlineUsersWidget-_tJ6aeWl.mjs +254 -0
  11. package/dist/admin/SectionCard-BlWv8CRt.js +54 -0
  12. package/dist/admin/SectionCard-D51bv4Hi.mjs +55 -0
  13. package/dist/admin/Settings-BUc12TP5.js +3570 -0
  14. package/dist/admin/Settings-dtW7cjTX.mjs +3568 -0
  15. package/dist/admin/de-BFKoGEVT.js +544 -0
  16. package/dist/admin/de-j0oZH9Pz.mjs +544 -0
  17. package/dist/admin/en-UY4Tb5tE.mjs +544 -0
  18. package/dist/admin/en-s7Ksdkcg.js +544 -0
  19. package/dist/admin/es-07OGMe_5.js +544 -0
  20. package/dist/admin/es-DGBcZwQy.mjs +544 -0
  21. package/dist/admin/fr-B6-DWhGO.mjs +544 -0
  22. package/dist/admin/fr-ETj_2UBY.js +544 -0
  23. package/dist/admin/index-C_SyRULc.mjs +1750 -0
  24. package/dist/admin/index-D4kEnXSp.js +1751 -0
  25. package/dist/admin/index.js +1 -1
  26. package/dist/admin/index.mjs +2 -2
  27. package/dist/admin/maskSensitiveValue-BWcSjow7.js +9 -0
  28. package/dist/admin/maskSensitiveValue-lLRhN_S7.mjs +10 -0
  29. package/dist/admin/pt-C7PwrQtV.js +544 -0
  30. package/dist/admin/pt-YMRLm9gx.mjs +544 -0
  31. package/dist/server/index.js +1092 -463
  32. package/dist/server/index.mjs +1092 -463
  33. package/package.json +10 -1
  34. package/pics/analytics.png +0 -0
  35. package/pics/dashboard-dark.png +0 -0
  36. package/pics/dashboard.png +0 -0
  37. package/pics/dashboardsessionmodal.png +0 -0
  38. package/pics/mobile-dashboard.png +0 -0
  39. package/pics/mobile-session.png +0 -0
  40. package/pics/sessioninfopanel.png +0 -0
  41. package/pics/settings1.png +0 -0
  42. package/pics/settings2.png +0 -0
  43. package/pics/widget.png +0 -0
  44. package/scripts/geoip-updater.cjs +35 -24
  45. package/dist/admin/Analytics-CaRlu5ad.js +0 -332
  46. package/dist/admin/Analytics-THqDbNX0.mjs +0 -330
  47. package/dist/admin/App-AbZwLHtF.js +0 -1263
  48. package/dist/admin/App-hSh7guii.mjs +0 -1261
  49. package/dist/admin/FormField-C8kIT2NE.mjs +0 -59
  50. package/dist/admin/FormField-b5KBvkrj.js +0 -60
  51. package/dist/admin/License-BXBVwUVu.mjs +0 -299
  52. package/dist/admin/License-CABdPwnd.js +0 -301
  53. package/dist/admin/OnlineUsersWidget-BnWFj9IM.mjs +0 -230
  54. package/dist/admin/OnlineUsersWidget-CPFAACSb.js +0 -230
  55. package/dist/admin/PluginPageLayout-BPFMcgrx.mjs +0 -42
  56. package/dist/admin/PluginPageLayout-DmNzMdqu.js +0 -43
  57. package/dist/admin/Settings-B4DNdeKx.js +0 -2152
  58. package/dist/admin/Settings-C4RsJosh.mjs +0 -2150
  59. package/dist/admin/de-AwIFTd9i.mjs +0 -450
  60. package/dist/admin/de-D23nmqnl.js +0 -450
  61. package/dist/admin/en-C5iYQ0mC.js +0 -450
  62. package/dist/admin/en-D6QEGeRh.mjs +0 -450
  63. package/dist/admin/es-CIXnsG-p.js +0 -435
  64. package/dist/admin/es-CnFfVdKw.mjs +0 -435
  65. package/dist/admin/fr-BglXE-W4.js +0 -435
  66. package/dist/admin/fr-DefoR7uH.mjs +0 -435
  67. package/dist/admin/index-BFVITQ-o.mjs +0 -624
  68. package/dist/admin/index-DlMm-NyK.js +0 -625
  69. package/dist/admin/maskSensitiveValue-1uGWmrfG.mjs +0 -20
  70. package/dist/admin/maskSensitiveValue-B9vhxPad.js +0 -19
  71. package/dist/admin/pt-J5sf7jiY.js +0 -435
  72. package/dist/admin/pt-TODwvNQA.mjs +0 -435
@@ -1,450 +0,0 @@
1
- const Session = "Session";
2
- const User = "User";
3
- const en = {
4
- "plugin.name": "Session Manager",
5
- "plugin.description": "Track user login/logout and session activity",
6
- Session,
7
- User,
8
- "session.user": "User",
9
- "session.ipAddress": "IP Address",
10
- "session.userAgent": "Browser Agent",
11
- "session.loginTime": "Login Time",
12
- "session.logoutTime": "Logout Time",
13
- "session.lastActive": "Last Active",
14
- "session.isActive": "Active",
15
- "session.token": "Token",
16
- "session.EditorX": "Editor X",
17
- "settings.section": "Session Manager",
18
- "settings.sessions": "Active Sessions",
19
- "settings.general": "General",
20
- "settings.analytics": "Analytics",
21
- "settings.license": "Activation",
22
- "analytics.title": "Session analytics",
23
- "analytics.subtitle": "Session activity and device trends",
24
- "analytics.loading": "Loading analytics data...",
25
- "analytics.error.title": "Analytics could not be loaded",
26
- "analytics.error.description": "Try again. If the problem continues, check session API access and permissions.",
27
- "analytics.stats.total": "Total sessions",
28
- "analytics.stats.active": "Online now",
29
- "analytics.stats.today": "Logins today",
30
- "analytics.stats.week": "Logins this week",
31
- "analytics.devices.title": "Devices",
32
- "analytics.browsers.title": "Browsers",
33
- "analytics.duration.title": "Average session duration",
34
- "analytics.duration.minutes": "{count} min",
35
- "analytics.duration.description": "Average time between login and last activity. Higher values can indicate idle or abandoned sessions.",
36
- "analytics.empty": "Session analytics will appear here after end users sign in.",
37
- "license.title": "Optional activation",
38
- "license.subtitle": "An activation key is optional. All features remain available without one.",
39
- "license.refresh": "Refresh status",
40
- "license.loading": "Loading activation information...",
41
- "license.error.load": "Activation information could not be loaded.",
42
- "license.error.copy": "Could not copy the activation key.",
43
- "license.error.download": "Could not download the activation key.",
44
- "license.success.copied": "Activation key copied to clipboard.",
45
- "license.success.downloaded": "Activation key downloaded.",
46
- "license.status.noKey.title": "No activation key stored",
47
- "license.status.noKey.description": "All Session Manager features are available. An activation key is optional and only used for install tracking or display.",
48
- "license.status.stored.title": "Activation key stored",
49
- "license.status.stored.description": "Your optional activation key is stored. All features remain available with or without this key.",
50
- "license.status.failed.title": "Activation check failed",
51
- "license.status.failed.description": "The activation server could not verify this key. The plugin still keeps all features available.",
52
- "license.key.label": "Activation key",
53
- "license.key.show": "Show key",
54
- "license.key.hide": "Hide key",
55
- "license.key.copy": "Copy key",
56
- "license.key.download": "Download as TXT",
57
- "license.active": "Active",
58
- "license.inactive": "Inactive",
59
- "license.account.title": "Account information",
60
- "license.account.email": "Email address",
61
- "license.account.holder": "Activation holder",
62
- "license.value.notProvided": "Not provided",
63
- "license.value.notSpecified": "Not specified",
64
- "license.details.title": "Activation details",
65
- "license.details.expiredOn": "Expired on",
66
- "license.details.expiresOn": "Expires on",
67
- "license.value.never": "Never",
68
- "license.details.deviceName": "Device name",
69
- "license.value.unknown": "Unknown",
70
- "license.details.ipAddress": "IP address",
71
- "license.value.notDetected": "Not detected",
72
- "license.features.title": "Features and capabilities",
73
- "license.features.included": "All features included",
74
- "license.features.geolocation": "IP geolocation with country, city, and timezone",
75
- "license.features.security": "Security scoring, VPN and proxy detection, and threat analysis",
76
- "license.features.analytics": "Session analytics, CSV and JSON export, and real-time monitoring",
77
- "license.features.alerts": "Email alerts, Discord and Slack webhooks, and geofencing",
78
- "license.system.title": "System status",
79
- "license.system.activation": "Activation status",
80
- "license.system.connection": "Connection",
81
- "license.system.online": "Online",
82
- "license.system.offline": "Offline",
83
- "license.system.lastSync": "Last sync",
84
- "license.system.deviceLimit": "Device limit",
85
- "common.error": "Error",
86
- "common.retry": "Retry",
87
- "common.unavailable": "Unavailable",
88
- "widget.online-users.title": "Online Users",
89
- "widget.stats.onlineNow": "Online Now",
90
- "widget.stats.offline": "Offline",
91
- "widget.stats.last15min": "Last 15 min",
92
- "widget.stats.last30min": "Last 30 min",
93
- "widget.stats.totalUsers": "Total Users",
94
- "widget.stats.blocked": "Blocked",
95
- "widget.error.title": "Session statistics could not be loaded",
96
- "widget.error.description": "Try again. If the problem continues, check Session Manager API access.",
97
- "widget.partial.title": "Some user counts are unavailable",
98
- "widget.partial.description": "Session activity is shown, but total and blocked user counts could not be loaded.",
99
- "homepage.title": "Session Manager",
100
- "homepage.subtitle": "Monitor and manage end-user sessions",
101
- "homepage.stats.active": "Active",
102
- "homepage.stats.idle": "Idle",
103
- "homepage.stats.loggedOut": "Logged Out",
104
- "homepage.stats.terminated": "Terminated",
105
- "homepage.stats.total": "Total",
106
- "homepage.export.csv": "Export CSV",
107
- "homepage.export.json": "Export JSON",
108
- "homepage.loading": "Loading sessions...",
109
- "homepage.allSessions": "All Sessions",
110
- "homepage.search.label": "Search sessions",
111
- "homepage.search.hint": "Search end-user sessions by username, email, IP address, or device.",
112
- "homepage.search.placeholder": "Search by user, IP address, or device...",
113
- "homepage.filter.label": "Filter sessions by status",
114
- "homepage.filter.hint": "Limit the list to sessions with this status.",
115
- "homepage.entries.label": "Sessions per page",
116
- "homepage.entries.hint": "Choose how many sessions appear on each page.",
117
- "homepage.mobileList.label": "Session results",
118
- "homepage.filter.all": "All Sessions",
119
- "homepage.filter.active": "Currently active",
120
- "homepage.filter.idle": "Idle",
121
- "homepage.filter.loggedout": "Logged Out",
122
- "homepage.filter.terminated": "Terminated",
123
- "homepage.entries.10": "10 entries",
124
- "homepage.entries.25": "25 entries",
125
- "homepage.entries.50": "50 entries",
126
- "homepage.entries.100": "100 entries",
127
- "homepage.showing": "Showing {count} of {total} sessions",
128
- "homepage.showingFiltered": 'Showing {count} of {total} sessions (filtered by "{query}")',
129
- "homepage.pagination.label": "Session pages",
130
- "homepage.pagination.page": "Page {page} of {pages}",
131
- "homepage.pagination.previous": "Previous",
132
- "homepage.pagination.next": "Next",
133
- "homepage.pagination.range": "Showing {start}-{end} of {count} sessions",
134
- "homepage.pagination.filteredRange": 'Showing {start}-{end} of {count} matching sessions (filtered by "{query}")',
135
- "homepage.table.status": "Status",
136
- "homepage.table.user": "User",
137
- "homepage.table.device": "Device",
138
- "homepage.table.ipAddress": "IP Address",
139
- "homepage.table.loginTime": "Login Time",
140
- "homepage.table.lastActive": "Last Active",
141
- "homepage.table.actions": "Actions",
142
- "homepage.status.active": "Active",
143
- "homepage.status.idle": "Idle",
144
- "homepage.status.loggedOut": "Logged Out",
145
- "homepage.status.terminated": "Terminated",
146
- "homepage.user.unknown": "Unavailable",
147
- "homepage.time.minAgo": "{minutes} min ago",
148
- "homepage.actions.viewDetails": "View Details",
149
- "homepage.actions.terminate": "Terminate (Logout)",
150
- "homepage.actions.alreadyInactive": "Already inactive",
151
- "homepage.actions.deletePermanently": "Remove Session Details",
152
- "homepage.empty.title": "No sessions yet",
153
- "homepage.empty.description": "Sessions will appear here when end users log in.",
154
- "homepage.noResults.title": "No sessions found",
155
- "homepage.noResults.description": "Try adjusting your search or status filter.",
156
- "homepage.noResults.reset": "Clear filters",
157
- "homepage.error.title": "Unable to load sessions",
158
- "homepage.error.load": "Session data could not be loaded. Try again.",
159
- "homepage.confirm.terminate": "Are you sure you want to terminate this session?\n\nThis will set isActive to false (user will be logged out).",
160
- "homepage.confirm.delete": "Remove this session's details? Any unexpired access token remains blocked until it expires.",
161
- "modal.title": "Session Details",
162
- "modal.id": "ID: {id}",
163
- "modal.status.online": "Online",
164
- "modal.status.offline": "Offline",
165
- "modal.status.idle": "Idle",
166
- "modal.status.loggedOut": "Logged out",
167
- "modal.status.terminated": "Terminated",
168
- "modal.section.user": "User",
169
- "modal.section.device": "Device",
170
- "modal.section.timeline": "Timeline",
171
- "modal.section.security": "Location and Security",
172
- "modal.section.technical": "Technical Details",
173
- "modal.user.username": "Username",
174
- "modal.user.email": "Email",
175
- "modal.user.id": "User ID",
176
- "modal.user.na": "N/A",
177
- "modal.device.device": "Device",
178
- "modal.device.browser": "Browser",
179
- "modal.device.os": "OS",
180
- "modal.device.ip": "IP",
181
- "modal.timeline.login": "Login",
182
- "modal.timeline.lastActive": "Last Active",
183
- "modal.timeline.idleTime": "Idle Time",
184
- "modal.timeline.logout": "Logout",
185
- "modal.timeline.minutes": "{minutes} min",
186
- "modal.security.loading": "Loading location data...",
187
- "modal.security.country": "Country",
188
- "modal.security.city": "City",
189
- "modal.security.timezone": "Timezone",
190
- "modal.security.score": "Security",
191
- "modal.security.vpn": "VPN",
192
- "modal.security.proxy": "Proxy",
193
- "modal.security.vpnWarning": "[WARNING] Yes",
194
- "modal.security.no": "No",
195
- "modal.technical.show": "Show Details",
196
- "modal.technical.hide": "Hide Details",
197
- "modal.actions.close": "Close",
198
- "modal.actions.terminate": "Log out this session",
199
- "modal.confirm.terminate": "Log out this device session? Other sessions will stay active.",
200
- "panel.title": "Session Info",
201
- "panel.user.saveBeforeManagingSessions": "Save this user before managing sessions.",
202
- "panel.loading": "Loading...",
203
- "panel.status.active": "ACTIVE",
204
- "panel.status.offline": "OFFLINE",
205
- "panel.sessions.count": "{count} active session{count, plural, one {} other {s}}",
206
- "panel.sessions.title": "Current Sessions",
207
- "panel.sessions.currentCount": "{count, plural, one {# current session} other {# current sessions}}",
208
- "panel.sessions.active": "Online",
209
- "panel.sessions.idle": "Idle",
210
- "panel.sessions.activeNow": "Active now",
211
- "panel.sessions.activeAgo": "Active {minutes} min ago",
212
- "panel.sessions.more": "+{count} more session{count, plural, one {} other {s}}",
213
- "panel.blocked.title": "User is blocked",
214
- "panel.blocked.description": "Authentication disabled",
215
- "panel.empty.title": "No current sessions",
216
- "panel.empty.description": "This user has no current sessions",
217
- "panel.actions.title": "Actions",
218
- "panel.actions.terminateAll": "Terminate All Sessions",
219
- "panel.actions.blockUser": "Block User",
220
- "panel.actions.unblockUser": "Unblock User",
221
- "settings.title": "Session Manager Settings",
222
- "settings.subtitle": "Configure session tracking, security, and email notifications",
223
- "settings.save": "Save Changes",
224
- "settings.saving": "Saving...",
225
- "settings.noChanges": "No Changes",
226
- "settings.reset": "Reset",
227
- "settings.general.title": "General Settings",
228
- "settings.general.description": "Basic session tracking configuration",
229
- "settings.general.timeout.title": "SESSION TIMEOUT",
230
- "settings.general.timeout.inactivity": "Inactivity Timeout",
231
- "settings.general.timeout.inactivityHint": "Sessions inactive for more than {minutes} minutes will be marked as offline",
232
- "settings.general.timeout.5min": "5 minutes (Very Strict)",
233
- "settings.general.timeout.10min": "10 minutes (Strict)",
234
- "settings.general.timeout.15min": "15 minutes (Recommended)",
235
- "settings.general.timeout.30min": "30 minutes (Moderate)",
236
- "settings.general.timeout.1hour": "1 hour (Relaxed)",
237
- "settings.general.timeout.2hours": "2 hours (Very Relaxed)",
238
- "settings.general.rateLimit.title": "Last Seen Rate Limit",
239
- "settings.general.rateLimit.hint": "Prevents excessive database writes. Updates throttled to once every {seconds} seconds",
240
- "settings.general.rateLimit.10sec": "10 seconds",
241
- "settings.general.rateLimit.30sec": "30 seconds (Recommended)",
242
- "settings.general.rateLimit.1min": "1 minute",
243
- "settings.general.rateLimit.2min": "2 minutes",
244
- "settings.general.rateLimit.5min": "5 minutes",
245
- "settings.general.cleanup.title": "AUTO-CLEANUP & RETENTION",
246
- "settings.general.cleanup.interval": "Cleanup Interval",
247
- "settings.general.cleanup.intervalHint": "Inactive sessions are automatically cleaned every {minutes} minutes",
248
- "settings.general.cleanup.15min": "15 minutes",
249
- "settings.general.cleanup.30min": "30 minutes (Recommended)",
250
- "settings.general.cleanup.1hour": "1 hour",
251
- "settings.general.cleanup.2hours": "2 hours",
252
- "settings.general.cleanupMode.ds": "Document Service",
253
- "settings.general.cleanupMode.db": "Direct SQL",
254
- "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.",
255
- "settings.general.retention.title": "Retention Period",
256
- "settings.general.retention.hint": "Old sessions deleted after {days}",
257
- "settings.general.retention.hintNever": "Old sessions deleted after never",
258
- "settings.general.retention.7days": "7 days",
259
- "settings.general.retention.30days": "30 days",
260
- "settings.general.retention.60days": "60 days",
261
- "settings.general.retention.90days": "90 days (Recommended)",
262
- "settings.general.retention.180days": "180 days",
263
- "settings.general.retention.1year": "1 year",
264
- "settings.general.retention.forever": "Forever",
265
- "settings.general.danger.title": "Danger Zone",
266
- "settings.general.danger.description": "Clean All Inactive removes session details while keeping unexpired access-token hashes revoked until expiry.",
267
- "settings.general.danger.cleanNow": "Clean Now",
268
- "settings.general.danger.confirm": "Remove all inactive session details? Any unexpired access tokens remain revoked until they expire.",
269
- "settings.security.title": "Security Settings",
270
- "settings.security.description": "Security policies and threat protection",
271
- "settings.security.enforcement.title": "Session Enforcement Policy",
272
- "settings.security.enforcement.badgeRelaxed": "RELAXED",
273
- "settings.security.enforcement.badgeStrict": "STRICT",
274
- "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.",
275
- "settings.security.enforcement.strict.title": "Strict Session Enforcement",
276
- "settings.security.enforcement.strict.description": "Reject every authenticated request that does not have a matching session record.\n\nRecommended for production.",
277
- "settings.security.enforcement.maxAge.title": "Max Session Age",
278
- "settings.security.enforcement.maxAge.hint": "Sessions older than {days} days are automatically terminated, even if they are still active.",
279
- "settings.security.enforcement.maxAge.1day": "1 day (very strict)",
280
- "settings.security.enforcement.maxAge.7days": "7 days",
281
- "settings.security.enforcement.maxAge.14days": "14 days",
282
- "settings.security.enforcement.maxAge.30days": "30 days (recommended)",
283
- "settings.security.enforcement.maxAge.60days": "60 days",
284
- "settings.security.enforcement.maxAge.90days": "90 days",
285
- "settings.security.enforcement.maxAge.180days": "180 days",
286
- "settings.security.enforcement.maxAge.365days": "1 year",
287
- "settings.security.enforcement.trustedProxies.title": "Trust Upstream Proxy",
288
- "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.",
289
- "settings.security.enforcement.warning.title": "Running in Relaxed Mode",
290
- "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.",
291
- "settings.security.options": "SECURITY OPTIONS",
292
- "settings.security.encryption.title": "JWT Encryption Key Generator",
293
- "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.",
294
- "settings.security.encryption.important": "Important",
295
- "settings.security.encryption.envHint": "Add this key to your .env file as SESSION_ENCRYPTION_KEY for production.",
296
- "settings.security.encryption.label": "Generated Encryption Key",
297
- "settings.security.encryption.fieldHint": "The key stays masked until you choose to show it.",
298
- "settings.security.encryption.placeholder": "Click 'Generate Key' to create a secure key",
299
- "settings.security.encryption.show": "Show",
300
- "settings.security.encryption.hide": "Hide",
301
- "settings.security.encryption.generate": "Generate Key",
302
- "settings.security.encryption.copy": "Copy to Clipboard",
303
- "settings.security.encryption.copyEnv": "Copy for .env",
304
- "settings.security.encryption.envLabel": "Add to .env file:",
305
- "settings.security.blockSuspicious.title": "Block Suspicious Sessions",
306
- "settings.security.blockSuspicious.description": "Automatically block sessions from VPNs, proxies, or threat IPs",
307
- "settings.security.geolocation.title": "IP Geolocation",
308
- "settings.security.geolocation.description": "Fetch location data for each session",
309
- "settings.security.scoring.title": "Security Scoring",
310
- "settings.security.scoring.description": "Calculate security scores and detect threats",
311
- "settings.security.maxFailed.title": "Max Failed Login Attempts",
312
- "settings.security.maxFailed.fieldHint": "Set how many consecutive login failures are allowed before the protective action applies.",
313
- "settings.security.maxFailed.hint": "User will be blocked after {count} failed attempts",
314
- "settings.security.maxFailed.disabled": "Login lockout is disabled",
315
- "settings.geofencing.provider.title": "GeoIP Provider",
316
- "settings.geofencing.provider.hint": "Choose which source resolves approximate end-user session locations.",
317
- "settings.geofencing.provider.auto": "Auto",
318
- "settings.geofencing.provider.local": "Local MMDB",
319
- "settings.geofencing.provider.ipapi": "ipapi.co",
320
- "settings.geofencing.provider.disabled": "Disabled",
321
- "settings.geofencing.failureMode.title": "Lookup Failure Mode",
322
- "settings.geofencing.failureMode.hint": "Choose whether login is allowed when location lookup is unavailable.",
323
- "settings.geofencing.failureMode.auto": "Auto",
324
- "settings.geofencing.failureMode.allow": "Allow",
325
- "settings.geofencing.failureMode.block": "Block",
326
- "settings.geofencing.databasePath.title": "Local MMDB filename",
327
- "settings.geofencing.databasePath.help": "Downloads stay in data/magic-sessionmanager/geoip. Use a supported .mmdb filename.",
328
- "settings.geofencing.database.title": "Local GeoIP Database (City recommended)",
329
- "settings.geofencing.database.exists": "Database is installed locally. GeoLite2-City enables city-level lookup; Country remains supported.",
330
- "settings.geofencing.database.missing": "No local database installed yet. GeoLite2-City is recommended for city-level lookup.",
331
- "settings.geofencing.database.installed": "Installed",
332
- "settings.geofencing.database.notInstalled": "Missing",
333
- "settings.geofencing.database.path": "Path",
334
- "settings.geofencing.database.edition": "Edition",
335
- "settings.geofencing.database.lastModified": "Last MaxMind update",
336
- "settings.geofencing.database.updating": "Updating...",
337
- "settings.geofencing.database.update": "Download / Update DB",
338
- "settings.geofencing.database.force": "Force Refresh",
339
- "settings.geofencing.database.saveFirst": "Save settings before downloading so the server uses the latest database path.",
340
- "settings.geofencing.maxmind.accountId": "MaxMind Account ID",
341
- "settings.geofencing.maxmind.accountId.hint": "Used only to download the local GeoIP database.",
342
- "settings.geofencing.maxmind.licenseKey": "MaxMind License Key",
343
- "settings.geofencing.maxmind.licenseKey.hint": "The key is masked while you enter it.",
344
- "settings.geofencing.pick.label": "Select a country",
345
- "settings.geofencing.pick.hint": "Choose a country to add it to the active list.",
346
- "settings.geofencing.manual.label": "Country code",
347
- "settings.geofencing.manual.hint": "Enter a two-letter ISO country code.",
348
- "settings.geofencing.maxmind.licenseStored": "License key stored",
349
- "settings.geofencing.credentials.saving": "Saving...",
350
- "settings.geofencing.credentials.save": "Save MaxMind Credentials",
351
- "settings.email.title": "Email Notifications",
352
- "settings.email.description": "Email alerts for security events",
353
- "settings.email.alerts.title": "EMAIL ALERTS",
354
- "settings.email.alerts.subtitle": "Send security alerts to users via email",
355
- "settings.email.enable.title": "Enable Email Alerts",
356
- "settings.email.enable.description": "Send security alerts for suspicious logins, new locations, and VPN/Proxy usage",
357
- "settings.email.types.title": "ALERT TYPES",
358
- "settings.email.types.description": "Choose which security events should send an email alert.",
359
- "settings.email.types.suspicious": "Suspicious Login",
360
- "settings.email.types.newLocation": "New Location",
361
- "settings.email.types.vpnProxy": "VPN/Proxy",
362
- "settings.email.templates.title": "EMAIL TEMPLATES",
363
- "settings.email.templates.subtitle": "Customize email notification templates with dynamic variables",
364
- "settings.email.templates.subject": "Email Subject",
365
- "settings.email.templates.subjectHint": "This subject line is used for the selected alert type.",
366
- "settings.email.templates.subjectPlaceholder": "Enter email subject...",
367
- "settings.email.templates.variables": "Available Variables (click to copy)",
368
- "settings.email.templates.html.title": "HTML Template",
369
- "settings.email.templates.html.editorLabel": "HTML template source",
370
- "settings.email.templates.html.badge": "Main Template",
371
- "settings.email.templates.html.description": "HTML template for email notifications. Use variables like {{user.email}} for dynamic content.",
372
- "settings.email.templates.html.loadDefault": "Load Default",
373
- "settings.email.templates.html.copy": "Copy Template",
374
- "settings.email.templates.html.validate": "Validate",
375
- "settings.email.templates.html.info": "Template Info",
376
- "settings.email.templates.text.title": "Text Template",
377
- "settings.email.templates.text.editorLabel": "Plain text template source",
378
- "settings.email.templates.text.badge": "Fallback",
379
- "settings.email.templates.text.description": "Plain text version (no HTML) as fallback for older email clients",
380
- "settings.email.templates.text.loadDefault": "Load Default",
381
- "settings.email.templates.text.copy": "Copy Template",
382
- "settings.email.templates.tab.suspicious": "Suspicious Login",
383
- "settings.email.templates.tab.newLocation": "New Location",
384
- "settings.email.templates.tab.vpnProxy": "VPN/Proxy",
385
- "settings.webhooks.title": "Webhook Integration",
386
- "settings.webhooks.description": "Discord & Slack integration",
387
- "settings.webhooks.enable.title": "Enable Webhooks",
388
- "settings.webhooks.enable.description": "Send session events to Discord, Slack, or custom endpoints",
389
- "settings.webhooks.discord.title": "Discord Webhook URL",
390
- "settings.webhooks.discord.placeholder": "https://discord.com/api/webhooks/123456789/abcdefghijklmnopqrstuvwxyz...",
391
- "settings.webhooks.discord.hint": "Optional: Post session alerts to your Discord channel",
392
- "settings.webhooks.slack.title": "Slack Webhook URL",
393
- "settings.webhooks.slack.placeholder": "https://hooks.slack.com/services/XXXX/XXXX/XXXX",
394
- "settings.webhooks.slack.hint": "Optional: Post session alerts to your Slack workspace",
395
- "settings.webhooks.characters": "{count} characters",
396
- "settings.footer.title": "Database-Backed Settings",
397
- "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.",
398
- "common.loading": "Loading...",
399
- "common.save": "Save",
400
- "common.cancel": "Cancel",
401
- "common.close": "Close",
402
- "common.delete": "Delete",
403
- "common.confirm": "Confirm",
404
- "common.yes": "Yes",
405
- "common.no": "No",
406
- "common.on": "on",
407
- "common.active": "ACTIVE",
408
- "common.inactive": "INACTIVE",
409
- "notifications.success.saved": "Settings saved successfully to database!",
410
- "notifications.success.deleted": "Session details removed. The access-token hash remains blocked until expiry.",
411
- "notifications.success.terminated": "Session terminated successfully",
412
- "notifications.success.terminatedAll": "All sessions terminated successfully",
413
- "notifications.success.blocked": "User blocked successfully",
414
- "notifications.success.unblocked": "User unblocked successfully",
415
- "notifications.success.exported": "Exported {count} sessions to {format}",
416
- "notifications.success.cleaned": "Removed {count} inactive session records. Unexpired access tokens remain revoked until expiry.",
417
- "panel.confirm.terminateAll": "End all active sessions for this user?",
418
- "panel.confirm.blockUser": "Block this user and end all active sessions?",
419
- "panel.confirm.unblockUser": "Unblock this user?",
420
- "notifications.success.keyCopied": "Encryption key copied to clipboard!",
421
- "notifications.success.keyGenerated": "32-character encryption key generated!",
422
- "notifications.success.envCopied": "Copied as .env format!",
423
- "notifications.success.templateCopied": "Template copied!",
424
- "notifications.success.htmlCopied": "HTML template copied!",
425
- "notifications.success.textCopied": "Text template copied!",
426
- "notifications.success.defaultLoaded": "Default template loaded!",
427
- "notifications.success.variableCopied": "{variable} copied!",
428
- "notifications.success.validated": "Template valid! Found {found}/{total} variables.",
429
- "notifications.success.geoipCredentialsSaved": "MaxMind credentials saved.",
430
- "notifications.success.geoipUpdated": "GeoIP database updated.",
431
- "notifications.success.geoipCurrent": "GeoIP database is already current.",
432
- "notifications.warning.noVariables": "[WARNING] No variables found. Add at least one variable.",
433
- "notifications.warning.settingsLoad": "Could not load settings from server. Using defaults.",
434
- "notifications.error.terminate": "Failed to terminate session",
435
- "notifications.error.terminateAll": "Failed to terminate sessions",
436
- "notifications.error.delete": "Failed to delete session",
437
- "notifications.error.block": "Failed to update user status",
438
- "notifications.error.save": "Failed to save settings to server",
439
- "notifications.error.geoipCredentials": "Failed to save MaxMind credentials.",
440
- "notifications.error.geoipUpdate": "Failed to update GeoIP database.",
441
- "notifications.error.clean": "Failed to delete inactive sessions",
442
- "notifications.error.export": "Failed to export sessions",
443
- "notifications.error.clipboard": "Could not copy to clipboard.",
444
- "notifications.info.templateStats": "Template has {lines} lines and {chars} characters"
445
- };
446
- export {
447
- Session,
448
- User,
449
- en as default
450
- };