mirror of
https://github.com/outline/outline.git
synced 2026-12-03 01:59:03 +03:00
Merge branch 'main' into 7652-add-ability-to-resize-embeds-iframes
This commit is contained in:
commit
b285bd63fe
106 files changed
+1371
-565
No files matched your search
@@ -37,7 +37,11 @@ function Breadcrumb(
|
||||
return (
|
||||
<Flex justify="flex-start" align="center" ref={ref}>
|
||||
{topLevelItems.map((item, index) => (
|
||||
<React.Fragment key={String(item.to) || index}>
|
||||
<React.Fragment
|
||||
key={
|
||||
(typeof item.to === "string" ? item.to : item.to.pathname) || index
|
||||
}
|
||||
>
|
||||
{item.icon}
|
||||
{item.to ? (
|
||||
<Item
|
||||
|
||||
@@ -8,8 +8,8 @@ import Text from "~/components/Text";
|
||||
import useStores from "~/hooks/useStores";
|
||||
|
||||
type Props = {
|
||||
/** Callback when the dialog is submitted */
|
||||
onSubmit: () => Promise<void> | void;
|
||||
/** Callback when the dialog is submitted. Return false to prevent closing. */
|
||||
onSubmit: () => Promise<void | boolean> | void;
|
||||
/** Text to display on the submit button */
|
||||
submitText?: string;
|
||||
/** Text to display while the form is saving */
|
||||
@@ -38,7 +38,10 @@ const ConfirmationDialog: React.FC<Props> = ({
|
||||
ev.preventDefault();
|
||||
setIsSaving(true);
|
||||
try {
|
||||
await onSubmit();
|
||||
const res = await onSubmit();
|
||||
if (res === false) {
|
||||
return;
|
||||
}
|
||||
dialogs.closeAllModals();
|
||||
} catch (err) {
|
||||
toast.error(err.message);
|
||||
|
||||
@@ -109,6 +109,8 @@ const Title = styled.div`
|
||||
${ellipsis()}
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
`;
|
||||
|
||||
type MenuAnchorProps = {
|
||||
|
||||
@@ -185,9 +185,9 @@ const DocumentMeta: React.FC<Props> = ({
|
||||
{showCollection && collection && (
|
||||
<span>
|
||||
{t("in")}
|
||||
<strong>
|
||||
<Strong>
|
||||
<DocumentBreadcrumb document={document} onlyText />
|
||||
</strong>
|
||||
</Strong>
|
||||
</span>
|
||||
)}
|
||||
{showParentDocuments && nestedDocumentsCount > 0 && (
|
||||
@@ -210,6 +210,10 @@ const DocumentMeta: React.FC<Props> = ({
|
||||
);
|
||||
};
|
||||
|
||||
const Strong = styled.strong`
|
||||
font-weight: 550;
|
||||
`;
|
||||
|
||||
const Container = styled(Flex)<{ rtl?: boolean }>`
|
||||
justify-content: ${(props) => (props.rtl ? "flex-end" : "flex-start")};
|
||||
color: ${s("textTertiary")};
|
||||
|
||||
@@ -197,6 +197,7 @@ const Sidebar = React.forwardRef<HTMLDivElement, Props>(function _Sidebar(
|
||||
return (
|
||||
<TooltipProvider>
|
||||
<Container
|
||||
id="sidebar"
|
||||
ref={ref}
|
||||
style={style}
|
||||
$hidden={hidden}
|
||||
|
||||
@@ -93,15 +93,11 @@ const NavLink = ({
|
||||
|
||||
React.useLayoutEffect(() => {
|
||||
if (isActive && linkRef.current && scrollIntoViewIfNeeded !== false) {
|
||||
// If the page has an anchor hash then this means we're linking to an
|
||||
// anchor in the document – smooth scrolling the sidebar may the scrolling
|
||||
// to the anchor of the document so we must avoid it.
|
||||
if (!window.location.hash) {
|
||||
scrollIntoView(linkRef.current, {
|
||||
scrollMode: "if-needed",
|
||||
behavior: "auto",
|
||||
});
|
||||
}
|
||||
scrollIntoView(linkRef.current, {
|
||||
scrollMode: "if-needed",
|
||||
behavior: "auto",
|
||||
boundary: (parent) => parent.id !== "sidebar",
|
||||
});
|
||||
}
|
||||
}, [linkRef, scrollIntoViewIfNeeded, isActive]);
|
||||
|
||||
|
||||
@@ -47,8 +47,8 @@ function Tooltip({
|
||||
{typeof shortcut === "string" ? (
|
||||
shortcut
|
||||
.split("+")
|
||||
.map((key) => (
|
||||
<Shortcut key={key}>
|
||||
.map((key, i) => (
|
||||
<Shortcut key={`${key}${i}`}>
|
||||
{key.length === 1 ? key.toUpperCase() : key}
|
||||
</Shortcut>
|
||||
))
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import * as React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Trans, useTranslation } from "react-i18next";
|
||||
import { toast } from "sonner";
|
||||
import { UserRole } from "@shared/types";
|
||||
import User from "~/models/User";
|
||||
import ConfirmationDialog from "~/components/ConfirmationDialog";
|
||||
import Input from "~/components/Input";
|
||||
import useCurrentUser from "~/hooks/useCurrentUser";
|
||||
import useStores from "~/hooks/useStores";
|
||||
import { client } from "~/utils/ApiClient";
|
||||
import Text from "./Text";
|
||||
|
||||
type Props = {
|
||||
user: User;
|
||||
@@ -85,7 +89,11 @@ export function UserSuspendDialog({ user, onSubmit }: Props) {
|
||||
};
|
||||
|
||||
return (
|
||||
<ConfirmationDialog onSubmit={handleSubmit} savingText={`${t("Saving")}…`}>
|
||||
<ConfirmationDialog
|
||||
onSubmit={handleSubmit}
|
||||
savingText={`${t("Saving")}…`}
|
||||
danger
|
||||
>
|
||||
{t(
|
||||
"Are you sure you want to suspend {{ userName }}? Suspended users will be prevented from logging in.",
|
||||
{
|
||||
@@ -123,6 +131,68 @@ export function UserChangeNameDialog({ user, onSubmit }: Props) {
|
||||
onChange={handleChange}
|
||||
error={!name ? t("Name can't be empty") : undefined}
|
||||
value={name}
|
||||
autoSelect
|
||||
required
|
||||
flex
|
||||
/>
|
||||
</ConfirmationDialog>
|
||||
);
|
||||
}
|
||||
|
||||
export function UserChangeEmailDialog({ user, onSubmit }: Props) {
|
||||
const { t } = useTranslation();
|
||||
const actor = useCurrentUser();
|
||||
const [email, setEmail] = React.useState<string>(user.email);
|
||||
const [error, setError] = React.useState<string | undefined>();
|
||||
|
||||
const handleSubmit = async () => {
|
||||
try {
|
||||
await client.post(`/users.updateEmail`, { id: user.id, email });
|
||||
onSubmit();
|
||||
toast.info(
|
||||
actor.id === user.id
|
||||
? t("Check your email to verify the new address.")
|
||||
: t("The email will be changed once verified.")
|
||||
);
|
||||
return true;
|
||||
} catch (err) {
|
||||
setError(err.message);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
const handleChange = (ev: React.ChangeEvent<HTMLInputElement>) => {
|
||||
setEmail(ev.target.value);
|
||||
};
|
||||
|
||||
return (
|
||||
<ConfirmationDialog
|
||||
onSubmit={handleSubmit}
|
||||
submitText={t("Save")}
|
||||
savingText={`${t("Saving")}…`}
|
||||
disabled={!email || email === user.email}
|
||||
>
|
||||
<Text as="p">
|
||||
{actor.id === user.id ? (
|
||||
<Trans>
|
||||
You will receive an email to verify your new address. It must be
|
||||
unique in the workspace.
|
||||
</Trans>
|
||||
) : (
|
||||
<Trans>
|
||||
A confirmation email will be sent to the new address before it is
|
||||
changed.
|
||||
</Trans>
|
||||
)}
|
||||
</Text>
|
||||
<Input
|
||||
type="email"
|
||||
name="email"
|
||||
label={t("New email")}
|
||||
onChange={handleChange}
|
||||
error={!email ? t("Email can't be empty") : error}
|
||||
value={email}
|
||||
autoSelect
|
||||
required
|
||||
flex
|
||||
/>
|
||||
|
||||
@@ -13,10 +13,10 @@ import Flex from "~/components/Flex";
|
||||
import useRequest from "~/hooks/useRequest";
|
||||
import useStores from "~/hooks/useStores";
|
||||
import { client } from "~/utils/ApiClient";
|
||||
import MentionMenuItem from "./MentionMenuItem";
|
||||
import SuggestionsMenu, {
|
||||
Props as SuggestionsMenuProps,
|
||||
} from "./SuggestionsMenu";
|
||||
import SuggestionsMenuItem from "./SuggestionsMenuItem";
|
||||
|
||||
interface MentionItem extends MenuItem {
|
||||
name: string;
|
||||
@@ -122,11 +122,10 @@ function MentionMenu({ search, isActive, ...rest }: Props) {
|
||||
search={search}
|
||||
onSelect={handleSelect}
|
||||
renderMenuItem={(item, _index, options) => (
|
||||
<MentionMenuItem
|
||||
<SuggestionsMenuItem
|
||||
onClick={options.onClick}
|
||||
selected={options.selected}
|
||||
title={item.title}
|
||||
label={item.attrs.label}
|
||||
icon={
|
||||
<Flex
|
||||
align="center"
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
import * as React from "react";
|
||||
import SuggestionsMenuItem, {
|
||||
Props as SuggestionsMenuItemProps,
|
||||
} from "./SuggestionsMenuItem";
|
||||
|
||||
type MentionMenuItemProps = Omit<
|
||||
SuggestionsMenuItemProps,
|
||||
"shortcut" | "theme"
|
||||
> & {
|
||||
label: string;
|
||||
};
|
||||
|
||||
export default function MentionMenuItem({
|
||||
label,
|
||||
...rest
|
||||
}: MentionMenuItemProps) {
|
||||
return <SuggestionsMenuItem {...rest} title={label} />;
|
||||
}
|
||||
@@ -15,6 +15,8 @@ export type Props = {
|
||||
icon?: React.ReactElement;
|
||||
/** The title of the item */
|
||||
title: React.ReactNode;
|
||||
/** An optional subtitle for the item */
|
||||
subtitle?: React.ReactNode;
|
||||
/** A string representing the keyboard shortcut for the item */
|
||||
shortcut?: string;
|
||||
};
|
||||
@@ -24,6 +26,7 @@ function SuggestionsMenuItem({
|
||||
disabled,
|
||||
onClick,
|
||||
title,
|
||||
subtitle,
|
||||
shortcut,
|
||||
icon,
|
||||
}: Props) {
|
||||
@@ -53,11 +56,17 @@ function SuggestionsMenuItem({
|
||||
icon={icon}
|
||||
>
|
||||
{title}
|
||||
{subtitle && <Subtitle $active={selected}>{subtitle}</Subtitle>}
|
||||
{shortcut && <Shortcut $active={selected}>{shortcut}</Shortcut>}
|
||||
</MenuItem>
|
||||
);
|
||||
}
|
||||
|
||||
const Subtitle = styled.span<{ $active?: boolean }>`
|
||||
color: ${(props) =>
|
||||
props.$active ? props.theme.white50 : props.theme.textTertiary};
|
||||
`;
|
||||
|
||||
const Shortcut = styled.span<{ $active?: boolean }>`
|
||||
color: ${(props) =>
|
||||
props.$active ? props.theme.white50 : props.theme.textTertiary};
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { action } from "mobx";
|
||||
import * as React from "react";
|
||||
import { WidgetProps } from "@shared/editor/lib/Extension";
|
||||
import { isBrowser } from "@shared/utils/browser";
|
||||
import Suggestion from "~/editor/extensions/Suggestion";
|
||||
import EmojiMenu from "../components/EmojiMenu";
|
||||
|
||||
@@ -13,10 +14,9 @@ const languagesUsingColon = ["fr"];
|
||||
|
||||
export default class EmojiMenuExtension extends Suggestion {
|
||||
get defaultOptions() {
|
||||
const languageIsUsingColon =
|
||||
typeof window === "undefined"
|
||||
? false
|
||||
: languagesUsingColon.includes(window.navigator.language.slice(0, 2));
|
||||
const languageIsUsingColon = isBrowser
|
||||
? languagesUsingColon.includes(window.navigator.language.slice(0, 2))
|
||||
: false;
|
||||
|
||||
return {
|
||||
openRegex: new RegExp(
|
||||
|
||||
@@ -241,7 +241,11 @@ export default function formattingMenuItems(
|
||||
shortcut: `${metaDisplay}+⌥+M`,
|
||||
icon: <CommentIcon />,
|
||||
label: isCodeBlock ? dictionary.comment : undefined,
|
||||
active: isMarkActive(schema.marks.comment, { resolved: false }),
|
||||
active: isMarkActive(
|
||||
schema.marks.comment,
|
||||
{ resolved: false },
|
||||
{ exact: true }
|
||||
),
|
||||
visible: !isMobile || !isEmpty,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import * as React from "react";
|
||||
import { Primitive } from "utility-types";
|
||||
import Storage from "@shared/utils/Storage";
|
||||
import { isBrowser } from "@shared/utils/browser";
|
||||
import Logger from "~/utils/Logger";
|
||||
import useEventListener from "./useEventListener";
|
||||
|
||||
@@ -41,7 +42,7 @@ export default function usePersistedState<T extends Primitive | object>(
|
||||
options?: Options
|
||||
): [T, (value: T) => void] {
|
||||
const [storedValue, setStoredValue] = React.useState(() => {
|
||||
if (typeof window === "undefined") {
|
||||
if (!isBrowser) {
|
||||
return defaultValue;
|
||||
}
|
||||
return Storage.get(key) ?? defaultValue;
|
||||
|
||||
+25
-1
@@ -11,6 +11,7 @@ import Template from "~/components/ContextMenu/Template";
|
||||
import {
|
||||
UserSuspendDialog,
|
||||
UserChangeNameDialog,
|
||||
UserChangeEmailDialog,
|
||||
} from "~/components/UserDialogs";
|
||||
import { actionToMenuItem } from "~/actions";
|
||||
import {
|
||||
@@ -49,6 +50,22 @@ function UserMenu({ user }: Props) {
|
||||
[dialogs, t, user]
|
||||
);
|
||||
|
||||
const handleChangeEmail = React.useCallback(
|
||||
(ev: React.SyntheticEvent) => {
|
||||
ev.preventDefault();
|
||||
dialogs.openModal({
|
||||
title: t("Change email"),
|
||||
content: (
|
||||
<UserChangeEmailDialog
|
||||
user={user}
|
||||
onSubmit={dialogs.closeAllModals}
|
||||
/>
|
||||
),
|
||||
});
|
||||
},
|
||||
[dialogs, t, user]
|
||||
);
|
||||
|
||||
const handleSuspend = React.useCallback(
|
||||
(ev: React.SyntheticEvent) => {
|
||||
ev.preventDefault();
|
||||
@@ -117,7 +134,13 @@ function UserMenu({ user }: Props) {
|
||||
type: "button",
|
||||
title: `${t("Change name")}…`,
|
||||
onClick: handleChangeName,
|
||||
visible: can.update && user.role !== "admin",
|
||||
visible: can.update,
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
title: `${t("Change email")}…`,
|
||||
onClick: handleChangeEmail,
|
||||
visible: can.update,
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
@@ -144,6 +167,7 @@ function UserMenu({ user }: Props) {
|
||||
{
|
||||
type: "button",
|
||||
title: `${t("Suspend user")}…`,
|
||||
dangerous: true,
|
||||
onClick: handleSuspend,
|
||||
visible: !user.isInvited && !user.isSuspended,
|
||||
},
|
||||
|
||||
@@ -10,6 +10,9 @@ class Group extends Model {
|
||||
@observable
|
||||
name: string;
|
||||
|
||||
@observable
|
||||
externalId: string | undefined;
|
||||
|
||||
@observable
|
||||
memberCount: number;
|
||||
|
||||
|
||||
@@ -199,6 +199,7 @@ function DocumentHeader({
|
||||
if (shareId) {
|
||||
return (
|
||||
<StyledHeader
|
||||
ref={ref}
|
||||
$hidden={isEditingFocus}
|
||||
title={
|
||||
<Flex gap={4}>
|
||||
|
||||
@@ -19,19 +19,22 @@ import { toast } from "sonner";
|
||||
import { NotificationEventType } from "@shared/types";
|
||||
import Flex from "~/components/Flex";
|
||||
import Heading from "~/components/Heading";
|
||||
import Input from "~/components/Input";
|
||||
import Notice from "~/components/Notice";
|
||||
import Scene from "~/components/Scene";
|
||||
import Switch from "~/components/Switch";
|
||||
import Text from "~/components/Text";
|
||||
import env from "~/env";
|
||||
import useCurrentTeam from "~/hooks/useCurrentTeam";
|
||||
import useCurrentUser from "~/hooks/useCurrentUser";
|
||||
import usePolicy from "~/hooks/usePolicy";
|
||||
import isCloudHosted from "~/utils/isCloudHosted";
|
||||
import SettingRow from "./components/SettingRow";
|
||||
|
||||
function Notifications() {
|
||||
const user = useCurrentUser();
|
||||
const team = useCurrentTeam();
|
||||
const { t } = useTranslation();
|
||||
const can = usePolicy(team.id);
|
||||
|
||||
const options = [
|
||||
{
|
||||
@@ -161,17 +164,7 @@ function Notifications() {
|
||||
<Trans>Manage when and where you receive email notifications.</Trans>
|
||||
</Text>
|
||||
|
||||
{env.EMAIL_ENABLED ? (
|
||||
<SettingRow
|
||||
label={t("Email address")}
|
||||
name="email"
|
||||
description={t(
|
||||
"Your email address should be updated in your SSO provider."
|
||||
)}
|
||||
>
|
||||
<Input type="email" value={user.email} readOnly />
|
||||
</SettingRow>
|
||||
) : (
|
||||
{env.EMAIL_ENABLED && can.manage && (
|
||||
<Notice>
|
||||
<Trans>
|
||||
The email integration is currently disabled. Please set the
|
||||
|
||||
@@ -8,14 +8,18 @@ import Heading from "~/components/Heading";
|
||||
import Input from "~/components/Input";
|
||||
import Scene from "~/components/Scene";
|
||||
import Text from "~/components/Text";
|
||||
import { UserChangeEmailDialog } from "~/components/UserDialogs";
|
||||
import env from "~/env";
|
||||
import useCurrentUser from "~/hooks/useCurrentUser";
|
||||
import useStores from "~/hooks/useStores";
|
||||
import ImageInput from "./components/ImageInput";
|
||||
import SettingRow from "./components/SettingRow";
|
||||
|
||||
const Profile = () => {
|
||||
const user = useCurrentUser();
|
||||
const { dialogs } = useStores();
|
||||
const form = React.useRef<HTMLFormElement>(null);
|
||||
const [name, setName] = React.useState<string>(user.name || "");
|
||||
const [name, setName] = React.useState<string>(user.name);
|
||||
const { t } = useTranslation();
|
||||
|
||||
const handleSubmit = async (ev: React.SyntheticEvent) => {
|
||||
@@ -29,6 +33,15 @@ const Profile = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const handleChangeEmail = () => {
|
||||
dialogs.openModal({
|
||||
title: t("Change email"),
|
||||
content: (
|
||||
<UserChangeEmailDialog user={user} onSubmit={dialogs.closeAllModals} />
|
||||
),
|
||||
});
|
||||
};
|
||||
|
||||
const handleNameChange = (ev: React.ChangeEvent<HTMLInputElement>) => {
|
||||
setName(ev.target.value);
|
||||
};
|
||||
@@ -81,6 +94,17 @@ const Profile = () => {
|
||||
/>
|
||||
</SettingRow>
|
||||
|
||||
{env.EMAIL_ENABLED && (
|
||||
<SettingRow label={t("Email address")} name="email">
|
||||
<Input
|
||||
type="email"
|
||||
value={user.email}
|
||||
readOnly
|
||||
onClick={handleChangeEmail}
|
||||
/>
|
||||
</SettingRow>
|
||||
)}
|
||||
|
||||
<Button type="submit" disabled={isSaving || !isValid}>
|
||||
{isSaving ? `${t("Saving")}…` : t("Save")}
|
||||
</Button>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @param callback The callback to call inside the view transition.
|
||||
*/
|
||||
export const startViewTransition = (callback: UpdateCallback) => {
|
||||
export const startViewTransition = (callback: ViewTransitionUpdateCallback) => {
|
||||
if (self.document.startViewTransition) {
|
||||
self.document.startViewTransition(callback);
|
||||
} else {
|
||||
|
||||
+8
-8
@@ -124,7 +124,7 @@
|
||||
"glob": "^8.1.0",
|
||||
"http-errors": "2.0.0",
|
||||
"i18next": "^22.5.1",
|
||||
"i18next-fs-backend": "^2.3.2",
|
||||
"i18next-fs-backend": "^2.6.0",
|
||||
"i18next-http-backend": "^2.5.0",
|
||||
"invariant": "^2.2.4",
|
||||
"ioredis": "^5.4.1",
|
||||
@@ -150,7 +150,7 @@
|
||||
"markdown-it": "^13.0.2",
|
||||
"markdown-it-container": "^3.0.0",
|
||||
"markdown-it-emoji": "^2.0.0",
|
||||
"mermaid": "11.4.0",
|
||||
"mermaid": "11.4.1",
|
||||
"mime-types": "^2.1.35",
|
||||
"mobx": "^4.15.4",
|
||||
"mobx-react": "^6.3.1",
|
||||
@@ -179,7 +179,7 @@
|
||||
"prosemirror-inputrules": "^1.4.0",
|
||||
"prosemirror-keymap": "^1.2.2",
|
||||
"prosemirror-markdown": "^1.13.1",
|
||||
"prosemirror-model": "^1.23.0",
|
||||
"prosemirror-model": "^1.24.0",
|
||||
"prosemirror-schema-list": "^1.4.1",
|
||||
"prosemirror-state": "^1.4.3",
|
||||
"prosemirror-tables": "^1.4.0",
|
||||
@@ -237,7 +237,7 @@
|
||||
"tmp": "^0.2.3",
|
||||
"turndown": "^7.2.0",
|
||||
"umzug": "^3.8.1",
|
||||
"utility-types": "^3.10.0",
|
||||
"utility-types": "^3.11.0",
|
||||
"uuid": "^8.3.2",
|
||||
"validator": "13.12.0",
|
||||
"vite": "^5.4.11",
|
||||
@@ -333,9 +333,9 @@
|
||||
"discord-api-types": "^0.37.102",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^8.10.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.3",
|
||||
"eslint-import-resolver-typescript": "^3.7.0",
|
||||
"eslint-plugin-es": "^4.1.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||
"eslint-plugin-lodash": "^7.4.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
@@ -348,14 +348,14 @@
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"lint-staged": "^13.3.0",
|
||||
"nodemon": "^3.1.7",
|
||||
"nodemon": "^3.1.9",
|
||||
"postinstall-postinstall": "^2.1.0",
|
||||
"prettier": "^2.8.8",
|
||||
"react-refresh": "^0.14.2",
|
||||
"rimraf": "^2.5.4",
|
||||
"rollup-plugin-webpack-stats": "^0.4.1",
|
||||
"terser": "^5.36.0",
|
||||
"typescript": "^5.6.3",
|
||||
"typescript": "^5.7.2",
|
||||
"vite-plugin-static-copy": "^0.17.0",
|
||||
"yarn-deduplicate": "^6.0.2"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import emojiRegex from "emoji-regex";
|
||||
import escapeRegExp from "lodash/escapeRegExp";
|
||||
import truncate from "lodash/truncate";
|
||||
import parseTitle from "@shared/utils/parseTitle";
|
||||
import { DocumentValidation } from "@shared/validations";
|
||||
@@ -51,10 +50,7 @@ async function documentImporter({
|
||||
if (text.trim().startsWith("# ")) {
|
||||
const result = parseTitle(text);
|
||||
title = result.title;
|
||||
text = text
|
||||
.trim()
|
||||
.replace(new RegExp(`#\\s+${escapeRegExp(title)}`), "")
|
||||
.trimStart();
|
||||
text = text.replace(/^.+(\n|$)/, "");
|
||||
}
|
||||
|
||||
// Replace any <br> generated by the turndown plugin with escaped newlines
|
||||
|
||||
@@ -171,15 +171,19 @@ export default async function loadDocument({
|
||||
throw AuthorizationError();
|
||||
}
|
||||
|
||||
const childDocumentIds =
|
||||
(await share.document?.findAllChildDocumentIds({
|
||||
archivedAt: {
|
||||
[Op.is]: null,
|
||||
},
|
||||
})) ?? [];
|
||||
// If the document is not a direct child of the shared document then we
|
||||
// need to check if it is nested within the shared document somewhere.
|
||||
if (document.parentDocumentId !== share.documentId) {
|
||||
const childDocumentIds =
|
||||
(await share.document?.findAllChildDocumentIds({
|
||||
archivedAt: {
|
||||
[Op.is]: null,
|
||||
},
|
||||
})) ?? [];
|
||||
|
||||
if (!childDocumentIds.includes(document.id)) {
|
||||
throw AuthorizationError();
|
||||
if (!childDocumentIds.includes(document.id)) {
|
||||
throw AuthorizationError();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ import { Event, Group, type User } from "@server/models";
|
||||
|
||||
type Props = {
|
||||
name: string;
|
||||
externalId: string | undefined;
|
||||
actor: User;
|
||||
ip: string;
|
||||
transaction?: Transaction;
|
||||
@@ -10,6 +11,7 @@ type Props = {
|
||||
|
||||
export default async function groupCreator({
|
||||
name,
|
||||
externalId,
|
||||
actor,
|
||||
ip,
|
||||
transaction,
|
||||
@@ -17,6 +19,7 @@ export default async function groupCreator({
|
||||
const group = await Group.create(
|
||||
{
|
||||
name,
|
||||
externalId,
|
||||
teamId: actor.teamId,
|
||||
createdById: actor.id,
|
||||
},
|
||||
|
||||
@@ -3,7 +3,8 @@ import { Event, type Group, type User } from "@server/models";
|
||||
|
||||
type Props = {
|
||||
group: Group;
|
||||
name: string;
|
||||
name: string | undefined;
|
||||
externalId: string | undefined;
|
||||
actor: User;
|
||||
ip: string;
|
||||
transaction?: Transaction;
|
||||
@@ -12,11 +13,17 @@ type Props = {
|
||||
export default async function groupUpdater({
|
||||
group,
|
||||
name,
|
||||
externalId,
|
||||
actor,
|
||||
ip,
|
||||
transaction,
|
||||
}: Props): Promise<Group> {
|
||||
group.name = name;
|
||||
if (name) {
|
||||
group.name = name;
|
||||
}
|
||||
if (externalId) {
|
||||
group.externalId = externalId;
|
||||
}
|
||||
|
||||
if (group.changed()) {
|
||||
await group.save({ transaction });
|
||||
|
||||
@@ -437,7 +437,7 @@ describe("userProvisioner", () => {
|
||||
}
|
||||
|
||||
expect(error && error.toString()).toContain(
|
||||
"The domain is not allowed for this team"
|
||||
"The domain is not allowed for this workspace"
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -1,6 +1,5 @@
|
||||
import { InferCreationAttributes } from "sequelize";
|
||||
import { UserRole } from "@shared/types";
|
||||
import { parseEmail } from "@shared/utils/email";
|
||||
import InviteAcceptedEmail from "@server/emails/templates/InviteAcceptedEmail";
|
||||
import {
|
||||
DomainNotAllowedError,
|
||||
@@ -227,8 +226,7 @@ export default async function userProvisioner({
|
||||
|
||||
// If the team settings do not allow this domain,
|
||||
// throw an error and fail user creation.
|
||||
const { domain } = parseEmail(email);
|
||||
if (team && !(await team.isDomainAllowed(domain))) {
|
||||
if (team && !(await team.isDomainAllowed(email))) {
|
||||
throw DomainNotAllowedError();
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,18 @@ export class Mailer {
|
||||
if (!transporter) {
|
||||
Logger.info(
|
||||
"email",
|
||||
`Attempted to send email "${data.subject}" to ${data.to} but no transport configured.`
|
||||
[
|
||||
`Attempted to send email but no transport configured.`,
|
||||
``,
|
||||
`--------------`,
|
||||
`From: ${data.from.address}`,
|
||||
`To: ${data.to}`,
|
||||
`Subject: ${data.subject}`,
|
||||
`Preview: ${data.previewText}`,
|
||||
`--------------`,
|
||||
``,
|
||||
data.text,
|
||||
].join("\n")
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ export default abstract class BaseEmail<
|
||||
if (!env.SMTP_FROM_EMAIL) {
|
||||
Logger.info(
|
||||
"email",
|
||||
`Email ${this.constructor.name} not sent due to missing SMTP configuration`
|
||||
`Email ${this.constructor.name} not sent due to missing SMTP_FROM_EMAIL configuration`
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ type InputProps = EmailProps & {
|
||||
|
||||
type BeforeSend = {
|
||||
document: Document;
|
||||
collection: Collection;
|
||||
collection: Collection | null;
|
||||
body: string | undefined;
|
||||
isFirstComment: boolean;
|
||||
isReply: boolean;
|
||||
@@ -52,14 +52,10 @@ export default class CommentCreatedEmail extends BaseEmail<
|
||||
return false;
|
||||
}
|
||||
|
||||
const collection = await document.$get("collection");
|
||||
if (!collection) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const [comment, team] = await Promise.all([
|
||||
const [comment, team, collection] = await Promise.all([
|
||||
Comment.findByPk(commentId),
|
||||
document.$get("team"),
|
||||
document.$get("collection"),
|
||||
]);
|
||||
if (!comment || !team) {
|
||||
return false;
|
||||
@@ -129,7 +125,7 @@ export default class CommentCreatedEmail extends BaseEmail<
|
||||
return `
|
||||
${actorName} ${isReply ? "replied to a thread in" : "commented on"} "${
|
||||
document.title
|
||||
}"${collection.name ? `in the ${collection.name} collection` : ""}.
|
||||
}"${collection?.name ? `in the ${collection.name} collection` : ""}.
|
||||
|
||||
Open Thread: ${teamUrl}${document.url}?commentId=${commentId}
|
||||
`;
|
||||
@@ -160,7 +156,7 @@ Open Thread: ${teamUrl}${document.url}?commentId=${commentId}
|
||||
<p>
|
||||
{actorName} {isReply ? "replied to a thread in" : "commented on"}{" "}
|
||||
<a href={threadLink}>{document.title}</a>{" "}
|
||||
{collection.name ? `in the ${collection.name} collection` : ""}.
|
||||
{collection?.name ? `in the ${collection.name} collection` : ""}.
|
||||
</p>
|
||||
{body && (
|
||||
<>
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
import * as React from "react";
|
||||
import env from "@server/env";
|
||||
import BaseEmail, { EmailMessageCategory, EmailProps } from "./BaseEmail";
|
||||
import Body from "./components/Body";
|
||||
import Button from "./components/Button";
|
||||
import EmailTemplate from "./components/EmailLayout";
|
||||
import EmptySpace from "./components/EmptySpace";
|
||||
import Footer from "./components/Footer";
|
||||
import Header from "./components/Header";
|
||||
import Heading from "./components/Heading";
|
||||
|
||||
type Props = EmailProps & {
|
||||
code: string;
|
||||
previous: string | null;
|
||||
teamUrl: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Email sent to a user when they request to change their email.
|
||||
*/
|
||||
export default class ConfirmUpdateEmail extends BaseEmail<Props> {
|
||||
protected get category() {
|
||||
return EmailMessageCategory.Authentication;
|
||||
}
|
||||
|
||||
protected subject() {
|
||||
return `Your email update request`;
|
||||
}
|
||||
|
||||
protected preview() {
|
||||
return `Here’s your email change confirmation.`;
|
||||
}
|
||||
|
||||
protected renderAsText({ teamUrl, code, previous, to }: Props): string {
|
||||
return `
|
||||
You requested to update your ${env.APP_NAME} account email. Please
|
||||
follow the link below to confirm the change ${
|
||||
previous ? `from ${previous} ` : ""
|
||||
}to ${to}.
|
||||
|
||||
${this.updateLink(teamUrl, code)}
|
||||
`;
|
||||
}
|
||||
|
||||
protected render({ teamUrl, code, previous, to }: Props) {
|
||||
return (
|
||||
<EmailTemplate previewText={this.preview()}>
|
||||
<Header />
|
||||
|
||||
<Body>
|
||||
<Heading>Your email update request</Heading>
|
||||
<p>
|
||||
You requested to update your {env.APP_NAME} account email. Please
|
||||
click below to confirm the change{" "}
|
||||
{previous ? `from ${previous} ` : ""}to <strong>{to}</strong>.
|
||||
</p>
|
||||
<EmptySpace height={5} />
|
||||
<p>
|
||||
<Button href={this.updateLink(teamUrl, code)}>
|
||||
Confirm Change
|
||||
</Button>
|
||||
</p>
|
||||
</Body>
|
||||
|
||||
<Footer />
|
||||
</EmailTemplate>
|
||||
);
|
||||
}
|
||||
|
||||
private updateLink(teamUrl: string, code: string): string {
|
||||
return `${teamUrl}/api/users.updateEmail?code=${code}`;
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,7 @@ type InputProps = EmailProps & {
|
||||
|
||||
type BeforeSend = {
|
||||
document: Document;
|
||||
collection: Collection;
|
||||
collection: Collection | null;
|
||||
unsubscribeUrl: string;
|
||||
body: string | undefined;
|
||||
};
|
||||
@@ -63,9 +63,6 @@ export default class DocumentPublishedOrUpdatedEmail extends BaseEmail<
|
||||
document.$get("collection"),
|
||||
document.$get("team"),
|
||||
]);
|
||||
if (!collection) {
|
||||
return false;
|
||||
}
|
||||
|
||||
let body;
|
||||
if (revisionId && team?.getPreference(TeamPreference.PreviewsInEmails)) {
|
||||
@@ -149,7 +146,9 @@ export default class DocumentPublishedOrUpdatedEmail extends BaseEmail<
|
||||
return `
|
||||
"${document.title}" ${eventName}
|
||||
|
||||
${actorName} ${eventName} the document "${document.title}", in the ${collection.name} collection.
|
||||
${actorName} ${eventName} the document "${document.title}"${
|
||||
collection?.name ? `, in the ${collection.name} collection` : ""
|
||||
}.
|
||||
|
||||
Open Document: ${teamUrl}${document.url}
|
||||
`;
|
||||
@@ -181,8 +180,9 @@ Open Document: ${teamUrl}${document.url}
|
||||
</Heading>
|
||||
<p>
|
||||
{actorName} {eventName} the document{" "}
|
||||
<a href={documentLink}>{document.title}</a>, in the{" "}
|
||||
{collection.name} collection.
|
||||
<a href={documentLink}>{document.title}</a>
|
||||
{collection?.name ? <>, in the {collection.name} collection</> : ""}
|
||||
.
|
||||
</p>
|
||||
{body && (
|
||||
<>
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ export function InviteRequiredError(
|
||||
}
|
||||
|
||||
export function DomainNotAllowedError(
|
||||
message = "The domain is not allowed for this team"
|
||||
message = "The domain is not allowed for this workspace"
|
||||
) {
|
||||
return httpErrors(403, message, {
|
||||
id: "domain_not_allowed",
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
|
||||
/** @type {import('sequelize-cli').Migration} */
|
||||
module.exports = {
|
||||
async up(queryInterface, Sequelize) {
|
||||
await queryInterface.sequelize.transaction(async transaction => {
|
||||
await queryInterface.addColumn("groups", "externalId", {
|
||||
type: Sequelize.STRING,
|
||||
}, { transaction });
|
||||
await queryInterface.addIndex("groups", ["externalId"], { transaction });
|
||||
await queryInterface.addIndex("group_permissions", ["documentId"], { transaction });
|
||||
await queryInterface.addIndex("group_permissions", ["sourceId"], { transaction });
|
||||
});
|
||||
},
|
||||
|
||||
async down(queryInterface, Sequelize) {
|
||||
await queryInterface.sequelize.transaction(async transaction => {
|
||||
await queryInterface.removeIndex("group_permissions", ["sourceId"], { transaction });
|
||||
await queryInterface.removeIndex("group_permissions", ["documentId"], { transaction });
|
||||
await queryInterface.removeIndex("groups", ["externalId"], { transaction });
|
||||
await queryInterface.removeColumn("groups", "externalId", { transaction });
|
||||
});
|
||||
},
|
||||
};
|
||||
+23
-35
@@ -10,7 +10,6 @@ import type {
|
||||
SaveOptions,
|
||||
} from "sequelize";
|
||||
import {
|
||||
Sequelize,
|
||||
Transaction,
|
||||
Op,
|
||||
FindOptions,
|
||||
@@ -101,6 +100,9 @@ type AdditionalFindOptions = {
|
||||
},
|
||||
},
|
||||
},
|
||||
attributes: {
|
||||
exclude: ["state"],
|
||||
},
|
||||
}))
|
||||
@Scopes(() => ({
|
||||
withCollectionPermissions: (userId: string, paranoid = true) => ({
|
||||
@@ -130,17 +132,6 @@ type AdditionalFindOptions = {
|
||||
},
|
||||
],
|
||||
},
|
||||
withStateIsEmpty: {
|
||||
attributes: {
|
||||
exclude: ["state"],
|
||||
include: [
|
||||
[
|
||||
Sequelize.literal(`CASE WHEN state IS NULL THEN true ELSE false END`),
|
||||
"stateIsEmpty",
|
||||
],
|
||||
],
|
||||
},
|
||||
},
|
||||
withState: {
|
||||
attributes: {
|
||||
// resets to include the state column
|
||||
@@ -1150,30 +1141,27 @@ class Document extends ArchivableModel<
|
||||
// Checking if the record is new is a performance optimization – new docs cannot have children
|
||||
const childDocuments = this.isNewRecord
|
||||
? []
|
||||
: await (this.constructor as typeof Document)
|
||||
.unscoped()
|
||||
.scope("withoutState")
|
||||
.findAll({
|
||||
where: options?.includeArchived
|
||||
? {
|
||||
teamId: this.teamId,
|
||||
parentDocumentId: this.id,
|
||||
publishedAt: {
|
||||
[Op.ne]: null,
|
||||
},
|
||||
}
|
||||
: {
|
||||
teamId: this.teamId,
|
||||
parentDocumentId: this.id,
|
||||
publishedAt: {
|
||||
[Op.ne]: null,
|
||||
},
|
||||
archivedAt: {
|
||||
[Op.is]: null,
|
||||
},
|
||||
: await (this.constructor as typeof Document).unscoped().findAll({
|
||||
where: options?.includeArchived
|
||||
? {
|
||||
teamId: this.teamId,
|
||||
parentDocumentId: this.id,
|
||||
publishedAt: {
|
||||
[Op.ne]: null,
|
||||
},
|
||||
transaction: options?.transaction,
|
||||
});
|
||||
}
|
||||
: {
|
||||
teamId: this.teamId,
|
||||
parentDocumentId: this.id,
|
||||
publishedAt: {
|
||||
[Op.ne]: null,
|
||||
},
|
||||
archivedAt: {
|
||||
[Op.is]: null,
|
||||
},
|
||||
},
|
||||
transaction: options?.transaction,
|
||||
});
|
||||
|
||||
const children = await Promise.all(
|
||||
childDocuments.map((child) => child.toNavigationNode(options))
|
||||
|
||||
@@ -65,6 +65,9 @@ class Group extends ParanoidModel<
|
||||
@Column
|
||||
name: string;
|
||||
|
||||
@Column
|
||||
externalId: string;
|
||||
|
||||
static filterByMember(userId: string | undefined) {
|
||||
return userId
|
||||
? this.scope({ method: ["withMembership", userId] })
|
||||
|
||||
@@ -269,13 +269,15 @@ class GroupMembership extends ParanoidModel<
|
||||
transaction,
|
||||
});
|
||||
|
||||
const document = await Document.unscoped().findOne({
|
||||
attributes: ["id"],
|
||||
where: {
|
||||
id: model.documentId,
|
||||
},
|
||||
transaction,
|
||||
});
|
||||
const document = await Document.unscoped()
|
||||
.scope("withoutState")
|
||||
.findOne({
|
||||
attributes: ["id"],
|
||||
where: {
|
||||
id: model.documentId,
|
||||
},
|
||||
transaction,
|
||||
});
|
||||
if (!document) {
|
||||
return;
|
||||
}
|
||||
|
||||
+10
-2
@@ -27,9 +27,11 @@ import {
|
||||
BeforeCreate,
|
||||
IsNumeric,
|
||||
} from "sequelize-typescript";
|
||||
import { isEmail } from "validator";
|
||||
import { TeamPreferenceDefaults } from "@shared/constants";
|
||||
import { TeamPreference, TeamPreferences, UserRole } from "@shared/types";
|
||||
import { getBaseDomain, RESERVED_SUBDOMAINS } from "@shared/utils/domains";
|
||||
import { parseEmail } from "@shared/utils/email";
|
||||
import env from "@server/env";
|
||||
import { ValidationError } from "@server/errors";
|
||||
import DeleteAttachmentTask from "@server/queues/tasks/DeleteAttachmentTask";
|
||||
@@ -293,15 +295,21 @@ class Team extends ParanoidModel<
|
||||
* Find whether the passed domain can be used to sign-in to this team. Note
|
||||
* that this method always returns true if no domain restrictions are set.
|
||||
*
|
||||
* @param domain The domain to check
|
||||
* @param domainOrEmail The domain or email to check
|
||||
* @returns True if the domain is allowed to sign-in to this team
|
||||
*/
|
||||
public isDomainAllowed = async function (
|
||||
this: Team,
|
||||
domain: string
|
||||
domainOrEmail: string
|
||||
): Promise<boolean> {
|
||||
const allowedDomains = (await this.$get("allowedDomains")) || [];
|
||||
|
||||
let domain = domainOrEmail;
|
||||
if (isEmail(domainOrEmail)) {
|
||||
const parsed = parseEmail(domainOrEmail);
|
||||
domain = parsed.domain;
|
||||
}
|
||||
|
||||
return (
|
||||
allowedDomains.length === 0 ||
|
||||
allowedDomains.map((d: TeamDomain) => d.name).includes(domain)
|
||||
|
||||
@@ -48,6 +48,7 @@ import { stringToColor } from "@shared/utils/color";
|
||||
import { locales } from "@shared/utils/date";
|
||||
import env from "@server/env";
|
||||
import DeleteAttachmentTask from "@server/queues/tasks/DeleteAttachmentTask";
|
||||
import { APIContext } from "@server/types";
|
||||
import parseAttachmentIds from "@server/utils/parseAttachmentIds";
|
||||
import { ValidationError } from "../errors";
|
||||
import Attachment from "./Attachment";
|
||||
@@ -581,6 +582,24 @@ class User extends ParanoidModel<
|
||||
this.jwtSecret
|
||||
);
|
||||
|
||||
/**
|
||||
* Returns a temporary token that can be used to update the users
|
||||
* email address.
|
||||
*
|
||||
* @param email The new email address
|
||||
* @returns The token
|
||||
*/
|
||||
getEmailUpdateToken = (email: string) =>
|
||||
JWT.sign(
|
||||
{
|
||||
id: this.id,
|
||||
createdAt: new Date().toISOString(),
|
||||
email,
|
||||
type: "email-update",
|
||||
},
|
||||
this.jwtSecret
|
||||
);
|
||||
|
||||
/**
|
||||
* Returns a list of teams that have a user matching this user's email.
|
||||
*
|
||||
@@ -705,6 +724,16 @@ class User extends ParanoidModel<
|
||||
}
|
||||
};
|
||||
|
||||
static findByEmail = async function (ctx: APIContext, email: string) {
|
||||
return this.findOne({
|
||||
where: {
|
||||
teamId: ctx.context.auth.user.teamId,
|
||||
email: email.trim().toLowerCase(),
|
||||
},
|
||||
...ctx.context,
|
||||
});
|
||||
};
|
||||
|
||||
static getCounts = async function (teamId: string) {
|
||||
const countSql = `
|
||||
SELECT
|
||||
|
||||
@@ -256,13 +256,15 @@ class UserMembership extends IdModel<
|
||||
transaction,
|
||||
});
|
||||
|
||||
const document = await Document.unscoped().findOne({
|
||||
attributes: ["id"],
|
||||
where: {
|
||||
id: model.documentId,
|
||||
},
|
||||
transaction,
|
||||
});
|
||||
const document = await Document.unscoped()
|
||||
.scope("withoutState")
|
||||
.findOne({
|
||||
attributes: ["id"],
|
||||
where: {
|
||||
id: model.documentId,
|
||||
},
|
||||
transaction,
|
||||
});
|
||||
if (!document) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -248,39 +248,30 @@ This is a new paragraph.
|
||||
|
||||
// Strip all formatting
|
||||
expect(text).toEqual(`This is a test paragraph
|
||||
|
||||
A new link
|
||||
|
||||
list item 1
|
||||
|
||||
This is a new paragraph.
|
||||
|
||||
This is a placeholder
|
||||
|
||||
this is a highlight
|
||||
|
||||
checklist item 1
|
||||
|
||||
checklist item 2
|
||||
|
||||
checklist item 3
|
||||
|
||||
checklist item 4
|
||||
|
||||
checklist item 5
|
||||
|
||||
This
|
||||
|
||||
Is
|
||||
|
||||
Table
|
||||
|
||||
Multiple
|
||||
|
||||
|
||||
Lines
|
||||
|
||||
|
||||
In a cell
|
||||
|
||||
|
||||
|
||||
|
||||
`);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -9,6 +9,7 @@ import {
|
||||
Comment,
|
||||
View,
|
||||
} from "@server/models";
|
||||
import { can } from "@server/policies";
|
||||
|
||||
export default class NotificationHelper {
|
||||
/**
|
||||
@@ -161,17 +162,18 @@ export default class NotificationHelper {
|
||||
const filtered = [];
|
||||
|
||||
for (const recipient of recipients) {
|
||||
const collectionIds = await recipient.collectionIds();
|
||||
if (!recipient.email || recipient.isSuspended) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Check the recipient has access to the collection this document is in. Just
|
||||
// because they are subscribed doesn't mean they still have access to read
|
||||
// the document.
|
||||
if (
|
||||
recipient.email &&
|
||||
!recipient.isSuspended &&
|
||||
document.collectionId &&
|
||||
collectionIds.includes(document.collectionId)
|
||||
) {
|
||||
const doc = await Document.findByPk(document.id, {
|
||||
userId: recipient.id,
|
||||
});
|
||||
|
||||
if (can(recipient, "read", doc)) {
|
||||
filtered.push(recipient);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,6 @@ export class ProsemirrorHelper {
|
||||
// the server we need to mimic this behavior.
|
||||
function urlsToEmbeds(node: Node): Node {
|
||||
if (node.type.name === "paragraph") {
|
||||
// @ts-expect-error content
|
||||
for (const textNode of node.content.content) {
|
||||
for (const embed of embeds) {
|
||||
if (
|
||||
@@ -89,8 +88,7 @@ export class ProsemirrorHelper {
|
||||
if (node.content) {
|
||||
const contentAsArray =
|
||||
node.content instanceof Fragment
|
||||
? // @ts-expect-error content
|
||||
node.content.content
|
||||
? node.content.content
|
||||
: node.content;
|
||||
// @ts-expect-error content
|
||||
node.content = Fragment.fromArray(contentAsArray.map(urlsToEmbeds));
|
||||
|
||||
@@ -183,7 +183,6 @@ export default class SearchHelper {
|
||||
];
|
||||
|
||||
return Document.scope([
|
||||
"withoutState",
|
||||
"withDrafts",
|
||||
{
|
||||
method: ["withViews", user.id],
|
||||
@@ -246,7 +245,6 @@ export default class SearchHelper {
|
||||
// Final query to get associated document data
|
||||
const [documents, count] = await Promise.all([
|
||||
Document.scope([
|
||||
"withState",
|
||||
"withDrafts",
|
||||
{
|
||||
method: ["withViews", user.id],
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { Hour } from "@shared/utils/time";
|
||||
import { traceFunction } from "@server/logging/tracing";
|
||||
import { Document } from "@server/models";
|
||||
import { DocumentHelper } from "@server/models/helpers/DocumentHelper";
|
||||
@@ -31,7 +32,7 @@ async function presentDocument(
|
||||
document,
|
||||
options.isPublic
|
||||
? {
|
||||
signedUrls: 60,
|
||||
signedUrls: Hour.seconds,
|
||||
teamId: document.teamId,
|
||||
removeMarks: ["comment"],
|
||||
internalUrlBase: `/s/${options.shareId}`,
|
||||
|
||||
@@ -4,6 +4,7 @@ export default async function presentGroup(group: Group) {
|
||||
return {
|
||||
id: group.id,
|
||||
name: group.name,
|
||||
externalId: group.externalId,
|
||||
memberCount: await group.memberCount,
|
||||
createdAt: group.createdAt,
|
||||
updatedAt: group.updatedAt,
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
import subscriptionCreator from "@server/commands/subscriptionCreator";
|
||||
import { User } from "@server/models";
|
||||
import { sequelize } from "@server/storage/database";
|
||||
import { DocumentUserEvent, Event } from "@server/types";
|
||||
import BaseProcessor from "./BaseProcessor";
|
||||
|
||||
export default class DocumentUserAddedProcessor extends BaseProcessor {
|
||||
static applicableEvents: Event["name"][] = ["documents.add_user"];
|
||||
|
||||
async perform(event: DocumentUserEvent) {
|
||||
const user = await User.findByPk(event.userId);
|
||||
if (!user) {
|
||||
return;
|
||||
}
|
||||
|
||||
await sequelize.transaction(async (transaction) => {
|
||||
await subscriptionCreator({
|
||||
user,
|
||||
documentId: event.documentId,
|
||||
event: "documents.update",
|
||||
resubscribe: false,
|
||||
transaction,
|
||||
ip: event.ip,
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -464,7 +464,7 @@ export default class WebsocketsProcessor {
|
||||
const comment = await Comment.findByPk(event.modelId, {
|
||||
include: [
|
||||
{
|
||||
model: Document.scope(["withoutState", "withDrafts"]),
|
||||
model: Document.scope("withDrafts"),
|
||||
as: "document",
|
||||
required: true,
|
||||
},
|
||||
@@ -486,7 +486,7 @@ export default class WebsocketsProcessor {
|
||||
paranoid: false,
|
||||
include: [
|
||||
{
|
||||
model: Document.scope(["withoutState", "withDrafts"]),
|
||||
model: Document.scope("withDrafts"),
|
||||
as: "document",
|
||||
required: true,
|
||||
},
|
||||
@@ -510,7 +510,7 @@ export default class WebsocketsProcessor {
|
||||
const comment = await Comment.findByPk(event.modelId, {
|
||||
include: [
|
||||
{
|
||||
model: Document.scope(["withoutState", "withDrafts"]),
|
||||
model: Document.scope("withDrafts"),
|
||||
as: "document",
|
||||
required: true,
|
||||
},
|
||||
|
||||
@@ -573,12 +573,13 @@ router.post(
|
||||
teamId: teamFromCtx?.id,
|
||||
});
|
||||
const isPublic = cannot(user, "read", document);
|
||||
const serializedDocument = await presentDocument(ctx, document, {
|
||||
isPublic,
|
||||
shareId,
|
||||
});
|
||||
|
||||
const team = await document.$get("team");
|
||||
const [serializedDocument, team] = await Promise.all([
|
||||
presentDocument(ctx, document, {
|
||||
isPublic,
|
||||
shareId,
|
||||
}),
|
||||
teamFromCtx?.id === document.teamId ? teamFromCtx : document.$get("team"),
|
||||
]);
|
||||
|
||||
// Passing apiVersion=2 has a single effect, to change the response payload to
|
||||
// include top level keys for document, sharedTree, and team.
|
||||
|
||||
@@ -12,11 +12,13 @@ describe("#groups.create", () => {
|
||||
body: {
|
||||
token: user.getJwtToken(),
|
||||
name,
|
||||
externalId: "123",
|
||||
},
|
||||
});
|
||||
const body = await res.json();
|
||||
expect(res.status).toEqual(200);
|
||||
expect(body.data.name).toEqual(name);
|
||||
expect(body.data.externalId).toEqual("123");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -67,12 +69,14 @@ describe("#groups.update", () => {
|
||||
teamId: user.teamId,
|
||||
});
|
||||
});
|
||||
|
||||
it("allows admin to edit a group", async () => {
|
||||
const res = await server.post("/api/groups.update", {
|
||||
body: {
|
||||
token: user.getJwtToken(),
|
||||
id: group.id,
|
||||
name: "Test",
|
||||
externalId: "123",
|
||||
},
|
||||
});
|
||||
const events = await Event.findAll({
|
||||
@@ -84,7 +88,9 @@ describe("#groups.update", () => {
|
||||
const body = await res.json();
|
||||
expect(res.status).toEqual(200);
|
||||
expect(body.data.name).toBe("Test");
|
||||
expect(body.data.externalId).toBe("123");
|
||||
});
|
||||
|
||||
it("does not create an event if the update is a noop", async () => {
|
||||
const res = await server.post("/api/groups.update", {
|
||||
body: {
|
||||
@@ -103,6 +109,7 @@ describe("#groups.update", () => {
|
||||
expect(res.status).toEqual(200);
|
||||
expect(body.data.name).toBe(group.name);
|
||||
});
|
||||
|
||||
it("fails with validation error when name already taken", async () => {
|
||||
await buildGroup({
|
||||
teamId: user.teamId,
|
||||
@@ -275,6 +282,23 @@ describe("#groups.list", () => {
|
||||
expect(body.data.groups.length).toEqual(1);
|
||||
expect(body.data.groups[0].id).toEqual(group.id);
|
||||
});
|
||||
|
||||
it("should allow to find a group by its externalId", async () => {
|
||||
const user = await buildUser();
|
||||
const group = await buildGroup({ teamId: user.teamId, externalId: "123" });
|
||||
await buildGroup({ teamId: user.teamId });
|
||||
|
||||
const res = await server.post("/api/groups.list", {
|
||||
body: {
|
||||
externalId: "123",
|
||||
token: user.getJwtToken(),
|
||||
},
|
||||
});
|
||||
const body = await res.json();
|
||||
expect(res.status).toEqual(200);
|
||||
expect(body.data.groups.length).toEqual(1);
|
||||
expect(body.data.groups[0].id).toEqual(group.id);
|
||||
});
|
||||
});
|
||||
|
||||
describe("#groups.info", () => {
|
||||
|
||||
@@ -31,7 +31,7 @@ router.post(
|
||||
pagination(),
|
||||
validate(T.GroupsListSchema),
|
||||
async (ctx: APIContext<T.GroupsListReq>) => {
|
||||
const { sort, direction, query, userId, name } = ctx.input.body;
|
||||
const { sort, direction, query, userId, externalId, name } = ctx.input.body;
|
||||
const { user } = ctx.state.auth;
|
||||
authorize(user, "listGroups", user.team);
|
||||
|
||||
@@ -55,6 +55,13 @@ router.post(
|
||||
};
|
||||
}
|
||||
|
||||
if (externalId) {
|
||||
where = {
|
||||
...where,
|
||||
externalId,
|
||||
};
|
||||
}
|
||||
|
||||
const groups = await Group.filterByMember(userId).findAll({
|
||||
where,
|
||||
order: [[sort, direction]],
|
||||
@@ -110,18 +117,19 @@ router.post(
|
||||
|
||||
router.post(
|
||||
"groups.create",
|
||||
rateLimiter(RateLimiterStrategy.TenPerHour),
|
||||
rateLimiter(RateLimiterStrategy.TenPerMinute),
|
||||
auth(),
|
||||
validate(T.GroupsCreateSchema),
|
||||
transaction(),
|
||||
async (ctx: APIContext<T.GroupsCreateReq>) => {
|
||||
const { name } = ctx.input.body;
|
||||
const { name, externalId } = ctx.input.body;
|
||||
const { user } = ctx.state.auth;
|
||||
const { transaction } = ctx.state;
|
||||
authorize(user, "createGroup", user.team);
|
||||
|
||||
const group = await groupCreator({
|
||||
name,
|
||||
externalId,
|
||||
actor: user,
|
||||
ip: ctx.request.ip,
|
||||
transaction,
|
||||
@@ -140,7 +148,7 @@ router.post(
|
||||
validate(T.GroupsUpdateSchema),
|
||||
transaction(),
|
||||
async (ctx: APIContext<T.GroupsUpdateReq>) => {
|
||||
const { id, name } = ctx.input.body;
|
||||
const { id, name, externalId } = ctx.input.body;
|
||||
const { user } = ctx.state.auth;
|
||||
const { transaction } = ctx.state;
|
||||
|
||||
@@ -150,6 +158,7 @@ router.post(
|
||||
group = await groupUpdater({
|
||||
group,
|
||||
name,
|
||||
externalId,
|
||||
actor: user,
|
||||
ip: ctx.request.ip,
|
||||
transaction,
|
||||
|
||||
@@ -13,7 +13,6 @@ export const GroupsListSchema = z.object({
|
||||
.string()
|
||||
.optional()
|
||||
.transform((val) => (val !== "ASC" ? "DESC" : val)),
|
||||
|
||||
/** Groups sorting column */
|
||||
sort: z
|
||||
.string()
|
||||
@@ -21,13 +20,12 @@ export const GroupsListSchema = z.object({
|
||||
message: "Invalid sort parameter",
|
||||
})
|
||||
.default("updatedAt"),
|
||||
|
||||
/** Only list groups where this user is a member */
|
||||
userId: z.string().uuid().optional(),
|
||||
|
||||
/** Find group matching externalId */
|
||||
externalId: z.string().optional(),
|
||||
/** @deprecated Find group with matching name */
|
||||
name: z.string().optional(),
|
||||
|
||||
/** Find group matching query */
|
||||
query: z.string().optional(),
|
||||
}),
|
||||
@@ -45,6 +43,8 @@ export const GroupsCreateSchema = z.object({
|
||||
body: z.object({
|
||||
/** Group name */
|
||||
name: z.string(),
|
||||
/** Optionally link this group to an external source. */
|
||||
externalId: z.string().optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -53,7 +53,9 @@ export type GroupsCreateReq = z.infer<typeof GroupsCreateSchema>;
|
||||
export const GroupsUpdateSchema = z.object({
|
||||
body: BaseIdSchema.extend({
|
||||
/** Group name */
|
||||
name: z.string(),
|
||||
name: z.string().optional(),
|
||||
/** Optionally link this group to an external source. */
|
||||
externalId: z.string().optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
@@ -68,16 +68,18 @@ router.post(
|
||||
rateLimiter(RateLimiterStrategy.FivePerHour),
|
||||
auth(),
|
||||
async (ctx: APIContext) => {
|
||||
if (!emailEnabled) {
|
||||
throw ValidationError("Email support is not setup for this instance");
|
||||
}
|
||||
|
||||
const { user } = ctx.state.auth;
|
||||
const { team } = user;
|
||||
authorize(user, "delete", team);
|
||||
|
||||
if (emailEnabled) {
|
||||
await new ConfirmTeamDeleteEmail({
|
||||
to: user.email,
|
||||
deleteConfirmationCode: team.getDeleteConfirmationCode(user),
|
||||
}).schedule();
|
||||
}
|
||||
await new ConfirmTeamDeleteEmail({
|
||||
to: user.email,
|
||||
deleteConfirmationCode: team.getDeleteConfirmationCode(user),
|
||||
}).schedule();
|
||||
|
||||
ctx.body = {
|
||||
success: true,
|
||||
|
||||
@@ -71,3 +71,30 @@ exports[`#users.update should require authentication 1`] = `
|
||||
"status": 401,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`#users.updateEmail post should fail if email not in allowed domains 1`] = `
|
||||
{
|
||||
"error": "validation_error",
|
||||
"message": "The domain is not allowed for this workspace",
|
||||
"ok": false,
|
||||
"status": 400,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`#users.updateEmail post should fail if email not unique in workspace 1`] = `
|
||||
{
|
||||
"error": "validation_error",
|
||||
"message": "User with email already exists",
|
||||
"ok": false,
|
||||
"status": 400,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`#users.updateEmail post should require authentication 1`] = `
|
||||
{
|
||||
"error": "authentication_required",
|
||||
"message": "Authentication required",
|
||||
"ok": false,
|
||||
"status": 401,
|
||||
}
|
||||
`;
|
||||
@@ -99,6 +99,26 @@ export const UsersDeleteSchema = BaseSchema.extend({
|
||||
|
||||
export type UsersDeleteSchemaReq = z.infer<typeof UsersDeleteSchema>;
|
||||
|
||||
export const UsersUpdateEmailSchema = BaseSchema.extend({
|
||||
body: z.object({
|
||||
id: z.string().uuid().optional(),
|
||||
email: z.string().email(),
|
||||
}),
|
||||
});
|
||||
|
||||
export type UsersUpdateEmailReq = z.infer<typeof UsersUpdateEmailSchema>;
|
||||
|
||||
export const UsersUpdateEmailConfirmSchema = BaseSchema.extend({
|
||||
query: z.object({
|
||||
code: z.string(),
|
||||
follow: z.string().default(""),
|
||||
}),
|
||||
});
|
||||
|
||||
export type UsersUpdateEmailConfirmReq = z.infer<
|
||||
typeof UsersUpdateEmailConfirmSchema
|
||||
>;
|
||||
|
||||
export const UsersInfoSchema = BaseSchema.extend({
|
||||
body: z.object({
|
||||
id: z.string().uuid().optional(),
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
import { faker } from "@faker-js/faker";
|
||||
import { TeamPreference, UserRole } from "@shared/types";
|
||||
import ConfirmUpdateEmail from "@server/emails/templates/ConfirmUpdateEmail";
|
||||
import { TeamDomain } from "@server/models";
|
||||
import {
|
||||
buildTeam,
|
||||
buildAdmin,
|
||||
@@ -723,6 +726,85 @@ describe("#users.update", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("#users.updateEmail", () => {
|
||||
describe("post", () => {
|
||||
it("should trigger verification email", async () => {
|
||||
const spy = jest.spyOn(ConfirmUpdateEmail.prototype, "schedule");
|
||||
const user = await buildUser();
|
||||
const res = await server.post("/api/users.updateEmail", {
|
||||
body: {
|
||||
token: user.getJwtToken(),
|
||||
email: faker.internet.email(),
|
||||
},
|
||||
});
|
||||
const body = await res.json();
|
||||
|
||||
expect(res.status).toEqual(200);
|
||||
expect(body.success).toEqual(true);
|
||||
expect(spy).toHaveBeenCalled();
|
||||
spy.mockRestore();
|
||||
});
|
||||
|
||||
it("should fail if email not in allowed domains", async () => {
|
||||
const user = await buildUser();
|
||||
|
||||
await TeamDomain.create({
|
||||
teamId: user.teamId,
|
||||
name: "example.com",
|
||||
createdById: user.id,
|
||||
});
|
||||
|
||||
const res = await server.post("/api/users.updateEmail", {
|
||||
body: {
|
||||
token: user.getJwtToken(),
|
||||
email: faker.internet.email(),
|
||||
},
|
||||
});
|
||||
const body = await res.json();
|
||||
expect(res.status).toEqual(400);
|
||||
expect(body).toMatchSnapshot();
|
||||
});
|
||||
|
||||
it("should fail if email not unique in workspace", async () => {
|
||||
const user = await buildUser();
|
||||
const email = faker.internet.email().toLowerCase();
|
||||
await buildUser({ teamId: user.teamId, email });
|
||||
|
||||
const res = await server.post("/api/users.updateEmail", {
|
||||
body: {
|
||||
token: user.getJwtToken(),
|
||||
email,
|
||||
},
|
||||
});
|
||||
const body = await res.json();
|
||||
expect(res.status).toEqual(400);
|
||||
expect(body).toMatchSnapshot();
|
||||
});
|
||||
|
||||
it("should require authentication", async () => {
|
||||
const res = await server.post("/api/users.updateEmail");
|
||||
const body = await res.json();
|
||||
expect(res.status).toEqual(401);
|
||||
expect(body).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
||||
describe("get", () => {
|
||||
it("should update email", async () => {
|
||||
const user = await buildUser();
|
||||
const email = faker.internet.email();
|
||||
await server.get(
|
||||
`/api/users.updateEmail?token=${user.getJwtToken()}&code=${user.getEmailUpdateToken(
|
||||
email
|
||||
)}&follow=true`
|
||||
);
|
||||
|
||||
await user.reload();
|
||||
expect(user.email).toEqual(email);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("#users.update_role", () => {
|
||||
it("should promote", async () => {
|
||||
const team = await buildTeam();
|
||||
|
||||
@@ -2,11 +2,13 @@ import Router from "koa-router";
|
||||
import { Op, Sequelize, WhereOptions } from "sequelize";
|
||||
import { UserPreference, UserRole } from "@shared/types";
|
||||
import { UserRoleHelper } from "@shared/utils/UserRoleHelper";
|
||||
import { settingsPath } from "@shared/utils/routeHelpers";
|
||||
import { UserValidation } from "@shared/validations";
|
||||
import userDestroyer from "@server/commands/userDestroyer";
|
||||
import userInviter from "@server/commands/userInviter";
|
||||
import userSuspender from "@server/commands/userSuspender";
|
||||
import userUnsuspender from "@server/commands/userUnsuspender";
|
||||
import ConfirmUpdateEmail from "@server/emails/templates/ConfirmUpdateEmail";
|
||||
import ConfirmUserDeleteEmail from "@server/emails/templates/ConfirmUserDeleteEmail";
|
||||
import InviteEmail from "@server/emails/templates/InviteEmail";
|
||||
import env from "@server/env";
|
||||
@@ -23,6 +25,7 @@ import { presentUser, presentPolicies } from "@server/presenters";
|
||||
import { APIContext } from "@server/types";
|
||||
import { RateLimiterStrategy } from "@server/utils/RateLimiter";
|
||||
import { safeEqual } from "@server/utils/crypto";
|
||||
import { getDetailsForEmailUpdateToken } from "@server/utils/jwt";
|
||||
import pagination from "../middlewares/pagination";
|
||||
import * as T from "./schema";
|
||||
|
||||
@@ -201,6 +204,108 @@ router.post(
|
||||
}
|
||||
);
|
||||
|
||||
router.post(
|
||||
"users.updateEmail",
|
||||
rateLimiter(RateLimiterStrategy.TenPerHour),
|
||||
auth(),
|
||||
validate(T.UsersUpdateEmailSchema),
|
||||
async (ctx: APIContext<T.UsersUpdateEmailReq>) => {
|
||||
if (!emailEnabled) {
|
||||
throw ValidationError("Email support is not setup for this instance");
|
||||
}
|
||||
|
||||
const { user: actor } = ctx.state.auth;
|
||||
const { id } = ctx.input.body;
|
||||
const { team } = actor;
|
||||
const user = id ? await User.findByPk(id) : actor;
|
||||
const email = ctx.input.body.email.trim().toLowerCase();
|
||||
|
||||
authorize(actor, "update", user);
|
||||
|
||||
// Check if email domain is allowed
|
||||
if (!(await team.isDomainAllowed(email))) {
|
||||
throw ValidationError("The domain is not allowed for this workspace");
|
||||
}
|
||||
|
||||
// Check if email already exists in workspace
|
||||
if (await User.findByEmail(ctx, email)) {
|
||||
throw ValidationError("User with email already exists");
|
||||
}
|
||||
|
||||
await new ConfirmUpdateEmail({
|
||||
to: email,
|
||||
previous: user.email,
|
||||
code: user.getEmailUpdateToken(email),
|
||||
teamUrl: team.url,
|
||||
}).schedule();
|
||||
|
||||
ctx.body = {
|
||||
success: true,
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
router.get(
|
||||
"users.updateEmail",
|
||||
rateLimiter(RateLimiterStrategy.TenPerHour),
|
||||
auth(),
|
||||
transaction(),
|
||||
validate(T.UsersUpdateEmailConfirmSchema),
|
||||
async (ctx: APIContext<T.UsersUpdateEmailConfirmReq>) => {
|
||||
if (!emailEnabled) {
|
||||
throw ValidationError("Email support is not setup for this instance");
|
||||
}
|
||||
|
||||
const { transaction } = ctx.state;
|
||||
const { code, follow } = ctx.input.query;
|
||||
|
||||
// The link in the email does not include the follow query param, this
|
||||
// is to help prevent anti-virus, and email clients from pre-fetching the link
|
||||
// and spending the token before the user clicks on it. Instead we redirect
|
||||
// to the same URL with the follow query param added from the client side.
|
||||
if (!follow) {
|
||||
return ctx.redirectOnClient(ctx.request.href + "&follow=true");
|
||||
}
|
||||
let user: User;
|
||||
let email: string;
|
||||
|
||||
try {
|
||||
const res = await getDetailsForEmailUpdateToken(code as string, {
|
||||
transaction,
|
||||
lock: transaction.LOCK.UPDATE,
|
||||
});
|
||||
user = res.user;
|
||||
email = res.email;
|
||||
} catch (err) {
|
||||
ctx.redirect(`/?notice=expired-token`);
|
||||
return;
|
||||
}
|
||||
|
||||
const { user: actor } = ctx.state.auth;
|
||||
authorize(actor, "update", user);
|
||||
|
||||
// Check if email domain is allowed
|
||||
if (!(await actor.team.isDomainAllowed(email))) {
|
||||
throw ValidationError("The domain is not allowed for this workspace");
|
||||
}
|
||||
|
||||
// Check if email already exists in workspace
|
||||
if (await User.findByEmail(ctx, email)) {
|
||||
throw ValidationError("User with email already exists");
|
||||
}
|
||||
|
||||
user.email = email;
|
||||
await Event.createFromContext(ctx, {
|
||||
name: "users.update",
|
||||
userId: user.id,
|
||||
changes: user.changeset,
|
||||
});
|
||||
await user.save({ transaction });
|
||||
|
||||
ctx.redirect(settingsPath());
|
||||
}
|
||||
);
|
||||
|
||||
router.post(
|
||||
"users.update",
|
||||
auth(),
|
||||
@@ -518,15 +623,17 @@ router.post(
|
||||
rateLimiter(RateLimiterStrategy.FivePerHour),
|
||||
auth(),
|
||||
async (ctx: APIContext) => {
|
||||
if (!emailEnabled) {
|
||||
throw ValidationError("Email support is not setup for this instance");
|
||||
}
|
||||
|
||||
const { user } = ctx.state.auth;
|
||||
authorize(user, "delete", user);
|
||||
|
||||
if (emailEnabled) {
|
||||
await new ConfirmUserDeleteEmail({
|
||||
to: user.email,
|
||||
deleteConfirmationCode: user.deleteConfirmationCode,
|
||||
}).schedule();
|
||||
}
|
||||
await new ConfirmUserDeleteEmail({
|
||||
to: user.email,
|
||||
deleteConfirmationCode: user.deleteConfirmationCode,
|
||||
}).schedule();
|
||||
|
||||
ctx.body = {
|
||||
success: true,
|
||||
|
||||
+38
-24
@@ -21,30 +21,44 @@ export function createDatabaseInstance(
|
||||
InferCreationAttributes<Model>
|
||||
>;
|
||||
}
|
||||
) {
|
||||
return new Sequelize(databaseUrl, {
|
||||
logging: (msg) =>
|
||||
process.env.DEBUG?.includes("database") && Logger.debug("database", msg),
|
||||
typeValidation: true,
|
||||
logQueryParameters: env.isDevelopment,
|
||||
dialectOptions: {
|
||||
ssl:
|
||||
env.isProduction && !isSSLDisabled
|
||||
? {
|
||||
// Ref.: https://github.com/brianc/node-postgres/issues/2009
|
||||
rejectUnauthorized: false,
|
||||
}
|
||||
: false,
|
||||
},
|
||||
models: Object.values(input),
|
||||
pool: {
|
||||
max: poolMax,
|
||||
min: poolMin,
|
||||
acquire: 30000,
|
||||
idle: 10000,
|
||||
},
|
||||
schema,
|
||||
});
|
||||
): Sequelize {
|
||||
try {
|
||||
return new Sequelize(databaseUrl, {
|
||||
logging: (msg) =>
|
||||
process.env.DEBUG?.includes("database") &&
|
||||
Logger.debug("database", msg),
|
||||
typeValidation: true,
|
||||
logQueryParameters: env.isDevelopment,
|
||||
dialectOptions: {
|
||||
ssl:
|
||||
env.isProduction && !isSSLDisabled
|
||||
? {
|
||||
// Ref.: https://github.com/brianc/node-postgres/issues/2009
|
||||
rejectUnauthorized: false,
|
||||
}
|
||||
: false,
|
||||
},
|
||||
models: Object.values(input),
|
||||
pool: {
|
||||
max: poolMax,
|
||||
min: poolMin,
|
||||
acquire: 30000,
|
||||
idle: 10000,
|
||||
},
|
||||
schema,
|
||||
});
|
||||
} catch (error) {
|
||||
if (error instanceof URIError) {
|
||||
Logger.fatal(
|
||||
"Could not connect to database",
|
||||
new Error(
|
||||
`Failed to parse: ${databaseUrl}, ensure special characters in database URL are properly encoded`
|
||||
)
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { subMinutes } from "date-fns";
|
||||
import JWT from "jsonwebtoken";
|
||||
import { FindOptions } from "sequelize";
|
||||
import { Team, User } from "@server/models";
|
||||
import { AuthenticationError } from "../errors";
|
||||
|
||||
@@ -105,3 +106,35 @@ export async function getUserForEmailSigninToken(token: string): Promise<User> {
|
||||
|
||||
return user;
|
||||
}
|
||||
|
||||
export async function getDetailsForEmailUpdateToken(
|
||||
token: string,
|
||||
options: FindOptions<User> = {}
|
||||
): Promise<{ user: User; email: string }> {
|
||||
const payload = getJWTPayload(token);
|
||||
|
||||
if (payload.type !== "email-update") {
|
||||
throw AuthenticationError("Invalid token");
|
||||
}
|
||||
|
||||
// check the token is within it's expiration time
|
||||
if (payload.createdAt) {
|
||||
if (new Date(payload.createdAt) < subMinutes(new Date(), 10)) {
|
||||
throw AuthenticationError("Expired token");
|
||||
}
|
||||
}
|
||||
|
||||
const email = payload.email;
|
||||
const user = await User.findByPk(payload.id, {
|
||||
rejectOnEmpty: true,
|
||||
...options,
|
||||
});
|
||||
|
||||
try {
|
||||
JWT.verify(token, user.jwtSecret);
|
||||
} catch (err) {
|
||||
throw AuthenticationError("Invalid token");
|
||||
}
|
||||
|
||||
return { user, email };
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
import { taskListItems, strikethrough } from "@joplin/turndown-plugin-gfm";
|
||||
import TurndownService from "turndown";
|
||||
import { escape } from "@shared/utils/markdown";
|
||||
import breaks from "./breaks";
|
||||
import emptyLists from "./emptyLists";
|
||||
import emptyParagraph from "./emptyParagraph";
|
||||
@@ -41,36 +42,6 @@ const service = new TurndownService({
|
||||
.use(breaks)
|
||||
.use(emptyLists);
|
||||
|
||||
const escapes: [RegExp, string][] = [
|
||||
[/\\/g, "\\\\"],
|
||||
[/\*/g, "\\*"],
|
||||
[/^-/g, "\\-"],
|
||||
[/^\+ /g, "\\+ "],
|
||||
[/^(=+)/g, "\\$1"],
|
||||
[/^(#{1,6}) /g, "\\$1 "],
|
||||
[/`/g, "\\`"],
|
||||
[/^~~~/g, "\\~~~"],
|
||||
[/\[/g, "\\["],
|
||||
[/\]/g, "\\]"],
|
||||
[/\(/g, "\\("], // OLN-91
|
||||
[/\)/g, "\\)"], // OLN-91
|
||||
[/^>/g, "\\>"],
|
||||
[/_/g, "\\_"],
|
||||
[/^(\d+)\. /g, "$1\\. "],
|
||||
[/\$/g, "\\$"],
|
||||
];
|
||||
|
||||
/**
|
||||
* Overrides the Markdown escaping, as documented here:
|
||||
* https://github.com/mixmark-io/turndown/blob/4499b5c313d30a3189a58fdd74fc4ed4b2428afd/README.md#overriding-turndownserviceprototypeescape
|
||||
*
|
||||
* @param text The string to escape
|
||||
* @returns A string with Markdown syntax escaped
|
||||
*/
|
||||
service.escape = function (text) {
|
||||
return escapes.reduce(function (accumulator, escape) {
|
||||
return accumulator.replace(escape[0], escape[1]);
|
||||
}, text);
|
||||
};
|
||||
service.escape = escape;
|
||||
|
||||
export default service;
|
||||
@@ -178,11 +178,21 @@ const embeds: EmbedDescriptor[] = [
|
||||
new EmbedDescriptor({
|
||||
title: "Canva",
|
||||
keywords: "design",
|
||||
regexMatch: [
|
||||
/^https:\/\/(?:www\.)?canva\.com\/design\/([a-zA-Z0-9_]*)\/(.*)$/,
|
||||
],
|
||||
transformMatch: (matches: RegExpMatchArray) =>
|
||||
`https://www.canva.com/design/${matches[1]}/view?embed`,
|
||||
regexMatch: [/^https:\/\/(?:www\.)?canva\.com\/design\/([\/a-zA-Z0-9_]*)$/],
|
||||
transformMatch: (matches: RegExpMatchArray) => {
|
||||
const input = matches.input ?? matches[0];
|
||||
|
||||
try {
|
||||
const url = new URL(input);
|
||||
const params = new URLSearchParams(url.search);
|
||||
params.append("embed", "");
|
||||
return `${url.origin}${url.pathname}?${params.toString()}`;
|
||||
} catch (e) {
|
||||
//
|
||||
}
|
||||
|
||||
return input;
|
||||
},
|
||||
icon: <Img src="/images/canva.png" alt="Canva" />,
|
||||
}),
|
||||
new EmbedDescriptor({
|
||||
@@ -404,11 +414,20 @@ const embeds: EmbedDescriptor[] = [
|
||||
transformMatch: (matches: RegExpMatchArray) => {
|
||||
const input = matches.input ?? matches[0];
|
||||
|
||||
if (input.includes("style=singlePage")) {
|
||||
return input;
|
||||
try {
|
||||
const url = new URL(input);
|
||||
const params = new URLSearchParams(url.search);
|
||||
if (params.has("embed") || params.get("style") === "singlePage") {
|
||||
return input;
|
||||
}
|
||||
|
||||
params.append("embed", "true");
|
||||
return `${url.origin}${url.pathname}?${params.toString()}`;
|
||||
} catch (e) {
|
||||
//
|
||||
}
|
||||
|
||||
return input.replace(/(\?embed=true)?$/, "?embed=true");
|
||||
return input;
|
||||
},
|
||||
icon: <Img src="/images/grist.png" alt="Grist" />,
|
||||
}),
|
||||
|
||||
@@ -39,6 +39,7 @@ export const LANGUAGES = {
|
||||
perl: "Perl",
|
||||
php: "PHP",
|
||||
powershell: "Powershell",
|
||||
protobuf: "Protobuf",
|
||||
python: "Python",
|
||||
r: "R",
|
||||
ruby: "Ruby",
|
||||
|
||||
@@ -33,7 +33,7 @@ export const nameToEmoji: Record<string, string> = Object.values(
|
||||
* @returns The emoji character
|
||||
*/
|
||||
export const getEmojiFromName = (name: string) =>
|
||||
nameToEmoji[name.replace(/:/g, "")];
|
||||
nameToEmoji[name.replace(/:/g, "")] ?? "?";
|
||||
|
||||
/**
|
||||
* Get the emoji shortcode for a given emoji character.
|
||||
|
||||
@@ -32,6 +32,9 @@ export default function makeRules({
|
||||
if (!schema?.nodes.hr) {
|
||||
markdownIt.disable("hr");
|
||||
}
|
||||
if (!schema?.nodes.heading) {
|
||||
markdownIt.disable("heading");
|
||||
}
|
||||
|
||||
plugins.forEach((plugin) => markdownIt.use(plugin));
|
||||
return markdownIt;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Attrs, Node } from "prosemirror-model";
|
||||
import { MutableAttrs } from "prosemirror-tables";
|
||||
import { isBrowser } from "../../utils/browser";
|
||||
import { TableLayout } from "../types";
|
||||
|
||||
export interface TableAttrs {
|
||||
@@ -57,11 +58,17 @@ export function setCellAttrs(node: Node): Attrs {
|
||||
if (node.attrs.rowspan !== 1) {
|
||||
attrs.rowspan = node.attrs.rowspan;
|
||||
}
|
||||
if (node.attrs.colwidth) {
|
||||
attrs["data-colwidth"] = node.attrs.colwidth.join(",");
|
||||
}
|
||||
if (node.attrs.alignment) {
|
||||
attrs.style = `text-align: ${node.attrs.alignment}`;
|
||||
attrs.style = `text-align: ${node.attrs.alignment};`;
|
||||
}
|
||||
if (node.attrs.colwidth) {
|
||||
if (isBrowser) {
|
||||
attrs["data-colwidth"] = node.attrs.colwidth.join(",");
|
||||
} else {
|
||||
attrs.style =
|
||||
(attrs.style ?? "") + `min-width: ${node.attrs.colwidth}px;`;
|
||||
}
|
||||
}
|
||||
|
||||
return attrs;
|
||||
}
|
||||
@@ -16,27 +16,37 @@ export default function textBetween(
|
||||
to: number,
|
||||
plainTextSerializers: Record<string, PlainTextSerializer | undefined>
|
||||
): string {
|
||||
const blockSeparator = "\n\n";
|
||||
let text = "";
|
||||
let separated = true;
|
||||
let first = true;
|
||||
const blockSeparator = "\n";
|
||||
|
||||
doc.nodesBetween(from, to, (node, pos) => {
|
||||
const toPlainText = plainTextSerializers[node.type.name];
|
||||
let nodeText = "";
|
||||
|
||||
if (toPlainText) {
|
||||
if (node.isBlock && !separated) {
|
||||
text += blockSeparator;
|
||||
separated = true;
|
||||
}
|
||||
|
||||
text += toPlainText(node);
|
||||
nodeText += toPlainText(node);
|
||||
} else if (node.isText) {
|
||||
text += node.text?.slice(Math.max(from, pos) - pos, to - pos);
|
||||
separated = false;
|
||||
} else if (node.isBlock && !separated) {
|
||||
text += blockSeparator;
|
||||
separated = true;
|
||||
nodeText += node.textBetween(
|
||||
Math.max(from, pos) - pos,
|
||||
to - pos,
|
||||
blockSeparator
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
node.isBlock &&
|
||||
((node.isLeaf && nodeText) || node.isTextblock) &&
|
||||
blockSeparator
|
||||
) {
|
||||
if (first) {
|
||||
first = false;
|
||||
} else {
|
||||
text += blockSeparator;
|
||||
}
|
||||
}
|
||||
|
||||
text += nodeText;
|
||||
});
|
||||
|
||||
return text;
|
||||
|
||||
@@ -16,6 +16,8 @@ export default class Comment extends Mark {
|
||||
|
||||
get schema(): MarkSpec {
|
||||
return {
|
||||
// Allow multiple comments to overlap
|
||||
excludes: "",
|
||||
attrs: {
|
||||
id: {},
|
||||
userId: {},
|
||||
@@ -97,9 +99,13 @@ export default class Comment extends Mark {
|
||||
return this.options.onCreateCommentMark
|
||||
? (): Command => (state, dispatch) => {
|
||||
if (
|
||||
isMarkActive(state.schema.marks.comment, {
|
||||
resolved: false,
|
||||
})(state)
|
||||
isMarkActive(
|
||||
state.schema.marks.comment,
|
||||
{
|
||||
resolved: false,
|
||||
},
|
||||
{ exact: true }
|
||||
)(state)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ import ocaml from "refractor/lang/ocaml";
|
||||
import perl from "refractor/lang/perl";
|
||||
import php from "refractor/lang/php";
|
||||
import powershell from "refractor/lang/powershell";
|
||||
import protobuf from "refractor/lang/protobuf";
|
||||
import python from "refractor/lang/python";
|
||||
import r from "refractor/lang/r";
|
||||
import ruby from "refractor/lang/ruby";
|
||||
@@ -121,6 +122,7 @@ const DEFAULT_LANGUAGE = "javascript";
|
||||
php,
|
||||
python,
|
||||
powershell,
|
||||
protobuf,
|
||||
r,
|
||||
ruby,
|
||||
rust,
|
||||
|
||||
@@ -24,11 +24,9 @@ export default class Emoji extends Extension {
|
||||
get schema(): NodeSpec {
|
||||
return {
|
||||
attrs: {
|
||||
style: {
|
||||
default: "",
|
||||
},
|
||||
"data-name": {
|
||||
default: undefined,
|
||||
default: "grey_question",
|
||||
validate: "string",
|
||||
},
|
||||
},
|
||||
inline: true,
|
||||
@@ -50,17 +48,15 @@ export default class Emoji extends Extension {
|
||||
],
|
||||
toDOM: (node) => {
|
||||
const name = node.attrs["data-name"];
|
||||
if (name && getEmojiFromName(name)) {
|
||||
return [
|
||||
"strong",
|
||||
{
|
||||
class: `emoji ${name}`,
|
||||
"data-name": name,
|
||||
},
|
||||
getEmojiFromName(name),
|
||||
];
|
||||
}
|
||||
return ["strong", { class: "emoji" }, `:${name}:`];
|
||||
|
||||
return [
|
||||
"strong",
|
||||
{
|
||||
class: `emoji ${name}`,
|
||||
"data-name": name,
|
||||
},
|
||||
getEmojiFromName(name),
|
||||
];
|
||||
},
|
||||
toPlainText: (node) => getEmojiFromName(node.attrs["data-name"]),
|
||||
};
|
||||
|
||||
@@ -112,7 +112,6 @@ export default class Table extends Node {
|
||||
// Note: Important to register columnResizing before tableEditing
|
||||
columnResizing({
|
||||
View: TableView,
|
||||
lastColumnResizable: false,
|
||||
}),
|
||||
tableEditing(),
|
||||
new FixTablesPlugin(),
|
||||
|
||||
@@ -3,15 +3,21 @@ import { EditorState } from "prosemirror-state";
|
||||
import { Primitive } from "utility-types";
|
||||
import { getMarksBetween } from "./getMarksBetween";
|
||||
|
||||
type Options = {
|
||||
/** Only return match if the range and attrs is exact */
|
||||
exact?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Checks if a mark is active in the current selection or not.
|
||||
*
|
||||
* @param type The mark type to check.
|
||||
* @param attrs The attributes to check.
|
||||
* @param options The options to use.
|
||||
* @returns A function that checks if a mark is active in the current selection or not.
|
||||
*/
|
||||
export const isMarkActive =
|
||||
(type: MarkType, attrs?: Record<string, Primitive>) =>
|
||||
(type: MarkType, attrs?: Record<string, Primitive>, options?: Options) =>
|
||||
(state: EditorState): boolean => {
|
||||
if (!type) {
|
||||
return false;
|
||||
@@ -25,12 +31,16 @@ export const isMarkActive =
|
||||
if (!hasMark) {
|
||||
return false;
|
||||
}
|
||||
if (attrs) {
|
||||
if (attrs || options) {
|
||||
const results = getMarksBetween(from, to, state);
|
||||
return results.some(
|
||||
({ mark }) =>
|
||||
({ mark, start, end }) =>
|
||||
mark.type === type &&
|
||||
Object.keys(attrs).every((key) => mark.attrs[key] === attrs[key])
|
||||
(!attrs ||
|
||||
Object.keys(attrs).every(
|
||||
(key) => mark.attrs[key] === attrs[key]
|
||||
)) &&
|
||||
(!options?.exact || (start === from && end === to))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ export type MenuItem = {
|
||||
icon?: React.ReactElement;
|
||||
name?: string;
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
shortcut?: string;
|
||||
keywords?: string;
|
||||
tooltip?: string;
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Soubor nelze importovat",
|
||||
"Unsubscribed from document": "Upozornění vypnuta",
|
||||
"Account": "Účet",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Podrobnosti",
|
||||
"Security": "Zabezpečení",
|
||||
"Features": "Funkce",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "vytvořil sbírku",
|
||||
"mentioned you in": "zmínil vás v",
|
||||
"left a comment on": "zanechal komentář k",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "sdíleno",
|
||||
"invited you to": "vás pozval/a do",
|
||||
"Choose a date": "Vybrat datum",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "Pro zadaný požadavek nebyly nalezeny žádné dokumenty.",
|
||||
"API key copied to clipboard": "Klíč API byl zkopírován do schránky",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Vytvořte si osobní API klíče pro ověření pomocí API rozhraní a ovládejte programově\n data vašeho pracovního prostoru. API klíče mají stejná oprávnění jako váš uživatelský účet.\n Další detaily naleznete ve <em>vývojářské dokumentaci</em>.",
|
||||
"Personal keys": "Osobní klíče",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Naposledy použito",
|
||||
"No expiry": "Bez vypršení platnosti",
|
||||
"API key copied to clipboard": "Klíč API byl zkopírován do schránky",
|
||||
"Copied": "Zkopírováno",
|
||||
"Revoking": "Odvolávání",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Skutečně chcete zrušit token {{ tokenName }}?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Obdržet upozornění, když dokument, k jehož odběru jste přihlášeni, nebo vlákno, jehož jste se účastnili, obdrží komentář",
|
||||
"Mentioned": "Zmínky",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Dostávat upozornění, když se o vás někdo zmíní v dokumentu nebo komentáři",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Sbírka vytvořena",
|
||||
"Receive a notification whenever a new collection is created": "Přijímat oznámení, když bude vytvořena nová sbírka",
|
||||
"Invite accepted": "Pozvánka přijata",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "E-mailová adresa",
|
||||
"Your email address should be updated in your SSO provider.": "Vaše e-mailová adresa by měla být aktualizována u vašeho poskytovatele jednotného přihlášení.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "Integrace e-mailu je momentálně zakázána. Nastavte přidružené proměnné parametry a restartujte server, abyste povolili oznámení.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Vytvořte si osobní API klíče pro ověření pomocí API rozhraní a ovládejte programově\n data vašeho pracovního prostoru. API klíče mají stejná oprávnění jako váš uživatelský účet.\n Další detaily naleznete ve <em>vývojářské dokumentaci</em>.",
|
||||
"Personal keys": "Osobní klíče",
|
||||
"Preferences saved": "Nastavení uložena",
|
||||
"Delete account": "Odstranit účet",
|
||||
"Manage settings that affect your personal experience.": "Spravujte nastavení, která ovlivňují vaše uživatelské rozhraní.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Could not import file",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "Account",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Details",
|
||||
"Security": "Security",
|
||||
"Features": "Features",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "created the collection",
|
||||
"mentioned you in": "mentioned you in",
|
||||
"left a comment on": "left a comment on",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "shared",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "No documents found for your search filters.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Copied",
|
||||
"Revoking": "Revoking",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Are you sure you want to revoke the {{ tokenName }} token?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receive a notification when a document you are subscribed to or a thread you participated in receives a comment",
|
||||
"Mentioned": "Mentioned",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Receive a notification when someone mentions you in a document or comment",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Collection created",
|
||||
"Receive a notification whenever a new collection is created": "Receive a notification whenever a new collection is created",
|
||||
"Invite accepted": "Invite accepted",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Email address",
|
||||
"Your email address should be updated in your SSO provider.": "Your email address should be updated in your SSO provider.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Preferences saved",
|
||||
"Delete account": "Delete account",
|
||||
"Manage settings that affect your personal experience.": "Manage settings that affect your personal experience.",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"Star": "Favorisieren",
|
||||
"Unstar": "Aus den Favoriten entfernen",
|
||||
"Archive": "Archiv",
|
||||
"Archive collection": "Archive collection",
|
||||
"Archive collection": "Private Sammlung",
|
||||
"Collection archived": "Collection archived",
|
||||
"Archiving": "Archiviere",
|
||||
"Archiving this collection will also archive all documents within it. Documents from the collection will no longer be visible in search results.": "Archiving this collection will also archive all documents within it. Documents from the collection will no longer be visible in search results.",
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Datei konnte nicht importiert werden",
|
||||
"Unsubscribed from document": "Dokument nicht abonniert",
|
||||
"Account": "Konto",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Details",
|
||||
"Security": "Sicherheit",
|
||||
"Features": "Funktionen",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "Sammlung erstellt",
|
||||
"mentioned you in": "erwähnte dich in",
|
||||
"left a comment on": "hat einen Kommentar geschrieben zu",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "geteilt",
|
||||
"invited you to": "hat dich eingeladen zu",
|
||||
"Choose a date": "Datum auswählen",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "Keine Dokumente für diese Suchfilter gefunden.",
|
||||
"API key copied to clipboard": "API-Schlüssel wurde in die Zwischenablage kopiert",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Erstelle persönliche API-Schlüssel, um dich mit der API zu authentifizieren und\n die Daten deines Arbeitsbereichs programmiert zu kontrollieren. API-Schlüssel haben die gleichen Berechtigungen wie Ihr Benutzerkonto.\n Weitere Details finden Sie in der <em>Entwicklerdokumentation</em>.",
|
||||
"Personal keys": "Persönliche Schlüssel",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Zuletzt verwendet",
|
||||
"No expiry": "Kein Verfall",
|
||||
"API key copied to clipboard": "API-Schlüssel wurde in die Zwischenablage kopiert",
|
||||
"Copied": "Kopiert",
|
||||
"Revoking": "Wird widerrufen",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Sind Sie sicher, den Token {{ tokenName }} zu widerrufen?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Erhalten Sie eine Benachrichtigung, wenn ein Dokument, das Sie abonniert haben oder ein Thread an dem Sie teilgenommen haben, einen Kommentar erhält",
|
||||
"Mentioned": "Erwähnt",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Erhalten Sie eine Benachrichtigung, wenn jemand Sie in einem Dokument oder einem Kommentar erwähnt",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Sammlung erstellt",
|
||||
"Receive a notification whenever a new collection is created": "Erhalten Sie eine Benachrichtigung, wenn eine neue Sammlung erstellt wird",
|
||||
"Invite accepted": "Einladung angenommen",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "E-Mail Adresse",
|
||||
"Your email address should be updated in your SSO provider.": "Ihre E-Mail-Adresse sollte in Ihrem SSO-Anbieter aktualisiert werden.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "Die E-Mail-Integration ist derzeit deaktiviert. Legen Sie die zugehörigen Umgebungsvariablen fest und starten Sie den Server neu, um Benachrichtigungen zu aktivieren.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Erstelle persönliche API-Schlüssel, um dich mit der API zu authentifizieren und\n die Daten deines Arbeitsbereichs programmiert zu kontrollieren. API-Schlüssel haben die gleichen Berechtigungen wie Ihr Benutzerkonto.\n Weitere Details finden Sie in der <em>Entwicklerdokumentation</em>.",
|
||||
"Personal keys": "Persönliche Schlüssel",
|
||||
"Preferences saved": "Einstellungen gespeichert",
|
||||
"Delete account": "Konto löschen",
|
||||
"Manage settings that affect your personal experience.": "Verwalten Sie Einstellungen, die Ihr persönliches Erlebnis beeinflussen.",
|
||||
|
||||
@@ -402,6 +402,12 @@
|
||||
"Are you sure you want to suspend {{ userName }}? Suspended users will be prevented from logging in.": "Are you sure you want to suspend {{ userName }}? Suspended users will be prevented from logging in.",
|
||||
"New name": "New name",
|
||||
"Name can't be empty": "Name can't be empty",
|
||||
"Check your email to verify the new address.": "Check your email to verify the new address.",
|
||||
"The email will be changed once verified.": "The email will be changed once verified.",
|
||||
"You will receive an email to verify your new address. It must be unique in the workspace.": "You will receive an email to verify your new address. It must be unique in the workspace.",
|
||||
"A confirmation email will be sent to the new address before it is changed.": "A confirmation email will be sent to the new address before it is changed.",
|
||||
"New email": "New email",
|
||||
"Email can't be empty": "Email can't be empty",
|
||||
"Your import completed": "Your import completed",
|
||||
"Previous match": "Previous match",
|
||||
"Next match": "Next match",
|
||||
@@ -543,6 +549,7 @@
|
||||
"Headings you add to the document will appear here": "Headings you add to the document will appear here",
|
||||
"Table of contents": "Table of contents",
|
||||
"Change name": "Change name",
|
||||
"Change email": "Change email",
|
||||
"Suspend user": "Suspend user",
|
||||
"An error occurred while sending the invite": "An error occurred while sending the invite",
|
||||
"User options": "User options",
|
||||
@@ -958,8 +965,6 @@
|
||||
"Notifications saved": "Notifications saved",
|
||||
"Unsubscription successful. Your notification settings were updated": "Unsubscription successful. Your notification settings were updated",
|
||||
"Manage when and where you receive email notifications.": "Manage when and where you receive email notifications.",
|
||||
"Email address": "Email address",
|
||||
"Your email address should be updated in your SSO provider.": "Your email address should be updated in your SSO provider.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
@@ -986,6 +991,7 @@
|
||||
"Photo": "Photo",
|
||||
"Choose a photo or image to represent yourself.": "Choose a photo or image to represent yourself.",
|
||||
"This could be your real name, or a nickname — however you’d like people to refer to you.": "This could be your real name, or a nickname — however you’d like people to refer to you.",
|
||||
"Email address": "Email address",
|
||||
"Are you sure you want to require invites?": "Are you sure you want to require invites?",
|
||||
"New users will first need to be invited to create an account. <em>Default role</em> and <em>Allowed domains</em> will no longer apply.": "New users will first need to be invited to create an account. <em>Default role</em> and <em>Allowed domains</em> will no longer apply.",
|
||||
"Settings that impact the access, security, and content of your workspace.": "Settings that impact the access, security, and content of your workspace.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "No se pudo importar el archivo",
|
||||
"Unsubscribed from document": "Desuscrito del documento",
|
||||
"Account": "Cuenta",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Detalles",
|
||||
"Security": "Seguridad",
|
||||
"Features": "Características",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "creó la colección",
|
||||
"mentioned you in": "te mencionó en",
|
||||
"left a comment on": "dejó un comentario en",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "compartido",
|
||||
"invited you to": "te invitó a",
|
||||
"Choose a date": "Elige una fecha",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Algo ha salido mal",
|
||||
"Please try again or contact support if the problem persists": "Por favor, inténtelo de nuevo o póngase en contacto con el soporte técnico si el problema persiste",
|
||||
"No documents found for your search filters.": "No se encontraron documentos para tus filtros de búsqueda.",
|
||||
"API key copied to clipboard": "Clave API copiada al portapapeles",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Crea claves API personales para autenticarte con la API y controlar programáticamente\n los datos de tu área de trabajo. Las claves de API tienen los mismos permisos que tu cuenta de usuario.\n Para más detalles vea la documentación <em>de desarrollador</em>.",
|
||||
"Personal keys": "Claves personales",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Utilizado por última vez",
|
||||
"No expiry": "No expira",
|
||||
"API key copied to clipboard": "Clave API copiada al portapapeles",
|
||||
"Copied": "Copiado",
|
||||
"Revoking": "Revocando",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "¿Estás seguro de que quieres revocar el token {{ tokenName }}?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Recibir una notificación cuando un documento al que estás suscrito o un hilo en el que has participado recibe un comentario",
|
||||
"Mentioned": "Mencionado",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Recibir una notificación cuando alguien te mencione en un documento o comentario",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Colección creada",
|
||||
"Receive a notification whenever a new collection is created": "Recibir notificaciones cuando se cree una nueva colección",
|
||||
"Invite accepted": "Invitación aceptada",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Correo electrónico",
|
||||
"Your email address should be updated in your SSO provider.": "Tu dirección de correo electrónico debe ser actualizada en tu proveedor de SSO.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "La integración de correo electrónico está deshabilitada actualmente. Configura las variables de entorno asociadas y reinicia el servidor para habilitar las notificaciones.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Crea claves API personales para autenticarte con la API y controlar programáticamente\n los datos de tu área de trabajo. Las claves de API tienen los mismos permisos que tu cuenta de usuario.\n Para más detalles vea la documentación <em>de desarrollador</em>.",
|
||||
"Personal keys": "Claves personales",
|
||||
"Preferences saved": "Preferencias guardadas",
|
||||
"Delete account": "Eliminar cuenta",
|
||||
"Manage settings that affect your personal experience.": "Administra las configuraciones que afectan tu experiencia personal.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "نمیتوان فایل را وارد کرد",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "حساب",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "جزئیات",
|
||||
"Security": "امنیت",
|
||||
"Features": "امکانات",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "created the collection",
|
||||
"mentioned you in": "mentioned you in",
|
||||
"left a comment on": "left a comment on",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "shared",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "سندی برای فیلترهای جستجوی شما پیدا نشد.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Copied",
|
||||
"Revoking": "Revoking",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Are you sure you want to revoke the {{ tokenName }} token?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receive a notification when a document you are subscribed to or a thread you participated in receives a comment",
|
||||
"Mentioned": "Mentioned",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Receive a notification when someone mentions you in a document or comment",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "ایجاد مجموعه",
|
||||
"Receive a notification whenever a new collection is created": "هر زمان مجموعه جدیدی ایجاد شد، اعلانی دریافت کنید",
|
||||
"Invite accepted": "Invite accepted",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "آدرس ایمیل",
|
||||
"Your email address should be updated in your SSO provider.": "Your email address should be updated in your SSO provider.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "ادغام ایمیلی غیرفعال است. لطفاً متغیرهای محیطی مربوطه را تنظیم کرده و سرور را دوباره راهاندازی کنید تا اعلانها را فعال کنید.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Preferences saved",
|
||||
"Delete account": "حذف حساب",
|
||||
"Manage settings that affect your personal experience.": "Manage settings that affect your personal experience.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Le fichier n'a pas pu être importé",
|
||||
"Unsubscribed from document": "Se désabonner du document",
|
||||
"Account": "Compte",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Détails",
|
||||
"Security": "Sécurité",
|
||||
"Features": "Fonctionnalités",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "a créé la collection",
|
||||
"mentioned you in": "vous a mentionné dans",
|
||||
"left a comment on": "a laissé un commentaire sur",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "partagé",
|
||||
"invited you to": "vous a invité à",
|
||||
"Choose a date": "Choisissez une date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Un problème est survenu",
|
||||
"Please try again or contact support if the problem persists": "Veuillez réessayer ou contacter le support si le problème persiste",
|
||||
"No documents found for your search filters.": "Aucun document trouvé pour vos critères de recherche.",
|
||||
"API key copied to clipboard": "Clé API copiée dans le presse-papier",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Créez des clés d'API personnelles pour vous authentifier avec l'API et contrôlez par programmation\n les données de votre espace de travail. Les clés API ont les mêmes autorisations que votre compte utilisateur.\n Pour plus de détails, voir la documentation <em>développeur</em>.",
|
||||
"Personal keys": "Clés personnelles",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Dernier utilisé",
|
||||
"No expiry": "Pas d'expiration",
|
||||
"API key copied to clipboard": "Clé API copiée dans le presse-papier",
|
||||
"Copied": "Copié",
|
||||
"Revoking": "Supression en cours",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Voulez-vous vraiment supprimer le jeton {{ tokenName }}?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Recevez une notification lorsqu'un commentaire est déposé sur un document auquel vous êtes abonné ou dans un fil de discussion auquel vous avez participé",
|
||||
"Mentioned": "Mentionné",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Recevez une notification lorsque quelqu'un vous mentionne dans un document ou commentaire",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Collection créée",
|
||||
"Receive a notification whenever a new collection is created": "Recevez une notification à chaque fois qu'une nouvelle collection est créée",
|
||||
"Invite accepted": "Invitation acceptée",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Adresse email",
|
||||
"Your email address should be updated in your SSO provider.": "Votre adresse e-mail doit être mise à jour auprès de votre fournisseur de SSO.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "L'intégration des e-mails est actuellement désactivée. Veuillez définir les variables d'environnement associées et redémarrer le serveur pour activer les notifications.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Créez des clés d'API personnelles pour vous authentifier avec l'API et contrôlez par programmation\n les données de votre espace de travail. Les clés API ont les mêmes autorisations que votre compte utilisateur.\n Pour plus de détails, voir la documentation <em>développeur</em>.",
|
||||
"Personal keys": "Clés personnelles",
|
||||
"Preferences saved": "Préférences enregistrées",
|
||||
"Delete account": "Supprimer compte",
|
||||
"Manage settings that affect your personal experience.": "Gérer les paramètres qui affectent votre expérience utilisateur.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Could not import file",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "Account",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Details",
|
||||
"Security": "Security",
|
||||
"Features": "Features",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "created the collection",
|
||||
"mentioned you in": "mentioned you in",
|
||||
"left a comment on": "left a comment on",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "shared",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "No documents found for your search filters.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Copied",
|
||||
"Revoking": "Revoking",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Are you sure you want to revoke the {{ tokenName }} token?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receive a notification when a document you are subscribed to or a thread you participated in receives a comment",
|
||||
"Mentioned": "Mentioned",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Receive a notification when someone mentions you in a document or comment",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Collection created",
|
||||
"Receive a notification whenever a new collection is created": "Receive a notification whenever a new collection is created",
|
||||
"Invite accepted": "Invite accepted",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Email address",
|
||||
"Your email address should be updated in your SSO provider.": "Your email address should be updated in your SSO provider.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Preferences saved",
|
||||
"Delete account": "Delete account",
|
||||
"Manage settings that affect your personal experience.": "Manage settings that affect your personal experience.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Fájl importálása nem lehetséges",
|
||||
"Unsubscribed from document": "Leiratkozott a dokumentumról",
|
||||
"Account": "Fiók",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Megjelenés",
|
||||
"Security": "Biztonság",
|
||||
"Features": "Funkciók",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "létrehozta a gyűjteményt",
|
||||
"mentioned you in": "megemlített téged itt:",
|
||||
"left a comment on": "hozzászólt ehhez:",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "megosztva",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "No documents found for your search filters.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Copied",
|
||||
"Revoking": "Revoking",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Are you sure you want to revoke the {{ tokenName }} token?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receive a notification when a document you are subscribed to or a thread you participated in receives a comment",
|
||||
"Mentioned": "Mentioned",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Receive a notification when someone mentions you in a document or comment",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Collection created",
|
||||
"Receive a notification whenever a new collection is created": "Receive a notification whenever a new collection is created",
|
||||
"Invite accepted": "Meghívás elfogadva",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "E-mail cím",
|
||||
"Your email address should be updated in your SSO provider.": "Your email address should be updated in your SSO provider.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Beállítások elmentve",
|
||||
"Delete account": "Fiók törlése",
|
||||
"Manage settings that affect your personal experience.": "Manage settings that affect your personal experience.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Tidak dapat mengimpor berkas",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "Akun",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Rincian",
|
||||
"Security": "Keamanan",
|
||||
"Features": "Fitur",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "created the collection",
|
||||
"mentioned you in": "mentioned you in",
|
||||
"left a comment on": "left a comment on",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "shared",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "Tidak ada dokumen yang ditemukan untuk filter pencarian Anda.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Disalin",
|
||||
"Revoking": "Mencabut",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Apakah Anda yakin ingin mencabut token {{ tokenName }}?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Terima pemberitahuan saat dokumen langganan Anda atau utas yang Anda ikuti menerima komentar",
|
||||
"Mentioned": "Di-mention",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Terima pemberitahuan ketika seseorang me-mention Anda dalam dokumen atau komentar",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Koleksi dibuat",
|
||||
"Receive a notification whenever a new collection is created": "Terima pemberitahuan setiap kali koleksi baru dibuat",
|
||||
"Invite accepted": "Undangan diterima",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Alamat surel",
|
||||
"Your email address should be updated in your SSO provider.": "Alamat surel Anda harus diperbarui di penyedia SSO Anda.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "Integrasi email saat ini dinonaktifkan. Harap setel variabel environment terkait dan mulai ulang server untuk mengaktifkan notifikasi.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Preferensi disimpan",
|
||||
"Delete account": "Hapus akun",
|
||||
"Manage settings that affect your personal experience.": "Kelola pengaturan yang memengaruhi pengalaman pribadi Anda.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Impossibile importare il file",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "Account",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Dettagli",
|
||||
"Security": "Sicurezza",
|
||||
"Features": "Caratteristiche",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "created the collection",
|
||||
"mentioned you in": "mentioned you in",
|
||||
"left a comment on": "left a comment on",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "shared",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "Nessun documento trovato per i tuoi filtri.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Copiato",
|
||||
"Revoking": "Sto revocando",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Sei sicuro di voler revocare il token {{ tokenName }}?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Ricevi una notifica quando un documento a cui sei iscritto o un argomento a cui hai partecipato riceve un commento",
|
||||
"Mentioned": "Ha menzionato",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Ricevi una notifica quando qualcuno ti menziona in un documento o in un commento",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Raccolta creata",
|
||||
"Receive a notification whenever a new collection is created": "Ricevi una notifica ogni volta che viene creata una nuova raccolta",
|
||||
"Invite accepted": "Invito accettato",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Indirizzo email",
|
||||
"Your email address should be updated in your SSO provider.": "Il tuo indirizzo email deve essere aggiornato nel tuo provider SSO.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "L'integrazione email è attualmente disabilitata. Imposta le variabili di ambiente associate e riavvia il server per abilitare le notifiche.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Impostazioni salvate",
|
||||
"Delete account": "Elimina l'account",
|
||||
"Manage settings that affect your personal experience.": "Gestisci le impostazioni che influenzano la tua esperienza personale.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "ファイルをインポートできませんでした",
|
||||
"Unsubscribed from document": "ドキュメントの通知を解除しました",
|
||||
"Account": "アカウント",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "詳細情報",
|
||||
"Security": "セキュリティ",
|
||||
"Features": "機能",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "コレクションを作成しました",
|
||||
"mentioned you in": "あなたがメンションされました",
|
||||
"left a comment on": "がコメントを残しました",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "共有済み",
|
||||
"invited you to": "あなたを招待しました",
|
||||
"Choose a date": "日付を選択",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "エラーが発生しました",
|
||||
"Please try again or contact support if the problem persists": "問題が解決しない場合は、もう一度やり直すか、サポートにお問い合わせください",
|
||||
"No documents found for your search filters.": "検索条件に該当するドキュメントは見つかりませんでした",
|
||||
"API key copied to clipboard": "API キーをクリップボードにコピーしました",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "あなたのワークスペースのデータをプログラムで制御するためにパーソナル API キーを作成します。\nAPI キーはあなたのアカウントと同じ権限を持ちます。詳しくは <em>開発者向けドキュメント</em> を参照してください。",
|
||||
"Personal keys": "パーソナルキー",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "最終使用日",
|
||||
"No expiry": "無期限",
|
||||
"API key copied to clipboard": "API キーをクリップボードにコピーしました",
|
||||
"Copied": "コピーしました",
|
||||
"Revoking": "無効化しています",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "トークン {{ tokenName }} を失効します\nよろしいですか?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "通知を有効にしているドキュメントや参加したスレッドにコメントされたときに通知を受け取る",
|
||||
"Mentioned": "メンション",
|
||||
"Receive a notification when someone mentions you in a document or comment": "誰かがあなたをドキュメントやコメントでメンションしたときに通知を受け取る",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "コレクションが作成されました",
|
||||
"Receive a notification whenever a new collection is created": "新しいコレクションが作成されたときに通知を受け取る",
|
||||
"Invite accepted": "招待が承認されました",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "メールアドレス",
|
||||
"Your email address should be updated in your SSO provider.": "SSO プロバイダーの設定でメールアドレスを更新する必要があります。",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "現在、メールとの連携は無効になっています。\n通知を有効にするためには、関連する環境変数を正しく設定し、サーバーを再起動してください。",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "あなたのワークスペースのデータをプログラムで制御するためにパーソナル API キーを作成します。\nAPI キーはあなたのアカウントと同じ権限を持ちます。詳しくは <em>開発者向けドキュメント</em> を参照してください。",
|
||||
"Personal keys": "パーソナルキー",
|
||||
"Preferences saved": "設定を保存しました",
|
||||
"Delete account": "アカウントの削除",
|
||||
"Manage settings that affect your personal experience.": "個人的な体験を設定します。",
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
"Star": "중요 문서 표시",
|
||||
"Unstar": "중요 문서 해제",
|
||||
"Archive": "보관",
|
||||
"Archive collection": "Archive collection",
|
||||
"Collection archived": "Collection archived",
|
||||
"Archive collection": "아카이브 컬렉션",
|
||||
"Collection archived": "컬렉션 아카이브됨",
|
||||
"Archiving": "보관",
|
||||
"Archiving this collection will also archive all documents within it. Documents from the collection will no longer be visible in search results.": "Archiving this collection will also archive all documents within it. Documents from the collection will no longer be visible in search results.",
|
||||
"Archiving this collection will also archive all documents within it. Documents from the collection will no longer be visible in search results.": "이 컬렉션을 아카이브하면 컬렉션에 포함된 문서 또한 아카이브됩니다. 컬렉션의 문서는 더 이상 검색 결과에 표시되지 않습니다.",
|
||||
"Restore": "복원하기",
|
||||
"Collection restored": "Collection restored",
|
||||
"Collection restored": "컬렉션 복구됨",
|
||||
"Delete": "삭제",
|
||||
"Delete collection": "컬렉션 삭제",
|
||||
"New template": "새 템플릿",
|
||||
@@ -25,8 +25,8 @@
|
||||
"Mark as resolved": "해결됨으로 표시",
|
||||
"Thread resolved": "스레드 해결됨",
|
||||
"Mark as unresolved": "미해결로 표시",
|
||||
"View reactions": "View reactions",
|
||||
"Reactions": "Reactions",
|
||||
"View reactions": "컬렉션 보기",
|
||||
"Reactions": "반응",
|
||||
"Copy ID": "ID 복사",
|
||||
"Clear IndexedDB cache": "IndexedDB 캐시 삭제",
|
||||
"IndexedDB cache cleared": "IndexedDB 캐시 삭제됨",
|
||||
@@ -81,7 +81,7 @@
|
||||
"Move": "이동",
|
||||
"Move to collection": "컬렉션으로 이동",
|
||||
"Move {{ documentType }}": "{{ documentType }} 문서 이동",
|
||||
"Are you sure you want to archive this document?": "Are you sure you want to archive this document?",
|
||||
"Are you sure you want to archive this document?": "정말로 이 문서를 아카이브 하시겠습니까?",
|
||||
"Document archived": "문서가 보관되었습니다",
|
||||
"Archiving this document will remove it from the collection and search results.": "Archiving this document will remove it from the collection and search results.",
|
||||
"Delete {{ documentName }}": "{{ documentName }} 삭제",
|
||||
@@ -94,9 +94,9 @@
|
||||
"Insights": "문서 정보",
|
||||
"Disable viewer insights": "뷰어 정보 비활성화",
|
||||
"Enable viewer insights": "뷰어 정보 활성화",
|
||||
"Leave document": "Leave document",
|
||||
"You have left the shared document": "You have left the shared document",
|
||||
"Could not leave document": "Could not leave document",
|
||||
"Leave document": "문서 나가기",
|
||||
"You have left the shared document": "공유 문서 나갔습니다",
|
||||
"Could not leave document": "문서를 나갈 수 없습니다",
|
||||
"Home": "홈",
|
||||
"Drafts": "임시 보관함",
|
||||
"Trash": "휴지통",
|
||||
@@ -173,7 +173,7 @@
|
||||
"Are you sure you want to permanently delete this entire comment thread?": "이 쓰레드에 있는 댓글들을 영구적으로 삭제하시겠습니까?",
|
||||
"Are you sure you want to permanently delete this comment?": "정말로 이 댓글을 영구적으로 삭제하시겠습니까?",
|
||||
"Confirm": "확인",
|
||||
"manage access": "manage access",
|
||||
"manage access": "접근 관리",
|
||||
"view and edit access": "보기 및 편집 액세스",
|
||||
"view only access": "보기 전용 액세스",
|
||||
"no access": "접근 불가",
|
||||
@@ -196,8 +196,8 @@
|
||||
"Install now": "지금 설치",
|
||||
"Deleted Collection": "삭제 된 콜렉션",
|
||||
"Unpin": "고정 해제",
|
||||
"Select a location to copy": "Select a location to copy",
|
||||
"Document copied": "Document copied",
|
||||
"Select a location to copy": "복사할 위치 선택\n",
|
||||
"Document copied": "문서가 복사되었습니다",
|
||||
"Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?",
|
||||
"Include nested documents": "중첩된 문서 포함",
|
||||
"Copy to <em>{{ location }}</em>": "Copy to <em>{{ location }}</em>",
|
||||
@@ -310,10 +310,10 @@
|
||||
"{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}": "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}",
|
||||
"{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}": "{{ firstUsername }} and {{ count }} other reacted with {{ emoji }}",
|
||||
"{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}_plural": "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}",
|
||||
"Add reaction": "Add reaction",
|
||||
"Add reaction": "리액션 추가",
|
||||
"Reaction picker": "Reaction picker",
|
||||
"Could not load reactions": "Could not load reactions",
|
||||
"Reaction": "Reaction",
|
||||
"Reaction": "리액션",
|
||||
"Results": "결과",
|
||||
"No results for {{query}}": "{{query}} 에 대한 검색결과가 없습니다.",
|
||||
"Manage": "관리",
|
||||
@@ -477,7 +477,7 @@
|
||||
"Sort ascending": "오름차순 정렬",
|
||||
"Sort descending": "내림차순 정렬",
|
||||
"Table": "표",
|
||||
"Export as CSV": "Export as CSV",
|
||||
"Export as CSV": "CSV로 내보내기",
|
||||
"Toggle header": "토글 제목",
|
||||
"Math inline (LaTeX)": "인라인 수식 (LaTeX)",
|
||||
"Math block (LaTeX)": "수식 블록 (LaTeX)",
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "파일을 가져올 수 없음",
|
||||
"Unsubscribed from document": "문서 구독이 취소됨",
|
||||
"Account": "계정",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "세부 정보",
|
||||
"Security": "보안",
|
||||
"Features": "실험적 기능",
|
||||
@@ -515,8 +515,8 @@
|
||||
"Export collection": "컬렉션 내보내기",
|
||||
"Rename": "이름변경",
|
||||
"Sort in sidebar": "사이드바 정렬",
|
||||
"A-Z sort": "A-Z sort",
|
||||
"Z-A sort": "Z-A sort",
|
||||
"A-Z sort": "오름차순",
|
||||
"Z-A sort": "내림차순",
|
||||
"Manual sort": "수동 정렬",
|
||||
"Comment options": "댓글 옵션",
|
||||
"Show document menu": "Show document menu",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "컬렉션 만들기",
|
||||
"mentioned you in": "당신을 언급했습니다",
|
||||
"left a comment on": "댓글을 남겼습니다",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "공유됨",
|
||||
"invited you to": "당신을 초대하였습니다:",
|
||||
"Choose a date": "날짜를 선택하세요",
|
||||
@@ -601,9 +602,9 @@
|
||||
"No comments yet": "아직 댓글이 없습니다.",
|
||||
"New comments": "New comments",
|
||||
"Sort comments": "Sort comments",
|
||||
"Most recent": "Most recent",
|
||||
"Order in doc": "Order in doc",
|
||||
"Resolved": "Resolved",
|
||||
"Most recent": "최신 순",
|
||||
"Order in doc": "문서 내 정렬",
|
||||
"Resolved": "해결 됨",
|
||||
"Show {{ count }} reply": "Show {{ count }} reply",
|
||||
"Show {{ count }} reply_plural": "Show {{ count }} replies",
|
||||
"Error updating comment": "댓글을 업데이트하는 중에 오류가 발생했습니다.",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "문제가 발생했습니다",
|
||||
"Please try again or contact support if the problem persists": "다시 한 번 시도해 보시고 문제가 계속된다면 문의해주세요",
|
||||
"No documents found for your search filters.": "검색조건과 맞는 문서를 찾을 수 없습니다.",
|
||||
"API key copied to clipboard": "API 키가 클립보드에 복사됨",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "개인 API 키를 만들어 API 인증 후 워크스페이스 데이터를\n 프로그래밍 방식으로 제어하세요. API 키는 사용자 계정과 동일한 권한을 가집니다.\n 자세한 내용은 <em>개발자 문서</em>를 참조하세요.",
|
||||
"Personal keys": "개인 키",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "최근 사용",
|
||||
"No expiry": "만료 없음",
|
||||
"API key copied to clipboard": "API 키가 클립보드에 복사됨",
|
||||
"Copied": "복사됨",
|
||||
"Revoking": "취소",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "{{ tokenName }} 토큰을 취소하시겠습니까?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "구독 중인 문서 또는 참여한 스레드가 댓글을 받으면 알림을 받습니다.",
|
||||
"Mentioned": "언급됨",
|
||||
"Receive a notification when someone mentions you in a document or comment": "다른 사람이 문서나 댓글에서 나를 언급하면 알림을 받습니다.",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "컬렉션 생성됨",
|
||||
"Receive a notification whenever a new collection is created": "새 컬렉션이 생성될 때마다 알림을 받습니다",
|
||||
"Invite accepted": "초대 수락됨",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "이메일 주소",
|
||||
"Your email address should be updated in your SSO provider.": "SSO 공급자에서 이메일 주소를 업데이트해야 합니다.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "이메일 통합은 현재 비활성화되어 있습니다. 관련 환경 변수를 설정하고 서버를 다시 시작하여 알림을 활성화하십시오.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "개인 API 키를 만들어 API 인증 후 워크스페이스 데이터를\n 프로그래밍 방식으로 제어하세요. API 키는 사용자 계정과 동일한 권한을 가집니다.\n 자세한 내용은 <em>개발자 문서</em>를 참조하세요.",
|
||||
"Personal keys": "개인 키",
|
||||
"Preferences saved": "설정 저장됨",
|
||||
"Delete account": "계정 삭제",
|
||||
"Manage settings that affect your personal experience.": "개인 경험에 영향을 미치는 설정을 관리합니다.",
|
||||
@@ -1084,8 +1089,8 @@
|
||||
"Link your account in {{ appName }} settings to search from Slack": "Slack으로부터 검색하기 위하여 {{ appName }} 설정에서 계정을 연결하세요",
|
||||
"Configure a Umami installation to send views and analytics from the workspace to your own Umami instance.": "Configure a Umami installation to send views and analytics from the workspace to your own Umami instance.",
|
||||
"The URL of your Umami instance. If you are using Umami Cloud it will begin with {{ url }}": "The URL of your Umami instance. If you are using Umami Cloud it will begin with {{ url }}",
|
||||
"Script name": "Script name",
|
||||
"The name of the script file that Umami uses to track analytics.": "The name of the script file that Umami uses to track analytics.",
|
||||
"Script name": "스크립트 이름",
|
||||
"The name of the script file that Umami uses to track analytics.": "Umami가 분석을 추적하는 데 사용하는 스크립트 파일의 이름입니다.",
|
||||
"An ID that uniquely identifies the website in your Umami instance.": "An ID that uniquely identifies the website in your Umami instance.",
|
||||
"Are you sure you want to delete the {{ name }} webhook?": "{{ name }} 웹훅을 삭제하시겠습니까?",
|
||||
"Webhook updated": "웹훅 업데이트됨",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Kunne ikke importere fil",
|
||||
"Unsubscribed from document": "Avsluttet abonnement fra dokument",
|
||||
"Account": "Konto",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Detaljer",
|
||||
"Security": "Sikkerhet",
|
||||
"Features": "Funksjoner",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "opprettet samlingen",
|
||||
"mentioned you in": "nevnte deg i",
|
||||
"left a comment on": "la igjen en kommentar på",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "delt",
|
||||
"invited you to": "inviterte deg til",
|
||||
"Choose a date": "Velg en dato",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Noe gikk galt",
|
||||
"Please try again or contact support if the problem persists": "Prøv igjen eller kontakt kundestøtte hvis problemet vedvarer",
|
||||
"No documents found for your search filters.": "Ingen dokumenter funnet for søkefiltrene dine.",
|
||||
"API key copied to clipboard": "API-nøkkel kopiert til utklippstavlen",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Opprett en personlig API-nøkkel for å legitimere deg ved bruk av APIet. API-nøkler har samme tilgang som din brukerkonto. For mer informasjon se <em>utviklerdokumentasjonen</em>.",
|
||||
"Personal keys": "Personlige nøkler",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Sist brukt",
|
||||
"No expiry": "Ingen utløpsdato",
|
||||
"API key copied to clipboard": "API-nøkkel kopiert til utklippstavlen",
|
||||
"Copied": "Kopiert",
|
||||
"Revoking": "Tilbakekaller",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Er du sikker på at du vil tilbakekalle {{ tokenName }} token?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Motta en varsling når et dokument du abonnerer på eller en tråd du har deltatt i mottar en kommentar",
|
||||
"Mentioned": "Nevnt",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Motta en varsling når noen nevner deg i et dokument eller en kommentar",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Samling opprettet",
|
||||
"Receive a notification whenever a new collection is created": "Motta en varsling når en ny samling opprettes",
|
||||
"Invite accepted": "Invitasjon akseptert",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "E-postadresse",
|
||||
"Your email address should be updated in your SSO provider.": "Din e-postadresse kan bare endres hos SSO-leverandøren du bruker til å logge inn med.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "E-postintegrasjonen er for øyeblikket deaktivert. Vennligst sett de tilhørende miljøvariablene og start serveren på nytt for å aktivere varslinger.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Opprett en personlig API-nøkkel for å legitimere deg ved bruk av APIet. API-nøkler har samme tilgang som din brukerkonto. For mer informasjon se <em>utviklerdokumentasjonen</em>.",
|
||||
"Personal keys": "Personlige nøkler",
|
||||
"Preferences saved": "Preferanser lagret",
|
||||
"Delete account": "Slett konto",
|
||||
"Manage settings that affect your personal experience.": "Administrer innstillinger som påvirker din personlige opplevelse.",
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
"Mark as resolved": "Markeer als opgelost",
|
||||
"Thread resolved": "Thread opgelost",
|
||||
"Mark as unresolved": "Markeer als onopgelost",
|
||||
"View reactions": "View reactions",
|
||||
"Reactions": "Reactions",
|
||||
"View reactions": "Bekijk reacties",
|
||||
"Reactions": "Reacties",
|
||||
"Copy ID": "Kopieer ID",
|
||||
"Clear IndexedDB cache": "Wis IndexedDB-cache",
|
||||
"IndexedDB cache cleared": "IndexedDB-cache gewist",
|
||||
@@ -310,7 +310,7 @@
|
||||
"{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}": "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}",
|
||||
"{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}": "{{ firstUsername }} and {{ count }} other reacted with {{ emoji }}",
|
||||
"{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}_plural": "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}",
|
||||
"Add reaction": "Add reaction",
|
||||
"Add reaction": "Voeg een reactie toe",
|
||||
"Reaction picker": "Reaction picker",
|
||||
"Could not load reactions": "Could not load reactions",
|
||||
"Reaction": "Reaction",
|
||||
@@ -326,7 +326,7 @@
|
||||
"{{ count }} people and {{ count2 }} groups added to the collection": "{{ count }} people and {{ count2 }} groups added to the collection",
|
||||
"{{ count }} people and {{ count2 }} groups added to the collection_plural": "{{ count }} people and {{ count2 }} groups added to the collection",
|
||||
"Add": "Toevoegen",
|
||||
"Add or invite": "Add or invite",
|
||||
"Add or invite": "Toevoegen of uitnodigen",
|
||||
"Viewer": "Kijker",
|
||||
"Editor": "Bewerker",
|
||||
"Suggestions for invitation": "Suggestions for invitation",
|
||||
@@ -356,7 +356,7 @@
|
||||
"Anyone with the link can access because the parent document, <2>{{documentTitle}}</2>, is shared": "Iedereen met de link heeft toegang, omdat het bovenliggend document <2>{{documentTitle}}</2> wordt gedeeld",
|
||||
"Allow anyone with the link to access": "Geef iedereen met de link toegang",
|
||||
"Publish to internet": "Publiceer op internet",
|
||||
"Search engine indexing": "Search engine indexing",
|
||||
"Search engine indexing": "Indexering zoekmachine",
|
||||
"Disable this setting to discourage search engines from indexing the page": "Disable this setting to discourage search engines from indexing the page",
|
||||
"Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future": "Geneste documenten worden niet gedeeld op het web, schakel hiervoor delen in. Dit zal in de toekomst de standaardinstelling zijn.",
|
||||
"{{ userName }} was added to the document": "{{ userName }} was added to the document",
|
||||
@@ -493,11 +493,11 @@
|
||||
"Indent": "Inspringen",
|
||||
"Outdent": "Uitspringen",
|
||||
"Video": "Video",
|
||||
"None": "None",
|
||||
"None": "Geen",
|
||||
"Could not import file": "Kon bestand niet importeren",
|
||||
"Unsubscribed from document": "Afgemeld voor document",
|
||||
"Account": "Account",
|
||||
"API": "API",
|
||||
"API Keys": "API-sleutels",
|
||||
"Details": "Details",
|
||||
"Security": "Beveiliging",
|
||||
"Features": "Features",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "maakte de collectie",
|
||||
"mentioned you in": "vermeldde je",
|
||||
"left a comment on": "liet een reactie achter op",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "gedeeld",
|
||||
"invited you to": "heeft je uitgenodigd voor",
|
||||
"Choose a date": "Kies een datum",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "Geen documenten gevonden voor je zoekfilters.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Persoonlijke sleutels",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Laatst gebruikt",
|
||||
"No expiry": "Geen vervaldatum",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Gekopieerd",
|
||||
"Revoking": "Intrekken",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Weet je zeker dat je de {{ tokenName }} token wilt intrekken?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Ontvang een melding wanneer een document waarop je geabonneerd bent, of een thread waaraan je hebt deelgenomen, een opmerking ontvangt",
|
||||
"Mentioned": "Vermeld",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Ontvang een melding wanneer iemand je vermeldt in een document of opmerking",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Collectie aangemaakt",
|
||||
"Receive a notification whenever a new collection is created": "Ontvang een melding wanneer een nieuwe collectie wordt gemaakt",
|
||||
"Invite accepted": "Uitnodiging geaccepteerd",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "E-mailadres",
|
||||
"Your email address should be updated in your SSO provider.": "Je e-mailadres moet worden bijgewerkt in je SSO-provider.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "De e-mailintegratie is momenteel uitgeschakeld. Stel de bijbehorende omgevingsvariabelen in en herstart de server om meldingen in te schakelen.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Persoonlijke sleutels",
|
||||
"Preferences saved": "Voorkeuren opgeslagen",
|
||||
"Delete account": "Verwijder account",
|
||||
"Manage settings that affect your personal experience.": "Beheer instellingen die van invloed zijn op je persoonlijke ervaring.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Nie można zaimportować pliku",
|
||||
"Unsubscribed from document": "Wypisano z dokumentu",
|
||||
"Account": "Konto",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Szczegóły",
|
||||
"Security": "Bezpieczeństwo",
|
||||
"Features": "Funkcje",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "utworzył kolekcję",
|
||||
"mentioned you in": "wspomniał o tobie w",
|
||||
"left a comment on": "zostawił komentarz na",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "udostępnione",
|
||||
"invited you to": "zaprosił cię do",
|
||||
"Choose a date": "Wybierz datę",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Coś poszło nie tak",
|
||||
"Please try again or contact support if the problem persists": "Spróbuj ponownie lub skontaktuj się z pomocą techniczną, jeśli problem będzie się powtarzał.",
|
||||
"No documents found for your search filters.": "Nie znaleziono dokumentów dla Twoich filtrów wyszukiwania.",
|
||||
"API key copied to clipboard": "Klucz API został skopiowany do schowka",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Utwórz osobiste klucze API, aby uwierzytelnić się z API i programowo kontrolować\n dane swojego obszaru roboczego. Klucze API mają takie same uprawnienia jak Twoje konto użytkownika.\n Aby uzyskać więcej szczegółów, zobacz <em>dokumentację API </em>.",
|
||||
"Personal keys": "Klucze prywatne",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Ostatnio używane",
|
||||
"No expiry": "Brak terminu ważności",
|
||||
"API key copied to clipboard": "Klucz API został skopiowany do schowka",
|
||||
"Copied": "Skopiowano",
|
||||
"Revoking": "Unieważnianie...",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Czy na pewno chcesz unieważnić token {{ tokenName }}?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Otrzymuj powiadomienie, gdy dokument, który subskrybujesz, lub wątek, w którym uczestniczyłeś, otrzyma komentarz",
|
||||
"Mentioned": "Wspomniany",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Otrzymuj powiadomienie, gdy ktoś wspomni o Tobie w dokumencie lub komentarzu",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Kolekcja utworzona",
|
||||
"Receive a notification whenever a new collection is created": "Otrzymuj powiadomienie o każdym utworzeniu nowej kolekcji",
|
||||
"Invite accepted": "Zaproszenie przyjęte",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Adres e-mail",
|
||||
"Your email address should be updated in your SSO provider.": "Twój adres e-mail powinien zostać zaktualizowany u dostawcy usługi SSO.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "Integracja e-mail jest obecnie wyłączona. Ustaw powiązane zmienne środowiskowe i uruchom ponownie serwer, aby włączyć powiadomienia.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Utwórz osobiste klucze API, aby uwierzytelnić się z API i programowo kontrolować\n dane swojego obszaru roboczego. Klucze API mają takie same uprawnienia jak Twoje konto użytkownika.\n Aby uzyskać więcej szczegółów, zobacz <em>dokumentację API </em>.",
|
||||
"Personal keys": "Klucze prywatne",
|
||||
"Preferences saved": "Preferencje zostały zapisane",
|
||||
"Delete account": "Usuń konto",
|
||||
"Manage settings that affect your personal experience.": "Zarządzaj ustawieniami, które wpływają na Twoje osobiste doświadczenia.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Não foi possível importar o arquivo",
|
||||
"Unsubscribed from document": "Cancelada inscrição do documento",
|
||||
"Account": "Conta",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Detalhes",
|
||||
"Security": "Segurança",
|
||||
"Features": "Funcionalidades",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "criou a coleção",
|
||||
"mentioned you in": "mencionou você em",
|
||||
"left a comment on": "deixou um comentário em",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "compartilhado",
|
||||
"invited you to": "convidou você para",
|
||||
"Choose a date": "Escolhar uma data",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Algo deu errado",
|
||||
"Please try again or contact support if the problem persists": "Tente novamente ou entre em contato com o suporte se o problema persistir",
|
||||
"No documents found for your search filters.": "Nenhum documento encontrado para seus filtros de pesquisa.",
|
||||
"API key copied to clipboard": "Chave da API copiada para a área de transferência",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Crie chaves de API pessoais para autenticar com a API e controlar programaticamente os dados de\n do espaço de trabalho. Chaves API têm as mesmas permissões que a sua conta de usuário.\n Para mais detalhes, consulte a <em>documentação para desenvolvedores</em>.",
|
||||
"Personal keys": "Chaves pessoais",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Última utilização",
|
||||
"No expiry": "Não expira",
|
||||
"API key copied to clipboard": "Chave da API copiada para a área de transferência",
|
||||
"Copied": "Copiado",
|
||||
"Revoking": "Revogando",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Tem certeza de que deseja revogar a chave de api {{ tokenName }}?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receber uma notificação quando um documento que você está inscrito ou um tópico em que você participou recebe um comentário",
|
||||
"Mentioned": "Mencionado",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Receba uma notificação quando alguém mencionar você em um documento ou comentário",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Coleção criada",
|
||||
"Receive a notification whenever a new collection is created": "Receba uma notificação sempre que uma nova coleção for criada",
|
||||
"Invite accepted": "Convite aceito",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Endereço de Email",
|
||||
"Your email address should be updated in your SSO provider.": "Seu endereço de e-mail deve ser atualizado no seu provedor SSO.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "A integração de e-mail está atualmente desativada. Defina as variáveis de ambiente associadas e reinicie o servidor para ativar as notificações.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Crie chaves de API pessoais para autenticar com a API e controlar programaticamente os dados de\n do espaço de trabalho. Chaves API têm as mesmas permissões que a sua conta de usuário.\n Para mais detalhes, consulte a <em>documentação para desenvolvedores</em>.",
|
||||
"Personal keys": "Chaves pessoais",
|
||||
"Preferences saved": "Preferências salvas",
|
||||
"Delete account": "Excluir a conta",
|
||||
"Manage settings that affect your personal experience.": "Gerencie as configurações que afetam sua experiência pessoal.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Não foi possível importar o ficheiro",
|
||||
"Unsubscribed from document": "Desinscrever do documento",
|
||||
"Account": "Conta",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Detalhes",
|
||||
"Security": "Segurança",
|
||||
"Features": "Funcionalidades",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "criar coleção",
|
||||
"mentioned you in": "mencionou-te em",
|
||||
"left a comment on": "deixou um comentário em",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "partilhado",
|
||||
"invited you to": "convidou-o para",
|
||||
"Choose a date": "Escolher data",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Ocorreu um erro",
|
||||
"Please try again or contact support if the problem persists": "Tente novamente ou contate o suporte se o problema persistir",
|
||||
"No documents found for your search filters.": "Nenhum documento encontrado para os seus filtros.",
|
||||
"API key copied to clipboard": "A chave API foi copiada para a área de transferência",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Crie chaves de API pessoais para autenticar com a API e controlar programaticamente os dados de\n da área de trabalho. Chaves API têm as mesmas permissões que a sua conta de usuário.\n Para mais detalhes, consulte a documentação de desenvolvedor <em>do</em>.",
|
||||
"Personal keys": "Chaves pessoais",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Última utilização",
|
||||
"No expiry": "Sem expiração",
|
||||
"API key copied to clipboard": "A chave API foi copiada para a área de transferência",
|
||||
"Copied": "Copiado",
|
||||
"Revoking": "A revogar",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Tem certeza que quer revogar o token {{ tokenName }}?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receber notificação quando um documento em que está inscrito ou um tópico em que participou receber um comentário",
|
||||
"Mentioned": "Mencionado",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Receber notificação quando alguém o mencionar num documento ou comentário",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Coleção criada",
|
||||
"Receive a notification whenever a new collection is created": "Receber notificação sempre que novo documento for publicado",
|
||||
"Invite accepted": "Convite aceite",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Endereço de e-mail",
|
||||
"Your email address should be updated in your SSO provider.": "O seu endereço de e-mail deve ser atualizado no provedor SSO.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "A integração de e-mail está inativa. Por favor, defina as variáveis de ambiente associadas e reinicie o servidor para habilitar notificações.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Crie chaves de API pessoais para autenticar com a API e controlar programaticamente os dados de\n da área de trabalho. Chaves API têm as mesmas permissões que a sua conta de usuário.\n Para mais detalhes, consulte a documentação de desenvolvedor <em>do</em>.",
|
||||
"Personal keys": "Chaves pessoais",
|
||||
"Preferences saved": "Preferências guardadas",
|
||||
"Delete account": "Apagar conta",
|
||||
"Manage settings that affect your personal experience.": "Faça a gestão das configurações que afetam a sua experiência pessoal.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Kan inte importera fil",
|
||||
"Unsubscribed from document": "Prenumeration avslutad från dokument",
|
||||
"Account": "Konto",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Detaljer",
|
||||
"Security": "Säkerhet",
|
||||
"Features": "Funktioner",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "skapade samlingen",
|
||||
"mentioned you in": "nämnde dig i",
|
||||
"left a comment on": "lämnade en kommentar på",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "delad",
|
||||
"invited you to": "bjöd in dig till",
|
||||
"Choose a date": "Välj ett datum",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Något gick fel",
|
||||
"Please try again or contact support if the problem persists": "Vänligen försök igen eller kontakta supporten om problemet kvarstår",
|
||||
"No documents found for your search filters.": "Inga dokument funna för dina sökfilter.",
|
||||
"API key copied to clipboard": "API-nyckel kopierad till urklipp",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Skapa personliga API-nycklar för att autentisera dig med API:et och styra din arbetsytas data på ett systematiskt sätt. API-nycklar har samma behörigheter som ditt användarkonto. För mer information se <em>utvecklardokumentationen</em>.",
|
||||
"Personal keys": "Personliga nycklar",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Senast använd",
|
||||
"No expiry": "Ingen utgång",
|
||||
"API key copied to clipboard": "API-nyckel kopierad till urklipp",
|
||||
"Copied": "Kopierad",
|
||||
"Revoking": "Återkallar",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Är du säker på att du vill återkalla {{ tokenName }} -token?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Få ett meddelande när ett dokument du prenumererar på eller en tråd du deltog i får en kommentar",
|
||||
"Mentioned": "Omnämnd",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Få ett meddelande när någon nämner dig i ett dokument eller en kommentar",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Samling skapad",
|
||||
"Receive a notification whenever a new collection is created": "Få ett meddelande när en ny samling skapas",
|
||||
"Invite accepted": "Inbjudan: accepterad",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "E-postadress",
|
||||
"Your email address should be updated in your SSO provider.": "Din e-postadress måste uppdateras i din SSO-leverantör.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "E-postintegrationen är för närvarande inaktiverad. Ställ in de associerade miljövariablerna och starta om servern för att aktivera aviseringar.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Skapa personliga API-nycklar för att autentisera dig med API:et och styra din arbetsytas data på ett systematiskt sätt. API-nycklar har samma behörigheter som ditt användarkonto. För mer information se <em>utvecklardokumentationen</em>.",
|
||||
"Personal keys": "Personliga nycklar",
|
||||
"Preferences saved": "Inställningar sparade",
|
||||
"Delete account": "Radera konto",
|
||||
"Manage settings that affect your personal experience.": "Hantera inställningar som påverkar din personliga upplevelse.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "ไม่สามารถนำเข้าไฟล์ได้",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "บัญชีผู้ใช้",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "รายละเอียด",
|
||||
"Security": "ความปลอดภัย",
|
||||
"Features": "คุณสมบัติ",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "created the collection",
|
||||
"mentioned you in": "mentioned you in",
|
||||
"left a comment on": "left a comment on",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "shared",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "No documents found for your search filters.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Copied",
|
||||
"Revoking": "Revoking",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Are you sure you want to revoke the {{ tokenName }} token?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receive a notification when a document you are subscribed to or a thread you participated in receives a comment",
|
||||
"Mentioned": "Mentioned",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Receive a notification when someone mentions you in a document or comment",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Collection created",
|
||||
"Receive a notification whenever a new collection is created": "Receive a notification whenever a new collection is created",
|
||||
"Invite accepted": "Invite accepted",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Email address",
|
||||
"Your email address should be updated in your SSO provider.": "Your email address should be updated in your SSO provider.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Preferences saved",
|
||||
"Delete account": "Delete account",
|
||||
"Manage settings that affect your personal experience.": "Manage settings that affect your personal experience.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Dosya içe aktarılamadı",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "Hesap",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Ayrıntılar",
|
||||
"Security": "Güvenlik",
|
||||
"Features": "Özellikler",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "created the collection",
|
||||
"mentioned you in": "mentioned you in",
|
||||
"left a comment on": "left a comment on",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "shared",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "Arama filtreleriniz için belge bulunamadı.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Copied",
|
||||
"Revoking": "Revoking",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Are you sure you want to revoke the {{ tokenName }} token?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receive a notification when a document you are subscribed to or a thread you participated in receives a comment",
|
||||
"Mentioned": "Mentioned",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Receive a notification when someone mentions you in a document or comment",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Koleksiyon oluşturuldu",
|
||||
"Receive a notification whenever a new collection is created": "Yeni bir koleksiyon oluşturulduğunda bildirim alın",
|
||||
"Invite accepted": "Invite accepted",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "E-posta adresi",
|
||||
"Your email address should be updated in your SSO provider.": "E-posta adresiniz SSO sağlayıcınızda güncellenmelidir.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "E-posta entegrasyonu şu anda devre dışı. Lütfen ilişkili ortam değişkenlerini ayarlayın ve bildirimleri etkinleştirmek için sunucuyu yeniden başlatın.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Preferences saved",
|
||||
"Delete account": "Hesabı sil",
|
||||
"Manage settings that affect your personal experience.": "Manage settings that affect your personal experience.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Не вдалося імпортувати файл",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "Обліковий запис",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Деталі",
|
||||
"Security": "Безпека",
|
||||
"Features": "Фічі",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "створено колекцію",
|
||||
"mentioned you in": "згадав вас у",
|
||||
"left a comment on": "залишив коментар до",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "shared",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "Не знайдено жодного документу за вашими фільтрами.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "Скопійовано",
|
||||
"Revoking": "Анулювання",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Ви впевнені, що хочете відкликати {{ tokenName }} токен?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Отримувати сповіщення, коли документ, на який ви підписані, або ланцюжок, у якому ви брали участь, отримує коментар",
|
||||
"Mentioned": "Згадано",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Отримувати сповіщення, коли хтось згадує вас у документі чи коментарі",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Колекція створена",
|
||||
"Receive a notification whenever a new collection is created": "Отримувати сповіщення щоразу, коли публікується новий документ",
|
||||
"Invite accepted": "Запрошення прийнято",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Адреса електронної пошти",
|
||||
"Your email address should be updated in your SSO provider.": "Вашу адресу електронної пошти слід оновити в системі єдиного входу вашого провайдера SSO.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "Інтеграцію електронної пошти наразі вимкнено. Встановіть відповідні змінні середовища та перезапустіть сервер, щоб увімкнути сповіщення.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Налаштування збережено",
|
||||
"Delete account": "Видалити обліковий запис",
|
||||
"Manage settings that affect your personal experience.": "Керувати налаштуваннями, які впливають на ваш особистий досвід.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "Không thể nhập file",
|
||||
"Unsubscribed from document": "Unsubscribed from document",
|
||||
"Account": "Tài khoản",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "Chi tiết",
|
||||
"Security": "Bảo mật",
|
||||
"Features": "Các tính năng",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "created the collection",
|
||||
"mentioned you in": "mentioned you in",
|
||||
"left a comment on": "left a comment on",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "được chia sẻ",
|
||||
"invited you to": "invited you to",
|
||||
"Choose a date": "Choose a date",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "Something went wrong",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "Không tìm thấy tài liệu nào cho bộ lọc tìm kiếm của bạn.",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "Last used",
|
||||
"No expiry": "No expiry",
|
||||
"API key copied to clipboard": "API key copied to clipboard",
|
||||
"Copied": "\u001dĐã sao chép",
|
||||
"Revoking": "Đang thu hồi",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "Bạn có chắc chắn muốn thu hồi Token {{ tokenName }} không?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Nhận thông báo khi tài liệu bạn đã đăng ký hoặc chủ đề bạn tham gia nhận được nhận xét",
|
||||
"Mentioned": "Được nhắc đến",
|
||||
"Receive a notification when someone mentions you in a document or comment": "Nhận thông báo khi ai đó đề cập đến bạn trong tài liệu hoặc nhận xét",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "Bộ sưu tập đã được tạo",
|
||||
"Receive a notification whenever a new collection is created": "Nhận thông báo bất cứ khi nào một bộ sưu tập mới được tạo",
|
||||
"Invite accepted": "Đã chấp nhận Lời mời",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "Địa chỉ email",
|
||||
"Your email address should be updated in your SSO provider.": "Địa chỉ email của bạn phải được cập nhật trong nhà cung cấp SSO của bạn.",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "Tích hợp email hiện đã bị vô hiệu hóa. Vui lòng đặt các biến môi trường được liên kết và khởi động lại máy chủ để bật thông báo.",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "Personal keys",
|
||||
"Preferences saved": "Lưu tùy chọn",
|
||||
"Delete account": "Xoá tài khoản",
|
||||
"Manage settings that affect your personal experience.": "Quản lý cài đặt ảnh hưởng đến trải nghiệm cá nhân của bạn.",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "无法导入文件",
|
||||
"Unsubscribed from document": "取消订阅文档",
|
||||
"Account": "账号",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "详情",
|
||||
"Security": "安全性",
|
||||
"Features": "功能",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "文档集已创建",
|
||||
"mentioned you in": "提及你在",
|
||||
"left a comment on": "留下评论在",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "已共享",
|
||||
"invited you to": "邀请你加入",
|
||||
"Choose a date": "选择一个日期",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "出现了一些错误",
|
||||
"Please try again or contact support if the problem persists": "如果问题持续存在,请重试或联系支持人员。",
|
||||
"No documents found for your search filters.": "没有为你的搜索筛选找到文档。",
|
||||
"API key copied to clipboard": "API key 已复制到剪贴板",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "创建个人的 API key 以通过 API 进行身份验证并在程序上控制\n 你的工作区数据。 API key 与你的用户帐户具有相同的权限。\n 关于更多详细信息,请参阅 <em>开发者文档</em>。",
|
||||
"Personal keys": "私人 keys",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "最后使用的",
|
||||
"No expiry": "没有到期",
|
||||
"API key copied to clipboard": "API key 已复制到剪贴板",
|
||||
"Copied": "已复制",
|
||||
"Revoking": "吊销中",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "确认吊销这个 {{ tokenName }} token 吗?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "每当你订阅的文档或参与的话题收到评论时收到通知",
|
||||
"Mentioned": "被提及",
|
||||
"Receive a notification when someone mentions you in a document or comment": "每当有人在文档或评论中提及你时收到通知",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "已创建文档集",
|
||||
"Receive a notification whenever a new collection is created": "每当创建新文档集时收到通知",
|
||||
"Invite accepted": "邀请已被接受",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "电子邮件地址",
|
||||
"Your email address should be updated in your SSO provider.": "你的电子邮件地址应该在你的 SSO 提供商中更新。",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "电子邮件集成当前已禁用。请设置相关的环境变量并重新启动服务器以启用通知。",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "创建个人的 API key 以通过 API 进行身份验证并在程序上控制\n 你的工作区数据。 API key 与你的用户帐户具有相同的权限。\n 关于更多详细信息,请参阅 <em>开发者文档</em>。",
|
||||
"Personal keys": "私人 keys",
|
||||
"Preferences saved": "首选项已保存",
|
||||
"Delete account": "删除账户",
|
||||
"Manage settings that affect your personal experience.": "管理影响你个人体验的设置。",
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
"Could not import file": "無法匯入檔案",
|
||||
"Unsubscribed from document": "取消訂閱文件",
|
||||
"Account": "帳號",
|
||||
"API": "API",
|
||||
"API Keys": "API Keys",
|
||||
"Details": "詳細",
|
||||
"Security": "安全性",
|
||||
"Features": "功能特色",
|
||||
@@ -557,6 +557,7 @@
|
||||
"created the collection": "建立文件集",
|
||||
"mentioned you in": "提到了您:",
|
||||
"left a comment on": "發表評論",
|
||||
"resolved a comment on": "resolved a comment on",
|
||||
"shared": "已分享",
|
||||
"invited you to": "邀請您到",
|
||||
"Choose a date": "選擇日期",
|
||||
@@ -829,11 +830,12 @@
|
||||
"Something went wrong": "發生了某些錯誤",
|
||||
"Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists",
|
||||
"No documents found for your search filters.": "沒有符合篩選條件的文件。",
|
||||
"API key copied to clipboard": "API 金鑰已複製到剪貼簿",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "個人金鑰",
|
||||
"API": "API",
|
||||
"API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the <em>developer documentation</em>.",
|
||||
"by {{ name }}": "by {{ name }}",
|
||||
"Last used": "最近使用",
|
||||
"No expiry": "永久有效",
|
||||
"API key copied to clipboard": "API 金鑰已複製到剪貼簿",
|
||||
"Copied": "已複製",
|
||||
"Revoking": "撤銷中",
|
||||
"Are you sure you want to revoke the {{ tokenName }} token?": "您確定要撤銷 {{ tokenName }} 權杖嗎?",
|
||||
@@ -938,6 +940,7 @@
|
||||
"Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "當您訂閱的文件或參與的話題收到評論時收到通知",
|
||||
"Mentioned": "提及到",
|
||||
"Receive a notification when someone mentions you in a document or comment": "當有人在文件或評論中提及您時收到通知",
|
||||
"Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved",
|
||||
"Collection created": "文件集已建立",
|
||||
"Receive a notification whenever a new collection is created": "當新的文件集建立時接收通知",
|
||||
"Invite accepted": "邀請已被接受",
|
||||
@@ -958,6 +961,8 @@
|
||||
"Email address": "電子郵件地址",
|
||||
"Your email address should be updated in your SSO provider.": "您應在您的 SSO 服務供應商中更新您的的電子郵件地址。",
|
||||
"The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "電子郵件整合目前已停用,若要啟用通知,請設定相關的環境變數並重新啟動伺服器",
|
||||
"Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the <em>developer documentation</em>.",
|
||||
"Personal keys": "個人金鑰",
|
||||
"Preferences saved": "已保存偏好設定",
|
||||
"Delete account": "刪除帳號",
|
||||
"Manage settings that affect your personal experience.": "管理影響您個人體驗的設定。",
|
||||
|
||||
@@ -8,7 +8,7 @@ const defaultColors: Colors = {
|
||||
lightBlack: "#2F3336",
|
||||
almostWhite: "#E6E6E6",
|
||||
veryDarkBlue: "#08090C",
|
||||
slate: "#9BA6B2",
|
||||
slate: "#66778F",
|
||||
slateLight: "#DAE1E9",
|
||||
slateDark: "#394351",
|
||||
smoke: "#F4F7FA",
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
const SSR = typeof window === "undefined";
|
||||
/**
|
||||
* Returns true if we're running in the browser.
|
||||
*/
|
||||
export const isBrowser = typeof window !== "undefined";
|
||||
|
||||
/**
|
||||
* Returns true if the client is a touch device.
|
||||
*/
|
||||
export function isTouchDevice(): boolean {
|
||||
if (SSR) {
|
||||
if (!isBrowser) {
|
||||
return false;
|
||||
}
|
||||
return window.matchMedia?.("(hover: none) and (pointer: coarse)")?.matches;
|
||||
@@ -14,7 +17,7 @@ export function isTouchDevice(): boolean {
|
||||
* Returns true if the client is running on a Mac.
|
||||
*/
|
||||
export function isMac(): boolean {
|
||||
if (SSR) {
|
||||
if (!isBrowser) {
|
||||
return false;
|
||||
}
|
||||
return window.navigator.platform === "MacIntel";
|
||||
@@ -24,7 +27,7 @@ export function isMac(): boolean {
|
||||
* Returns true if the client is running on Windows.
|
||||
*/
|
||||
export function isWindows(): boolean {
|
||||
if (SSR) {
|
||||
if (!isBrowser) {
|
||||
return false;
|
||||
}
|
||||
return window.navigator.platform === "Win32";
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
const escapes: [RegExp, string][] = [
|
||||
[/\\/g, "\\\\"],
|
||||
[/\*/g, "\\*"],
|
||||
[/^-/g, "\\-"],
|
||||
[/^\+ /g, "\\+ "],
|
||||
[/^(=+)/g, "\\$1"],
|
||||
[/^(#{1,6}) /g, "\\$1 "],
|
||||
[/`/g, "\\`"],
|
||||
[/^~~~/g, "\\~~~"],
|
||||
[/\[/g, "\\["],
|
||||
[/\]/g, "\\]"],
|
||||
[/\(/g, "\\("], // OLN-91
|
||||
[/\)/g, "\\)"], // OLN-91
|
||||
[/^>/g, "\\>"],
|
||||
[/_/g, "\\_"],
|
||||
[/^(\d+)\. /g, "$1\\. "],
|
||||
[/\$/g, "\\$"],
|
||||
];
|
||||
|
||||
/**
|
||||
* Escape markdown characters in a string
|
||||
*
|
||||
* @param text - The text to escape
|
||||
* @returns The escaped text
|
||||
*/
|
||||
export const escape = function (text: string) {
|
||||
return escapes.reduce(function (accumulator, esc) {
|
||||
return accumulator.replace(esc[0], esc[1]);
|
||||
}, text);
|
||||
};
|
||||
|
||||
/**
|
||||
* Unescape markdown characters in a string
|
||||
*
|
||||
* @param text - The text to unescape
|
||||
* @returns The unescaped text
|
||||
*/
|
||||
export const unescape = function (text: string) {
|
||||
return text.replace(/\\([\\*+-\d.])/g, "$1");
|
||||
};
|
||||
Loaded 100 of 106 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user