Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Auto-update documentation for master (#75058)

github-automation-metabase2545ec3374ca
diff --git a/docs/api.json b/docs/api.json
index 8a41ad3a1f4..7a425590b89 100644
--- a/docs/api.json
+++ b/docs/api.json
@@ -25177,7 +25177,7 @@
"post" : {
"operationId" : "post-api-ee-custom-viz-plugin",
"summary" : "POST /api/ee/custom-viz-plugin",
- "description" : "Register a new custom visualization plugin from an uploaded tar.gz bundle.\n\n The archive must contain `metabase-plugin.json` at the root and\n `dist/index.js` for the JS bundle, plus any whitelisted assets under\n `dist/assets/`. The plugin's `identifier` is taken from the manifest's `name`\n field.",
+ "description" : "Register a new custom visualization plugin from an uploaded tar.gz bundle.\n\n The archive must contain `metabase-plugin.json` at the root and\n `dist/index.js` for the JS bundle. The only static asset served from the bundle\n is the manifest `icon` (under `dist/assets/`); plugins do not ship arbitrary\n assets. The plugin's `identifier` is taken from the manifest's `name` field.",
"parameters" : [ ],
"responses" : {
"2XX" : {
@@ -25766,7 +25766,7 @@
"get" : {
"operationId" : "get-api-ee-custom-viz-plugin-id-asset",
"summary" : "GET /api/ee/custom-viz-plugin/{id}/asset",
- "description" : "Serve a static image asset from the plugin's bundle.\n The asset path is passed as a `path` query parameter (e.g. `?path=icon.svg`)\n and must match an entry in the manifest's `assets` whitelist.\n Only image files are served.\n In dev mode, proxies from the dev base URL if set.",
+ "description" : "Serve the plugin's icon image from its bundle.\n The asset path is passed as a `path` query parameter (e.g. `?path=icon.svg`)\n and must match the manifest `icon`. Only the icon is served — plugins do not\n ship arbitrary assets.\n In dev mode, proxies from the dev base URL if set.",
"parameters" : [ {
"in" : "path",
"name" : "id",
@@ -29033,6 +29033,9 @@
"schema" : {
"type" : "object",
"properties" : {
+ "branch_missing" : {
+ "type" : "boolean"
+ },
"cached" : {
"type" : "boolean"
},
@@ -44608,12 +44611,27 @@
"content" : {
"application/json" : {
"schema" : {
- "type" : "array",
- "items" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- }
+ "anyOf" : [ {
+ "type" : "array",
+ "items" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
+ }, {
+ "type" : "object",
+ "properties" : {
+ "field_order" : {
+ "type" : "array",
+ "items" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }
+ }
+ },
+ "required" : [ "field_order" ]
+ } ]
}
}
}
diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.md
index cf7ef1bf5b9..c16690e9499 100644
--- a/docs/configuring-metabase/config-template.md
+++ b/docs/configuring-metabase/config-template.md
@@ -242,6 +242,7 @@ config:
remote-sync-auto-import-rate: 5
remote-sync-branch: null
remote-sync-check-changes-cache-ttl-seconds: 60
+ remote-sync-git-timeout-seconds: 60
remote-sync-task-time-limit-ms: 300000
remote-sync-token: null
remote-sync-transforms: false
diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.md
index 009d303d93e..cb211f68ea7 100644
--- a/docs/configuring-metabase/environment-variables.md
+++ b/docs/configuring-metabase/environment-variables.md
@@ -128,24 +128,6 @@ x.com`
Allowed iframe hosts.
-### `MB_CSP_IMG_ENABLED`
-
-- Type: boolean
-- Default: `false`
-- [Exported as](../installation-and-operation/serialization.md): `csp-img-enabled`.
-- [Configuration file name](./config-file.md): `csp-img-enabled`
-
-When on, the browser Content Security Policy restricts `img-src` so images can only load from this Metabase instance and the domains listed in `MB_CSP_IMG_ALLOWED_HOSTS`. Must be turned on to enable Custom Visualizations.
-
-### `MB_CSP_IMG_ALLOWED_HOSTS`
-
-- Type: string
-- Default: `""`
-- [Exported as](../installation-and-operation/serialization.md): `csp-img-allowed-hosts`.
-- [Configuration file name](./config-file.md): `csp-img-allowed-hosts`
-
-Comma-separated list of domains that images can load from in dashboard text cards, entity descriptions, and custom visualizations when `MB_CSP_IMG_ENABLED` is on. Empty by default, which restricts images to those hosted by your Metabase instance. See [Allowed domains for images](./settings.md#allowed-domains-for-images).
-
### `MB_ANALYTICS_PII_RETENTION_ENABLED`
> Only available on Metabase [Pro](https://www.metabase.com/product/pro) and [Enterprise](https://www.metabase.com/product/enterprise) plans.
@@ -372,6 +354,24 @@ Identify when new versions of Metabase are available.
Whether to (asynchronously) sync newly created Databases during config-from-file initialization. By default, true,
but you can disable this behavior if you want to sync it manually or use SerDes to populate its data model.
+### `MB_CSP_IMG_ALLOWED_HOSTS`
+
+- Type: string
+- Default: ``
+- [Exported as](../installation-and-operation/serialization.md): `csp-img-allowed-hosts`.
+- [Configuration file name](./config-file.md): `csp-img-allowed-hosts`
+
+Comma-separated list of hosts that images may load from (e.g. in dashboard text, entity descriptions, and custom visualizations) when `csp-img-enabled` is on. Empty by default, which restricts images to this Metabase instance.
+
+### `MB_CSP_IMG_ENABLED`
+
+- Type: boolean
+- Default: `false`
+- [Exported as](../installation-and-operation/serialization.md): `csp-img-enabled`.
+- [Configuration file name](./config-file.md): `csp-img-enabled`
+
+Restrict the browser Content Security Policy so images can only load from this Metabase instance or the hosts listed in `csp-img-allowed-hosts`. Must be on to enable Custom Visualizations.
+
### `MB_CSV_FIELD_SEPARATOR`
- Type: string
@@ -1561,6 +1561,14 @@ The remote branch to sync with, e.g. `main`.
Time-to-live in seconds for the remote changes check cache. Default is 60 seconds.
+### `MB_REMOTE_SYNC_GIT_TIMEOUT_SECONDS`
+
+- Type: integer
+- Default: `60`
+- [Configuration file name](./config-file.md): `remote-sync-git-timeout-seconds`
+
+Network timeout (in seconds) for remote git operations such as fetch, push, clone, and ls-remote. A stalled connection would otherwise hang a sync indefinitely.
+
### `MB_REMOTE_SYNC_TASK_TIME_LIMIT_MS`
- Type: integer