strapi-plugin-magic-sessionmanager 4.12.0 → 4.13.1
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 +54 -2
- package/README.md +63 -34
- package/dist/admin/{Analytics-lP0-RsVd.js → Analytics-BikQQx_J.js} +1 -1
- package/dist/admin/{Analytics-C_c24Uzq.mjs → Analytics-DIY51RI_.mjs} +1 -1
- package/dist/admin/{App-DCyNPn1k.mjs → App-B3vaybSO.mjs} +433 -13
- package/dist/admin/{App-miWDdmdX.js → App-BV1LM9Bp.js} +433 -13
- package/dist/admin/{OnlineUsersWidget-C6wlwENC.mjs → OnlineUsersWidget-T-2upsDd.mjs} +1 -1
- package/dist/admin/{OnlineUsersWidget-C6b7e4jb.js → OnlineUsersWidget-fJogM1xl.js} +1 -1
- package/dist/admin/{Settings-D9zyn5xn.js → Settings-AyYka8wn.js} +1 -1
- package/dist/admin/{Settings-DssYw2W4.mjs → Settings-BpBlXyMY.mjs} +1 -1
- package/dist/admin/{de--yNl7MPl.mjs → de-BSCDuq1i.mjs} +38 -1
- package/dist/admin/{de-DjPEATFf.js → de-z0aHRwdw.js} +38 -1
- package/dist/admin/{en-5U7g51cH.mjs → en-B4Cuq9JN.mjs} +38 -1
- package/dist/admin/{en-BoO12UQw.js → en-BWPOiiMt.js} +38 -1
- package/dist/admin/{es-BLpEuycJ.js → es-CMskkUh-.js} +38 -1
- package/dist/admin/{es-BJR-zCXL.mjs → es-DBAmysKi.mjs} +38 -1
- package/dist/admin/{fr-CeeCYQCs.mjs → fr-BNGdtjEl.mjs} +38 -1
- package/dist/admin/{fr-BE828R9Q.js → fr-ClJ2BkrE.js} +38 -1
- package/dist/admin/{index-CfQOMZVX.js → index-DyE1rLW0.js} +22 -19
- package/dist/admin/{index-rbxJZcLv.mjs → index-mCVi1j7e.mjs} +22 -19
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/{pt-BWEFiuvo.js → pt-CRh_J7JS.js} +38 -1
- package/dist/admin/{pt-CorrU3yG.mjs → pt-Cl7TWsOV.mjs} +38 -1
- package/dist/server/index.js +721 -30
- package/dist/server/index.mjs +721 -30
- package/package.json +14 -7
- package/pics/analytics.png +0 -0
- package/pics/dashboard-dark.png +0 -0
- package/pics/dashboard.png +0 -0
- package/pics/dashboardsessionmodal.png +0 -0
- package/pics/mobile-dashboard.png +0 -0
- package/pics/mobile-session.png +0 -0
- package/pics/sessioninfopanel.png +0 -0
- package/pics/settings1.png +0 -0
- package/pics/settings2.png +0 -0
- package/pics/widget.png +0 -0
|
@@ -9,7 +9,7 @@ const designSystem = require("@strapi/design-system");
|
|
|
9
9
|
const icons = require("@strapi/icons");
|
|
10
10
|
const symbols = require("@strapi/icons/symbols");
|
|
11
11
|
const styled = require("styled-components");
|
|
12
|
-
const index = require("./index-
|
|
12
|
+
const index = require("./index-DyE1rLW0.js");
|
|
13
13
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
14
14
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
15
15
|
const EndReason = ({ session, reason, variant = "omega", textColor = "neutral800" }) => {
|
|
@@ -35,8 +35,12 @@ const EMPTY_SESSION_STATS = Object.freeze({
|
|
|
35
35
|
timedOut: 0,
|
|
36
36
|
otherReasons: 0,
|
|
37
37
|
usersOnline: 0,
|
|
38
|
-
nativeOnly: 0
|
|
38
|
+
nativeOnly: 0,
|
|
39
|
+
nativeOnlyAfterTracking: null
|
|
39
40
|
});
|
|
41
|
+
const COUNT_KEYS = Object.freeze(
|
|
42
|
+
Object.keys(EMPTY_SESSION_STATS).filter((key) => key !== "nativeOnlyAfterTracking")
|
|
43
|
+
);
|
|
40
44
|
function filterParams(query) {
|
|
41
45
|
const params = {};
|
|
42
46
|
if (query.status && query.status !== "all") params.status = query.status;
|
|
@@ -61,14 +65,14 @@ function buildExportParams(query, cursor) {
|
|
|
61
65
|
...cursor ? { cursor } : {}
|
|
62
66
|
};
|
|
63
67
|
}
|
|
64
|
-
const isCount = (value) => Number.isInteger(value) && value >= 0;
|
|
68
|
+
const isCount$1 = (value) => Number.isInteger(value) && value >= 0;
|
|
65
69
|
function readSessionPage(payload) {
|
|
66
70
|
const body = (
|
|
67
71
|
/** @type {any} */
|
|
68
72
|
payload
|
|
69
73
|
);
|
|
70
74
|
const pagination = body?.meta?.pagination;
|
|
71
|
-
if (!Array.isArray(body?.data) || !isCount(pagination?.total) || !isCount(pagination?.pageCount)) {
|
|
75
|
+
if (!Array.isArray(body?.data) || !isCount$1(pagination?.total) || !isCount$1(pagination?.pageCount)) {
|
|
72
76
|
throw new Error("Invalid session page response");
|
|
73
77
|
}
|
|
74
78
|
return {
|
|
@@ -82,10 +86,11 @@ function readSessionStats(payload) {
|
|
|
82
86
|
payload?.data
|
|
83
87
|
);
|
|
84
88
|
const stats = { ...EMPTY_SESSION_STATS };
|
|
85
|
-
for (const key of
|
|
86
|
-
if (!isCount(data?.[key])) throw new Error("Invalid session statistics response");
|
|
89
|
+
for (const key of COUNT_KEYS) {
|
|
90
|
+
if (!isCount$1(data?.[key])) throw new Error("Invalid session statistics response");
|
|
87
91
|
stats[key] = data[key];
|
|
88
92
|
}
|
|
93
|
+
stats.nativeOnlyAfterTracking = isCount$1(data?.nativeOnlyAfterTracking) ? data.nativeOnlyAfterTracking : null;
|
|
89
94
|
return stats;
|
|
90
95
|
}
|
|
91
96
|
const CSV_HEADERS = Object.freeze([
|
|
@@ -1227,7 +1232,7 @@ const SessionSearch = ({ value, onSearch }) => {
|
|
|
1227
1232
|
}
|
|
1228
1233
|
) });
|
|
1229
1234
|
};
|
|
1230
|
-
const Caret = styled__default.default(icons.CaretDown)`
|
|
1235
|
+
const Caret$1 = styled__default.default(icons.CaretDown)`
|
|
1231
1236
|
transform: rotate(${({ $open }) => $open ? "0deg" : "-90deg"});
|
|
1232
1237
|
`;
|
|
1233
1238
|
const Legend = styled__default.default.ul`
|
|
@@ -1266,7 +1271,7 @@ const HowSessionsWork = () => {
|
|
|
1266
1271
|
designSystem.TextButton,
|
|
1267
1272
|
{
|
|
1268
1273
|
minHeight: "3.2rem",
|
|
1269
|
-
startIcon: /* @__PURE__ */ jsxRuntime.jsx(Caret, { $open: open, "aria-hidden": true, focusable: false }),
|
|
1274
|
+
startIcon: /* @__PURE__ */ jsxRuntime.jsx(Caret$1, { $open: open, "aria-hidden": true, focusable: false }),
|
|
1270
1275
|
"aria-expanded": open,
|
|
1271
1276
|
"aria-controls": contentId,
|
|
1272
1277
|
onClick: toggle,
|
|
@@ -1308,12 +1313,424 @@ const HowSessionsWork = () => {
|
|
|
1308
1313
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: t(
|
|
1309
1314
|
"homepage.howItWorks.history",
|
|
1310
1315
|
"Ended sessions stay in the history until they are deleted."
|
|
1316
|
+
) }),
|
|
1317
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: t(
|
|
1318
|
+
"homepage.howItWorks.untracked",
|
|
1319
|
+
"Strapi also keeps its own list of sign-ins (refresh tokens). A sign-in that has no session details here, for example one from before this plugin tracked sessions, is not in this list and is never counted as active or online. A notice above the cards shows how many there are and why."
|
|
1311
1320
|
) })
|
|
1312
1321
|
] }) : null
|
|
1313
1322
|
}
|
|
1314
1323
|
)
|
|
1315
1324
|
] });
|
|
1316
1325
|
};
|
|
1326
|
+
const UNTRACKED_SUMMARY_PATH = "/magic-sessionmanager/sessions/native-only/summary";
|
|
1327
|
+
const UNTRACKED_END_PATH = "/magic-sessionmanager/sessions/native-only/end";
|
|
1328
|
+
const isCount = (value) => Number.isInteger(value) && value >= 0;
|
|
1329
|
+
function untrackedTone(stats) {
|
|
1330
|
+
return isCount(stats?.nativeOnlyAfterTracking) && stats.nativeOnlyAfterTracking > 0 ? "warning" : "neutral";
|
|
1331
|
+
}
|
|
1332
|
+
function readUntrackedSummary(payload) {
|
|
1333
|
+
const data = (
|
|
1334
|
+
/** @type {any} */
|
|
1335
|
+
payload?.data
|
|
1336
|
+
);
|
|
1337
|
+
const fail = () => {
|
|
1338
|
+
throw new Error("Invalid untracked session summary");
|
|
1339
|
+
};
|
|
1340
|
+
if (!data || typeof data !== "object") fail();
|
|
1341
|
+
const counts = [
|
|
1342
|
+
data.total,
|
|
1343
|
+
data.beforeTracking,
|
|
1344
|
+
data.afterTracking,
|
|
1345
|
+
data.earlier,
|
|
1346
|
+
data.bySource?.signIn,
|
|
1347
|
+
data.bySource?.passwordChange,
|
|
1348
|
+
data.bySource?.tokenOnly,
|
|
1349
|
+
data.byDevice?.desktop,
|
|
1350
|
+
data.byDevice?.mobile,
|
|
1351
|
+
data.byDevice?.unknown,
|
|
1352
|
+
data.deviceSample?.scanned,
|
|
1353
|
+
data.deviceSample?.limit,
|
|
1354
|
+
data.expiring?.within7Days,
|
|
1355
|
+
data.expiring?.within30Days
|
|
1356
|
+
];
|
|
1357
|
+
if (!counts.every(isCount)) fail();
|
|
1358
|
+
if (!Array.isArray(data.byMonth)) fail();
|
|
1359
|
+
const byMonth = data.byMonth.filter(
|
|
1360
|
+
(entry) => typeof entry?.month === "string" && /^\d{4}-\d{2}$/.test(entry.month)
|
|
1361
|
+
);
|
|
1362
|
+
if (!byMonth.every((entry) => isCount(entry.count))) fail();
|
|
1363
|
+
const since = typeof data.trackingSince === "string" ? new Date(data.trackingSince) : null;
|
|
1364
|
+
return {
|
|
1365
|
+
total: data.total,
|
|
1366
|
+
trackingSince: since && Number.isFinite(since.getTime()) ? since : null,
|
|
1367
|
+
beforeTracking: data.beforeTracking,
|
|
1368
|
+
afterTracking: data.afterTracking,
|
|
1369
|
+
byMonth,
|
|
1370
|
+
earlier: data.earlier,
|
|
1371
|
+
bySource: { ...data.bySource },
|
|
1372
|
+
byDevice: { ...data.byDevice },
|
|
1373
|
+
deviceSample: { ...data.deviceSample, complete: data.deviceSample.complete === true },
|
|
1374
|
+
expiring: { ...data.expiring }
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
1377
|
+
function shareOf(part, total) {
|
|
1378
|
+
if (!isCount(part) || !isCount(total) || total === 0) return 0;
|
|
1379
|
+
return Math.min(1, part / total);
|
|
1380
|
+
}
|
|
1381
|
+
function monthToDate(month) {
|
|
1382
|
+
const match = /^(\d{4})-(\d{2})$/.exec(month || "");
|
|
1383
|
+
if (!match) return null;
|
|
1384
|
+
return new Date(Date.UTC(Number(match[1]), Number(match[2]) - 1, 1));
|
|
1385
|
+
}
|
|
1386
|
+
function readEndResult(payload) {
|
|
1387
|
+
const data = (
|
|
1388
|
+
/** @type {any} */
|
|
1389
|
+
payload?.data
|
|
1390
|
+
);
|
|
1391
|
+
if (!isCount(data?.ended) || !isCount(data?.remaining) || !isCount(data?.limit)) {
|
|
1392
|
+
throw new Error("Invalid end response");
|
|
1393
|
+
}
|
|
1394
|
+
return { ended: data.ended, remaining: data.remaining, limit: data.limit };
|
|
1395
|
+
}
|
|
1396
|
+
const Caret = styled__default.default(icons.CaretDown)`
|
|
1397
|
+
transform: rotate(${({ $open }) => $open ? "0deg" : "-90deg"});
|
|
1398
|
+
`;
|
|
1399
|
+
const Groups = styled__default.default.div`
|
|
1400
|
+
display: grid;
|
|
1401
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1402
|
+
gap: ${({ theme }) => theme.spaces[6]};
|
|
1403
|
+
|
|
1404
|
+
${({ theme }) => theme.breakpoints.medium} {
|
|
1405
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
${({ theme }) => theme.breakpoints.large} {
|
|
1409
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1410
|
+
}
|
|
1411
|
+
`;
|
|
1412
|
+
const Rows = styled__default.default.ul`
|
|
1413
|
+
list-style: none;
|
|
1414
|
+
margin: 0;
|
|
1415
|
+
padding: 0;
|
|
1416
|
+
display: flex;
|
|
1417
|
+
flex-direction: column;
|
|
1418
|
+
gap: ${({ theme }) => theme.spaces[2]};
|
|
1419
|
+
|
|
1420
|
+
&& > li {
|
|
1421
|
+
margin: 0;
|
|
1422
|
+
max-width: none;
|
|
1423
|
+
}
|
|
1424
|
+
`;
|
|
1425
|
+
const Row = ({ label, value }) => /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { tag: "li", justifyContent: "space-between", alignItems: "baseline", gap: 4, minWidth: 0, children: [
|
|
1426
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", minWidth: 0, children: label }),
|
|
1427
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", textColor: "neutral800", children: value })
|
|
1428
|
+
] });
|
|
1429
|
+
const Group = ({ title, children, hint }) => /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 3, minWidth: 0, children: [
|
|
1430
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "bold", tag: "h3", textColor: "neutral800", children: title }),
|
|
1431
|
+
/* @__PURE__ */ jsxRuntime.jsx(Rows, { children }),
|
|
1432
|
+
hint ? /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: hint }) : null
|
|
1433
|
+
] });
|
|
1434
|
+
const UntrackedSessionsNotice = ({ stats, onChanged, fallbackFocusRef }) => {
|
|
1435
|
+
const { formatMessage, formatNumber, formatDate } = reactIntl.useIntl();
|
|
1436
|
+
const { get, post } = StrapiAdmin.useFetchClient();
|
|
1437
|
+
const { toggleNotification } = StrapiAdmin.useNotification();
|
|
1438
|
+
const t = (id, defaultMessage, values) => formatMessage({ id: index.getTranslation(id), defaultMessage }, values);
|
|
1439
|
+
const [open, setOpen] = react.useState(false);
|
|
1440
|
+
const [summary, setSummary] = react.useState(null);
|
|
1441
|
+
const [summaryState, setSummaryState] = react.useState("idle");
|
|
1442
|
+
const requestRef = react.useRef(0);
|
|
1443
|
+
const panelId = `untracked-sessions-${react.useId().replace(/:/g, "")}`;
|
|
1444
|
+
const count = stats?.nativeOnly || 0;
|
|
1445
|
+
const after = stats?.nativeOnlyAfterTracking;
|
|
1446
|
+
const tone = untrackedTone(stats);
|
|
1447
|
+
const loadSummary = async () => {
|
|
1448
|
+
const request = ++requestRef.current;
|
|
1449
|
+
setSummaryState("loading");
|
|
1450
|
+
try {
|
|
1451
|
+
const response = await get(UNTRACKED_SUMMARY_PATH);
|
|
1452
|
+
const next = readUntrackedSummary(response.data);
|
|
1453
|
+
if (request !== requestRef.current) return;
|
|
1454
|
+
setSummary(next);
|
|
1455
|
+
setSummaryState("ready");
|
|
1456
|
+
} catch (err) {
|
|
1457
|
+
if (request !== requestRef.current) return;
|
|
1458
|
+
index.logSafeAdminError("dashboard.untrackedSummary", err);
|
|
1459
|
+
setSummaryState("error");
|
|
1460
|
+
}
|
|
1461
|
+
};
|
|
1462
|
+
const toggle = () => {
|
|
1463
|
+
const next = !open;
|
|
1464
|
+
setOpen(next);
|
|
1465
|
+
if (next && summaryState !== "ready" && summaryState !== "loading") loadSummary();
|
|
1466
|
+
};
|
|
1467
|
+
const endSessions = async () => {
|
|
1468
|
+
try {
|
|
1469
|
+
const response = await post(UNTRACKED_END_PATH, {});
|
|
1470
|
+
const result = readEndResult(response.data);
|
|
1471
|
+
setSummary(null);
|
|
1472
|
+
setSummaryState("idle");
|
|
1473
|
+
if (open) loadSummary();
|
|
1474
|
+
await onChanged?.();
|
|
1475
|
+
toggleNotification({
|
|
1476
|
+
type: "success",
|
|
1477
|
+
message: result.remaining > 0 ? t(
|
|
1478
|
+
"homepage.untracked.end.partial",
|
|
1479
|
+
"{ended, plural, one {# untracked session ended.} other {# untracked sessions ended.}} {remaining, plural, one {# is left; run the action again to end it.} other {# are left; run the action again to end them.}}",
|
|
1480
|
+
{ ended: result.ended, remaining: result.remaining }
|
|
1481
|
+
) : t(
|
|
1482
|
+
"homepage.untracked.end.success",
|
|
1483
|
+
"{ended, plural, one {# untracked session ended.} other {# untracked sessions ended.}}",
|
|
1484
|
+
{ ended: result.ended }
|
|
1485
|
+
)
|
|
1486
|
+
});
|
|
1487
|
+
} catch (err) {
|
|
1488
|
+
index.logSafeAdminError("dashboard.untrackedEnd", err);
|
|
1489
|
+
toggleNotification({
|
|
1490
|
+
type: "danger",
|
|
1491
|
+
message: t(
|
|
1492
|
+
"homepage.untracked.end.error",
|
|
1493
|
+
"The untracked sessions could not be ended. Please try again."
|
|
1494
|
+
)
|
|
1495
|
+
});
|
|
1496
|
+
throw err;
|
|
1497
|
+
}
|
|
1498
|
+
};
|
|
1499
|
+
if (count <= 0) return null;
|
|
1500
|
+
const title = tone === "warning" ? t(
|
|
1501
|
+
"homepage.untracked.title.gap",
|
|
1502
|
+
"Possible tracking gap: {count, plural, one {# Strapi sign-in is} other {# Strapi sign-ins are}} not tracked",
|
|
1503
|
+
{ count }
|
|
1504
|
+
) : t(
|
|
1505
|
+
"homepage.untracked.title.legacy",
|
|
1506
|
+
"{count, plural, one {# older Strapi sign-in is} other {# older Strapi sign-ins are}} not tracked",
|
|
1507
|
+
{ count }
|
|
1508
|
+
);
|
|
1509
|
+
const body = tone === "warning" ? t(
|
|
1510
|
+
"homepage.untracked.body.gap",
|
|
1511
|
+
"Strapi still accepts these sign-ins (refresh tokens), but they are not in this list and are not active or online sessions. {after, plural, one {# was} other {# were}} created after this plugin started tracking, so one sign-in path may not be tracked. Select “Why?” for details.",
|
|
1512
|
+
{ after }
|
|
1513
|
+
) : t(
|
|
1514
|
+
"homepage.untracked.body.legacy",
|
|
1515
|
+
"Strapi still accepts these sign-ins (refresh tokens) until they expire, but they are not in this list and are not active or online sessions. They were created before this plugin tracked sessions."
|
|
1516
|
+
);
|
|
1517
|
+
const pct = (part, total) => formatNumber(shareOf(part, total), { style: "percent", maximumFractionDigits: 0 });
|
|
1518
|
+
const num = (value) => formatNumber(value);
|
|
1519
|
+
const actions = /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, wrap: "wrap", children: [
|
|
1520
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1521
|
+
designSystem.Button,
|
|
1522
|
+
{
|
|
1523
|
+
size: "S",
|
|
1524
|
+
variant: "tertiary",
|
|
1525
|
+
startIcon: /* @__PURE__ */ jsxRuntime.jsx(Caret, { $open: open, "aria-hidden": true, focusable: false }),
|
|
1526
|
+
"aria-expanded": open,
|
|
1527
|
+
"aria-controls": panelId,
|
|
1528
|
+
onClick: toggle,
|
|
1529
|
+
children: t("homepage.untracked.why", "Why?")
|
|
1530
|
+
}
|
|
1531
|
+
),
|
|
1532
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1533
|
+
index.ConfirmAction,
|
|
1534
|
+
{
|
|
1535
|
+
trigger: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { size: "S", variant: "danger-light", children: t("homepage.untracked.end.action", "End these sessions") }),
|
|
1536
|
+
title: t(
|
|
1537
|
+
"homepage.untracked.end.title",
|
|
1538
|
+
"End {count, plural, one {# untracked Strapi sign-in} other {# untracked Strapi sign-ins}}?",
|
|
1539
|
+
{ count }
|
|
1540
|
+
),
|
|
1541
|
+
body: t(
|
|
1542
|
+
"homepage.untracked.end.body",
|
|
1543
|
+
"Strapi deletes these sign-ins now, so their refresh tokens stop working. Users on those devices must sign in again once their current access token expires, within minutes. Sessions listed here and Strapi administrator sessions are not affected. This cannot be undone."
|
|
1544
|
+
),
|
|
1545
|
+
confirmLabel: t("homepage.untracked.end.confirm", "End sessions"),
|
|
1546
|
+
onConfirm: endSessions,
|
|
1547
|
+
fallbackFocusRef
|
|
1548
|
+
}
|
|
1549
|
+
)
|
|
1550
|
+
] });
|
|
1551
|
+
let panel = null;
|
|
1552
|
+
if (summaryState === "loading" && !summary) {
|
|
1553
|
+
panel = /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", padding: 4, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Loader, { small: true, children: t("homepage.untracked.summary.loading", "Loading details") }) });
|
|
1554
|
+
} else if (summaryState === "error") {
|
|
1555
|
+
panel = /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "flex-start", gap: 3, children: [
|
|
1556
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "danger600", role: "alert", children: t("homepage.untracked.summary.error", "The details could not be loaded.") }),
|
|
1557
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { size: "S", variant: "secondary", onClick: loadSummary, children: t("common.tryAgain", "Try again") })
|
|
1558
|
+
] });
|
|
1559
|
+
} else if (summary) {
|
|
1560
|
+
const since = summary.trackingSince ? formatDate(summary.trackingSince, { dateStyle: "medium" }) : null;
|
|
1561
|
+
panel = /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 6, children: [
|
|
1562
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Groups, { children: [
|
|
1563
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1564
|
+
Group,
|
|
1565
|
+
{
|
|
1566
|
+
title: t("homepage.untracked.summary.tracking", "Created before or after tracking"),
|
|
1567
|
+
hint: since ? t(
|
|
1568
|
+
"homepage.untracked.summary.trackingSince",
|
|
1569
|
+
"This plugin has linked new sign-ins since {date}.",
|
|
1570
|
+
{ date: since }
|
|
1571
|
+
) : t(
|
|
1572
|
+
"homepage.untracked.summary.trackingUnknown",
|
|
1573
|
+
"The tracking start date is not known yet."
|
|
1574
|
+
),
|
|
1575
|
+
children: [
|
|
1576
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1577
|
+
Row,
|
|
1578
|
+
{
|
|
1579
|
+
label: t(
|
|
1580
|
+
"homepage.untracked.summary.before",
|
|
1581
|
+
"Before tracking (expire on their own)"
|
|
1582
|
+
),
|
|
1583
|
+
value: num(summary.beforeTracking)
|
|
1584
|
+
}
|
|
1585
|
+
),
|
|
1586
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1587
|
+
Row,
|
|
1588
|
+
{
|
|
1589
|
+
label: t("homepage.untracked.summary.after", "After tracking (possible gap)"),
|
|
1590
|
+
value: num(summary.afterTracking)
|
|
1591
|
+
}
|
|
1592
|
+
)
|
|
1593
|
+
]
|
|
1594
|
+
}
|
|
1595
|
+
),
|
|
1596
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1597
|
+
Group,
|
|
1598
|
+
{
|
|
1599
|
+
title: t("homepage.untracked.summary.source", "How Strapi created them"),
|
|
1600
|
+
hint: t(
|
|
1601
|
+
"homepage.untracked.summary.sourceHint",
|
|
1602
|
+
"“Token only” comes from code that issues a token without Strapi’s sign-in details: GraphQL email confirmation, custom login routes or other plugins."
|
|
1603
|
+
),
|
|
1604
|
+
children: [
|
|
1605
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1606
|
+
Row,
|
|
1607
|
+
{
|
|
1608
|
+
label: t("homepage.untracked.summary.signIn", "Sign-in with device details"),
|
|
1609
|
+
value: num(summary.bySource.signIn)
|
|
1610
|
+
}
|
|
1611
|
+
),
|
|
1612
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1613
|
+
Row,
|
|
1614
|
+
{
|
|
1615
|
+
label: t("homepage.untracked.summary.passwordChange", "Password change or reset"),
|
|
1616
|
+
value: num(summary.bySource.passwordChange)
|
|
1617
|
+
}
|
|
1618
|
+
),
|
|
1619
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1620
|
+
Row,
|
|
1621
|
+
{
|
|
1622
|
+
label: t("homepage.untracked.summary.tokenOnly", "Token only"),
|
|
1623
|
+
value: num(summary.bySource.tokenOnly)
|
|
1624
|
+
}
|
|
1625
|
+
)
|
|
1626
|
+
]
|
|
1627
|
+
}
|
|
1628
|
+
),
|
|
1629
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Group, { title: t("homepage.untracked.summary.expiring", "Expiry"), children: [
|
|
1630
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1631
|
+
Row,
|
|
1632
|
+
{
|
|
1633
|
+
label: t("homepage.untracked.summary.within7", "Expire within 7 days"),
|
|
1634
|
+
value: t("homepage.untracked.summary.share", "{count} ({share})", {
|
|
1635
|
+
count: num(summary.expiring.within7Days),
|
|
1636
|
+
share: pct(summary.expiring.within7Days, summary.total)
|
|
1637
|
+
})
|
|
1638
|
+
}
|
|
1639
|
+
),
|
|
1640
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1641
|
+
Row,
|
|
1642
|
+
{
|
|
1643
|
+
label: t("homepage.untracked.summary.within30", "Expire within 30 days"),
|
|
1644
|
+
value: t("homepage.untracked.summary.share", "{count} ({share})", {
|
|
1645
|
+
count: num(summary.expiring.within30Days),
|
|
1646
|
+
share: pct(summary.expiring.within30Days, summary.total)
|
|
1647
|
+
})
|
|
1648
|
+
}
|
|
1649
|
+
)
|
|
1650
|
+
] }),
|
|
1651
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Group, { title: t("homepage.untracked.summary.months", "Created per month"), children: [
|
|
1652
|
+
summary.byMonth.map((entry) => {
|
|
1653
|
+
const date = monthToDate(entry.month);
|
|
1654
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1655
|
+
Row,
|
|
1656
|
+
{
|
|
1657
|
+
label: date ? formatDate(date, { month: "long", year: "numeric", timeZone: "UTC" }) : entry.month,
|
|
1658
|
+
value: num(entry.count)
|
|
1659
|
+
},
|
|
1660
|
+
entry.month
|
|
1661
|
+
);
|
|
1662
|
+
}),
|
|
1663
|
+
summary.earlier > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1664
|
+
Row,
|
|
1665
|
+
{
|
|
1666
|
+
label: t("homepage.untracked.summary.earlier", "Earlier"),
|
|
1667
|
+
value: num(summary.earlier)
|
|
1668
|
+
}
|
|
1669
|
+
) : null
|
|
1670
|
+
] }),
|
|
1671
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1672
|
+
Group,
|
|
1673
|
+
{
|
|
1674
|
+
title: t("homepage.untracked.summary.devices", "Devices"),
|
|
1675
|
+
hint: summary.deviceSample.complete ? t(
|
|
1676
|
+
"homepage.untracked.summary.devicesHint",
|
|
1677
|
+
"From the device label Strapi stores; Strapi stores no device type."
|
|
1678
|
+
) : t(
|
|
1679
|
+
"homepage.untracked.summary.devicesSample",
|
|
1680
|
+
"From the device label Strapi stores, for the first {limit, number} sign-ins.",
|
|
1681
|
+
{ limit: summary.deviceSample.limit }
|
|
1682
|
+
),
|
|
1683
|
+
children: [
|
|
1684
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1685
|
+
Row,
|
|
1686
|
+
{
|
|
1687
|
+
label: t("homepage.untracked.summary.desktop", "Desktop"),
|
|
1688
|
+
value: num(summary.byDevice.desktop)
|
|
1689
|
+
}
|
|
1690
|
+
),
|
|
1691
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1692
|
+
Row,
|
|
1693
|
+
{
|
|
1694
|
+
label: t("homepage.untracked.summary.mobile", "Mobile"),
|
|
1695
|
+
value: num(summary.byDevice.mobile)
|
|
1696
|
+
}
|
|
1697
|
+
),
|
|
1698
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1699
|
+
Row,
|
|
1700
|
+
{
|
|
1701
|
+
label: t("homepage.untracked.summary.unknownDevice", "Unknown device"),
|
|
1702
|
+
value: num(summary.byDevice.unknown)
|
|
1703
|
+
}
|
|
1704
|
+
)
|
|
1705
|
+
]
|
|
1706
|
+
}
|
|
1707
|
+
)
|
|
1708
|
+
] }),
|
|
1709
|
+
/* @__PURE__ */ jsxRuntime.jsx(index.ReadableText, { variant: "pi", textColor: "neutral600", tag: "p", children: t(
|
|
1710
|
+
"homepage.untracked.summary.next",
|
|
1711
|
+
"Sessions created after tracking started point to a sign-in path this plugin does not see: a custom login route, GraphQL sign-ins or a plugin that issues tokens. The plugin documentation explains each case. Older sessions need no action."
|
|
1712
|
+
) })
|
|
1713
|
+
] });
|
|
1714
|
+
}
|
|
1715
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 2, "data-untracked-sessions": tone, children: [
|
|
1716
|
+
/* @__PURE__ */ jsxRuntime.jsx(index.PersistentAlert, { variant: tone, title, titleAs: "h2", stacked: true, action: actions, children: /* @__PURE__ */ jsxRuntime.jsx(index.ReadableText, { variant: "omega", textColor: "neutral800", tag: "span", children: body }) }),
|
|
1717
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1718
|
+
designSystem.Box,
|
|
1719
|
+
{
|
|
1720
|
+
id: panelId,
|
|
1721
|
+
hidden: !open,
|
|
1722
|
+
width: "100%",
|
|
1723
|
+
background: "neutral0",
|
|
1724
|
+
hasRadius: true,
|
|
1725
|
+
shadow: "tableShadow",
|
|
1726
|
+
padding: { initial: 4, medium: 6 },
|
|
1727
|
+
"aria-live": "polite",
|
|
1728
|
+
"aria-busy": summaryState === "loading",
|
|
1729
|
+
children: open ? panel : null
|
|
1730
|
+
}
|
|
1731
|
+
)
|
|
1732
|
+
] });
|
|
1733
|
+
};
|
|
1317
1734
|
const CLOCK_TICK_MS = 30 * 1e3;
|
|
1318
1735
|
const ANALYTICS_PATH = `/settings/${index.pluginId}/analytics`;
|
|
1319
1736
|
const CONFIGURATION_PATH = `/settings/${index.pluginId}/general`;
|
|
@@ -1780,11 +2197,14 @@ const HomePage = () => {
|
|
|
1780
2197
|
children: /* @__PURE__ */ jsxRuntime.jsx(index.ReadableText, { variant: "omega", textColor: "neutral800", tag: "span", children: t("homepage.error.load", "Sessions could not be loaded.") })
|
|
1781
2198
|
}
|
|
1782
2199
|
) : null,
|
|
1783
|
-
showSessionData && stats.nativeOnly > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
2200
|
+
showSessionData && stats.nativeOnly > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2201
|
+
UntrackedSessionsNotice,
|
|
2202
|
+
{
|
|
2203
|
+
stats,
|
|
2204
|
+
onChanged: fetchSessions,
|
|
2205
|
+
fallbackFocusRef: dashboardRef
|
|
2206
|
+
}
|
|
2207
|
+
) : null,
|
|
1788
2208
|
loading ? /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", padding: 8, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Loader, { children: t("homepage.loading", "Loading sessions") }) }) : null,
|
|
1789
2209
|
showSessionData && stats.total > 0 ? /* @__PURE__ */ jsxRuntime.jsx(HowSessionsWork, {}) : null,
|
|
1790
2210
|
showSessionData && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 2, children: [
|
|
@@ -6,7 +6,7 @@ import { Flex, Loader, Button, Box, Typography } from "@strapi/design-system";
|
|
|
6
6
|
import { User, Lightning, Clock, Lock, WarningCircle } from "@strapi/icons";
|
|
7
7
|
import * as StrapiAdmin from "@strapi/strapi/admin";
|
|
8
8
|
import { useFetchClient } from "@strapi/strapi/admin";
|
|
9
|
-
import { m as logSafeAdminError, r as isCancelledRequest, b as getTranslation, R as ReadableText, M as MissingValue } from "./index-
|
|
9
|
+
import { m as logSafeAdminError, r as isCancelledRequest, b as getTranslation, R as ReadableText, M as MissingValue } from "./index-mCVi1j7e.mjs";
|
|
10
10
|
function normalizeUserCounts(response) {
|
|
11
11
|
const totalUsers = response?.data?.totalUsers;
|
|
12
12
|
const blockedUsers = response?.data?.blockedUsers;
|
|
@@ -7,7 +7,7 @@ const styled = require("styled-components");
|
|
|
7
7
|
const designSystem = require("@strapi/design-system");
|
|
8
8
|
const icons = require("@strapi/icons");
|
|
9
9
|
const StrapiAdmin = require("@strapi/strapi/admin");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-DyE1rLW0.js");
|
|
11
11
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
12
12
|
function _interopNamespace(e) {
|
|
13
13
|
if (e && e.__esModule) return e;
|
|
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
|
|
|
6
6
|
const StrapiAdmin = require("@strapi/strapi/admin");
|
|
7
7
|
const icons = require("@strapi/icons");
|
|
8
8
|
const styled = require("styled-components");
|
|
9
|
-
const index = require("./index-
|
|
9
|
+
const index = require("./index-DyE1rLW0.js");
|
|
10
10
|
const reactIntl = require("react-intl");
|
|
11
11
|
const SectionCard = require("./SectionCard-BlWv8CRt.js");
|
|
12
12
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
@@ -4,7 +4,7 @@ import { Field, Typography, Switch, Box, TextInput, Flex, Button, Link, SingleSe
|
|
|
4
4
|
import { ConfirmDialog, useNotification, useFetchClient, useQueryParams, Page, Form, Blocker, useForm } from "@strapi/strapi/admin";
|
|
5
5
|
import { EyeStriked, Eye, Key, Duplicate, Cross, Plus, Trash, Check } from "@strapi/icons";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { B as ReadableParagraphs, b as getTranslation, m as logSafeAdminError, R as ReadableText, F as EqualGrid, n as PersistentAlert, P as PropertyList, G as formatSessionDate, C as ConfirmAction, H as refocusIfLost, l as pluginId, I as requireSuccessfulMutation, v as PageShell } from "./index-
|
|
7
|
+
import { B as ReadableParagraphs, b as getTranslation, m as logSafeAdminError, R as ReadableText, F as EqualGrid, n as PersistentAlert, P as PropertyList, G as formatSessionDate, C as ConfirmAction, H as refocusIfLost, l as pluginId, I as requireSuccessfulMutation, v as PageShell } from "./index-mCVi1j7e.mjs";
|
|
8
8
|
import { useIntl } from "react-intl";
|
|
9
9
|
import { S as SectionCard } from "./SectionCard-D51bv4Hi.mjs";
|
|
10
10
|
const SETTINGS_TAB_IDS = Object.freeze([
|
|
@@ -494,7 +494,44 @@ const de = {
|
|
|
494
494
|
"panel.sessions.more": "{count, plural, other {+# weitere}}",
|
|
495
495
|
"panel.sessions.showAllLink": "Alle Sitzungen anzeigen",
|
|
496
496
|
"panel.empty.noOpenSessions": "Keine offenen Sitzungen. {user} ist auf keinem Gerät angemeldet.",
|
|
497
|
-
"homepage.
|
|
497
|
+
"homepage.untracked.title.gap": "Mögliche Erfassungslücke: {count, plural, one {# Strapi-Anmeldung wird} other {# Strapi-Anmeldungen werden}} nicht erfasst",
|
|
498
|
+
"homepage.untracked.title.legacy": "{count, plural, one {# ältere Strapi-Anmeldung wird} other {# ältere Strapi-Anmeldungen werden}} nicht erfasst",
|
|
499
|
+
"homepage.untracked.body.gap": "Strapi akzeptiert diese Anmeldungen (Refresh-Tokens) weiterhin. Sie stehen aber nicht in dieser Liste und zählen weder als aktive noch als Online-Sitzungen. {after, plural, one {# wurde} other {# wurden}} erstellt, nachdem dieses Plugin mit der Erfassung begonnen hat; ein Anmeldeweg wird also möglicherweise nicht erfasst. Wählen Sie „Warum?“ für Details.",
|
|
500
|
+
"homepage.untracked.body.legacy": "Strapi akzeptiert diese Anmeldungen (Refresh-Tokens) bis zu ihrem Ablauf. Sie stehen aber nicht in dieser Liste und zählen weder als aktive noch als Online-Sitzungen. Sie wurden erstellt, bevor dieses Plugin Sitzungen erfasst hat.",
|
|
501
|
+
"homepage.untracked.why": "Warum?",
|
|
502
|
+
"homepage.untracked.end.action": "Diese Sitzungen beenden",
|
|
503
|
+
"homepage.untracked.end.title": "{count, plural, one {# nicht erfasste Strapi-Anmeldung} other {# nicht erfasste Strapi-Anmeldungen}} beenden?",
|
|
504
|
+
"homepage.untracked.end.body": "Strapi löscht diese Anmeldungen sofort; ihre Refresh-Tokens funktionieren dann nicht mehr. Benutzer auf diesen Geräten müssen sich erneut anmelden, sobald ihr aktuelles Zugriffstoken abläuft, also innerhalb weniger Minuten. Sitzungen in dieser Liste und Sitzungen von Strapi-Administratoren sind nicht betroffen. Dies kann nicht rückgängig gemacht werden.",
|
|
505
|
+
"homepage.untracked.end.confirm": "Sitzungen beenden",
|
|
506
|
+
"homepage.untracked.end.partial": "{ended, plural, one {# nicht erfasste Sitzung beendet.} other {# nicht erfasste Sitzungen beendet.}} {remaining, plural, one {# ist noch übrig; führen Sie die Aktion erneut aus, um sie zu beenden.} other {# sind noch übrig; führen Sie die Aktion erneut aus, um sie zu beenden.}}",
|
|
507
|
+
"homepage.untracked.end.success": "{ended, plural, one {# nicht erfasste Sitzung beendet.} other {# nicht erfasste Sitzungen beendet.}}",
|
|
508
|
+
"homepage.untracked.end.error": "Die nicht erfassten Sitzungen konnten nicht beendet werden. Bitte versuchen Sie es erneut.",
|
|
509
|
+
"homepage.untracked.summary.loading": "Details werden geladen",
|
|
510
|
+
"homepage.untracked.summary.error": "Die Details konnten nicht geladen werden.",
|
|
511
|
+
"homepage.untracked.summary.tracking": "Vor oder nach Beginn der Erfassung erstellt",
|
|
512
|
+
"homepage.untracked.summary.trackingSince": "Dieses Plugin verknüpft neue Anmeldungen seit {date}.",
|
|
513
|
+
"homepage.untracked.summary.trackingUnknown": "Der Beginn der Erfassung ist noch nicht bekannt.",
|
|
514
|
+
"homepage.untracked.summary.before": "Vor der Erfassung (laufen von selbst ab)",
|
|
515
|
+
"homepage.untracked.summary.after": "Nach Beginn der Erfassung (mögliche Lücke)",
|
|
516
|
+
"homepage.untracked.summary.source": "Wie Strapi sie erstellt hat",
|
|
517
|
+
"homepage.untracked.summary.sourceHint": "„Nur Token“ stammt aus Code, der ein Token ohne Strapis Anmeldedetails ausstellt: GraphQL-E-Mail-Bestätigung, eigene Anmelderouten oder andere Plugins.",
|
|
518
|
+
"homepage.untracked.summary.signIn": "Anmeldung mit Gerätedetails",
|
|
519
|
+
"homepage.untracked.summary.passwordChange": "Passwortänderung oder -zurücksetzung",
|
|
520
|
+
"homepage.untracked.summary.tokenOnly": "Nur Token",
|
|
521
|
+
"homepage.untracked.summary.expiring": "Ablauf",
|
|
522
|
+
"homepage.untracked.summary.within7": "Laufen innerhalb von 7 Tagen ab",
|
|
523
|
+
"homepage.untracked.summary.within30": "Laufen innerhalb von 30 Tagen ab",
|
|
524
|
+
"homepage.untracked.summary.share": "{count} ({share})",
|
|
525
|
+
"homepage.untracked.summary.months": "Erstellt pro Monat",
|
|
526
|
+
"homepage.untracked.summary.earlier": "Früher",
|
|
527
|
+
"homepage.untracked.summary.devices": "Geräte",
|
|
528
|
+
"homepage.untracked.summary.devicesHint": "Aus der Gerätebezeichnung, die Strapi speichert; einen Gerätetyp speichert Strapi nicht.",
|
|
529
|
+
"homepage.untracked.summary.devicesSample": "Aus der Gerätebezeichnung, die Strapi speichert, für die ersten {limit, number} Anmeldungen.",
|
|
530
|
+
"homepage.untracked.summary.desktop": "Desktop",
|
|
531
|
+
"homepage.untracked.summary.mobile": "Mobil",
|
|
532
|
+
"homepage.untracked.summary.unknownDevice": "Unbekanntes Gerät",
|
|
533
|
+
"homepage.untracked.summary.next": "Nach Beginn der Erfassung erstellte Sitzungen deuten auf einen Anmeldeweg hin, den dieses Plugin nicht sieht: eine eigene Anmelderoute, GraphQL-Anmeldungen oder ein Plugin, das Tokens ausstellt. Die Plugin-Dokumentation erklärt jeden Fall. Ältere Sitzungen erfordern keine Maßnahme.",
|
|
534
|
+
"homepage.howItWorks.untracked": "Strapi führt außerdem eine eigene Liste von Anmeldungen (Refresh-Tokens). Eine Anmeldung ohne Sitzungsdetails hier, etwa aus der Zeit, bevor dieses Plugin Sitzungen erfasst hat, steht nicht in dieser Liste und zählt nie als aktiv oder online. Ein Hinweis über den Karten zeigt, wie viele es gibt und warum."
|
|
498
535
|
};
|
|
499
536
|
export {
|
|
500
537
|
de as default
|
|
@@ -496,6 +496,43 @@ const de = {
|
|
|
496
496
|
"panel.sessions.more": "{count, plural, other {+# weitere}}",
|
|
497
497
|
"panel.sessions.showAllLink": "Alle Sitzungen anzeigen",
|
|
498
498
|
"panel.empty.noOpenSessions": "Keine offenen Sitzungen. {user} ist auf keinem Gerät angemeldet.",
|
|
499
|
-
"homepage.
|
|
499
|
+
"homepage.untracked.title.gap": "Mögliche Erfassungslücke: {count, plural, one {# Strapi-Anmeldung wird} other {# Strapi-Anmeldungen werden}} nicht erfasst",
|
|
500
|
+
"homepage.untracked.title.legacy": "{count, plural, one {# ältere Strapi-Anmeldung wird} other {# ältere Strapi-Anmeldungen werden}} nicht erfasst",
|
|
501
|
+
"homepage.untracked.body.gap": "Strapi akzeptiert diese Anmeldungen (Refresh-Tokens) weiterhin. Sie stehen aber nicht in dieser Liste und zählen weder als aktive noch als Online-Sitzungen. {after, plural, one {# wurde} other {# wurden}} erstellt, nachdem dieses Plugin mit der Erfassung begonnen hat; ein Anmeldeweg wird also möglicherweise nicht erfasst. Wählen Sie „Warum?“ für Details.",
|
|
502
|
+
"homepage.untracked.body.legacy": "Strapi akzeptiert diese Anmeldungen (Refresh-Tokens) bis zu ihrem Ablauf. Sie stehen aber nicht in dieser Liste und zählen weder als aktive noch als Online-Sitzungen. Sie wurden erstellt, bevor dieses Plugin Sitzungen erfasst hat.",
|
|
503
|
+
"homepage.untracked.why": "Warum?",
|
|
504
|
+
"homepage.untracked.end.action": "Diese Sitzungen beenden",
|
|
505
|
+
"homepage.untracked.end.title": "{count, plural, one {# nicht erfasste Strapi-Anmeldung} other {# nicht erfasste Strapi-Anmeldungen}} beenden?",
|
|
506
|
+
"homepage.untracked.end.body": "Strapi löscht diese Anmeldungen sofort; ihre Refresh-Tokens funktionieren dann nicht mehr. Benutzer auf diesen Geräten müssen sich erneut anmelden, sobald ihr aktuelles Zugriffstoken abläuft, also innerhalb weniger Minuten. Sitzungen in dieser Liste und Sitzungen von Strapi-Administratoren sind nicht betroffen. Dies kann nicht rückgängig gemacht werden.",
|
|
507
|
+
"homepage.untracked.end.confirm": "Sitzungen beenden",
|
|
508
|
+
"homepage.untracked.end.partial": "{ended, plural, one {# nicht erfasste Sitzung beendet.} other {# nicht erfasste Sitzungen beendet.}} {remaining, plural, one {# ist noch übrig; führen Sie die Aktion erneut aus, um sie zu beenden.} other {# sind noch übrig; führen Sie die Aktion erneut aus, um sie zu beenden.}}",
|
|
509
|
+
"homepage.untracked.end.success": "{ended, plural, one {# nicht erfasste Sitzung beendet.} other {# nicht erfasste Sitzungen beendet.}}",
|
|
510
|
+
"homepage.untracked.end.error": "Die nicht erfassten Sitzungen konnten nicht beendet werden. Bitte versuchen Sie es erneut.",
|
|
511
|
+
"homepage.untracked.summary.loading": "Details werden geladen",
|
|
512
|
+
"homepage.untracked.summary.error": "Die Details konnten nicht geladen werden.",
|
|
513
|
+
"homepage.untracked.summary.tracking": "Vor oder nach Beginn der Erfassung erstellt",
|
|
514
|
+
"homepage.untracked.summary.trackingSince": "Dieses Plugin verknüpft neue Anmeldungen seit {date}.",
|
|
515
|
+
"homepage.untracked.summary.trackingUnknown": "Der Beginn der Erfassung ist noch nicht bekannt.",
|
|
516
|
+
"homepage.untracked.summary.before": "Vor der Erfassung (laufen von selbst ab)",
|
|
517
|
+
"homepage.untracked.summary.after": "Nach Beginn der Erfassung (mögliche Lücke)",
|
|
518
|
+
"homepage.untracked.summary.source": "Wie Strapi sie erstellt hat",
|
|
519
|
+
"homepage.untracked.summary.sourceHint": "„Nur Token“ stammt aus Code, der ein Token ohne Strapis Anmeldedetails ausstellt: GraphQL-E-Mail-Bestätigung, eigene Anmelderouten oder andere Plugins.",
|
|
520
|
+
"homepage.untracked.summary.signIn": "Anmeldung mit Gerätedetails",
|
|
521
|
+
"homepage.untracked.summary.passwordChange": "Passwortänderung oder -zurücksetzung",
|
|
522
|
+
"homepage.untracked.summary.tokenOnly": "Nur Token",
|
|
523
|
+
"homepage.untracked.summary.expiring": "Ablauf",
|
|
524
|
+
"homepage.untracked.summary.within7": "Laufen innerhalb von 7 Tagen ab",
|
|
525
|
+
"homepage.untracked.summary.within30": "Laufen innerhalb von 30 Tagen ab",
|
|
526
|
+
"homepage.untracked.summary.share": "{count} ({share})",
|
|
527
|
+
"homepage.untracked.summary.months": "Erstellt pro Monat",
|
|
528
|
+
"homepage.untracked.summary.earlier": "Früher",
|
|
529
|
+
"homepage.untracked.summary.devices": "Geräte",
|
|
530
|
+
"homepage.untracked.summary.devicesHint": "Aus der Gerätebezeichnung, die Strapi speichert; einen Gerätetyp speichert Strapi nicht.",
|
|
531
|
+
"homepage.untracked.summary.devicesSample": "Aus der Gerätebezeichnung, die Strapi speichert, für die ersten {limit, number} Anmeldungen.",
|
|
532
|
+
"homepage.untracked.summary.desktop": "Desktop",
|
|
533
|
+
"homepage.untracked.summary.mobile": "Mobil",
|
|
534
|
+
"homepage.untracked.summary.unknownDevice": "Unbekanntes Gerät",
|
|
535
|
+
"homepage.untracked.summary.next": "Nach Beginn der Erfassung erstellte Sitzungen deuten auf einen Anmeldeweg hin, den dieses Plugin nicht sieht: eine eigene Anmelderoute, GraphQL-Anmeldungen oder ein Plugin, das Tokens ausstellt. Die Plugin-Dokumentation erklärt jeden Fall. Ältere Sitzungen erfordern keine Maßnahme.",
|
|
536
|
+
"homepage.howItWorks.untracked": "Strapi führt außerdem eine eigene Liste von Anmeldungen (Refresh-Tokens). Eine Anmeldung ohne Sitzungsdetails hier, etwa aus der Zeit, bevor dieses Plugin Sitzungen erfasst hat, steht nicht in dieser Liste und zählt nie als aktiv oder online. Ein Hinweis über den Karten zeigt, wie viele es gibt und warum."
|
|
500
537
|
};
|
|
501
538
|
exports.default = de;
|