strapi-plugin-magic-sessionmanager 4.6.4 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +15 -8
- package/dist/admin/{Analytics-BJlc-yE3.js → Analytics-Cw6R2xZn.js} +5 -1
- package/dist/admin/{Analytics-B5IR0Awr.mjs → Analytics-Dq8PuDhs.mjs} +5 -1
- package/dist/admin/{App-BEniJePD.mjs → App-BIFTc3mk.mjs} +1 -1
- package/dist/admin/{App-DisCm99X.js → App-DLR2M3FT.js} +1 -1
- package/dist/admin/{License-DqDBPjZH.js → License-BZtjgFol.js} +1 -1
- package/dist/admin/{License-BjP7GvCt.mjs → License-W_NPUWIn.mjs} +1 -1
- package/dist/admin/{OnlineUsersWidget-Cm9O0Fjb.mjs → OnlineUsersWidget-BIbmzgLP.mjs} +1 -1
- package/dist/admin/{OnlineUsersWidget-DXdeGmfV.js → OnlineUsersWidget-CAdR0MfU.js} +1 -1
- package/dist/admin/{Settings-CnO501iu.mjs → Settings-BNu9EAuS.mjs} +10 -5
- package/dist/admin/{Settings-DoLec2MD.js → Settings-DWaflQdm.js} +10 -5
- package/dist/admin/{de-6rIvkYOp.mjs → de-4pAz-Ihh.mjs} +4 -3
- package/dist/admin/{de-DjP2WJ_V.js → de-jU7AaYIc.js} +4 -3
- package/dist/admin/{en-8hiv31Dv.mjs → en-BI_aBNXG.mjs} +4 -3
- package/dist/admin/{en-0pesBbOT.js → en-Tjp9AEhR.js} +4 -3
- package/dist/admin/{es-DdBRpF7F.js → es-BCgwFZPL.js} +4 -3
- package/dist/admin/{es-LRQ148f5.mjs → es-Bp4Uzf5h.mjs} +4 -3
- package/dist/admin/{fr-CKhx_qil.mjs → fr-B69qIjq2.mjs} +4 -3
- package/dist/admin/{fr-DJ6DbeDy.js → fr-Di5zo4wy.js} +4 -3
- package/dist/admin/{index-DJHhzin_.js → index-CBS3aqCW.js} +10 -10
- package/dist/admin/{index-CpMDG2XI.mjs → index-eSND7TDx.mjs} +10 -10
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/{pt-D0SMoAmo.js → pt-DlGYOi6D.js} +4 -3
- package/dist/admin/{pt-DXizUvcj.mjs → pt-Drc-di4D.mjs} +4 -3
- package/dist/server/index.js +151 -49
- package/dist/server/index.mjs +151 -49
- package/package.json +7 -7
- package/scripts/geoip-updater.cjs +39 -4
- package/scripts/update-geoip-db.mjs +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [4.7.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.6.4...v4.7.0) (2026-07-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* define analytics float animation ([e248680](https://github.com/Schero94/Magic-Sessionmanager/commit/e248680989e68b4cf082d50b565e978ce50d316d))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* support local GeoLite2 City database ([298d2a0](https://github.com/Schero94/Magic-Sessionmanager/commit/298d2a0948dd1a08f06ee70ada3953ed7d4dd2e6))
|
|
12
|
+
|
|
1
13
|
## [4.6.4](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.6.3...v4.6.4) (2026-07-09)
|
|
2
14
|
|
|
3
15
|
|
package/README.md
CHANGED
|
@@ -283,17 +283,21 @@ Add to `config/plugins.ts`:
|
|
|
283
283
|
|
|
284
284
|
### Local GeoIP Firewall (Recommended)
|
|
285
285
|
|
|
286
|
-
For login blocking, use a local MaxMind
|
|
287
|
-
remote API timeouts and rate limits in the
|
|
286
|
+
For login blocking and city-level session display, use a local MaxMind
|
|
287
|
+
GeoLite2 City database. This avoids remote API timeouts and rate limits in the
|
|
288
|
+
login path while still giving the admin UI city, region, timezone and
|
|
289
|
+
coordinates. Existing GeoLite2 Country databases remain supported as a
|
|
290
|
+
country-only fallback.
|
|
288
291
|
|
|
289
|
-
1. Create a free MaxMind account and download `GeoLite2-
|
|
292
|
+
1. Create a free MaxMind account and download `GeoLite2-City.mmdb`:
|
|
290
293
|
https://dev.maxmind.com/geoip/geolite2-free-geolocation-data/
|
|
291
294
|
2. Store the file on your Strapi server, for example:
|
|
292
|
-
`/var/lib/strapi/GeoLite2-
|
|
295
|
+
`/var/lib/strapi/GeoLite2-City.mmdb`
|
|
293
296
|
3. Configure the plugin:
|
|
294
297
|
|
|
295
298
|
```bash
|
|
296
|
-
MAGIC_SESSIONMANAGER_GEOIP_DATABASE=/var/lib/strapi/GeoLite2-
|
|
299
|
+
MAGIC_SESSIONMANAGER_GEOIP_DATABASE=/var/lib/strapi/GeoLite2-City.mmdb
|
|
300
|
+
MAXMIND_EDITION_ID=GeoLite2-City
|
|
297
301
|
MAXMIND_ACCOUNT_ID=your-account-id
|
|
298
302
|
MAXMIND_LICENSE_KEY=your-license-key
|
|
299
303
|
```
|
|
@@ -311,6 +315,7 @@ Strapi plugin store instead):
|
|
|
311
315
|
```bash
|
|
312
316
|
export MAXMIND_ACCOUNT_ID=your_account_id
|
|
313
317
|
export MAXMIND_LICENSE_KEY=your_license_key
|
|
318
|
+
export MAXMIND_EDITION_ID=GeoLite2-City
|
|
314
319
|
npm run geoip:update
|
|
315
320
|
```
|
|
316
321
|
|
|
@@ -352,9 +357,11 @@ Provider options:
|
|
|
352
357
|
- `ipapi`: legacy remote provider
|
|
353
358
|
- `disabled`: no GEOIP lookup
|
|
354
359
|
|
|
355
|
-
Country
|
|
356
|
-
|
|
357
|
-
|
|
360
|
+
Local City and Country databases both support country firewall rules. City
|
|
361
|
+
databases additionally populate city, region, timezone, coordinates and postal
|
|
362
|
+
data for the admin UI. VPN/proxy/threat detection still requires a provider
|
|
363
|
+
that supplies those risk signals; free GeoLite databases do not reliably
|
|
364
|
+
identify VPNs or proxies.
|
|
358
365
|
|
|
359
366
|
### Threat Detection
|
|
360
367
|
|
|
@@ -6,7 +6,7 @@ const admin = require("@strapi/strapi/admin");
|
|
|
6
6
|
const styled = require("styled-components");
|
|
7
7
|
const designSystem = require("@strapi/design-system");
|
|
8
8
|
const icons = require("@strapi/icons");
|
|
9
|
-
const index = require("./index-
|
|
9
|
+
const index = require("./index-CBS3aqCW.js");
|
|
10
10
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
11
11
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
12
12
|
const theme = {
|
|
@@ -39,6 +39,10 @@ const pulse = styled.keyframes`
|
|
|
39
39
|
0%, 100% { opacity: 1; }
|
|
40
40
|
50% { opacity: 0.8; }
|
|
41
41
|
`;
|
|
42
|
+
const float = styled.keyframes`
|
|
43
|
+
0%, 100% { transform: translateY(0px); }
|
|
44
|
+
50% { transform: translateY(-5px); }
|
|
45
|
+
`;
|
|
42
46
|
const growBar = styled.keyframes`
|
|
43
47
|
from { width: 0; }
|
|
44
48
|
to { width: var(--bar-width); }
|
|
@@ -4,7 +4,7 @@ import { useFetchClient } from "@strapi/strapi/admin";
|
|
|
4
4
|
import styled, { css, keyframes } from "styled-components";
|
|
5
5
|
import { Loader, Flex, Box, Badge, Typography } from "@strapi/design-system";
|
|
6
6
|
import { ChartBubble, User, Clock, Monitor } from "@strapi/icons";
|
|
7
|
-
import { a as pluginId } from "./index-
|
|
7
|
+
import { a as pluginId } from "./index-eSND7TDx.mjs";
|
|
8
8
|
const theme = {
|
|
9
9
|
shadows: {
|
|
10
10
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
|
|
@@ -35,6 +35,10 @@ const pulse = keyframes`
|
|
|
35
35
|
0%, 100% { opacity: 1; }
|
|
36
36
|
50% { opacity: 0.8; }
|
|
37
37
|
`;
|
|
38
|
+
const float = keyframes`
|
|
39
|
+
0%, 100% { transform: translateY(0px); }
|
|
40
|
+
50% { transform: translateY(-5px); }
|
|
41
|
+
`;
|
|
38
42
|
const growBar = keyframes`
|
|
39
43
|
from { width: 0; }
|
|
40
44
|
to { width: var(--bar-width); }
|
|
@@ -3,7 +3,7 @@ import { useState, useEffect } from "react";
|
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
4
|
import { useFetchClient, useNotification, Page } from "@strapi/strapi/admin";
|
|
5
5
|
import styled, { css, keyframes } from "styled-components";
|
|
6
|
-
import { p as parseUserAgent, a as pluginId$1, g as getTranslation } from "./index-
|
|
6
|
+
import { p as parseUserAgent, a as pluginId$1, g as getTranslation } from "./index-eSND7TDx.mjs";
|
|
7
7
|
import { Modal, Flex, Box, Typography, Divider, Button, Loader, SingleSelect, SingleSelectOption, Thead, Tr, Th, Tbody, Td, Table } from "@strapi/design-system";
|
|
8
8
|
import { Check, Information, Monitor, Server, Clock, Cross, Earth, Shield, Phone, Download, User, Eye, Trash, Search } from "@strapi/icons";
|
|
9
9
|
import { S as ShowHideButton, T as TertiaryButton, D as DangerButton, I as IconButtonPrimary, a as IconButtonWarning, b as IconButtonDanger } from "./StyledButtons-Cz8oYhmc.mjs";
|
|
@@ -5,7 +5,7 @@ const react = require("react");
|
|
|
5
5
|
const reactIntl = require("react-intl");
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
7
|
const styled = require("styled-components");
|
|
8
|
-
const index = require("./index-
|
|
8
|
+
const index = require("./index-CBS3aqCW.js");
|
|
9
9
|
const designSystem = require("@strapi/design-system");
|
|
10
10
|
const icons = require("@strapi/icons");
|
|
11
11
|
const StyledButtons = require("./StyledButtons-DDuxnYz8.js");
|
|
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
|
|
|
6
6
|
const admin = 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-CBS3aqCW.js");
|
|
10
10
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
11
11
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
12
12
|
const theme = {
|
|
@@ -4,7 +4,7 @@ import { Loader, Box, Alert, Flex, Typography, Button, Badge, Accordion } from "
|
|
|
4
4
|
import { useFetchClient, useNotification } from "@strapi/strapi/admin";
|
|
5
5
|
import { ArrowClockwise, Duplicate, Download, User, Shield, Sparkle, ChartBubble } from "@strapi/icons";
|
|
6
6
|
import styled, { css, keyframes } from "styled-components";
|
|
7
|
-
import { a as pluginId } from "./index-
|
|
7
|
+
import { a as pluginId } from "./index-eSND7TDx.mjs";
|
|
8
8
|
const theme = {
|
|
9
9
|
borderRadius: { lg: "12px" }
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { useIntl } from "react-intl";
|
|
|
4
4
|
import { Box, Typography, Flex, Grid } from "@strapi/design-system";
|
|
5
5
|
import { Check, Cross, Clock, User } from "@strapi/icons";
|
|
6
6
|
import { useFetchClient } from "@strapi/strapi/admin";
|
|
7
|
-
import { g as getTranslation } from "./index-
|
|
7
|
+
import { g as getTranslation } from "./index-eSND7TDx.mjs";
|
|
8
8
|
function getSessionUserKey(session) {
|
|
9
9
|
return session?.user?.documentId || session?.user?.id || session?.user?.email || session?.user?.username || null;
|
|
10
10
|
}
|
|
@@ -6,7 +6,7 @@ const reactIntl = require("react-intl");
|
|
|
6
6
|
const designSystem = require("@strapi/design-system");
|
|
7
7
|
const icons = require("@strapi/icons");
|
|
8
8
|
const admin = require("@strapi/strapi/admin");
|
|
9
|
-
const index = require("./index-
|
|
9
|
+
const index = require("./index-CBS3aqCW.js");
|
|
10
10
|
function getSessionUserKey(session) {
|
|
11
11
|
return session?.user?.documentId || session?.user?.id || session?.user?.email || session?.user?.username || null;
|
|
12
12
|
}
|
|
@@ -5,7 +5,7 @@ import { Flex, Loader, Typography, Button, Box, Accordion, Grid, SingleSelect, S
|
|
|
5
5
|
import { useFetchClient, useNotification } from "@strapi/strapi/admin";
|
|
6
6
|
import { Check, Cog, Trash, Shield, Code, Duplicate, Clock, Mail } from "@strapi/icons";
|
|
7
7
|
import styled, { css, keyframes } from "styled-components";
|
|
8
|
-
import { a as pluginId, g as getTranslation } from "./index-
|
|
8
|
+
import { a as pluginId, g as getTranslation } from "./index-eSND7TDx.mjs";
|
|
9
9
|
import { D as DangerButton, S as ShowHideButton, G as GradientButton, C as CopyButton, T as TertiaryButton, c as SecondaryButton } from "./StyledButtons-Cz8oYhmc.mjs";
|
|
10
10
|
const COUNTRIES = [
|
|
11
11
|
{ code: "DE", name: "Germany", flag: "🇩🇪" },
|
|
@@ -510,22 +510,27 @@ const GeofencingPanel = ({
|
|
|
510
510
|
name: "geoIpDatabasePath",
|
|
511
511
|
value: settings.geoIpDatabasePath || "",
|
|
512
512
|
onChange: (e) => handleChange("geoIpDatabasePath", e.target.value),
|
|
513
|
-
placeholder: "/var/lib/strapi/GeoLite2-
|
|
513
|
+
placeholder: "/var/lib/strapi/GeoLite2-City.mmdb"
|
|
514
514
|
}
|
|
515
515
|
)
|
|
516
516
|
] }) }),
|
|
517
517
|
/* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsx(Box, { padding: 3, background: "neutral100", hasRadius: true, children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 3, alignItems: "stretch", children: [
|
|
518
518
|
/* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", gap: 3, children: [
|
|
519
519
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
520
|
-
/* @__PURE__ */ jsx(Typography, { variant: "delta", style: { display: "block", marginBottom: "4px" }, children: t("settings.geofencing.database.title", "Local GeoIP Database") }),
|
|
521
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: geoIpStatus?.exists ? t("settings.geofencing.database.exists", "Database is installed locally.") : t("settings.geofencing.database.missing", "No local database installed yet.") })
|
|
520
|
+
/* @__PURE__ */ jsx(Typography, { variant: "delta", style: { display: "block", marginBottom: "4px" }, children: t("settings.geofencing.database.title", "Local GeoIP Database (City recommended)") }),
|
|
521
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: geoIpStatus?.exists ? t("settings.geofencing.database.exists", "Database is installed locally. GeoLite2-City enables city-level lookup; Country remains supported.") : t("settings.geofencing.database.missing", "No local database installed yet. GeoLite2-City is recommended for city-level lookup.") })
|
|
522
522
|
] }),
|
|
523
523
|
/* @__PURE__ */ jsx(Badge, { backgroundColor: geoIpStatus?.exists ? "success100" : "warning100", children: geoIpStatus?.exists ? t("settings.geofencing.database.installed", "Installed") : t("settings.geofencing.database.notInstalled", "Missing") })
|
|
524
524
|
] }),
|
|
525
525
|
/* @__PURE__ */ jsxs(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: [
|
|
526
526
|
t("settings.geofencing.database.path", "Path"),
|
|
527
527
|
": ",
|
|
528
|
-
geoIpStatus?.databasePath || settings.geoIpDatabasePath || "data/GeoLite2-
|
|
528
|
+
geoIpStatus?.databasePath || settings.geoIpDatabasePath || "data/GeoLite2-City.mmdb"
|
|
529
|
+
] }),
|
|
530
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: [
|
|
531
|
+
t("settings.geofencing.database.edition", "Edition"),
|
|
532
|
+
": ",
|
|
533
|
+
geoIpStatus?.editionId || "GeoLite2-City"
|
|
529
534
|
] }),
|
|
530
535
|
geoIpStatus?.metadata?.lastModified && /* @__PURE__ */ jsxs(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: [
|
|
531
536
|
t("settings.geofencing.database.lastModified", "Last MaxMind update"),
|
|
@@ -7,7 +7,7 @@ const designSystem = require("@strapi/design-system");
|
|
|
7
7
|
const admin = require("@strapi/strapi/admin");
|
|
8
8
|
const icons = require("@strapi/icons");
|
|
9
9
|
const styled = require("styled-components");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-CBS3aqCW.js");
|
|
11
11
|
const StyledButtons = require("./StyledButtons-DDuxnYz8.js");
|
|
12
12
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
13
13
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
@@ -514,22 +514,27 @@ const GeofencingPanel = ({
|
|
|
514
514
|
name: "geoIpDatabasePath",
|
|
515
515
|
value: settings.geoIpDatabasePath || "",
|
|
516
516
|
onChange: (e) => handleChange("geoIpDatabasePath", e.target.value),
|
|
517
|
-
placeholder: "/var/lib/strapi/GeoLite2-
|
|
517
|
+
placeholder: "/var/lib/strapi/GeoLite2-City.mmdb"
|
|
518
518
|
}
|
|
519
519
|
)
|
|
520
520
|
] }) }),
|
|
521
521
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 12, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 3, background: "neutral100", hasRadius: true, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 3, alignItems: "stretch", children: [
|
|
522
522
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", gap: 3, children: [
|
|
523
523
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
524
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", style: { display: "block", marginBottom: "4px" }, children: t("settings.geofencing.database.title", "Local GeoIP Database") }),
|
|
525
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: geoIpStatus?.exists ? t("settings.geofencing.database.exists", "Database is installed locally.") : t("settings.geofencing.database.missing", "No local database installed yet.") })
|
|
524
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", style: { display: "block", marginBottom: "4px" }, children: t("settings.geofencing.database.title", "Local GeoIP Database (City recommended)") }),
|
|
525
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: geoIpStatus?.exists ? t("settings.geofencing.database.exists", "Database is installed locally. GeoLite2-City enables city-level lookup; Country remains supported.") : t("settings.geofencing.database.missing", "No local database installed yet. GeoLite2-City is recommended for city-level lookup.") })
|
|
526
526
|
] }),
|
|
527
527
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Badge, { backgroundColor: geoIpStatus?.exists ? "success100" : "warning100", children: geoIpStatus?.exists ? t("settings.geofencing.database.installed", "Installed") : t("settings.geofencing.database.notInstalled", "Missing") })
|
|
528
528
|
] }),
|
|
529
529
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: [
|
|
530
530
|
t("settings.geofencing.database.path", "Path"),
|
|
531
531
|
": ",
|
|
532
|
-
geoIpStatus?.databasePath || settings.geoIpDatabasePath || "data/GeoLite2-
|
|
532
|
+
geoIpStatus?.databasePath || settings.geoIpDatabasePath || "data/GeoLite2-City.mmdb"
|
|
533
|
+
] }),
|
|
534
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: [
|
|
535
|
+
t("settings.geofencing.database.edition", "Edition"),
|
|
536
|
+
": ",
|
|
537
|
+
geoIpStatus?.editionId || "GeoLite2-City"
|
|
533
538
|
] }),
|
|
534
539
|
geoIpStatus?.metadata?.lastModified && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px" }, children: [
|
|
535
540
|
t("settings.geofencing.database.lastModified", "Last MaxMind update"),
|
|
@@ -205,12 +205,13 @@ const de = {
|
|
|
205
205
|
"settings.geofencing.failureMode.allow": "Erlauben",
|
|
206
206
|
"settings.geofencing.failureMode.block": "Blockieren",
|
|
207
207
|
"settings.geofencing.databasePath.title": "Lokaler MMDB-Pfad",
|
|
208
|
-
"settings.geofencing.database.title": "Lokale GeoIP-Datenbank",
|
|
209
|
-
"settings.geofencing.database.exists": "Die Datenbank ist lokal installiert.",
|
|
210
|
-
"settings.geofencing.database.missing": "Noch keine lokale Datenbank installiert.",
|
|
208
|
+
"settings.geofencing.database.title": "Lokale GeoIP-Datenbank (City empfohlen)",
|
|
209
|
+
"settings.geofencing.database.exists": "Die Datenbank ist lokal installiert. GeoLite2-City ermöglicht Stadt-Lookups; Country bleibt unterstützt.",
|
|
210
|
+
"settings.geofencing.database.missing": "Noch keine lokale Datenbank installiert. GeoLite2-City wird für Stadt-Lookups empfohlen.",
|
|
211
211
|
"settings.geofencing.database.installed": "Installiert",
|
|
212
212
|
"settings.geofencing.database.notInstalled": "Fehlt",
|
|
213
213
|
"settings.geofencing.database.path": "Pfad",
|
|
214
|
+
"settings.geofencing.database.edition": "Edition",
|
|
214
215
|
"settings.geofencing.database.lastModified": "Letztes MaxMind-Update",
|
|
215
216
|
"settings.geofencing.database.updating": "Aktualisiere...",
|
|
216
217
|
"settings.geofencing.database.update": "DB herunterladen / aktualisieren",
|
|
@@ -207,12 +207,13 @@ const de = {
|
|
|
207
207
|
"settings.geofencing.failureMode.allow": "Erlauben",
|
|
208
208
|
"settings.geofencing.failureMode.block": "Blockieren",
|
|
209
209
|
"settings.geofencing.databasePath.title": "Lokaler MMDB-Pfad",
|
|
210
|
-
"settings.geofencing.database.title": "Lokale GeoIP-Datenbank",
|
|
211
|
-
"settings.geofencing.database.exists": "Die Datenbank ist lokal installiert.",
|
|
212
|
-
"settings.geofencing.database.missing": "Noch keine lokale Datenbank installiert.",
|
|
210
|
+
"settings.geofencing.database.title": "Lokale GeoIP-Datenbank (City empfohlen)",
|
|
211
|
+
"settings.geofencing.database.exists": "Die Datenbank ist lokal installiert. GeoLite2-City ermöglicht Stadt-Lookups; Country bleibt unterstützt.",
|
|
212
|
+
"settings.geofencing.database.missing": "Noch keine lokale Datenbank installiert. GeoLite2-City wird für Stadt-Lookups empfohlen.",
|
|
213
213
|
"settings.geofencing.database.installed": "Installiert",
|
|
214
214
|
"settings.geofencing.database.notInstalled": "Fehlt",
|
|
215
215
|
"settings.geofencing.database.path": "Pfad",
|
|
216
|
+
"settings.geofencing.database.edition": "Edition",
|
|
216
217
|
"settings.geofencing.database.lastModified": "Letztes MaxMind-Update",
|
|
217
218
|
"settings.geofencing.database.updating": "Aktualisiere...",
|
|
218
219
|
"settings.geofencing.database.update": "DB herunterladen / aktualisieren",
|
|
@@ -205,12 +205,13 @@ const en = {
|
|
|
205
205
|
"settings.geofencing.failureMode.allow": "Allow",
|
|
206
206
|
"settings.geofencing.failureMode.block": "Block",
|
|
207
207
|
"settings.geofencing.databasePath.title": "Local MMDB Path",
|
|
208
|
-
"settings.geofencing.database.title": "Local GeoIP Database",
|
|
209
|
-
"settings.geofencing.database.exists": "Database is installed locally.",
|
|
210
|
-
"settings.geofencing.database.missing": "No local database installed yet.",
|
|
208
|
+
"settings.geofencing.database.title": "Local GeoIP Database (City recommended)",
|
|
209
|
+
"settings.geofencing.database.exists": "Database is installed locally. GeoLite2-City enables city-level lookup; Country remains supported.",
|
|
210
|
+
"settings.geofencing.database.missing": "No local database installed yet. GeoLite2-City is recommended for city-level lookup.",
|
|
211
211
|
"settings.geofencing.database.installed": "Installed",
|
|
212
212
|
"settings.geofencing.database.notInstalled": "Missing",
|
|
213
213
|
"settings.geofencing.database.path": "Path",
|
|
214
|
+
"settings.geofencing.database.edition": "Edition",
|
|
214
215
|
"settings.geofencing.database.lastModified": "Last MaxMind update",
|
|
215
216
|
"settings.geofencing.database.updating": "Updating...",
|
|
216
217
|
"settings.geofencing.database.update": "Download / Update DB",
|
|
@@ -207,12 +207,13 @@ const en = {
|
|
|
207
207
|
"settings.geofencing.failureMode.allow": "Allow",
|
|
208
208
|
"settings.geofencing.failureMode.block": "Block",
|
|
209
209
|
"settings.geofencing.databasePath.title": "Local MMDB Path",
|
|
210
|
-
"settings.geofencing.database.title": "Local GeoIP Database",
|
|
211
|
-
"settings.geofencing.database.exists": "Database is installed locally.",
|
|
212
|
-
"settings.geofencing.database.missing": "No local database installed yet.",
|
|
210
|
+
"settings.geofencing.database.title": "Local GeoIP Database (City recommended)",
|
|
211
|
+
"settings.geofencing.database.exists": "Database is installed locally. GeoLite2-City enables city-level lookup; Country remains supported.",
|
|
212
|
+
"settings.geofencing.database.missing": "No local database installed yet. GeoLite2-City is recommended for city-level lookup.",
|
|
213
213
|
"settings.geofencing.database.installed": "Installed",
|
|
214
214
|
"settings.geofencing.database.notInstalled": "Missing",
|
|
215
215
|
"settings.geofencing.database.path": "Path",
|
|
216
|
+
"settings.geofencing.database.edition": "Edition",
|
|
216
217
|
"settings.geofencing.database.lastModified": "Last MaxMind update",
|
|
217
218
|
"settings.geofencing.database.updating": "Updating...",
|
|
218
219
|
"settings.geofencing.database.update": "Download / Update DB",
|
|
@@ -194,12 +194,13 @@ const es = {
|
|
|
194
194
|
"settings.geofencing.failureMode.allow": "Permitir",
|
|
195
195
|
"settings.geofencing.failureMode.block": "Bloquear",
|
|
196
196
|
"settings.geofencing.databasePath.title": "Ruta MMDB local",
|
|
197
|
-
"settings.geofencing.database.title": "Base de datos GeoIP local",
|
|
198
|
-
"settings.geofencing.database.exists": "La base de datos está instalada localmente.",
|
|
199
|
-
"settings.geofencing.database.missing": "Aún no hay una base de datos local instalada.",
|
|
197
|
+
"settings.geofencing.database.title": "Base de datos GeoIP local (City recomendado)",
|
|
198
|
+
"settings.geofencing.database.exists": "La base de datos está instalada localmente. GeoLite2-City permite búsquedas por ciudad; Country sigue siendo compatible.",
|
|
199
|
+
"settings.geofencing.database.missing": "Aún no hay una base de datos local instalada. GeoLite2-City se recomienda para búsquedas por ciudad.",
|
|
200
200
|
"settings.geofencing.database.installed": "Instalada",
|
|
201
201
|
"settings.geofencing.database.notInstalled": "Falta",
|
|
202
202
|
"settings.geofencing.database.path": "Ruta",
|
|
203
|
+
"settings.geofencing.database.edition": "Edición",
|
|
203
204
|
"settings.geofencing.database.lastModified": "Última actualización de MaxMind",
|
|
204
205
|
"settings.geofencing.database.updating": "Actualizando...",
|
|
205
206
|
"settings.geofencing.database.update": "Descargar / actualizar DB",
|
|
@@ -192,12 +192,13 @@ const es = {
|
|
|
192
192
|
"settings.geofencing.failureMode.allow": "Permitir",
|
|
193
193
|
"settings.geofencing.failureMode.block": "Bloquear",
|
|
194
194
|
"settings.geofencing.databasePath.title": "Ruta MMDB local",
|
|
195
|
-
"settings.geofencing.database.title": "Base de datos GeoIP local",
|
|
196
|
-
"settings.geofencing.database.exists": "La base de datos está instalada localmente.",
|
|
197
|
-
"settings.geofencing.database.missing": "Aún no hay una base de datos local instalada.",
|
|
195
|
+
"settings.geofencing.database.title": "Base de datos GeoIP local (City recomendado)",
|
|
196
|
+
"settings.geofencing.database.exists": "La base de datos está instalada localmente. GeoLite2-City permite búsquedas por ciudad; Country sigue siendo compatible.",
|
|
197
|
+
"settings.geofencing.database.missing": "Aún no hay una base de datos local instalada. GeoLite2-City se recomienda para búsquedas por ciudad.",
|
|
198
198
|
"settings.geofencing.database.installed": "Instalada",
|
|
199
199
|
"settings.geofencing.database.notInstalled": "Falta",
|
|
200
200
|
"settings.geofencing.database.path": "Ruta",
|
|
201
|
+
"settings.geofencing.database.edition": "Edición",
|
|
201
202
|
"settings.geofencing.database.lastModified": "Última actualización de MaxMind",
|
|
202
203
|
"settings.geofencing.database.updating": "Actualizando...",
|
|
203
204
|
"settings.geofencing.database.update": "Descargar / actualizar DB",
|
|
@@ -192,12 +192,13 @@ const fr = {
|
|
|
192
192
|
"settings.geofencing.failureMode.allow": "Autoriser",
|
|
193
193
|
"settings.geofencing.failureMode.block": "Bloquer",
|
|
194
194
|
"settings.geofencing.databasePath.title": "Chemin MMDB local",
|
|
195
|
-
"settings.geofencing.database.title": "Base GeoIP locale",
|
|
196
|
-
"settings.geofencing.database.exists": "La base est installée localement.",
|
|
197
|
-
"settings.geofencing.database.missing": "Aucune base locale n'est encore installée.",
|
|
195
|
+
"settings.geofencing.database.title": "Base GeoIP locale (City recommandé)",
|
|
196
|
+
"settings.geofencing.database.exists": "La base est installée localement. GeoLite2-City permet les recherches par ville ; Country reste pris en charge.",
|
|
197
|
+
"settings.geofencing.database.missing": "Aucune base locale n'est encore installée. GeoLite2-City est recommandé pour les recherches par ville.",
|
|
198
198
|
"settings.geofencing.database.installed": "Installée",
|
|
199
199
|
"settings.geofencing.database.notInstalled": "Manquante",
|
|
200
200
|
"settings.geofencing.database.path": "Chemin",
|
|
201
|
+
"settings.geofencing.database.edition": "Édition",
|
|
201
202
|
"settings.geofencing.database.lastModified": "Dernière mise à jour MaxMind",
|
|
202
203
|
"settings.geofencing.database.updating": "Mise à jour...",
|
|
203
204
|
"settings.geofencing.database.update": "Télécharger / mettre à jour la DB",
|
|
@@ -194,12 +194,13 @@ const fr = {
|
|
|
194
194
|
"settings.geofencing.failureMode.allow": "Autoriser",
|
|
195
195
|
"settings.geofencing.failureMode.block": "Bloquer",
|
|
196
196
|
"settings.geofencing.databasePath.title": "Chemin MMDB local",
|
|
197
|
-
"settings.geofencing.database.title": "Base GeoIP locale",
|
|
198
|
-
"settings.geofencing.database.exists": "La base est installée localement.",
|
|
199
|
-
"settings.geofencing.database.missing": "Aucune base locale n'est encore installée.",
|
|
197
|
+
"settings.geofencing.database.title": "Base GeoIP locale (City recommandé)",
|
|
198
|
+
"settings.geofencing.database.exists": "La base est installée localement. GeoLite2-City permet les recherches par ville ; Country reste pris en charge.",
|
|
199
|
+
"settings.geofencing.database.missing": "Aucune base locale n'est encore installée. GeoLite2-City est recommandé pour les recherches par ville.",
|
|
200
200
|
"settings.geofencing.database.installed": "Installée",
|
|
201
201
|
"settings.geofencing.database.notInstalled": "Manquante",
|
|
202
202
|
"settings.geofencing.database.path": "Chemin",
|
|
203
|
+
"settings.geofencing.database.edition": "Édition",
|
|
203
204
|
"settings.geofencing.database.lastModified": "Dernière mise à jour MaxMind",
|
|
204
205
|
"settings.geofencing.database.updating": "Mise à jour...",
|
|
205
206
|
"settings.geofencing.database.update": "Télécharger / mettre à jour la DB",
|
|
@@ -441,7 +441,7 @@ const index = {
|
|
|
441
441
|
id: `${pluginId}.plugin.name`,
|
|
442
442
|
defaultMessage: pluginPkg.strapi.displayName
|
|
443
443
|
},
|
|
444
|
-
Component: () => Promise.resolve().then(() => require("./App-
|
|
444
|
+
Component: () => Promise.resolve().then(() => require("./App-DLR2M3FT.js")),
|
|
445
445
|
permissions: pluginPermissions
|
|
446
446
|
});
|
|
447
447
|
app.createSettingSection(
|
|
@@ -458,7 +458,7 @@ const index = {
|
|
|
458
458
|
},
|
|
459
459
|
id: "general",
|
|
460
460
|
to: `${pluginId}/general`,
|
|
461
|
-
Component: () => Promise.resolve().then(() => require("./Settings-
|
|
461
|
+
Component: () => Promise.resolve().then(() => require("./Settings-DWaflQdm.js")),
|
|
462
462
|
permissions: pluginPermissions
|
|
463
463
|
},
|
|
464
464
|
{
|
|
@@ -468,7 +468,7 @@ const index = {
|
|
|
468
468
|
},
|
|
469
469
|
id: "analytics",
|
|
470
470
|
to: `${pluginId}/analytics`,
|
|
471
|
-
Component: () => Promise.resolve().then(() => require("./Analytics-
|
|
471
|
+
Component: () => Promise.resolve().then(() => require("./Analytics-Cw6R2xZn.js")),
|
|
472
472
|
permissions: pluginPermissions
|
|
473
473
|
},
|
|
474
474
|
{
|
|
@@ -478,7 +478,7 @@ const index = {
|
|
|
478
478
|
},
|
|
479
479
|
id: "license",
|
|
480
480
|
to: `${pluginId}/license`,
|
|
481
|
-
Component: () => Promise.resolve().then(() => require("./License-
|
|
481
|
+
Component: () => Promise.resolve().then(() => require("./License-BZtjgFol.js")),
|
|
482
482
|
permissions: pluginPermissions
|
|
483
483
|
}
|
|
484
484
|
]
|
|
@@ -497,7 +497,7 @@ const index = {
|
|
|
497
497
|
defaultMessage: "Online Users"
|
|
498
498
|
},
|
|
499
499
|
component: async () => {
|
|
500
|
-
const component = await Promise.resolve().then(() => require("./OnlineUsersWidget-
|
|
500
|
+
const component = await Promise.resolve().then(() => require("./OnlineUsersWidget-CAdR0MfU.js"));
|
|
501
501
|
return component.default;
|
|
502
502
|
},
|
|
503
503
|
id: "online-users-widget",
|
|
@@ -523,11 +523,11 @@ const index = {
|
|
|
523
523
|
},
|
|
524
524
|
async registerTrads({ locales }) {
|
|
525
525
|
const importedTrads = {
|
|
526
|
-
en: () => Promise.resolve().then(() => require("./en-
|
|
527
|
-
de: () => Promise.resolve().then(() => require("./de-
|
|
528
|
-
es: () => Promise.resolve().then(() => require("./es-
|
|
529
|
-
fr: () => Promise.resolve().then(() => require("./fr-
|
|
530
|
-
pt: () => Promise.resolve().then(() => require("./pt-
|
|
526
|
+
en: () => Promise.resolve().then(() => require("./en-Tjp9AEhR.js")),
|
|
527
|
+
de: () => Promise.resolve().then(() => require("./de-jU7AaYIc.js")),
|
|
528
|
+
es: () => Promise.resolve().then(() => require("./es-BCgwFZPL.js")),
|
|
529
|
+
fr: () => Promise.resolve().then(() => require("./fr-Di5zo4wy.js")),
|
|
530
|
+
pt: () => Promise.resolve().then(() => require("./pt-DlGYOi6D.js"))
|
|
531
531
|
};
|
|
532
532
|
const translatedLanguages = Object.keys(importedTrads).filter(
|
|
533
533
|
(lang) => locales.includes(lang)
|
|
@@ -438,7 +438,7 @@ const index = {
|
|
|
438
438
|
id: `${pluginId}.plugin.name`,
|
|
439
439
|
defaultMessage: pluginPkg.strapi.displayName
|
|
440
440
|
},
|
|
441
|
-
Component: () => import("./App-
|
|
441
|
+
Component: () => import("./App-BIFTc3mk.mjs"),
|
|
442
442
|
permissions: pluginPermissions
|
|
443
443
|
});
|
|
444
444
|
app.createSettingSection(
|
|
@@ -455,7 +455,7 @@ const index = {
|
|
|
455
455
|
},
|
|
456
456
|
id: "general",
|
|
457
457
|
to: `${pluginId}/general`,
|
|
458
|
-
Component: () => import("./Settings-
|
|
458
|
+
Component: () => import("./Settings-BNu9EAuS.mjs"),
|
|
459
459
|
permissions: pluginPermissions
|
|
460
460
|
},
|
|
461
461
|
{
|
|
@@ -465,7 +465,7 @@ const index = {
|
|
|
465
465
|
},
|
|
466
466
|
id: "analytics",
|
|
467
467
|
to: `${pluginId}/analytics`,
|
|
468
|
-
Component: () => import("./Analytics-
|
|
468
|
+
Component: () => import("./Analytics-Dq8PuDhs.mjs"),
|
|
469
469
|
permissions: pluginPermissions
|
|
470
470
|
},
|
|
471
471
|
{
|
|
@@ -475,7 +475,7 @@ const index = {
|
|
|
475
475
|
},
|
|
476
476
|
id: "license",
|
|
477
477
|
to: `${pluginId}/license`,
|
|
478
|
-
Component: () => import("./License-
|
|
478
|
+
Component: () => import("./License-W_NPUWIn.mjs"),
|
|
479
479
|
permissions: pluginPermissions
|
|
480
480
|
}
|
|
481
481
|
]
|
|
@@ -494,7 +494,7 @@ const index = {
|
|
|
494
494
|
defaultMessage: "Online Users"
|
|
495
495
|
},
|
|
496
496
|
component: async () => {
|
|
497
|
-
const component = await import("./OnlineUsersWidget-
|
|
497
|
+
const component = await import("./OnlineUsersWidget-BIbmzgLP.mjs");
|
|
498
498
|
return component.default;
|
|
499
499
|
},
|
|
500
500
|
id: "online-users-widget",
|
|
@@ -520,11 +520,11 @@ const index = {
|
|
|
520
520
|
},
|
|
521
521
|
async registerTrads({ locales }) {
|
|
522
522
|
const importedTrads = {
|
|
523
|
-
en: () => import("./en-
|
|
524
|
-
de: () => import("./de-
|
|
525
|
-
es: () => import("./es-
|
|
526
|
-
fr: () => import("./fr-
|
|
527
|
-
pt: () => import("./pt-
|
|
523
|
+
en: () => import("./en-BI_aBNXG.mjs"),
|
|
524
|
+
de: () => import("./de-4pAz-Ihh.mjs"),
|
|
525
|
+
es: () => import("./es-Bp4Uzf5h.mjs"),
|
|
526
|
+
fr: () => import("./fr-B69qIjq2.mjs"),
|
|
527
|
+
pt: () => import("./pt-Drc-di4D.mjs")
|
|
528
528
|
};
|
|
529
529
|
const translatedLanguages = Object.keys(importedTrads).filter(
|
|
530
530
|
(lang) => locales.includes(lang)
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
|
@@ -194,12 +194,13 @@ const pt = {
|
|
|
194
194
|
"settings.geofencing.failureMode.allow": "Permitir",
|
|
195
195
|
"settings.geofencing.failureMode.block": "Bloquear",
|
|
196
196
|
"settings.geofencing.databasePath.title": "Caminho MMDB local",
|
|
197
|
-
"settings.geofencing.database.title": "Banco de dados GeoIP local",
|
|
198
|
-
"settings.geofencing.database.exists": "O banco de dados está instalado localmente.",
|
|
199
|
-
"settings.geofencing.database.missing": "Ainda não há banco de dados local instalado.",
|
|
197
|
+
"settings.geofencing.database.title": "Banco de dados GeoIP local (City recomendado)",
|
|
198
|
+
"settings.geofencing.database.exists": "O banco de dados está instalado localmente. GeoLite2-City permite consulta por cidade; Country continua compatível.",
|
|
199
|
+
"settings.geofencing.database.missing": "Ainda não há banco de dados local instalado. GeoLite2-City é recomendado para consulta por cidade.",
|
|
200
200
|
"settings.geofencing.database.installed": "Instalado",
|
|
201
201
|
"settings.geofencing.database.notInstalled": "Ausente",
|
|
202
202
|
"settings.geofencing.database.path": "Caminho",
|
|
203
|
+
"settings.geofencing.database.edition": "Edição",
|
|
203
204
|
"settings.geofencing.database.lastModified": "Última atualização MaxMind",
|
|
204
205
|
"settings.geofencing.database.updating": "Atualizando...",
|
|
205
206
|
"settings.geofencing.database.update": "Baixar / atualizar DB",
|
|
@@ -192,12 +192,13 @@ const pt = {
|
|
|
192
192
|
"settings.geofencing.failureMode.allow": "Permitir",
|
|
193
193
|
"settings.geofencing.failureMode.block": "Bloquear",
|
|
194
194
|
"settings.geofencing.databasePath.title": "Caminho MMDB local",
|
|
195
|
-
"settings.geofencing.database.title": "Banco de dados GeoIP local",
|
|
196
|
-
"settings.geofencing.database.exists": "O banco de dados está instalado localmente.",
|
|
197
|
-
"settings.geofencing.database.missing": "Ainda não há banco de dados local instalado.",
|
|
195
|
+
"settings.geofencing.database.title": "Banco de dados GeoIP local (City recomendado)",
|
|
196
|
+
"settings.geofencing.database.exists": "O banco de dados está instalado localmente. GeoLite2-City permite consulta por cidade; Country continua compatível.",
|
|
197
|
+
"settings.geofencing.database.missing": "Ainda não há banco de dados local instalado. GeoLite2-City é recomendado para consulta por cidade.",
|
|
198
198
|
"settings.geofencing.database.installed": "Instalado",
|
|
199
199
|
"settings.geofencing.database.notInstalled": "Ausente",
|
|
200
200
|
"settings.geofencing.database.path": "Caminho",
|
|
201
|
+
"settings.geofencing.database.edition": "Edição",
|
|
201
202
|
"settings.geofencing.database.lastModified": "Última atualização MaxMind",
|
|
202
203
|
"settings.geofencing.database.updating": "Atualizando...",
|
|
203
204
|
"settings.geofencing.database.update": "Baixar / atualizar DB",
|