Replaced copyright start year + format

This commit is contained in:
Alexey Safronov 2024-03-21 18:09:55 +04:00
parent 6d183ab648
commit c9234fec72
2231 changed files with 9606 additions and 9548 deletions

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
# (c) Copyright Ascensio System SIA 2010-2024
# (c) Copyright Ascensio System SIA 2009-2024
#
# This program is a free software product.
# You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -27,10 +27,10 @@
// script to enable webpack-bundle-analyzer
process.env.NODE_ENV = "production";
const webpack = require("webpack");
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
.BundleAnalyzerPlugin;
const BundleAnalyzerPlugin =
require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
const webpackConfigProd = require("react-scripts/config/webpack.config")(
"production"
"production",
);
webpackConfigProd.plugins.push(new BundleAnalyzerPlugin());

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -32,5 +32,5 @@ beforeBuild(
path.join(__dirname, "../public/locales"),
path.join(__dirname, "../../../public/locales"),
],
path.join(__dirname, "../src/helpers/autoGeneratedTranslations.js")
path.join(__dirname, "../src/helpers/autoGeneratedTranslations.js"),
);

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -198,7 +198,7 @@ const withHotkeys = (Component) => {
break;
}
},
hotkeysFilter
hotkeysFilter,
);
// //Select bottom element
@ -253,7 +253,7 @@ const withHotkeys = (Component) => {
useHotkeys(
"v",
() => (viewAs === "tile" ? setViewAs("table") : setViewAs("tile")),
hotkeysFilter
hotkeysFilter,
);
//Crete document
@ -288,7 +288,7 @@ const withHotkeys = (Component) => {
setSelectFileDialogVisible(true);
},
hotkeysFilter
hotkeysFilter,
);
//Crete folder
@ -345,7 +345,7 @@ const withHotkeys = (Component) => {
}
},
hotkeysFilter,
[confirmDelete]
[confirmDelete],
);
// //TODO: Undo the last action
@ -368,14 +368,14 @@ const withHotkeys = (Component) => {
useHotkeys(
"Ctrl+num_divide, Ctrl+/, command+/",
() => setHotkeyPanelVisible(true),
hotkeysFilter
hotkeysFilter,
);
useHotkeys("Ctrl+c, command+c", () => copyToClipboard(t), hotkeysFilter);
useHotkeys(
"Ctrl+x, command+x",
() => copyToClipboard(t, true),
hotkeysFilter
hotkeysFilter,
);
//Upload file
@ -386,7 +386,7 @@ const withHotkeys = (Component) => {
uploadFile(false, navigate, t);
},
hotkeysFilter
hotkeysFilter,
);
//Upload folder
@ -397,7 +397,7 @@ const withHotkeys = (Component) => {
uploadFile(true);
},
hotkeysFilter
hotkeysFilter,
);
return <Component {...props} />;
@ -534,7 +534,7 @@ const withHotkeys = (Component) => {
uploadClipboardFiles,
};
}
},
)(observer(WithHotkeys));
};

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import React from "react";
import React from "react";
import { inject, observer } from "mobx-react";
import { withTranslation } from "react-i18next";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -35,7 +35,7 @@ import GiftReactSvgUrl from "PUBLIC_DIR/images/gift.react.svg?url";
const PROXY_BASE_URL = combineUrl(
window.DocSpaceConfig?.proxy?.url,
"/portal-settings"
"/portal-settings",
);
const bonusUrl = combineUrl(PROXY_BASE_URL, "/bonus");

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import PropTypes from "prop-types";
import PropTypes from "prop-types";
import styled from "styled-components";
import React, { useState } from "react";
import { inject, observer } from "mobx-react";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import React from "react";
import React from "react";
import { inject, observer } from "mobx-react";
import { withTranslation } from "react-i18next";
@ -51,7 +51,7 @@ const PureSettingsItem = ({ t, showText, isActive, onClick }) => {
};
const SettingsItem = withTranslation(["FilesSettings", "Common"])(
PureSettingsItem
PureSettingsItem,
);
export default inject(({ settingsStore }) => {

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -41,6 +41,6 @@ export default inject(({ authStore }) => {
};
})(
withTranslation([])(
withLoader(observer(ArticleHeaderContent))(<ArticleHeaderLoader />)
)
withLoader(observer(ArticleHeaderContent))(<ArticleHeaderLoader />),
),
);

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import CrossSidebarReactSvgUrl from "PUBLIC_DIR/images/cross.sidebar.react.svg?url";
import CrossSidebarReactSvgUrl from "PUBLIC_DIR/images/cross.sidebar.react.svg?url";
import MobileActionsRemoveReactSvgUrl from "PUBLIC_DIR/images/mobile.actions.remove.react.svg?url";
import React from "react";
import styled, { css } from "styled-components";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import ActionsUploadReactSvgUrl from "PUBLIC_DIR/images/actions.upload.react.svg?url";
import ActionsUploadReactSvgUrl from "PUBLIC_DIR/images/actions.upload.react.svg?url";
import FormReactSvgUrl from "PUBLIC_DIR/images/access.form.react.svg?url";
import FormBlankReactSvgUrl from "PUBLIC_DIR/images/form.blank.react.svg?url";
import FormFileReactSvgUrl from "PUBLIC_DIR/images/form.file.react.svg?url";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import styled from "styled-components";
import styled from "styled-components";
import React, { useState } from "react";
import UnpinReactSvgUrl from "PUBLIC_DIR/images/unpin.react.svg?url";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import BreakpointWarningSvgUrl from "PUBLIC_DIR/images/manage.access.rights.react.svg?url";
import BreakpointWarningSvgUrl from "PUBLIC_DIR/images/manage.access.rights.react.svg?url";
import BreakpointWarningSvgDarkUrl from "PUBLIC_DIR/images/manage.access.rights.dark.react.svg?url";
import React from "react";
import { Trans, withTranslation } from "react-i18next";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -116,7 +116,7 @@ const EditingWrapper = styled.div`
? "13px"
: props.viewAs === "tile"
? "14px"
: "15px"
: "15px",
)};
outline: 0 !important;
font-weight: 600;

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import EmptyScreenFilterAltSvgUrl from "PUBLIC_DIR/images/empty_screen_filter_alt.svg?url";
import EmptyScreenFilterAltSvgUrl from "PUBLIC_DIR/images/empty_screen_filter_alt.svg?url";
import EmptyScreenFilterAltDarkSvgUrl from "PUBLIC_DIR/images/empty_screen_filter_alt_dark.svg?url";
import ClearEmptyFilterSvgUrl from "PUBLIC_DIR/images/clear.empty.filter.svg?url";
import React from "react";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import RoomsReactSvgUrl from "PUBLIC_DIR/images/rooms.react.svg?url";
import RoomsReactSvgUrl from "PUBLIC_DIR/images/rooms.react.svg?url";
import ManageAccessRightsReactSvgUrl from "PUBLIC_DIR/images/manage.access.rights.react.svg?url";
import ManageAccessRightsReactSvgDarkUrl from "PUBLIC_DIR/images/manage.access.rights.dark.react.svg?url";
import React from "react";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import PrivacySvgUrl from "PUBLIC_DIR/images/privacy.svg?url";
import PrivacySvgUrl from "PUBLIC_DIR/images/privacy.svg?url";
import PersonSvgUrl from "PUBLIC_DIR/images/person.svg?url";
import PlusSvgUrl from "PUBLIC_DIR/images/plus.svg?url";
import RoomsReactSvgUrl from "PUBLIC_DIR/images/rooms.react.svg?url";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -85,7 +85,7 @@ const CreatePluginFile = ({
updateMainButtonItems,
updateProfileMenuItems,
updateEventListenerItems,
updateFileItems
updateFileItems,
);
onCloseAction();
};
@ -117,7 +117,7 @@ const CreatePluginFile = ({
updateMainButtonItems,
updateProfileMenuItems,
updateEventListenerItems,
updateFileItems
updateFileItems,
);
};

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -150,5 +150,5 @@ export default inject(
enableThirdParty,
deleteThirdParty,
};
}
},
)(observer(CreateRoomEvent));

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -91,8 +91,8 @@ const RenameEvent = ({
t("FileRenamed", {
oldTitle: item.title,
newTitle: value + item.fileExst,
})
)
}),
),
)
.catch((err) => {
toastr.error(err);
@ -115,7 +115,7 @@ const RenameEvent = ({
t("FolderRenamed", {
folderTitle: item.title,
newFoldedTitle: value,
})
}),
);
})
.catch((err) => {
@ -136,7 +136,7 @@ const RenameEvent = ({
onClose && onClose(e);
setEventDialogVisible(false);
},
[onClose, setEventDialogVisible]
[onClose, setEventDialogVisible],
);
return (
@ -184,5 +184,5 @@ export default inject(
setSelectedFolder,
};
}
},
)(observer(RenameEvent));

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -80,7 +80,7 @@ const Dialog = ({
if (e.keyCode === 13 && !withForm && !isError) onSaveAction(e);
},
[value, isError]
[value, isError],
);
useEffect(() => {
@ -119,7 +119,7 @@ const Dialog = ({
isCreateDialog && isChecked && setKeepNewFileName(isChecked);
onSave && onSave(e, value);
},
[onSave, isCreateDialog, value, isChecked]
[onSave, isCreateDialog, value, isChecked],
);
const onCancelAction = useCallback((e) => {

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import SecuritySvgUrl from "PUBLIC_DIR/images/security.svg?url";
import SecuritySvgUrl from "PUBLIC_DIR/images/security.svg?url";
import styled from "styled-components";
import { commonIconsStyles } from "@docspace/shared/utils";
@ -56,7 +56,7 @@ export const StyledFavoriteIcon = styled(FavoriteIcon)`
`;
export const StyledFileActionsConvertEditDocIcon = styled(
FileActionsConvertEditDocIcon
FileActionsConvertEditDocIcon,
)`
${commonIconsStyles}
path {

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import SecuritySvgUrl from "PUBLIC_DIR/images/security.svg?url";
import SecuritySvgUrl from "PUBLIC_DIR/images/security.svg?url";
import { inject, observer } from "mobx-react";
import styled, { css } from "styled-components";
import { Base } from "@docspace/shared/themes";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -55,14 +55,14 @@ class MobileLayout extends Component {
componentDidMount() {
this.customScrollElm = document.querySelector(
"#customScrollBar > .scroll-wrapper > .scroller"
"#customScrollBar > .scroll-wrapper > .scroller",
);
if (!isChrome) this.customScrollElm.scrollTo(0, 0);
this.customScrollElm.addEventListener(
"scroll",
this.scrolledTheVerticalAxis
this.scrolledTheVerticalAxis,
);
// this.setState({ visibleContent: true });
@ -71,7 +71,7 @@ class MobileLayout extends Component {
componentWillUnmount() {
this.customScrollElm.removeEventListener(
"scroll",
this.scrolledTheVerticalAxis
this.scrolledTheVerticalAxis,
);
}

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -33,7 +33,7 @@ export default function ScrollToTop() {
useEffect(() => {
scrollRef.current = document.querySelector(
"#customScrollBar > .scroll-wrapper > .scroller"
"#customScrollBar > .scroll-wrapper > .scroller",
);
}, []);

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -118,7 +118,7 @@ const Main = (props) => {
setMainHeight(correctHeight);
},
[mainBarVisible, isBannerVisible, isFrame]
[mainBarVisible, isBannerVisible, isFrame],
);
return <StyledMain className="main" mainHeight={mainHeight} {...props} />;

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -122,10 +122,10 @@ const Bar = (props) => {
tenantCustomQuota: !closed.includes(QuotaBarTypes.TenantCustomQuota),
userQuota: !closed.includes(QuotaBarTypes.UserQuota),
storageAndRoomQuota: !closed.includes(
QuotaBarTypes.UserAndStorageQuota
QuotaBarTypes.UserAndStorageQuota,
),
storageAndUserQuota: !closed.includes(
QuotaBarTypes.RoomAndStorageQuota
QuotaBarTypes.RoomAndStorageQuota,
),
}));
}
@ -199,7 +199,7 @@ const Bar = (props) => {
const onClickTenantCustomQuota = (type) => {
const managementPageUrl = combineUrl(
"/portal-settings",
"/management/disk-space"
"/management/disk-space",
);
navigate(managementPageUrl);
@ -423,5 +423,5 @@ export default inject(
tenantCustomQuota,
showTenantCustomQuotaBar,
};
}
},
)(withTranslation(["Profile", "Common"])(observer(Bar)));

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import React from "react";
import React from "react";
import PropTypes from "prop-types";
import styled from "styled-components";
import { Box } from "@docspace/shared/components/box";

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import PersonalLogoReactSvgUrl from "PUBLIC_DIR/images/personal.logo.react.svg?url";
import PersonalLogoReactSvgUrl from "PUBLIC_DIR/images/personal.logo.react.svg?url";
import React, { useState, useEffect } from "react";
import { inject, observer } from "mobx-react";
import PropTypes from "prop-types";
@ -232,7 +232,7 @@ const HeaderComponent = ({
});
const logo = getLogoFromPath(
!theme.isBase ? logoUrl?.path?.dark : logoUrl?.path?.light
!theme.isBase ? logoUrl?.path?.dark : logoUrl?.path?.light,
);
return (
@ -262,7 +262,7 @@ const HeaderComponent = ({
className="header-logo-icon"
src={combineUrl(
window.DocSpaceConfig?.proxy?.url,
PersonalLogoReactSvgUrl
PersonalLogoReactSvgUrl,
)}
/>
)}

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -193,7 +193,7 @@ class ProfileActions extends React.PureComponent {
>
<StyledDropDownItem {...action} noHover={true} />
</Link>
))
)),
)}
</div>
</ProfileMenu>

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import InvitationLinkReactSvgUrl from "PUBLIC_DIR/images/invitation.link.react.svg?url";
import InvitationLinkReactSvgUrl from "PUBLIC_DIR/images/invitation.link.react.svg?url";
import PlaneReactSvgUrl from "PUBLIC_DIR/images/plane.react.svg?url";
import ImportReactSvgUrl from "PUBLIC_DIR/images/import.react.svg?url";
import AddDepartmentReactSvgUrl from "PUBLIC_DIR/images/add.department.react.svg?url";
@ -69,7 +69,7 @@ const ArticleMainButtonContent = (props) => {
const goToEmployeeCreate = () => {
navigate(
combineUrl(window.DocSpaceConfig?.proxy?.url, homepage, "/create/user")
combineUrl(window.DocSpaceConfig?.proxy?.url, homepage, "/create/user"),
);
if (isMobile || isMobileUtils()) toggleShowText();
};
@ -87,7 +87,7 @@ const ArticleMainButtonContent = (props) => {
icon: combineUrl(
window.DocSpaceConfig?.proxy?.url,
homepage,
AddEmployeeReactSvgUrl
AddEmployeeReactSvgUrl,
),
label: userCaption,
onClick: goToEmployeeCreate,
@ -99,7 +99,7 @@ const ArticleMainButtonContent = (props) => {
key: "invite-link",
icon: combineUrl(
window.DocSpaceConfig?.proxy?.url,
InvitationLinkReactSvgUrl
InvitationLinkReactSvgUrl,
),
label: t("PeopleTranslations:InviteLinkTitle"),
onClick: onInvitationDialogClick,
@ -153,6 +153,6 @@ export default inject(({ authStore, settingsStore }) => {
};
})(
withTranslation(["Article", "Common", "PeopleTranslations"])(
withLoader(observer(ArticleMainButtonContent))(<ArticleButtonLoader />)
)
withLoader(observer(ArticleMainButtonContent))(<ArticleButtonLoader />),
),
);

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms

View File

@ -1,4 +1,4 @@
// (c) Copyright Ascensio System SIA 2010-2024
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
// You can redistribute it and/or modify it under the terms
@ -24,7 +24,7 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import FileActionsLockedReactSvgUrl from "PUBLIC_DIR/images/file.actions.locked.react.svg?url";
import FileActionsLockedReactSvgUrl from "PUBLIC_DIR/images/file.actions.locked.react.svg?url";
import FileActionsDownloadReactSvgUrl from "PUBLIC_DIR/images/download.react.svg?url";
import LinkReactSvgUrl from "PUBLIC_DIR/images/link.react.svg?url";
import LockedReactSvgUrl from "PUBLIC_DIR/images/locked.react.svg?url";

Some files were not shown because too many files have changed in this diff Show More