mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) updates from grist-core
This commit is contained in:
commit
7c7dc5a0ef
@ -236,7 +236,7 @@ GRIST_DEFAULT_LOCALE | Locale to use as fallback when Grist cannot honour the b
|
||||
GRIST_DOMAIN | in hosted Grist, Grist is served from subdomains of this domain. Defaults to "getgrist.com".
|
||||
GRIST_EXPERIMENTAL_PLUGINS | enables experimental plugins
|
||||
GRIST_ENABLE_REQUEST_FUNCTION | enables the REQUEST function. This function performs HTTP requests in a similar way to `requests.request`. This function presents a significant security risk, since it can let users call internal endpoints when Grist is available publicly. This function can also cause performance issues. Unset by default.
|
||||
GRIST_HIDE_UI_ELEMENTS | comma-separated list of UI features to disable. Allowed names of parts: `helpCenter,billing,templates,multiSite,multiAccounts,sendToDrive,tutorials`. If a part also exists in GRIST_UI_FEATURES, it will still be disabled.
|
||||
GRIST_HIDE_UI_ELEMENTS | comma-separated list of UI features to disable. Allowed names of parts: `helpCenter,billing,templates,createSite,multiSite,multiAccounts,sendToDrive,tutorials`. If a part also exists in GRIST_UI_FEATURES, it will still be disabled.
|
||||
GRIST_HOME_INCLUDE_STATIC | if set, home server also serves static resources
|
||||
GRIST_HOST | hostname to use when listening on a port.
|
||||
GRIST_HTTPS_PROXY | if set, use this proxy for webhook payload delivery.
|
||||
@ -269,7 +269,7 @@ GRIST_TELEMETRY_LEVEL | the telemetry level. Can be set to: `off` (default), `li
|
||||
GRIST_THROTTLE_CPU | if set, CPU throttling is enabled
|
||||
GRIST_TRUST_PLUGINS | if set, plugins are expect to be served from the same host as the rest of the Grist app, rather than from a distinct host. Ordinarily, plugins are served from a distinct host so that the cookies used by the Grist app are not automatically available to them. Enable this only if you understand the security implications.
|
||||
GRIST_USER_ROOT | an extra path to look for plugins in - Grist will scan for plugins in `$GRIST_USER_ROOT/plugins`.
|
||||
GRIST_UI_FEATURES | comma-separated list of UI features to enable. Allowed names of parts: `helpCenter,billing,templates,multiSite,multiAccounts,sendToDrive,tutorials`. If a part also exists in GRIST_HIDE_UI_ELEMENTS, it won't be enabled.
|
||||
GRIST_UI_FEATURES | comma-separated list of UI features to enable. Allowed names of parts: `helpCenter,billing,templates,createSite,multiSite,multiAccounts,sendToDrive,tutorials`. If a part also exists in GRIST_HIDE_UI_ELEMENTS, it won't be enabled.
|
||||
GRIST_UNTRUSTED_PORT | if set, plugins will be served from the given port. This is an alternative to setting APP_UNTRUSTED_URL.
|
||||
GRIST_WIDGET_LIST_URL | a url pointing to a widget manifest, by default `https://github.com/gristlabs/grist-widget/releases/download/latest/manifest.json` is used
|
||||
COOKIE_MAX_AGE | session cookie max age, defaults to 90 days; can be set to "none" to make it a session cookie
|
||||
|
@ -42,12 +42,14 @@ export function buildSiteSwitcher(appModel: AppModel) {
|
||||
testId('org'),
|
||||
)
|
||||
),
|
||||
dom.maybe(() => isFeatureEnabled("createSite"), () => [
|
||||
menuItem(
|
||||
() => appModel.showNewSiteModal(),
|
||||
menuIcon('Plus'),
|
||||
t("Create new team site"),
|
||||
testId('create-new-site'),
|
||||
),
|
||||
)
|
||||
]),
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -766,6 +766,7 @@ export const Features = StringUnion(
|
||||
"helpCenter",
|
||||
"billing",
|
||||
"templates",
|
||||
"createSite",
|
||||
"multiSite",
|
||||
"multiAccounts",
|
||||
"sendToDrive",
|
||||
|
@ -783,7 +783,8 @@
|
||||
"Code View": "Vizualizare cod",
|
||||
"Return to viewing as yourself": "Reveniți la vizualizarea ca dvs",
|
||||
"Raw Data": "Date neprelucrate",
|
||||
"Document History": "Istoricul documentelor"
|
||||
"Document History": "Istoricul documentelor",
|
||||
"API Console": "Consola API"
|
||||
},
|
||||
"menus": {
|
||||
"Reference List": "Referință multiplă",
|
||||
|
@ -319,7 +319,8 @@
|
||||
"TOOLS": "ИНСТРУМЕНТЫ",
|
||||
"Tour of this Document": "Тур по этому документу",
|
||||
"Validate Data": "Проверка данных",
|
||||
"Settings": "Настройки"
|
||||
"Settings": "Настройки",
|
||||
"API Console": "API-консоль"
|
||||
},
|
||||
"TypeTransformation": {
|
||||
"Cancel": "Отмена",
|
||||
@ -566,7 +567,13 @@
|
||||
"Adding duplicates column": "Добавление столбца дубликатов",
|
||||
"Lookups": "Lookups",
|
||||
"Add formula column": "Добавить вычисляемый столбец",
|
||||
"Add column with type": "Добавить столбец с типом"
|
||||
"Add column with type": "Добавить столбец с типом",
|
||||
"Add column": "Добавить столбец",
|
||||
"Created at": "Создан в",
|
||||
"Created by": "Создано",
|
||||
"Detect duplicates in...": "Обнаружение дубликатов в...",
|
||||
"Last updated at": "Последнее обновление",
|
||||
"Last updated by": "Последнее обновление"
|
||||
},
|
||||
"FilterBar": {
|
||||
"SearchColumns": "Столбцы поиска",
|
||||
@ -675,7 +682,8 @@
|
||||
"WIDGET TITLE": "ЗАГОЛОВОК ВИДЖЕТА",
|
||||
"You do not have edit access to this document": "У вас нет прав на редактирование этого документа",
|
||||
"Widget": "Виджет",
|
||||
"Add referenced columns": "Добавить ссылочные столбцы"
|
||||
"Add referenced columns": "Добавить ссылочные столбцы",
|
||||
"Reset form": "Сброс формы"
|
||||
},
|
||||
"PermissionsWidget": {
|
||||
"Allow All": "Разрешить все",
|
||||
@ -1249,5 +1257,8 @@
|
||||
"Delete card": "Удалить карточку",
|
||||
"Copy anchor link": "Скопировать якорную ссылку",
|
||||
"Insert card": "Вставить карточку"
|
||||
},
|
||||
"HiddenQuestionConfig": {
|
||||
"Hidden fields": "Скрытые поля"
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ if (!process.env.GRIST_SINGLE_ORG) {
|
||||
setDefaultEnv('GRIST_ORG_IN_PATH', 'true');
|
||||
}
|
||||
|
||||
setDefaultEnv('GRIST_UI_FEATURES', 'helpCenter,billing,templates,multiSite,multiAccounts,sendToDrive');
|
||||
setDefaultEnv('GRIST_UI_FEATURES', 'helpCenter,billing,templates,multiSite,multiAccounts,sendToDrive,createSite');
|
||||
setDefaultEnv('GRIST_WIDGET_LIST_URL', commonUrls.gristLabsWidgetRepository);
|
||||
import {updateDb} from 'app/server/lib/dbUtils';
|
||||
import {main as mergedServerMain, parseServerTypes} from 'app/server/mergedServerMain';
|
||||
|
Loading…
Reference in New Issue
Block a user