strapi-plugin-magic-sessionmanager 4.9.1 → 4.11.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 (31) hide show
  1. package/CHANGELOG.md +86 -5
  2. package/README.md +427 -91
  3. package/dist/admin/{Analytics-lVDnHBYp.js → Analytics-CBHeWeGn.js} +1 -1
  4. package/dist/admin/{Analytics-dyJmyxO-.mjs → Analytics-D56O8Q6e.mjs} +1 -1
  5. package/dist/admin/{App-CdgiY_Y7.js → App-D4cBPwB_.js} +2 -3
  6. package/dist/admin/{App-Cgf_CSjw.mjs → App-EDIkLJdb.mjs} +2 -3
  7. package/dist/admin/{OnlineUsersWidget-DMPtuIpm.js → OnlineUsersWidget-BF2R2YIy.js} +1 -1
  8. package/dist/admin/{OnlineUsersWidget-DJC4V1KS.mjs → OnlineUsersWidget-MwUutkKQ.mjs} +1 -1
  9. package/dist/admin/{Settings-0QsyY7fe.js → Settings-CMzEF8EH.js} +21 -5
  10. package/dist/admin/{Settings-DgeuUiMF.mjs → Settings-bLMyi0BN.mjs} +20 -4
  11. package/dist/admin/{de-j0oZH9Pz.mjs → de-CxfuTF6C.mjs} +1 -42
  12. package/dist/admin/{de-BFKoGEVT.js → de-DVNTHmSo.js} +1 -42
  13. package/dist/admin/{en-UY4Tb5tE.mjs → en-BcPIlQYL.mjs} +1 -42
  14. package/dist/admin/{en-s7Ksdkcg.js → en-BuVXIcHA.js} +1 -42
  15. package/dist/admin/{es-07OGMe_5.js → es-CEteHmBO.js} +1 -42
  16. package/dist/admin/{es-DGBcZwQy.mjs → es-DxHpaNA1.mjs} +1 -42
  17. package/dist/admin/{fr-ETj_2UBY.js → fr-BMd2-wW7.js} +1 -42
  18. package/dist/admin/{fr-B6-DWhGO.mjs → fr-Dw43lHg7.mjs} +1 -42
  19. package/dist/admin/{index-D-Nr0TCm.js → index-DvNfekoR.js} +9 -19
  20. package/dist/admin/{index-Ck19e8qw.mjs → index-qa6Qnfkc.mjs} +9 -19
  21. package/dist/admin/index.js +1 -1
  22. package/dist/admin/index.mjs +1 -1
  23. package/dist/admin/{pt-YMRLm9gx.mjs → pt-7jnxDSX-.mjs} +1 -42
  24. package/dist/admin/{pt-C7PwrQtV.js → pt-BvO63p01.js} +1 -42
  25. package/dist/server/index.js +1322 -827
  26. package/dist/server/index.mjs +1322 -827
  27. package/package.json +32 -13
  28. package/dist/admin/License-1XUfQty5.js +0 -443
  29. package/dist/admin/License-C4WSYoqY.mjs +0 -443
  30. package/dist/admin/maskSensitiveValue-BWcSjow7.js +0 -9
  31. package/dist/admin/maskSensitiveValue-lLRhN_S7.mjs +0 -10
@@ -9,7 +9,7 @@ const styled = require("styled-components");
9
9
  const designSystem = require("@strapi/design-system");
10
10
  const icons = require("@strapi/icons");
11
11
  const symbols = require("@strapi/icons/symbols");
12
- const index = require("./index-D-Nr0TCm.js");
12
+ const index = require("./index-DvNfekoR.js");
13
13
  const SectionCard = require("./SectionCard-BlWv8CRt.js");
14
14
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
15
15
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
@@ -7,7 +7,7 @@ import styled from "styled-components";
7
7
  import { Typography, Flex, LinkButton, Button, EmptyStateLayout, VisuallyHidden } from "@strapi/design-system";
8
8
  import { ArrowClockwise, ChartBubble, User, Clock, Calendar } from "@strapi/icons";
9
9
  import { EmptyDocuments } from "@strapi/icons/symbols";
10
- import { N as normalizeDeviceType, u as useSessionFormatters, m as pluginId, s as requireSessionList, n as logSafeAdminError, o as PersistentAlert, R as ReadableText, z as PageShell, A as StatGrid, B as StatCard, I as EqualGrid, b as getTranslation, O as getDeviceTypeMessage } from "./index-Ck19e8qw.mjs";
10
+ import { N as normalizeDeviceType, u as useSessionFormatters, m as pluginId, s as requireSessionList, n as logSafeAdminError, o as PersistentAlert, R as ReadableText, z as PageShell, A as StatGrid, B as StatCard, I as EqualGrid, b as getTranslation, O as getDeviceTypeMessage } from "./index-qa6Qnfkc.mjs";
11
11
  import { S as SectionCard } from "./SectionCard-D51bv4Hi.mjs";
12
12
  const ANALYTICS_UNKNOWN_KEY = "unknown";
13
13
  function increment(target, key) {
@@ -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-D-Nr0TCm.js");
12
+ const index = require("./index-DvNfekoR.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" }) => {
@@ -1889,8 +1889,7 @@ const HomePage = () => {
1889
1889
  }
1890
1890
  );
1891
1891
  };
1892
- const LicenseGuard = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
1893
1892
  const App = () => {
1894
- return /* @__PURE__ */ jsxRuntime.jsx(StrapiAdmin.Page.Protect, { permissions: index.pluginPermissions.access, children: /* @__PURE__ */ jsxRuntime.jsx(LicenseGuard, { children: /* @__PURE__ */ jsxRuntime.jsx(HomePage, {}) }) });
1893
+ return /* @__PURE__ */ jsxRuntime.jsx(StrapiAdmin.Page.Protect, { permissions: index.pluginPermissions.access, children: /* @__PURE__ */ jsxRuntime.jsx(HomePage, {}) });
1895
1894
  };
1896
1895
  exports.default = App;
@@ -7,7 +7,7 @@ import { Typography, Flex, Loader, Button, Modal, Accordion, Box, IconButton, Li
7
7
  import { Earth, Duplicate, Cross, Eye, Trash, More, CaretDown, Download, ArrowClockwise, Check, Clock, User, ChartBubble, Cog } from "@strapi/icons";
8
8
  import { EmptyDocuments } from "@strapi/icons/symbols";
9
9
  import styled, { useTheme } from "styled-components";
10
- import { g as getSessionEndReason, a as getEndReasonPresentation, b as getTranslation, p as presentText, i as isSessionFilter, D as DEFAULT_SESSION_FILTER, c as isEndReasonFilter, d as DEFAULT_END_REASON_FILTER, e as getSessionState, f as getDevicePresentation, u as useSessionFormatters, h as getSessionStatus, j as isNativeOnlySession, k as getSessionEndReasonPresentation, l as DeviceIcon, S as StatusBadge, P as PropertyList, C as ConfirmAction, t as toValidDate, m as pluginId, n as logSafeAdminError, o as PersistentAlert, R as ReadableText, M as MissingValue, V as ValueOrMissing, q as SESSION_STATES, r as SESSION_STATUS_PRESENTATION, s as requireSessionList, v as isCancelledRequest, w as filterSessionsBySearch, x as filterSessionsByStatus, y as SESSION_FILTER_OPTIONS, E as END_REASON_FILTER_OPTIONS, z as PageShell, A as StatGrid, B as StatCard, F as restoreDialogFocus, G as pluginPermissions } from "./index-Ck19e8qw.mjs";
10
+ import { g as getSessionEndReason, a as getEndReasonPresentation, b as getTranslation, p as presentText, i as isSessionFilter, D as DEFAULT_SESSION_FILTER, c as isEndReasonFilter, d as DEFAULT_END_REASON_FILTER, e as getSessionState, f as getDevicePresentation, u as useSessionFormatters, h as getSessionStatus, j as isNativeOnlySession, k as getSessionEndReasonPresentation, l as DeviceIcon, S as StatusBadge, P as PropertyList, C as ConfirmAction, t as toValidDate, m as pluginId, n as logSafeAdminError, o as PersistentAlert, R as ReadableText, M as MissingValue, V as ValueOrMissing, q as SESSION_STATES, r as SESSION_STATUS_PRESENTATION, s as requireSessionList, v as isCancelledRequest, w as filterSessionsBySearch, x as filterSessionsByStatus, y as SESSION_FILTER_OPTIONS, E as END_REASON_FILTER_OPTIONS, z as PageShell, A as StatGrid, B as StatCard, F as restoreDialogFocus, G as pluginPermissions } from "./index-qa6Qnfkc.mjs";
11
11
  const EndReason = ({ session, reason, variant = "omega", textColor = "neutral800" }) => {
12
12
  const { formatMessage } = useIntl();
13
13
  const key = reason || getSessionEndReason(session);
@@ -1885,9 +1885,8 @@ const HomePage = () => {
1885
1885
  }
1886
1886
  );
1887
1887
  };
1888
- const LicenseGuard = ({ children }) => /* @__PURE__ */ jsx(Fragment, { children });
1889
1888
  const App = () => {
1890
- return /* @__PURE__ */ jsx(Page.Protect, { permissions: pluginPermissions.access, children: /* @__PURE__ */ jsx(LicenseGuard, { children: /* @__PURE__ */ jsx(HomePage, {}) }) });
1889
+ return /* @__PURE__ */ jsx(Page.Protect, { permissions: pluginPermissions.access, children: /* @__PURE__ */ jsx(HomePage, {}) });
1891
1890
  };
1892
1891
  export {
1893
1892
  App as default
@@ -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-D-Nr0TCm.js");
10
+ const index = require("./index-DvNfekoR.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 @@ 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 { s as requireSessionList, n as logSafeAdminError, v as isCancelledRequest, b as getTranslation, R as ReadableText, M as MissingValue } from "./index-Ck19e8qw.mjs";
9
+ import { s as requireSessionList, n as logSafeAdminError, v as isCancelledRequest, b as getTranslation, R as ReadableText, M as MissingValue } from "./index-qa6Qnfkc.mjs";
10
10
  function getSessionUserKey(session) {
11
11
  return session?.user?.documentId || session?.user?.id || session?.user?.email || session?.user?.username || null;
12
12
  }
@@ -6,10 +6,9 @@ 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-D-Nr0TCm.js");
9
+ const index = require("./index-DvNfekoR.js");
10
10
  const reactIntl = require("react-intl");
11
11
  const SectionCard = require("./SectionCard-BlWv8CRt.js");
12
- const maskSensitiveValue = require("./maskSensitiveValue-BWcSjow7.js");
13
12
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
14
13
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
15
14
  const SETTINGS_TAB_IDS = Object.freeze([
@@ -348,6 +347,13 @@ const SettingsToggleRow = ({
348
347
  }
349
348
  );
350
349
  };
350
+ const KEY_MASK = "••••••••";
351
+ function maskSensitiveValue(value) {
352
+ if (typeof value !== "string" || value.length <= 4) {
353
+ return KEY_MASK;
354
+ }
355
+ return `${KEY_MASK}${value.slice(-4)}`;
356
+ }
351
357
  const ENCRYPTION_KEY_ENV_NAME = "SESSION_ENCRYPTION_KEY";
352
358
  const ENCRYPTION_KEY_BYTES = 32;
353
359
  const HEX = "0123456789abcdef";
@@ -535,7 +541,7 @@ const EncryptionKeyCard = ({ draft, copyValue, notify }) => {
535
541
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", tag: "div", children: t("settings.security.encryption.envLabel", "Add to .env file:") }),
536
542
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", tag: "p", children: /* @__PURE__ */ jsxRuntime.jsx("code", { "data-env-preview": "", children: formatEnvLine(
537
543
  ENCRYPTION_KEY_ENV_NAME,
538
- showEncryptionKey ? encryptionKey : maskSensitiveValue.maskSensitiveValue(encryptionKey)
544
+ showEncryptionKey ? encryptionKey : maskSensitiveValue(encryptionKey)
539
545
  ) }) })
540
546
  ] }) }) : null
541
547
  ] });
@@ -3104,6 +3110,7 @@ function useSettingsForm() {
3104
3110
  const canSave = hasChanges && errorCount === 0 && !saving;
3105
3111
  const settingsRef = react.useRef(settings);
3106
3112
  const savedSettingsRef = react.useRef(savedSettings);
3113
+ const revisionRef = react.useRef(null);
3107
3114
  react.useLayoutEffect(() => {
3108
3115
  settingsRef.current = settings;
3109
3116
  savedSettingsRef.current = savedSettings;
@@ -3154,6 +3161,7 @@ function useSettingsForm() {
3154
3161
  throw new Error("Invalid settings response");
3155
3162
  }
3156
3163
  const nextSettings = normalizeSettings(response.data.settings);
3164
+ revisionRef.current = Number.isInteger(response.data.revision) ? response.data.revision : null;
3157
3165
  setSettings(nextSettings);
3158
3166
  setSavedSettings(nextSettings);
3159
3167
  await fetchGeoIpStatus();
@@ -3183,10 +3191,14 @@ function useSettingsForm() {
3183
3191
  if (Object.keys(validateSettings(submitted)).length > 0) return false;
3184
3192
  setSaving(true);
3185
3193
  try {
3186
- const response = await put(`/${index.pluginId}/settings`, submitted);
3194
+ const response = await put(
3195
+ `/${index.pluginId}/settings`,
3196
+ revisionRef.current === null ? submitted : { ...submitted, revision: revisionRef.current }
3197
+ );
3187
3198
  if (!response?.data?.success) {
3188
3199
  throw new Error("Save failed");
3189
3200
  }
3201
+ revisionRef.current = Number.isInteger(response.data.revision) ? response.data.revision : null;
3190
3202
  const storedPayload = response.data.settings ?? (await get(`/${index.pluginId}/settings`))?.data?.settings;
3191
3203
  const stored = normalizeSettings(storedPayload);
3192
3204
  setSettings(stored);
@@ -3209,9 +3221,13 @@ function useSettingsForm() {
3209
3221
  return true;
3210
3222
  } catch (err) {
3211
3223
  index.logSafeAdminError("settings.save", err);
3224
+ const isConflict = err?.response?.status === 409 || err?.response?.data?.error?.status === 409;
3212
3225
  toggleNotification({
3213
3226
  type: "danger",
3214
- message: t(
3227
+ message: isConflict ? t(
3228
+ "settings.config.feedback.conflict",
3229
+ "Another administrator saved the settings in the meantime. Reload the page to see their changes, then apply yours again."
3230
+ ) : t(
3215
3231
  "settings.config.feedback.saveError",
3216
3232
  "Settings could not be saved. Your changes are still in the form."
3217
3233
  )
@@ -4,10 +4,9 @@ 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 { H as ReadableParagraphs, b as getTranslation, n as logSafeAdminError, R as ReadableText, I as EqualGrid, o as PersistentAlert, P as PropertyList, J as formatSessionDate, C as ConfirmAction, K as refocusIfLost, m as pluginId, L as requireSuccessfulMutation, z as PageShell } from "./index-Ck19e8qw.mjs";
7
+ import { H as ReadableParagraphs, b as getTranslation, n as logSafeAdminError, R as ReadableText, I as EqualGrid, o as PersistentAlert, P as PropertyList, J as formatSessionDate, C as ConfirmAction, K as refocusIfLost, m as pluginId, L as requireSuccessfulMutation, z as PageShell } from "./index-qa6Qnfkc.mjs";
8
8
  import { useIntl } from "react-intl";
9
9
  import { S as SectionCard } from "./SectionCard-D51bv4Hi.mjs";
10
- import { m as maskSensitiveValue } from "./maskSensitiveValue-lLRhN_S7.mjs";
11
10
  const SETTINGS_TAB_IDS = Object.freeze([
12
11
  "sessions",
13
12
  "login-protection",
@@ -344,6 +343,13 @@ const SettingsToggleRow = ({
344
343
  }
345
344
  );
346
345
  };
346
+ const KEY_MASK = "••••••••";
347
+ function maskSensitiveValue(value) {
348
+ if (typeof value !== "string" || value.length <= 4) {
349
+ return KEY_MASK;
350
+ }
351
+ return `${KEY_MASK}${value.slice(-4)}`;
352
+ }
347
353
  const ENCRYPTION_KEY_ENV_NAME = "SESSION_ENCRYPTION_KEY";
348
354
  const ENCRYPTION_KEY_BYTES = 32;
349
355
  const HEX = "0123456789abcdef";
@@ -3100,6 +3106,7 @@ function useSettingsForm() {
3100
3106
  const canSave = hasChanges && errorCount === 0 && !saving;
3101
3107
  const settingsRef = useRef(settings);
3102
3108
  const savedSettingsRef = useRef(savedSettings);
3109
+ const revisionRef = useRef(null);
3103
3110
  useLayoutEffect(() => {
3104
3111
  settingsRef.current = settings;
3105
3112
  savedSettingsRef.current = savedSettings;
@@ -3150,6 +3157,7 @@ function useSettingsForm() {
3150
3157
  throw new Error("Invalid settings response");
3151
3158
  }
3152
3159
  const nextSettings = normalizeSettings(response.data.settings);
3160
+ revisionRef.current = Number.isInteger(response.data.revision) ? response.data.revision : null;
3153
3161
  setSettings(nextSettings);
3154
3162
  setSavedSettings(nextSettings);
3155
3163
  await fetchGeoIpStatus();
@@ -3179,10 +3187,14 @@ function useSettingsForm() {
3179
3187
  if (Object.keys(validateSettings(submitted)).length > 0) return false;
3180
3188
  setSaving(true);
3181
3189
  try {
3182
- const response = await put(`/${pluginId}/settings`, submitted);
3190
+ const response = await put(
3191
+ `/${pluginId}/settings`,
3192
+ revisionRef.current === null ? submitted : { ...submitted, revision: revisionRef.current }
3193
+ );
3183
3194
  if (!response?.data?.success) {
3184
3195
  throw new Error("Save failed");
3185
3196
  }
3197
+ revisionRef.current = Number.isInteger(response.data.revision) ? response.data.revision : null;
3186
3198
  const storedPayload = response.data.settings ?? (await get(`/${pluginId}/settings`))?.data?.settings;
3187
3199
  const stored = normalizeSettings(storedPayload);
3188
3200
  setSettings(stored);
@@ -3205,9 +3217,13 @@ function useSettingsForm() {
3205
3217
  return true;
3206
3218
  } catch (err) {
3207
3219
  logSafeAdminError("settings.save", err);
3220
+ const isConflict = err?.response?.status === 409 || err?.response?.data?.error?.status === 409;
3208
3221
  toggleNotification({
3209
3222
  type: "danger",
3210
- message: t(
3223
+ message: isConflict ? t(
3224
+ "settings.config.feedback.conflict",
3225
+ "Another administrator saved the settings in the meantime. Reload the page to see their changes, then apply yours again."
3226
+ ) : t(
3211
3227
  "settings.config.feedback.saveError",
3212
3228
  "Settings could not be saved. Your changes are still in the form."
3213
3229
  )
@@ -21,32 +21,6 @@ const de = {
21
21
  "analytics.duration.description": "Von der Anmeldung bis zum Ende der Sitzung oder, solange sie offen ist, bis zu ihrer letzten Aktivität. Bei Sitzungen mit Zeitüberschreitung ist die ungenutzte Zeit bis zu ihrer Beendigung enthalten.",
22
22
  "analytics.empty": "Noch keine Sitzungen zum Auswerten. Die Auswertung erscheint nach den ersten Anmeldungen.",
23
23
  "analytics.bar.sessions": "{count, plural, one {# Sitzung} other {# Sitzungen}}",
24
- "license.title": "Lizenz",
25
- "license.subtitle": "Optionaler Lizenzschlüssel für diese Installation.",
26
- "license.refresh": "Erneut prüfen",
27
- "license.error.load": "Der Lizenzstatus konnte nicht geprüft werden.",
28
- "license.error.copy": "Der Schlüssel konnte nicht kopiert werden.",
29
- "license.error.download": "Die Datei konnte nicht erstellt werden.",
30
- "license.success.copied": "Kopiert.",
31
- "license.success.downloaded": "Lizenzangaben heruntergeladen.",
32
- "license.success.refreshed": "Lizenzstatus geprüft.",
33
- "license.status.title": "Lizenzstatus",
34
- "license.key.label": "Gespeicherter Schlüssel",
35
- "license.key.show": "Schlüssel anzeigen",
36
- "license.key.hide": "Schlüssel ausblenden",
37
- "license.key.copy": "Schlüssel kopieren",
38
- "license.key.download": "Als Text herunterladen",
39
- "license.key.hint": "Der Schlüssel bleibt verborgen, bis Sie ihn einblenden.",
40
- "license.account.email": "E-Mail-Adresse",
41
- "license.value.notProvided": "Nicht angegeben",
42
- "license.details.title": "Lizenzangaben",
43
- "license.details.deviceName": "Gerätename",
44
- "license.details.ipAddress": "IP-Adresse",
45
- "license.system.deviceLimit": "Gerätelimit",
46
- "license.system.deviceLimitValue": "{current} von {max}",
47
- "license.download.heading": "Session Manager – Lizenz",
48
- "license.download.status": "Status",
49
- "license.download.generated": "Erstellt",
50
24
  "widget.online-users.title": "Online-Benutzer",
51
25
  "widget.link": "Session Manager öffnen",
52
26
  "widget.loading": "Online-Benutzer werden geladen",
@@ -220,21 +194,6 @@ const de = {
220
194
  "analytics.stats.last7Days": "Anmeldungen in den letzten 7 Tagen",
221
195
  "analytics.bucket.unknown": "Unbekannt",
222
196
  "analytics.detection.note": "Aus dem User-Agent des Browsers ermittelt. Sitzungen ohne User-Agent, zum Beispiel Strapi-Sitzungen, erscheinen als „Unbekannt“.",
223
- "license.state.noKey": "Kein Lizenzschlüssel gespeichert.",
224
- "license.state.valid": "Lizenz gültig bis {date}.",
225
- "license.state.validNoExpiry": "Lizenz gültig. Sie hat kein Ablaufdatum.",
226
- "license.state.expired": "Lizenz abgelaufen am {date}.",
227
- "license.state.expiredNoDate": "Lizenz abgelaufen.",
228
- "license.state.invalid": "Dieser Lizenzschlüssel ist nicht gültig.",
229
- "license.state.unchecked": "Der Lizenzstatus konnte nicht geprüft werden.",
230
- "license.error.retry": "Erneut versuchen",
231
- "license.features.always": "Alle Funktionen sind mit und ohne Schlüssel verfügbar.",
232
- "license.details.holder": "Inhaber",
233
- "license.details.expires": "Läuft ab",
234
- "license.details.noExpiry": "Kein Ablaufdatum",
235
- "license.details.lastCheck": "Letzte Prüfung",
236
- "license.details.serverReachable": "Lizenzserver erreichbar",
237
- "license.key.title": "Lizenzschlüssel",
238
197
  "notifications.success.sessionEnded": "Sitzung beendet.",
239
198
  "notifications.error.sessionGone": "Diese Sitzung existiert nicht mehr. Die Liste wurde aktualisiert.",
240
199
  "notifications.error.endSession": "Die Sitzung konnte nicht beendet werden. Bitte versuchen Sie es erneut.",
@@ -309,7 +268,6 @@ const de = {
309
268
  "common.endReason.unrecorded.description": "Es wurde kein Grund gespeichert, zum Beispiel weil die Sitzung im Sitzungsspeicher von Strapi endete oder von einer älteren Plugin-Version erfasst wurde.",
310
269
  "settings.link.configuration": "Konfiguration",
311
270
  "settings.link.analytics": "Auswertung",
312
- "settings.link.license": "Lizenz",
313
271
  "settings.config.title": "Session-Manager-Konfiguration",
314
272
  "settings.config.subtitle": "Gilt für alle Sitzungen von Endbenutzern dieser Strapi-Instanz.",
315
273
  "settings.config.save": "Speichern",
@@ -339,6 +297,7 @@ const de = {
339
297
  "settings.config.requires.localDatabase": "Die folgenden Datenbankeinstellungen erfordern den Anbieter „Automatisch“ oder „Lokale Datenbank“.",
340
298
  "settings.config.requires.credentials": "Fügen Sie zuerst MaxMind-Zugangsdaten hinzu.",
341
299
  "settings.config.feedback.adjusted": "Einstellungen gespeichert. Einige Werte wurden an die zulässigen Grenzen angepasst: {fields}.",
300
+ "settings.config.feedback.conflict": "Eine andere Person hat die Einstellungen inzwischen gespeichert. Laden Sie die Seite neu, um deren Änderungen zu sehen, und übernehmen Sie Ihre Änderungen dann erneut.",
342
301
  "settings.config.feedback.saveError": "Die Einstellungen konnten nicht gespeichert werden. Ihre Änderungen sind noch im Formular.",
343
302
  "settings.config.feedback.deletedEnded": "{count, plural, one {# beendete Sitzung gelöscht.} other {# beendete Sitzungen gelöscht.}}",
344
303
  "settings.config.feedback.deletedNone": "Es gab keine beendeten Sitzungen zum Löschen.",
@@ -23,32 +23,6 @@ const de = {
23
23
  "analytics.duration.description": "Von der Anmeldung bis zum Ende der Sitzung oder, solange sie offen ist, bis zu ihrer letzten Aktivität. Bei Sitzungen mit Zeitüberschreitung ist die ungenutzte Zeit bis zu ihrer Beendigung enthalten.",
24
24
  "analytics.empty": "Noch keine Sitzungen zum Auswerten. Die Auswertung erscheint nach den ersten Anmeldungen.",
25
25
  "analytics.bar.sessions": "{count, plural, one {# Sitzung} other {# Sitzungen}}",
26
- "license.title": "Lizenz",
27
- "license.subtitle": "Optionaler Lizenzschlüssel für diese Installation.",
28
- "license.refresh": "Erneut prüfen",
29
- "license.error.load": "Der Lizenzstatus konnte nicht geprüft werden.",
30
- "license.error.copy": "Der Schlüssel konnte nicht kopiert werden.",
31
- "license.error.download": "Die Datei konnte nicht erstellt werden.",
32
- "license.success.copied": "Kopiert.",
33
- "license.success.downloaded": "Lizenzangaben heruntergeladen.",
34
- "license.success.refreshed": "Lizenzstatus geprüft.",
35
- "license.status.title": "Lizenzstatus",
36
- "license.key.label": "Gespeicherter Schlüssel",
37
- "license.key.show": "Schlüssel anzeigen",
38
- "license.key.hide": "Schlüssel ausblenden",
39
- "license.key.copy": "Schlüssel kopieren",
40
- "license.key.download": "Als Text herunterladen",
41
- "license.key.hint": "Der Schlüssel bleibt verborgen, bis Sie ihn einblenden.",
42
- "license.account.email": "E-Mail-Adresse",
43
- "license.value.notProvided": "Nicht angegeben",
44
- "license.details.title": "Lizenzangaben",
45
- "license.details.deviceName": "Gerätename",
46
- "license.details.ipAddress": "IP-Adresse",
47
- "license.system.deviceLimit": "Gerätelimit",
48
- "license.system.deviceLimitValue": "{current} von {max}",
49
- "license.download.heading": "Session Manager – Lizenz",
50
- "license.download.status": "Status",
51
- "license.download.generated": "Erstellt",
52
26
  "widget.online-users.title": "Online-Benutzer",
53
27
  "widget.link": "Session Manager öffnen",
54
28
  "widget.loading": "Online-Benutzer werden geladen",
@@ -222,21 +196,6 @@ const de = {
222
196
  "analytics.stats.last7Days": "Anmeldungen in den letzten 7 Tagen",
223
197
  "analytics.bucket.unknown": "Unbekannt",
224
198
  "analytics.detection.note": "Aus dem User-Agent des Browsers ermittelt. Sitzungen ohne User-Agent, zum Beispiel Strapi-Sitzungen, erscheinen als „Unbekannt“.",
225
- "license.state.noKey": "Kein Lizenzschlüssel gespeichert.",
226
- "license.state.valid": "Lizenz gültig bis {date}.",
227
- "license.state.validNoExpiry": "Lizenz gültig. Sie hat kein Ablaufdatum.",
228
- "license.state.expired": "Lizenz abgelaufen am {date}.",
229
- "license.state.expiredNoDate": "Lizenz abgelaufen.",
230
- "license.state.invalid": "Dieser Lizenzschlüssel ist nicht gültig.",
231
- "license.state.unchecked": "Der Lizenzstatus konnte nicht geprüft werden.",
232
- "license.error.retry": "Erneut versuchen",
233
- "license.features.always": "Alle Funktionen sind mit und ohne Schlüssel verfügbar.",
234
- "license.details.holder": "Inhaber",
235
- "license.details.expires": "Läuft ab",
236
- "license.details.noExpiry": "Kein Ablaufdatum",
237
- "license.details.lastCheck": "Letzte Prüfung",
238
- "license.details.serverReachable": "Lizenzserver erreichbar",
239
- "license.key.title": "Lizenzschlüssel",
240
199
  "notifications.success.sessionEnded": "Sitzung beendet.",
241
200
  "notifications.error.sessionGone": "Diese Sitzung existiert nicht mehr. Die Liste wurde aktualisiert.",
242
201
  "notifications.error.endSession": "Die Sitzung konnte nicht beendet werden. Bitte versuchen Sie es erneut.",
@@ -311,7 +270,6 @@ const de = {
311
270
  "common.endReason.unrecorded.description": "Es wurde kein Grund gespeichert, zum Beispiel weil die Sitzung im Sitzungsspeicher von Strapi endete oder von einer älteren Plugin-Version erfasst wurde.",
312
271
  "settings.link.configuration": "Konfiguration",
313
272
  "settings.link.analytics": "Auswertung",
314
- "settings.link.license": "Lizenz",
315
273
  "settings.config.title": "Session-Manager-Konfiguration",
316
274
  "settings.config.subtitle": "Gilt für alle Sitzungen von Endbenutzern dieser Strapi-Instanz.",
317
275
  "settings.config.save": "Speichern",
@@ -341,6 +299,7 @@ const de = {
341
299
  "settings.config.requires.localDatabase": "Die folgenden Datenbankeinstellungen erfordern den Anbieter „Automatisch“ oder „Lokale Datenbank“.",
342
300
  "settings.config.requires.credentials": "Fügen Sie zuerst MaxMind-Zugangsdaten hinzu.",
343
301
  "settings.config.feedback.adjusted": "Einstellungen gespeichert. Einige Werte wurden an die zulässigen Grenzen angepasst: {fields}.",
302
+ "settings.config.feedback.conflict": "Eine andere Person hat die Einstellungen inzwischen gespeichert. Laden Sie die Seite neu, um deren Änderungen zu sehen, und übernehmen Sie Ihre Änderungen dann erneut.",
344
303
  "settings.config.feedback.saveError": "Die Einstellungen konnten nicht gespeichert werden. Ihre Änderungen sind noch im Formular.",
345
304
  "settings.config.feedback.deletedEnded": "{count, plural, one {# beendete Sitzung gelöscht.} other {# beendete Sitzungen gelöscht.}}",
346
305
  "settings.config.feedback.deletedNone": "Es gab keine beendeten Sitzungen zum Löschen.",
@@ -21,32 +21,6 @@ const en = {
21
21
  "analytics.duration.description": "From sign-in to the end of the session, or to its last activity while it is still open. Sessions that timed out include the unused time before they were closed.",
22
22
  "analytics.empty": "No sessions to analyse yet. Analytics appear after the first sign-ins.",
23
23
  "analytics.bar.sessions": "{count, plural, one {# session} other {# sessions}}",
24
- "license.title": "License",
25
- "license.subtitle": "Optional license key for this installation.",
26
- "license.refresh": "Check again",
27
- "license.error.load": "The license status could not be checked.",
28
- "license.error.copy": "The key could not be copied.",
29
- "license.error.download": "The file could not be created.",
30
- "license.success.copied": "Copied.",
31
- "license.success.downloaded": "License details downloaded.",
32
- "license.success.refreshed": "License status checked.",
33
- "license.status.title": "License status",
34
- "license.key.label": "Stored key",
35
- "license.key.show": "Show key",
36
- "license.key.hide": "Hide key",
37
- "license.key.copy": "Copy key",
38
- "license.key.download": "Download as text",
39
- "license.key.hint": "The key stays masked until you reveal it.",
40
- "license.account.email": "Email address",
41
- "license.value.notProvided": "Not provided",
42
- "license.details.title": "License details",
43
- "license.details.deviceName": "Device name",
44
- "license.details.ipAddress": "IP address",
45
- "license.system.deviceLimit": "Device limit",
46
- "license.system.deviceLimitValue": "{current} of {max}",
47
- "license.download.heading": "Session Manager license",
48
- "license.download.status": "Status",
49
- "license.download.generated": "Generated",
50
24
  "widget.online-users.title": "Online users",
51
25
  "widget.link": "Open Session Manager",
52
26
  "widget.loading": "Loading online users",
@@ -220,21 +194,6 @@ const en = {
220
194
  "analytics.stats.last7Days": "Sign-ins in the last 7 days",
221
195
  "analytics.bucket.unknown": "Unknown",
222
196
  "analytics.detection.note": `Detected from the browser's user agent. Sessions without a user agent, for example Strapi sessions, appear as "Unknown".`,
223
- "license.state.noKey": "No license key stored.",
224
- "license.state.valid": "License valid until {date}.",
225
- "license.state.validNoExpiry": "License valid. It has no expiry date.",
226
- "license.state.expired": "License expired on {date}.",
227
- "license.state.expiredNoDate": "License expired.",
228
- "license.state.invalid": "This license key is not valid.",
229
- "license.state.unchecked": "The license status could not be checked.",
230
- "license.error.retry": "Try again",
231
- "license.features.always": "All features are available with or without a key.",
232
- "license.details.holder": "Holder",
233
- "license.details.expires": "Expires",
234
- "license.details.noExpiry": "No expiry date",
235
- "license.details.lastCheck": "Last check",
236
- "license.details.serverReachable": "License server reachable",
237
- "license.key.title": "License key",
238
197
  "notifications.success.sessionEnded": "Session ended.",
239
198
  "notifications.error.sessionGone": "This session no longer exists. The list was refreshed.",
240
199
  "notifications.error.endSession": "The session could not be ended. Please try again.",
@@ -309,7 +268,6 @@ const en = {
309
268
  "common.endReason.unrecorded.description": "No end reason was stored, for example because the session ended in Strapi’s own session store or was recorded by an older plugin version.",
310
269
  "settings.link.configuration": "Configuration",
311
270
  "settings.link.analytics": "Analytics",
312
- "settings.link.license": "License",
313
271
  "settings.config.title": "Session Manager configuration",
314
272
  "settings.config.subtitle": "Applies to all end-user sessions of this Strapi instance.",
315
273
  "settings.config.save": "Save",
@@ -339,6 +297,7 @@ const en = {
339
297
  "settings.config.requires.localDatabase": "The database settings below require the Automatic or Local database provider.",
340
298
  "settings.config.requires.credentials": "Add MaxMind credentials first.",
341
299
  "settings.config.feedback.adjusted": "Settings saved. Some values were adjusted to the allowed limits: {fields}.",
300
+ "settings.config.feedback.conflict": "Another administrator saved the settings in the meantime. Reload the page to see their changes, then apply yours again.",
342
301
  "settings.config.feedback.saveError": "Settings could not be saved. Your changes are still in the form.",
343
302
  "settings.config.feedback.deletedEnded": "{count, plural, one {# ended session deleted.} other {# ended sessions deleted.}}",
344
303
  "settings.config.feedback.deletedNone": "There were no ended sessions to delete.",
@@ -23,32 +23,6 @@ const en = {
23
23
  "analytics.duration.description": "From sign-in to the end of the session, or to its last activity while it is still open. Sessions that timed out include the unused time before they were closed.",
24
24
  "analytics.empty": "No sessions to analyse yet. Analytics appear after the first sign-ins.",
25
25
  "analytics.bar.sessions": "{count, plural, one {# session} other {# sessions}}",
26
- "license.title": "License",
27
- "license.subtitle": "Optional license key for this installation.",
28
- "license.refresh": "Check again",
29
- "license.error.load": "The license status could not be checked.",
30
- "license.error.copy": "The key could not be copied.",
31
- "license.error.download": "The file could not be created.",
32
- "license.success.copied": "Copied.",
33
- "license.success.downloaded": "License details downloaded.",
34
- "license.success.refreshed": "License status checked.",
35
- "license.status.title": "License status",
36
- "license.key.label": "Stored key",
37
- "license.key.show": "Show key",
38
- "license.key.hide": "Hide key",
39
- "license.key.copy": "Copy key",
40
- "license.key.download": "Download as text",
41
- "license.key.hint": "The key stays masked until you reveal it.",
42
- "license.account.email": "Email address",
43
- "license.value.notProvided": "Not provided",
44
- "license.details.title": "License details",
45
- "license.details.deviceName": "Device name",
46
- "license.details.ipAddress": "IP address",
47
- "license.system.deviceLimit": "Device limit",
48
- "license.system.deviceLimitValue": "{current} of {max}",
49
- "license.download.heading": "Session Manager license",
50
- "license.download.status": "Status",
51
- "license.download.generated": "Generated",
52
26
  "widget.online-users.title": "Online users",
53
27
  "widget.link": "Open Session Manager",
54
28
  "widget.loading": "Loading online users",
@@ -222,21 +196,6 @@ const en = {
222
196
  "analytics.stats.last7Days": "Sign-ins in the last 7 days",
223
197
  "analytics.bucket.unknown": "Unknown",
224
198
  "analytics.detection.note": `Detected from the browser's user agent. Sessions without a user agent, for example Strapi sessions, appear as "Unknown".`,
225
- "license.state.noKey": "No license key stored.",
226
- "license.state.valid": "License valid until {date}.",
227
- "license.state.validNoExpiry": "License valid. It has no expiry date.",
228
- "license.state.expired": "License expired on {date}.",
229
- "license.state.expiredNoDate": "License expired.",
230
- "license.state.invalid": "This license key is not valid.",
231
- "license.state.unchecked": "The license status could not be checked.",
232
- "license.error.retry": "Try again",
233
- "license.features.always": "All features are available with or without a key.",
234
- "license.details.holder": "Holder",
235
- "license.details.expires": "Expires",
236
- "license.details.noExpiry": "No expiry date",
237
- "license.details.lastCheck": "Last check",
238
- "license.details.serverReachable": "License server reachable",
239
- "license.key.title": "License key",
240
199
  "notifications.success.sessionEnded": "Session ended.",
241
200
  "notifications.error.sessionGone": "This session no longer exists. The list was refreshed.",
242
201
  "notifications.error.endSession": "The session could not be ended. Please try again.",
@@ -311,7 +270,6 @@ const en = {
311
270
  "common.endReason.unrecorded.description": "No end reason was stored, for example because the session ended in Strapi’s own session store or was recorded by an older plugin version.",
312
271
  "settings.link.configuration": "Configuration",
313
272
  "settings.link.analytics": "Analytics",
314
- "settings.link.license": "License",
315
273
  "settings.config.title": "Session Manager configuration",
316
274
  "settings.config.subtitle": "Applies to all end-user sessions of this Strapi instance.",
317
275
  "settings.config.save": "Save",
@@ -341,6 +299,7 @@ const en = {
341
299
  "settings.config.requires.localDatabase": "The database settings below require the Automatic or Local database provider.",
342
300
  "settings.config.requires.credentials": "Add MaxMind credentials first.",
343
301
  "settings.config.feedback.adjusted": "Settings saved. Some values were adjusted to the allowed limits: {fields}.",
302
+ "settings.config.feedback.conflict": "Another administrator saved the settings in the meantime. Reload the page to see their changes, then apply yours again.",
344
303
  "settings.config.feedback.saveError": "Settings could not be saved. Your changes are still in the form.",
345
304
  "settings.config.feedback.deletedEnded": "{count, plural, one {# ended session deleted.} other {# ended sessions deleted.}}",
346
305
  "settings.config.feedback.deletedNone": "There were no ended sessions to delete.",
@@ -23,32 +23,6 @@ const es = {
23
23
  "analytics.duration.description": "Desde el inicio de sesión hasta el final de la sesión, o hasta su última actividad mientras siga abierta. Las sesiones que caducaron por inactividad incluyen el tiempo sin uso antes de cerrarse.",
24
24
  "analytics.empty": "Todavía no hay sesiones que analizar. Los análisis aparecen tras los primeros inicios de sesión.",
25
25
  "analytics.bar.sessions": "{count, plural, one {# sesión} other {# sesiones}}",
26
- "license.title": "Licencia",
27
- "license.subtitle": "Clave de licencia opcional para esta instalación.",
28
- "license.refresh": "Comprobar de nuevo",
29
- "license.error.load": "No se pudo comprobar el estado de la licencia.",
30
- "license.error.copy": "No se pudo copiar la clave.",
31
- "license.error.download": "No se pudo crear el archivo.",
32
- "license.success.copied": "Copiado.",
33
- "license.success.downloaded": "Detalles de la licencia descargados.",
34
- "license.success.refreshed": "Estado de la licencia comprobado.",
35
- "license.status.title": "Estado de la licencia",
36
- "license.key.label": "Clave guardada",
37
- "license.key.show": "Mostrar clave",
38
- "license.key.hide": "Ocultar clave",
39
- "license.key.copy": "Copiar clave",
40
- "license.key.download": "Descargar como texto",
41
- "license.key.hint": "La clave permanece oculta hasta que la muestre.",
42
- "license.account.email": "Correo electrónico",
43
- "license.value.notProvided": "No indicado",
44
- "license.details.title": "Detalles de la licencia",
45
- "license.details.deviceName": "Nombre del dispositivo",
46
- "license.details.ipAddress": "Dirección IP",
47
- "license.system.deviceLimit": "Límite de dispositivos",
48
- "license.system.deviceLimitValue": "{current} de {max}",
49
- "license.download.heading": "Licencia de Session Manager",
50
- "license.download.status": "Estado",
51
- "license.download.generated": "Generado",
52
26
  "widget.online-users.title": "Usuarios en línea",
53
27
  "widget.link": "Abrir Session Manager",
54
28
  "widget.loading": "Cargando usuarios en línea",
@@ -222,21 +196,6 @@ const es = {
222
196
  "analytics.stats.last7Days": "Inicios de sesión en los últimos 7 días",
223
197
  "analytics.bucket.unknown": "Desconocido",
224
198
  "analytics.detection.note": "Detectado a partir del agente de usuario del navegador. Las sesiones sin agente de usuario, por ejemplo las sesiones de Strapi, aparecen como «Desconocido».",
225
- "license.state.noKey": "No hay ninguna clave de licencia guardada.",
226
- "license.state.valid": "Licencia válida hasta el {date}.",
227
- "license.state.validNoExpiry": "Licencia válida. No tiene fecha de caducidad.",
228
- "license.state.expired": "Licencia caducada el {date}.",
229
- "license.state.expiredNoDate": "Licencia caducada.",
230
- "license.state.invalid": "Esta clave de licencia no es válida.",
231
- "license.state.unchecked": "No se pudo comprobar el estado de la licencia.",
232
- "license.error.retry": "Reintentar",
233
- "license.features.always": "Todas las funciones están disponibles con o sin clave.",
234
- "license.details.holder": "Titular",
235
- "license.details.expires": "Caducidad",
236
- "license.details.noExpiry": "Sin fecha de caducidad",
237
- "license.details.lastCheck": "Última comprobación",
238
- "license.details.serverReachable": "Servidor de licencias accesible",
239
- "license.key.title": "Clave de licencia",
240
199
  "notifications.success.sessionEnded": "Sesión finalizada.",
241
200
  "notifications.error.sessionGone": "Esta sesión ya no existe. La lista se ha actualizado.",
242
201
  "notifications.error.endSession": "No se pudo finalizar la sesión. Inténtelo de nuevo.",
@@ -311,7 +270,6 @@ const es = {
311
270
  "common.endReason.unrecorded.description": "No se guardó ningún motivo, por ejemplo porque la sesión finalizó en el almacén de sesiones de Strapi o la registró una versión anterior del plugin.",
312
271
  "settings.link.configuration": "Configuración",
313
272
  "settings.link.analytics": "Analíticas",
314
- "settings.link.license": "Licencia",
315
273
  "settings.config.title": "Configuración de Session Manager",
316
274
  "settings.config.subtitle": "Se aplica a todas las sesiones de usuarios finales de esta instancia de Strapi.",
317
275
  "settings.config.save": "Guardar",
@@ -341,6 +299,7 @@ const es = {
341
299
  "settings.config.requires.localDatabase": "Los ajustes de base de datos siguientes requieren el proveedor Automático o Base de datos local.",
342
300
  "settings.config.requires.credentials": "Añada primero las credenciales de MaxMind.",
343
301
  "settings.config.feedback.adjusted": "Configuración guardada. Algunos valores se ajustaron a los límites permitidos: {fields}.",
302
+ "settings.config.feedback.conflict": "Otro administrador guardó la configuración mientras tanto. Vuelva a cargar la página para ver sus cambios y aplique de nuevo los suyos.",
344
303
  "settings.config.feedback.saveError": "No se pudo guardar la configuración. Sus cambios siguen en el formulario.",
345
304
  "settings.config.feedback.deletedEnded": "{count, plural, one {# sesión finalizada eliminada.} other {# sesiones finalizadas eliminadas.}}",
346
305
  "settings.config.feedback.deletedNone": "No había sesiones finalizadas que eliminar.",