diff --git a/src/app/components/AccountDataEditor.tsx b/src/app/components/AccountDataEditor.tsx index d328a8490..29f65835a 100644 --- a/src/app/components/AccountDataEditor.tsx +++ b/src/app/components/AccountDataEditor.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { Box, diff --git a/src/app/components/ActionUIA.tsx b/src/app/components/ActionUIA.tsx index 63bd5a695..a6414d4c5 100644 --- a/src/app/components/ActionUIA.tsx +++ b/src/app/components/ActionUIA.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useState } from 'react'; import { config, diff --git a/src/app/components/AuthFlowsLoader.tsx b/src/app/components/AuthFlowsLoader.tsx index 14ba56b2f..345a2db63 100644 --- a/src/app/components/AuthFlowsLoader.tsx +++ b/src/app/components/AuthFlowsLoader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode, useCallback, useEffect, useMemo } from 'react'; import { getLogin, GetLoginOK } from 'neurone/lib/api/matrix/client/v3/login'; import { postRegister } from 'neurone/lib/api/matrix/client/v3/register'; diff --git a/src/app/components/BackRouteHandler.tsx b/src/app/components/BackRouteHandler.tsx index 3b13e4872..ea21f429f 100644 --- a/src/app/components/BackRouteHandler.tsx +++ b/src/app/components/BackRouteHandler.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode, useCallback } from 'react'; import { matchPath, useLocation, useNavigate } from 'react-router-dom'; import { diff --git a/src/app/components/BackupRestore.tsx b/src/app/components/BackupRestore.tsx index bd6289a33..f2fe8c5a0 100644 --- a/src/app/components/BackupRestore.tsx +++ b/src/app/components/BackupRestore.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useState } from 'react'; import { Badge, diff --git a/src/app/components/BetaNoticeBadge.tsx b/src/app/components/BetaNoticeBadge.tsx index d18598765..2a39a7b69 100644 --- a/src/app/components/BetaNoticeBadge.tsx +++ b/src/app/components/BetaNoticeBadge.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { TooltipProvider, Tooltip, Box, Text, Badge, toRem } from 'folds'; diff --git a/src/app/components/CallEmbedProvider.tsx b/src/app/components/CallEmbedProvider.tsx index 6c346b585..3abfcfcdd 100644 --- a/src/app/components/CallEmbedProvider.tsx +++ b/src/app/components/CallEmbedProvider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable jsx-a11y/media-has-caption */ import React, { ReactNode, useCallback, useEffect, useRef, useState } from 'react'; import { useAtomValue, useSetAtom } from 'jotai'; diff --git a/src/app/components/CapabilitiesLoader.tsx b/src/app/components/CapabilitiesLoader.tsx index bfdae4e52..eb021e08a 100644 --- a/src/app/components/CapabilitiesLoader.tsx +++ b/src/app/components/CapabilitiesLoader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode, useCallback, useEffect } from 'react'; import { getCapabilities, GetCapabilitiesOK } from 'neurone/lib/api/matrix/client/v3/capabilities'; import { parseMatrixResp } from 'neurone/lib/matrix-request'; diff --git a/src/app/components/ClientConfigLoader.tsx b/src/app/components/ClientConfigLoader.tsx index 72d367c06..6c5873f5b 100644 --- a/src/app/components/ClientConfigLoader.tsx +++ b/src/app/components/ClientConfigLoader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode, useCallback, useEffect, useState } from 'react'; import { AsyncStatus, useAsyncCallback } from '../hooks/useAsyncCallback'; import { ClientConfig } from '../hooks/useClientConfig'; diff --git a/src/app/components/ConfirmPasswordMatch.tsx b/src/app/components/ConfirmPasswordMatch.tsx index bb50eb60f..c59f6a3ca 100644 --- a/src/app/components/ConfirmPasswordMatch.tsx +++ b/src/app/components/ConfirmPasswordMatch.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode, RefObject, useCallback, useRef, useState } from 'react'; import { useDebounce } from '../hooks/useDebounce'; diff --git a/src/app/components/DeviceVerification.tsx b/src/app/components/DeviceVerification.tsx index ced0ae25d..5d9afe1c1 100644 --- a/src/app/components/DeviceVerification.tsx +++ b/src/app/components/DeviceVerification.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { CSSProperties, useCallback, useEffect, useState } from 'react'; import { Box, diff --git a/src/app/components/DeviceVerificationSetup.tsx b/src/app/components/DeviceVerificationSetup.tsx index f482e569b..294624869 100644 --- a/src/app/components/DeviceVerificationSetup.tsx +++ b/src/app/components/DeviceVerificationSetup.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, forwardRef, diff --git a/src/app/components/DeviceVerificationStatus.ts b/src/app/components/DeviceVerificationStatus.ts index 3f1683130..a8732a7a7 100644 --- a/src/app/components/DeviceVerificationStatus.ts +++ b/src/app/components/DeviceVerificationStatus.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode } from 'react'; import { useDeviceVerificationStatus, diff --git a/src/app/components/HexColorPickerPopOut.tsx b/src/app/components/HexColorPickerPopOut.tsx index d8fb4bc30..93b12d09a 100644 --- a/src/app/components/HexColorPickerPopOut.tsx +++ b/src/app/components/HexColorPickerPopOut.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import FocusTrap from 'focus-trap-react'; import { Box, Button, config, Menu, PopOut, RectCords, Text } from 'folds'; import React, { MouseEventHandler, ReactNode, useState } from 'react'; diff --git a/src/app/components/ImageOverlay.tsx b/src/app/components/ImageOverlay.tsx index ea690924c..48772bd20 100644 --- a/src/app/components/ImageOverlay.tsx +++ b/src/app/components/ImageOverlay.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import FocusTrap from 'focus-trap-react'; import { as, Modal, Overlay, OverlayBackdrop, OverlayCenter } from 'folds'; import React, { ReactNode } from 'react'; diff --git a/src/app/components/JoinRulesSwitcher.tsx b/src/app/components/JoinRulesSwitcher.tsx index 58cf039ba..4866aa2a3 100644 --- a/src/app/components/JoinRulesSwitcher.tsx +++ b/src/app/components/JoinRulesSwitcher.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useMemo, useState } from 'react'; import { config, diff --git a/src/app/components/LogoutDialog.tsx b/src/app/components/LogoutDialog.tsx index 42206eade..4028caca9 100644 --- a/src/app/components/LogoutDialog.tsx +++ b/src/app/components/LogoutDialog.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { forwardRef, useCallback } from 'react'; import { Dialog, Header, config, Box, Text, Button, Spinner, color } from 'folds'; import { AsyncStatus, useAsyncCallback } from '../hooks/useAsyncCallback'; diff --git a/src/app/components/ManualVerification.tsx b/src/app/components/ManualVerification.tsx index fdb8b94dd..58b0df450 100644 --- a/src/app/components/ManualVerification.tsx +++ b/src/app/components/ManualVerification.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, ReactNode, useCallback, useState } from 'react'; import { Box, diff --git a/src/app/components/MediaConfigLoader.tsx b/src/app/components/MediaConfigLoader.tsx index 634973dd3..48bab2705 100644 --- a/src/app/components/MediaConfigLoader.tsx +++ b/src/app/components/MediaConfigLoader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode, useCallback, useEffect } from 'react'; import { getConfig, GetConfigOK } from 'neurone/lib/api/matrix/client/v1/media'; import { parseMatrixResp } from 'neurone/lib/matrix-request'; diff --git a/src/app/components/MemberSortMenu.tsx b/src/app/components/MemberSortMenu.tsx index d77c80c60..eadf3e1b8 100644 --- a/src/app/components/MemberSortMenu.tsx +++ b/src/app/components/MemberSortMenu.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import FocusTrap from 'focus-trap-react'; import React from 'react'; import { config, Menu, MenuItem, Text } from 'folds'; diff --git a/src/app/components/MembershipFilterMenu.tsx b/src/app/components/MembershipFilterMenu.tsx index bf17677d6..76efa717a 100644 --- a/src/app/components/MembershipFilterMenu.tsx +++ b/src/app/components/MembershipFilterMenu.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import FocusTrap from 'focus-trap-react'; import React from 'react'; import { config, Menu, MenuItem, Text } from 'folds'; diff --git a/src/app/components/MessageContent.tsx b/src/app/components/MessageContent.tsx index dbc9af557..54685d8fb 100644 --- a/src/app/components/MessageContent.tsx +++ b/src/app/components/MessageContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { DecryptionManager } from '../../client/decryption'; diff --git a/src/app/components/Modal500.tsx b/src/app/components/Modal500.tsx index d421b625b..46cbbf187 100644 --- a/src/app/components/Modal500.tsx +++ b/src/app/components/Modal500.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import FocusTrap from 'focus-trap-react'; import { Modal, Overlay, OverlayBackdrop, OverlayCenter } from 'folds'; diff --git a/src/app/components/OrDivider.tsx b/src/app/components/OrDivider.tsx index 629d3f520..f52229ced 100644 --- a/src/app/components/OrDivider.tsx +++ b/src/app/components/OrDivider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Line, Text } from 'folds'; diff --git a/src/app/components/Pdf-viewer/PdfViewer.css.ts b/src/app/components/Pdf-viewer/PdfViewer.css.ts index 465510983..d5a6dd070 100644 --- a/src/app/components/Pdf-viewer/PdfViewer.css.ts +++ b/src/app/components/Pdf-viewer/PdfViewer.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config } from 'folds'; diff --git a/src/app/components/Pdf-viewer/PdfViewer.tsx b/src/app/components/Pdf-viewer/PdfViewer.tsx index 9c7fd9804..8d25de0ad 100644 --- a/src/app/components/Pdf-viewer/PdfViewer.tsx +++ b/src/app/components/Pdf-viewer/PdfViewer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable no-param-reassign */ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ import React, { FormEventHandler, MouseEventHandler, useEffect, useRef, useState } from 'react'; diff --git a/src/app/components/Pdf-viewer/index.ts b/src/app/components/Pdf-viewer/index.ts index 5fc0566f6..307fa6d7d 100644 --- a/src/app/components/Pdf-viewer/index.ts +++ b/src/app/components/Pdf-viewer/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './PdfViewer'; diff --git a/src/app/components/RenderMessageContent.tsx b/src/app/components/RenderMessageContent.tsx index a73906f2d..51eb8fc51 100644 --- a/src/app/components/RenderMessageContent.tsx +++ b/src/app/components/RenderMessageContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { HTMLReactParserOptions } from 'html-react-parser'; import { Opts } from 'linkifyjs'; diff --git a/src/app/components/RenderReplyContent.tsx b/src/app/components/RenderReplyContent.tsx index 8a151bb59..3a90ac7e1 100644 --- a/src/app/components/RenderReplyContent.tsx +++ b/src/app/components/RenderReplyContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { HTMLReactParserOptions } from 'html-react-parser'; import { Opts } from 'linkifyjs'; diff --git a/src/app/components/RoomAccessIndicator.tsx b/src/app/components/RoomAccessIndicator.tsx index 08716ddd7..e7a4764ae 100644 --- a/src/app/components/RoomAccessIndicator.tsx +++ b/src/app/components/RoomAccessIndicator.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Icon, Icons, IconSrc, Text, Tooltip, TooltipProvider } from 'folds'; import React from 'react'; import { JoinRule } from '../../types/matrix/room'; diff --git a/src/app/components/RoomNotificationSwitcher.tsx b/src/app/components/RoomNotificationSwitcher.tsx index 7ce915661..e80588af9 100644 --- a/src/app/components/RoomNotificationSwitcher.tsx +++ b/src/app/components/RoomNotificationSwitcher.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, config, Icon, Menu, MenuItem, PopOut, RectCords, Text } from 'folds'; import React, { MouseEventHandler, ReactNode, useMemo, useState } from 'react'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/components/RoomSummaryLoader.tsx b/src/app/components/RoomSummaryLoader.tsx index 4d025869f..4c23907d9 100644 --- a/src/app/components/RoomSummaryLoader.tsx +++ b/src/app/components/RoomSummaryLoader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactElement, useCallback, useState } from 'react'; import { useQuery } from '@tanstack/react-query'; import { parseMatrixResp, printMatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/components/SecretStorage.tsx b/src/app/components/SecretStorage.tsx index 7e99647b8..75dc7e33d 100644 --- a/src/app/components/SecretStorage.tsx +++ b/src/app/components/SecretStorage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback } from 'react'; import { Box, Text, Button, Spinner, color } from 'folds'; import { diff --git a/src/app/components/ServerConfigsLoader.tsx b/src/app/components/ServerConfigsLoader.tsx index 7fc0971bb..e2578d78d 100644 --- a/src/app/components/ServerConfigsLoader.tsx +++ b/src/app/components/ServerConfigsLoader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode, useCallback, useMemo } from 'react'; import { getCapabilities, GetCapabilitiesOK } from 'neurone/lib/api/matrix/client/v3/capabilities'; import { getConfig, GetConfigOK } from 'neurone/lib/api/matrix/client/v1/media'; diff --git a/src/app/components/SpaceChildDirectsProvider.tsx b/src/app/components/SpaceChildDirectsProvider.tsx index 203363e1e..1c9364259 100644 --- a/src/app/components/SpaceChildDirectsProvider.tsx +++ b/src/app/components/SpaceChildDirectsProvider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode } from 'react'; import { RoomToParents } from '../../types/matrix/room'; import { useMatrixClient } from '../hooks/useMatrixClient'; diff --git a/src/app/components/SpaceChildRoomsProvider.tsx b/src/app/components/SpaceChildRoomsProvider.tsx index 65ed03bec..edd807b10 100644 --- a/src/app/components/SpaceChildRoomsProvider.tsx +++ b/src/app/components/SpaceChildRoomsProvider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode } from 'react'; import { RoomToParents } from '../../types/matrix/room'; import { useMatrixClient } from '../hooks/useMatrixClient'; diff --git a/src/app/components/SpecVersionsLoader.tsx b/src/app/components/SpecVersionsLoader.tsx index 5b459c1d9..41d3115d2 100644 --- a/src/app/components/SpecVersionsLoader.tsx +++ b/src/app/components/SpecVersionsLoader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode, useCallback, useEffect, useState } from 'react'; import { AsyncStatus, useAsyncCallback } from '../hooks/useAsyncCallback'; import { SpecVersions, specVersions } from '../cs-api'; diff --git a/src/app/components/SupportedUIAFlowsLoader.tsx b/src/app/components/SupportedUIAFlowsLoader.tsx index e3b2096a3..99bb8a5f7 100644 --- a/src/app/components/SupportedUIAFlowsLoader.tsx +++ b/src/app/components/SupportedUIAFlowsLoader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode } from 'react'; import { useSupportedUIAFlows } from '../hooks/useUIAFlows'; import { UIAFlow } from '../utils/matrix-uia'; diff --git a/src/app/components/UIAFlowOverlay.tsx b/src/app/components/UIAFlowOverlay.tsx index a2bdd1b87..7ead39cb1 100644 --- a/src/app/components/UIAFlowOverlay.tsx +++ b/src/app/components/UIAFlowOverlay.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Overlay, diff --git a/src/app/components/UseStateProvider.tsx b/src/app/components/UseStateProvider.tsx index 21e5b3cad..e35e3ecf8 100644 --- a/src/app/components/UseStateProvider.tsx +++ b/src/app/components/UseStateProvider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Dispatch, ReactElement, SetStateAction, useState } from 'react'; type UseStateProviderProps = { diff --git a/src/app/components/UserRoomProfileRenderer.tsx b/src/app/components/UserRoomProfileRenderer.tsx index 45b10dd92..4e2d2151d 100644 --- a/src/app/components/UserRoomProfileRenderer.tsx +++ b/src/app/components/UserRoomProfileRenderer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Menu, PopOut, toRem } from 'folds'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/components/auth-layout/AuthFooter.tsx b/src/app/components/auth-layout/AuthFooter.tsx index b0b943198..d1a3d4ecd 100644 --- a/src/app/components/auth-layout/AuthFooter.tsx +++ b/src/app/components/auth-layout/AuthFooter.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text } from 'folds'; import * as css from './styles.css'; diff --git a/src/app/components/auth-layout/AuthLayout.tsx b/src/app/components/auth-layout/AuthLayout.tsx index d90a6847c..525298f9a 100644 --- a/src/app/components/auth-layout/AuthLayout.tsx +++ b/src/app/components/auth-layout/AuthLayout.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box, Header, Scroll } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/auth-layout/index.ts b/src/app/components/auth-layout/index.ts index 654e0e04d..859c38d20 100644 --- a/src/app/components/auth-layout/index.ts +++ b/src/app/components/auth-layout/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './AuthLayout'; diff --git a/src/app/components/auth-layout/styles.css.ts b/src/app/components/auth-layout/styles.css.ts index b359d09a9..20e86f994 100644 --- a/src/app/components/auth-layout/styles.css.ts +++ b/src/app/components/auth-layout/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { recipe } from '@vanilla-extract/recipes'; import { DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/components/create-room/AdditionalCreatorInput.tsx b/src/app/components/create-room/AdditionalCreatorInput.tsx index 80b655d47..331b7b831 100644 --- a/src/app/components/create-room/AdditionalCreatorInput.tsx +++ b/src/app/components/create-room/AdditionalCreatorInput.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, diff --git a/src/app/components/create-room/CreateRoomAccessSelector.tsx b/src/app/components/create-room/CreateRoomAccessSelector.tsx index 35f39af88..65b62108b 100644 --- a/src/app/components/create-room/CreateRoomAccessSelector.tsx +++ b/src/app/components/create-room/CreateRoomAccessSelector.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, Icon, Icons, config, IconSrc } from 'folds'; import { SequenceCard } from '../sequence-card'; diff --git a/src/app/components/create-room/CreateRoomAliasInput.tsx b/src/app/components/create-room/CreateRoomAliasInput.tsx index bc53cf62d..aed8dd6f5 100644 --- a/src/app/components/create-room/CreateRoomAliasInput.tsx +++ b/src/app/components/create-room/CreateRoomAliasInput.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, KeyboardEventHandler, diff --git a/src/app/components/create-room/CreateRoomTypeSelector.tsx b/src/app/components/create-room/CreateRoomTypeSelector.tsx index b1f69c399..c23d99e87 100644 --- a/src/app/components/create-room/CreateRoomTypeSelector.tsx +++ b/src/app/components/create-room/CreateRoomTypeSelector.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, Icon, Icons, config, IconSrc } from 'folds'; import { SequenceCard } from '../sequence-card'; diff --git a/src/app/components/create-room/RoomVersionSelector.tsx b/src/app/components/create-room/RoomVersionSelector.tsx index 219ded0cb..02179cbda 100644 --- a/src/app/components/create-room/RoomVersionSelector.tsx +++ b/src/app/components/create-room/RoomVersionSelector.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useState } from 'react'; import { Box, diff --git a/src/app/components/create-room/index.ts b/src/app/components/create-room/index.ts index cce6e0373..053da019f 100644 --- a/src/app/components/create-room/index.ts +++ b/src/app/components/create-room/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './CreateRoomAccessSelector'; export * from './CreateRoomAliasInput'; export * from './RoomVersionSelector'; diff --git a/src/app/components/create-room/types.ts b/src/app/components/create-room/types.ts index 8b54587dd..05dc438f5 100644 --- a/src/app/components/create-room/types.ts +++ b/src/app/components/create-room/types.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export enum CreateRoomType { TextRoom = 'text', VoiceRoom = 'voice', diff --git a/src/app/components/create-room/utils.ts b/src/app/components/create-room/utils.ts index 1c91d0bdd..bd22f037b 100644 --- a/src/app/components/create-room/utils.ts +++ b/src/app/components/create-room/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { CreateRoomStateEvent, postCreateRoom, diff --git a/src/app/components/cutout-card/CutoutCard.css.ts b/src/app/components/cutout-card/CutoutCard.css.ts index 8bdf0201d..9cd0bdf1b 100644 --- a/src/app/components/cutout-card/CutoutCard.css.ts +++ b/src/app/components/cutout-card/CutoutCard.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/components/cutout-card/CutoutCard.tsx b/src/app/components/cutout-card/CutoutCard.tsx index bf5ddf8b6..35fa8ff54 100644 --- a/src/app/components/cutout-card/CutoutCard.tsx +++ b/src/app/components/cutout-card/CutoutCard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { as, ContainerColor as TContainerColor } from 'folds'; import React from 'react'; import classNames from 'classnames'; diff --git a/src/app/components/cutout-card/index.ts b/src/app/components/cutout-card/index.ts index 4ce2f8b51..aa27725a5 100644 --- a/src/app/components/cutout-card/index.ts +++ b/src/app/components/cutout-card/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './CutoutCard'; diff --git a/src/app/components/editor/Editor.css.ts b/src/app/components/editor/Editor.css.ts index d128ed074..573674631 100644 --- a/src/app/components/editor/Editor.css.ts +++ b/src/app/components/editor/Editor.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, DefaultReset, toRem } from 'folds'; diff --git a/src/app/components/editor/Editor.preview.tsx b/src/app/components/editor/Editor.preview.tsx index b760dddcb..6fb10f7d2 100644 --- a/src/app/components/editor/Editor.preview.tsx +++ b/src/app/components/editor/Editor.preview.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import FocusTrap from 'focus-trap-react'; import { diff --git a/src/app/components/editor/Editor.tsx b/src/app/components/editor/Editor.tsx index 1cadbc58d..83adfc6e6 100644 --- a/src/app/components/editor/Editor.tsx +++ b/src/app/components/editor/Editor.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable no-param-reassign */ import React, { ClipboardEventHandler, diff --git a/src/app/components/editor/Elements.tsx b/src/app/components/editor/Elements.tsx index 52371d5b0..c633f0598 100644 --- a/src/app/components/editor/Elements.tsx +++ b/src/app/components/editor/Elements.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Scroll, Text } from 'folds'; import React from 'react'; import { diff --git a/src/app/components/editor/Toolbar.tsx b/src/app/components/editor/Toolbar.tsx index 54fc8f85d..56e2e56f8 100644 --- a/src/app/components/editor/Toolbar.tsx +++ b/src/app/components/editor/Toolbar.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import FocusTrap from 'focus-trap-react'; import { Badge, diff --git a/src/app/components/editor/autocomplete/AutocompleteMenu.css.tsx b/src/app/components/editor/autocomplete/AutocompleteMenu.css.tsx index 98f653edd..5e64af2cd 100644 --- a/src/app/components/editor/autocomplete/AutocompleteMenu.css.tsx +++ b/src/app/components/editor/autocomplete/AutocompleteMenu.css.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, config } from 'folds'; diff --git a/src/app/components/editor/autocomplete/AutocompleteMenu.tsx b/src/app/components/editor/autocomplete/AutocompleteMenu.tsx index 452fa1b4a..ea43e78b9 100644 --- a/src/app/components/editor/autocomplete/AutocompleteMenu.tsx +++ b/src/app/components/editor/autocomplete/AutocompleteMenu.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import FocusTrap from 'focus-trap-react'; import { isKeyHotkey } from 'is-hotkey'; diff --git a/src/app/components/editor/autocomplete/EmoticonAutocomplete.tsx b/src/app/components/editor/autocomplete/EmoticonAutocomplete.tsx index 358103505..44431616a 100644 --- a/src/app/components/editor/autocomplete/EmoticonAutocomplete.tsx +++ b/src/app/components/editor/autocomplete/EmoticonAutocomplete.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { KeyboardEvent as ReactKeyboardEvent, useEffect, useMemo } from 'react'; import { Editor } from 'slate'; import { Box, MenuItem, Text, toRem } from 'folds'; diff --git a/src/app/components/editor/autocomplete/RoomMentionAutocomplete.tsx b/src/app/components/editor/autocomplete/RoomMentionAutocomplete.tsx index 11a4e3a60..2ea66e9fb 100644 --- a/src/app/components/editor/autocomplete/RoomMentionAutocomplete.tsx +++ b/src/app/components/editor/autocomplete/RoomMentionAutocomplete.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { KeyboardEvent as ReactKeyboardEvent, useCallback, useEffect, useMemo } from 'react'; import { Editor } from 'slate'; import { Avatar, Icon, Icons, MenuItem, Text } from 'folds'; diff --git a/src/app/components/editor/autocomplete/UserMentionAutocomplete.tsx b/src/app/components/editor/autocomplete/UserMentionAutocomplete.tsx index 1d56325d4..584eef731 100644 --- a/src/app/components/editor/autocomplete/UserMentionAutocomplete.tsx +++ b/src/app/components/editor/autocomplete/UserMentionAutocomplete.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useEffect, KeyboardEvent as ReactKeyboardEvent, useCallback } from 'react'; import { Editor } from 'slate'; import { Avatar, Icon, Icons, MenuItem, Text } from 'folds'; diff --git a/src/app/components/editor/autocomplete/autocompleteQuery.ts b/src/app/components/editor/autocomplete/autocompleteQuery.ts index 1baa44a13..189c3090d 100644 --- a/src/app/components/editor/autocomplete/autocompleteQuery.ts +++ b/src/app/components/editor/autocomplete/autocompleteQuery.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { BaseRange, Editor } from 'slate'; export enum AutocompletePrefix { diff --git a/src/app/components/editor/autocomplete/index.ts b/src/app/components/editor/autocomplete/index.ts index be6a74428..b10158cc2 100644 --- a/src/app/components/editor/autocomplete/index.ts +++ b/src/app/components/editor/autocomplete/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './AutocompleteMenu'; export * from './autocompleteQuery'; export * from './RoomMentionAutocomplete'; diff --git a/src/app/components/editor/index.ts b/src/app/components/editor/index.ts index aae0137d1..f2fd4f1b5 100644 --- a/src/app/components/editor/index.ts +++ b/src/app/components/editor/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './autocomplete'; export * from './utils'; export * from './Editor'; diff --git a/src/app/components/editor/input.ts b/src/app/components/editor/input.ts index 56da58930..dc2864ddc 100644 --- a/src/app/components/editor/input.ts +++ b/src/app/components/editor/input.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable no-param-reassign */ import { Descendant, Text } from 'slate'; import parse from 'html-dom-parser'; diff --git a/src/app/components/editor/keyboard.ts b/src/app/components/editor/keyboard.ts index 19c05bac7..1d9ec3240 100644 --- a/src/app/components/editor/keyboard.ts +++ b/src/app/components/editor/keyboard.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { isKeyHotkey } from 'is-hotkey'; import { KeyboardEvent } from 'react'; import { Editor, Element as SlateElement, Range, Transforms } from 'slate'; diff --git a/src/app/components/editor/output.ts b/src/app/components/editor/output.ts index 76454885f..a6dc00db1 100644 --- a/src/app/components/editor/output.ts +++ b/src/app/components/editor/output.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Descendant, Editor, Text } from 'slate'; import { sanitizeText } from '../../utils/sanitize'; import { BlockType } from './types'; diff --git a/src/app/components/editor/slate.d.ts b/src/app/components/editor/slate.d.ts index da1460e5f..85daad2b7 100644 --- a/src/app/components/editor/slate.d.ts +++ b/src/app/components/editor/slate.d.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { BaseEditor } from 'slate'; import { ReactEditor } from 'slate-react'; import { HistoryEditor } from 'slate-history'; diff --git a/src/app/components/editor/types.ts b/src/app/components/editor/types.ts index 9a108ec7d..dfe4a384b 100644 --- a/src/app/components/editor/types.ts +++ b/src/app/components/editor/types.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export enum MarkType { Bold = 'bold', Italic = 'italic', diff --git a/src/app/components/editor/utils.ts b/src/app/components/editor/utils.ts index f63c5ac94..6c557e38a 100644 --- a/src/app/components/editor/utils.ts +++ b/src/app/components/editor/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { BasePoint, BaseRange, Editor, Element, Point, Range, Text, Transforms } from 'slate'; import { BlockType, MarkType } from './types'; import { diff --git a/src/app/components/emoji-board/EmojiBoard.tsx b/src/app/components/emoji-board/EmojiBoard.tsx index 0924df184..7d773b1a0 100644 --- a/src/app/components/emoji-board/EmojiBoard.tsx +++ b/src/app/components/emoji-board/EmojiBoard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, FocusEventHandler, diff --git a/src/app/components/emoji-board/components/Group.tsx b/src/app/components/emoji-board/components/Group.tsx index cf19c6e0f..4ea3b950a 100644 --- a/src/app/components/emoji-board/components/Group.tsx +++ b/src/app/components/emoji-board/components/Group.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { as, Box, Text } from 'folds'; import React, { ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/src/app/components/emoji-board/components/Item.tsx b/src/app/components/emoji-board/components/Item.tsx index 021ce1b2f..69af4592b 100644 --- a/src/app/components/emoji-board/components/Item.tsx +++ b/src/app/components/emoji-board/components/Item.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box } from 'folds'; import { EmojiItemInfo, EmojiType } from '../types'; diff --git a/src/app/components/emoji-board/components/Layout.tsx b/src/app/components/emoji-board/components/Layout.tsx index 392d4a314..b2bf43ec6 100644 --- a/src/app/components/emoji-board/components/Layout.tsx +++ b/src/app/components/emoji-board/components/Layout.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { as, Box, Line } from 'folds'; import React, { ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/src/app/components/emoji-board/components/NoStickerPacks.tsx b/src/app/components/emoji-board/components/NoStickerPacks.tsx index 6703362cf..31019559c 100644 --- a/src/app/components/emoji-board/components/NoStickerPacks.tsx +++ b/src/app/components/emoji-board/components/NoStickerPacks.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, toRem, config, Icons, Icon, Text } from 'folds'; diff --git a/src/app/components/emoji-board/components/Preview.tsx b/src/app/components/emoji-board/components/Preview.tsx index 093aa4553..df0166073 100644 --- a/src/app/components/emoji-board/components/Preview.tsx +++ b/src/app/components/emoji-board/components/Preview.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Text } from 'folds'; import React from 'react'; import { Atom, atom, useAtomValue } from 'jotai'; diff --git a/src/app/components/emoji-board/components/SearchInput.tsx b/src/app/components/emoji-board/components/SearchInput.tsx index 6de4d9774..6e2885e24 100644 --- a/src/app/components/emoji-board/components/SearchInput.tsx +++ b/src/app/components/emoji-board/components/SearchInput.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, useRef } from 'react'; import { Input, Chip, Icon, Icons, Text } from 'folds'; import { mobileOrTablet } from '../../../utils/user-agent'; diff --git a/src/app/components/emoji-board/components/Sidebar.tsx b/src/app/components/emoji-board/components/Sidebar.tsx index de22b4832..85b1b7c19 100644 --- a/src/app/components/emoji-board/components/Sidebar.tsx +++ b/src/app/components/emoji-board/components/Sidebar.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box, diff --git a/src/app/components/emoji-board/components/Tabs.tsx b/src/app/components/emoji-board/components/Tabs.tsx index d433354f7..5a21317cf 100644 --- a/src/app/components/emoji-board/components/Tabs.tsx +++ b/src/app/components/emoji-board/components/Tabs.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { CSSProperties } from 'react'; import { Badge, Box, Text } from 'folds'; import { EmojiBoardTab } from '../types'; diff --git a/src/app/components/emoji-board/components/index.tsx b/src/app/components/emoji-board/components/index.tsx index 555066684..407b69247 100644 --- a/src/app/components/emoji-board/components/index.tsx +++ b/src/app/components/emoji-board/components/index.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './SearchInput'; export * from './Tabs'; export * from './Sidebar'; diff --git a/src/app/components/emoji-board/components/styles.css.ts b/src/app/components/emoji-board/components/styles.css.ts index c86a08d82..ce322115f 100644 --- a/src/app/components/emoji-board/components/styles.css.ts +++ b/src/app/components/emoji-board/components/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { toRem, color, config, DefaultReset, FocusOutline } from 'folds'; diff --git a/src/app/components/emoji-board/index.ts b/src/app/components/emoji-board/index.ts index 7b1cce3b5..a5b99fe91 100644 --- a/src/app/components/emoji-board/index.ts +++ b/src/app/components/emoji-board/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './EmojiBoard'; export * from './types'; diff --git a/src/app/components/emoji-board/types.ts b/src/app/components/emoji-board/types.ts index de94cc563..b22261c69 100644 --- a/src/app/components/emoji-board/types.ts +++ b/src/app/components/emoji-board/types.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export enum EmojiBoardTab { Emoji = 'Emoji', Sticker = 'Sticker', diff --git a/src/app/components/emoji-board/useEmojiGroupIcons.ts b/src/app/components/emoji-board/useEmojiGroupIcons.ts index bef737410..923ec275c 100644 --- a/src/app/components/emoji-board/useEmojiGroupIcons.ts +++ b/src/app/components/emoji-board/useEmojiGroupIcons.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { IconSrc, Icons } from 'folds'; diff --git a/src/app/components/emoji-board/useEmojiGroupLabels.ts b/src/app/components/emoji-board/useEmojiGroupLabels.ts index a1e5cf2c0..476fd9a1d 100644 --- a/src/app/components/emoji-board/useEmojiGroupLabels.ts +++ b/src/app/components/emoji-board/useEmojiGroupLabels.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { EmojiGroupId } from '../../plugins/emoji'; diff --git a/src/app/components/encrypted-event/EncryptedEvent.tsx b/src/app/components/encrypted-event/EncryptedEvent.tsx index f9b9c288f..4923e52d2 100644 --- a/src/app/components/encrypted-event/EncryptedEvent.tsx +++ b/src/app/components/encrypted-event/EncryptedEvent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useMemo } from 'react'; import { as, Box, color, config, Icon, Icons, Text } from 'folds'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; diff --git a/src/app/components/encrypted-event/index.ts b/src/app/components/encrypted-event/index.ts index 0a3073157..a48aa2f6d 100644 --- a/src/app/components/encrypted-event/index.ts +++ b/src/app/components/encrypted-event/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './EncryptedEvent'; diff --git a/src/app/components/event-readers/EventReaders.css.ts b/src/app/components/event-readers/EventReaders.css.ts index 36f47b56e..41daddb73 100644 --- a/src/app/components/event-readers/EventReaders.css.ts +++ b/src/app/components/event-readers/EventReaders.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, config } from 'folds'; diff --git a/src/app/components/event-readers/EventReaders.tsx b/src/app/components/event-readers/EventReaders.tsx index 546f952d0..020f35f02 100644 --- a/src/app/components/event-readers/EventReaders.tsx +++ b/src/app/components/event-readers/EventReaders.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo } from 'react'; import classNames from 'classnames'; import { diff --git a/src/app/components/event-readers/index.ts b/src/app/components/event-readers/index.ts index 8a37548b5..1e0dac9ed 100644 --- a/src/app/components/event-readers/index.ts +++ b/src/app/components/event-readers/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './EventReaders'; diff --git a/src/app/components/image-editor/ImageEditor.css.ts b/src/app/components/image-editor/ImageEditor.css.ts index 6b42c22da..80272a312 100644 --- a/src/app/components/image-editor/ImageEditor.css.ts +++ b/src/app/components/image-editor/ImageEditor.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config } from 'folds'; diff --git a/src/app/components/image-editor/ImageEditor.tsx b/src/app/components/image-editor/ImageEditor.tsx index 1ec474e8b..52e4102a1 100644 --- a/src/app/components/image-editor/ImageEditor.tsx +++ b/src/app/components/image-editor/ImageEditor.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import classNames from 'classnames'; import { Box, Chip, Header, Icon, IconButton, Icons, Text, as } from 'folds'; diff --git a/src/app/components/image-editor/index.ts b/src/app/components/image-editor/index.ts index 51907cbb7..1069c107d 100644 --- a/src/app/components/image-editor/index.ts +++ b/src/app/components/image-editor/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ImageEditor'; diff --git a/src/app/components/image-pack-view/ImagePackContent.tsx b/src/app/components/image-pack-view/ImagePackContent.tsx index ff4c7dff3..46ae36a21 100644 --- a/src/app/components/image-pack-view/ImagePackContent.tsx +++ b/src/app/components/image-pack-view/ImagePackContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { as, Box, Text, config, Button, Menu, Spinner } from 'folds'; import { diff --git a/src/app/components/image-pack-view/ImagePackView.tsx b/src/app/components/image-pack-view/ImagePackView.tsx index 92bb5758a..08f89eca5 100644 --- a/src/app/components/image-pack-view/ImagePackView.tsx +++ b/src/app/components/image-pack-view/ImagePackView.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, IconButton, Text, Icon, Icons, Scroll, Chip } from 'folds'; import { PackAddress } from '../../plugins/custom-emoji'; diff --git a/src/app/components/image-pack-view/ImageTile.tsx b/src/app/components/image-pack-view/ImageTile.tsx index bdf740466..1128a0eb9 100644 --- a/src/app/components/image-pack-view/ImageTile.tsx +++ b/src/app/components/image-pack-view/ImageTile.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, ReactNode, useMemo, useState } from 'react'; import { Badge, Box, Button, Chip, Icon, Icons, Input, Text } from 'folds'; import { UsageSwitcher, useUsageStr } from './UsageSwitcher'; diff --git a/src/app/components/image-pack-view/PackMeta.tsx b/src/app/components/image-pack-view/PackMeta.tsx index fc18a68b0..945b5ae47 100644 --- a/src/app/components/image-pack-view/PackMeta.tsx +++ b/src/app/components/image-pack-view/PackMeta.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useMemo, useState } from 'react'; import { Box, diff --git a/src/app/components/image-pack-view/RoomImagePack.tsx b/src/app/components/image-pack-view/RoomImagePack.tsx index b8425f409..f9fe74451 100644 --- a/src/app/components/image-pack-view/RoomImagePack.tsx +++ b/src/app/components/image-pack-view/RoomImagePack.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useMemo } from 'react'; import { putStateEvent } from 'neurone/lib/api/matrix/client/v3/rooms'; import { parseMatrixResp } from 'neurone/lib/matrix-request'; diff --git a/src/app/components/image-pack-view/UsageSwitcher.tsx b/src/app/components/image-pack-view/UsageSwitcher.tsx index 1a1eb432d..ea8d842fe 100644 --- a/src/app/components/image-pack-view/UsageSwitcher.tsx +++ b/src/app/components/image-pack-view/UsageSwitcher.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useMemo, useState } from 'react'; import { Box, Button, config, Icon, Icons, Menu, MenuItem, PopOut, RectCords, Text } from 'folds'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/components/image-pack-view/UserImagePack.tsx b/src/app/components/image-pack-view/UserImagePack.tsx index d7c7db227..8cadc6969 100644 --- a/src/app/components/image-pack-view/UserImagePack.tsx +++ b/src/app/components/image-pack-view/UserImagePack.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useMemo } from 'react'; import { putAccountData } from 'neurone/lib/api/matrix/client/v3/user'; import { parseMatrixResp } from 'neurone/lib/matrix-request'; diff --git a/src/app/components/image-pack-view/index.ts b/src/app/components/image-pack-view/index.ts index 5b9cd952d..d004d07e5 100644 --- a/src/app/components/image-pack-view/index.ts +++ b/src/app/components/image-pack-view/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ImagePackView'; diff --git a/src/app/components/image-pack-view/style.css.ts b/src/app/components/image-pack-view/style.css.ts index 09c2f8ec0..598d50872 100644 --- a/src/app/components/image-pack-view/style.css.ts +++ b/src/app/components/image-pack-view/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, DefaultReset, toRem } from 'folds'; diff --git a/src/app/components/image-viewer/ImageViewer.css.ts b/src/app/components/image-viewer/ImageViewer.css.ts index d688afcb7..8ada698d6 100644 --- a/src/app/components/image-viewer/ImageViewer.css.ts +++ b/src/app/components/image-viewer/ImageViewer.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config } from 'folds'; diff --git a/src/app/components/image-viewer/ImageViewer.tsx b/src/app/components/image-viewer/ImageViewer.tsx index 4956a7b6d..f94d8091c 100644 --- a/src/app/components/image-viewer/ImageViewer.tsx +++ b/src/app/components/image-viewer/ImageViewer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ import React from 'react'; import FileSaver from 'file-saver'; diff --git a/src/app/components/image-viewer/index.ts b/src/app/components/image-viewer/index.ts index 69943f2ff..720b5711c 100644 --- a/src/app/components/image-viewer/index.ts +++ b/src/app/components/image-viewer/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ImageViewer'; diff --git a/src/app/components/info-card/InfoCard.tsx b/src/app/components/info-card/InfoCard.tsx index 2162a10ac..384041e1a 100644 --- a/src/app/components/info-card/InfoCard.tsx +++ b/src/app/components/info-card/InfoCard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, ContainerColor, Text } from 'folds'; import React, { ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/src/app/components/info-card/index.ts b/src/app/components/info-card/index.ts index c02f55208..46cb7710c 100644 --- a/src/app/components/info-card/index.ts +++ b/src/app/components/info-card/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './InfoCard'; diff --git a/src/app/components/info-card/styles.css.ts b/src/app/components/info-card/styles.css.ts index c852fbcf3..ccba402fd 100644 --- a/src/app/components/info-card/styles.css.ts +++ b/src/app/components/info-card/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/components/invite-user-prompt/InviteUserPrompt.tsx b/src/app/components/invite-user-prompt/InviteUserPrompt.tsx index b1d38a739..4e6dd9011 100644 --- a/src/app/components/invite-user-prompt/InviteUserPrompt.tsx +++ b/src/app/components/invite-user-prompt/InviteUserPrompt.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, FormEventHandler, diff --git a/src/app/components/invite-user-prompt/index.ts b/src/app/components/invite-user-prompt/index.ts index 156810b87..1191d8670 100644 --- a/src/app/components/invite-user-prompt/index.ts +++ b/src/app/components/invite-user-prompt/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './InviteUserPrompt'; diff --git a/src/app/components/join-address-prompt/JoinAddressPrompt.tsx b/src/app/components/join-address-prompt/JoinAddressPrompt.tsx index 50a89418e..239dce89d 100644 --- a/src/app/components/join-address-prompt/JoinAddressPrompt.tsx +++ b/src/app/components/join-address-prompt/JoinAddressPrompt.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useState } from 'react'; import FocusTrap from 'focus-trap-react'; import { diff --git a/src/app/components/join-address-prompt/index.ts b/src/app/components/join-address-prompt/index.ts index b14b8a61b..a1156b8e9 100644 --- a/src/app/components/join-address-prompt/index.ts +++ b/src/app/components/join-address-prompt/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './JoinAddressPrompt'; diff --git a/src/app/components/leave-room-prompt/LeaveRoomPrompt.tsx b/src/app/components/leave-room-prompt/LeaveRoomPrompt.tsx index c8f87b9e1..bcb76832b 100644 --- a/src/app/components/leave-room-prompt/LeaveRoomPrompt.tsx +++ b/src/app/components/leave-room-prompt/LeaveRoomPrompt.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback } from 'react'; import FocusTrap from 'focus-trap-react'; import { diff --git a/src/app/components/leave-room-prompt/index.ts b/src/app/components/leave-room-prompt/index.ts index 2f7d7e397..e86785972 100644 --- a/src/app/components/leave-room-prompt/index.ts +++ b/src/app/components/leave-room-prompt/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './LeaveRoomPrompt'; diff --git a/src/app/components/leave-space-prompt/LeaveSpacePrompt.tsx b/src/app/components/leave-space-prompt/LeaveSpacePrompt.tsx index 6b6910b53..225278d0f 100644 --- a/src/app/components/leave-space-prompt/LeaveSpacePrompt.tsx +++ b/src/app/components/leave-space-prompt/LeaveSpacePrompt.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback } from 'react'; import FocusTrap from 'focus-trap-react'; import { diff --git a/src/app/components/leave-space-prompt/index.ts b/src/app/components/leave-space-prompt/index.ts index b533b8461..a469c9c6f 100644 --- a/src/app/components/leave-space-prompt/index.ts +++ b/src/app/components/leave-space-prompt/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './LeaveSpacePrompt'; diff --git a/src/app/components/media/Image.tsx b/src/app/components/media/Image.tsx index dda21a53f..08f29ef60 100644 --- a/src/app/components/media/Image.tsx +++ b/src/app/components/media/Image.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ImgHTMLAttributes, forwardRef } from 'react'; import classNames from 'classnames'; import * as css from './media.css'; diff --git a/src/app/components/media/MediaControls.tsx b/src/app/components/media/MediaControls.tsx index 95a344aba..5b0b5e8ed 100644 --- a/src/app/components/media/MediaControls.tsx +++ b/src/app/components/media/MediaControls.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box, as } from 'folds'; diff --git a/src/app/components/media/Video.tsx b/src/app/components/media/Video.tsx index 03108c329..07452fd00 100644 --- a/src/app/components/media/Video.tsx +++ b/src/app/components/media/Video.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { VideoHTMLAttributes, forwardRef } from 'react'; import classNames from 'classnames'; import * as css from './media.css'; diff --git a/src/app/components/media/index.ts b/src/app/components/media/index.ts index 92a19d1bb..60c619fc1 100644 --- a/src/app/components/media/index.ts +++ b/src/app/components/media/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Image'; export * from './Video'; export * from './MediaControls'; diff --git a/src/app/components/media/media.css.ts b/src/app/components/media/media.css.ts index b563ef3ed..d02f1c980 100644 --- a/src/app/components/media/media.css.ts +++ b/src/app/components/media/media.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset } from 'folds'; diff --git a/src/app/components/member-tile/MemberTile.tsx b/src/app/components/member-tile/MemberTile.tsx index cced34b0f..5636acdfb 100644 --- a/src/app/components/member-tile/MemberTile.tsx +++ b/src/app/components/member-tile/MemberTile.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { as, Avatar, Box, Icon, Icons, Text } from 'folds'; import { UserAvatar } from '../user-avatar'; diff --git a/src/app/components/member-tile/index.ts b/src/app/components/member-tile/index.ts index 463f621e0..07eda316c 100644 --- a/src/app/components/member-tile/index.ts +++ b/src/app/components/member-tile/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './MemberTile'; diff --git a/src/app/components/member-tile/style.css.ts b/src/app/components/member-tile/style.css.ts index 7cfe89474..1f61ce1d3 100644 --- a/src/app/components/member-tile/style.css.ts +++ b/src/app/components/member-tile/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, DefaultReset, Disabled, FocusOutline } from 'folds'; diff --git a/src/app/components/message/FileHeader.tsx b/src/app/components/message/FileHeader.tsx index bed838cde..615104f2d 100644 --- a/src/app/components/message/FileHeader.tsx +++ b/src/app/components/message/FileHeader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Badge, Box, Icon, IconButton, Icons, Spinner, Text, as, toRem } from 'folds'; import React, { ReactNode, useCallback } from 'react'; import { EncryptedAttachmentInfo } from 'browser-encrypt-attachment'; diff --git a/src/app/components/message/MsgTypeRenderers.tsx b/src/app/components/message/MsgTypeRenderers.tsx index 27db81d27..cb229192a 100644 --- a/src/app/components/message/MsgTypeRenderers.tsx +++ b/src/app/components/message/MsgTypeRenderers.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { CSSProperties } from 'react'; import { Box, Chip, Icon, Icons, Text, toRem } from 'folds'; import { HTMLReactParserOptions } from 'html-react-parser'; diff --git a/src/app/components/message/MsgTypeReplyRenderers.tsx b/src/app/components/message/MsgTypeReplyRenderers.tsx index 2729afbbf..de1b31c09 100644 --- a/src/app/components/message/MsgTypeReplyRenderers.tsx +++ b/src/app/components/message/MsgTypeReplyRenderers.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { CSSProperties } from 'react'; import { Text } from 'folds'; import { HTMLReactParserOptions } from 'html-react-parser'; diff --git a/src/app/components/message/Reaction.css.ts b/src/app/components/message/Reaction.css.ts index 371e7b997..c8f8fd3e2 100644 --- a/src/app/components/message/Reaction.css.ts +++ b/src/app/components/message/Reaction.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createVar, keyframes, style } from '@vanilla-extract/css'; import { DefaultReset, FocusOutline, color, config, toRem } from 'folds'; diff --git a/src/app/components/message/Reaction.tsx b/src/app/components/message/Reaction.tsx index ef373e789..844d753e8 100644 --- a/src/app/components/message/Reaction.tsx +++ b/src/app/components/message/Reaction.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/message/RenderBody.tsx b/src/app/components/message/RenderBody.tsx index f95181713..9b096f707 100644 --- a/src/app/components/message/RenderBody.tsx +++ b/src/app/components/message/RenderBody.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import parse, { HTMLReactParserOptions } from 'html-react-parser'; import Linkify from 'linkify-react'; diff --git a/src/app/components/message/Reply.tsx b/src/app/components/message/Reply.tsx index cdf3540a0..bd3b66147 100644 --- a/src/app/components/message/Reply.tsx +++ b/src/app/components/message/Reply.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Icon, Icons, Text, color, config, toRem } from 'folds'; import React, { MouseEventHandler, ReactNode, useCallback, useMemo } from 'react'; import { ClientEventWithoutRoomId } from 'neurone/lib/api/types'; diff --git a/src/app/components/message/Time.tsx b/src/app/components/message/Time.tsx index 3a89f272c..acb0f3453 100644 --- a/src/app/components/message/Time.tsx +++ b/src/app/components/message/Time.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ComponentProps } from 'react'; import { Text, as } from 'folds'; import { diff --git a/src/app/components/message/attachment/Attachment.css.ts b/src/app/components/message/attachment/Attachment.css.ts index 4c4176112..cfcb06dde 100644 --- a/src/app/components/message/attachment/Attachment.css.ts +++ b/src/app/components/message/attachment/Attachment.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { RecipeVariants, recipe } from '@vanilla-extract/recipes'; import { DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/components/message/attachment/Attachment.tsx b/src/app/components/message/attachment/Attachment.tsx index 4b0b71f31..e5c4e0c18 100644 --- a/src/app/components/message/attachment/Attachment.tsx +++ b/src/app/components/message/attachment/Attachment.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/message/attachment/index.ts b/src/app/components/message/attachment/index.ts index cf17ddcc0..66b64db27 100644 --- a/src/app/components/message/attachment/index.ts +++ b/src/app/components/message/attachment/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Attachment'; diff --git a/src/app/components/message/content/AudioContent.tsx b/src/app/components/message/content/AudioContent.tsx index 4e8ab2310..a2532a7aa 100644 --- a/src/app/components/message/content/AudioContent.tsx +++ b/src/app/components/message/content/AudioContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable jsx-a11y/media-has-caption */ import React, { useCallback, useRef, useState } from 'react'; import { Badge, Chip, Icon, IconButton, Icons, ProgressBar, Spinner, Text, toRem } from 'folds'; diff --git a/src/app/components/message/content/EventContent.tsx b/src/app/components/message/content/EventContent.tsx index 5de2b092c..c3809e5a5 100644 --- a/src/app/components/message/content/EventContent.tsx +++ b/src/app/components/message/content/EventContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Icon, IconSrc } from 'folds'; import React, { ReactNode } from 'react'; import { BubbleLayout, CompactLayout, ModernLayout } from '..'; diff --git a/src/app/components/message/content/FallbackContent.tsx b/src/app/components/message/content/FallbackContent.tsx index a4326e222..221cb741c 100644 --- a/src/app/components/message/content/FallbackContent.tsx +++ b/src/app/components/message/content/FallbackContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Icon, Icons, Text, as, color, config } from 'folds'; import React from 'react'; import { Code } from '../../../styles/CustomHtml.css'; diff --git a/src/app/components/message/content/FileContent.tsx b/src/app/components/message/content/FileContent.tsx index 04f042fca..aa3ac9208 100644 --- a/src/app/components/message/content/FileContent.tsx +++ b/src/app/components/message/content/FileContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useState } from 'react'; import { Box, diff --git a/src/app/components/message/content/ImageContent.tsx b/src/app/components/message/content/ImageContent.tsx index 6ea159869..2c128a7f8 100644 --- a/src/app/components/message/content/ImageContent.tsx +++ b/src/app/components/message/content/ImageContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect, useState } from 'react'; import { Badge, diff --git a/src/app/components/message/content/ThumbnailContent.tsx b/src/app/components/message/content/ThumbnailContent.tsx index abbca18c7..8614bc835 100644 --- a/src/app/components/message/content/ThumbnailContent.tsx +++ b/src/app/components/message/content/ThumbnailContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect } from 'react'; import { EncryptedAttachmentInfo } from 'browser-encrypt-attachment'; import { AsyncStatus, useAsyncCallback } from '../../../hooks/useAsyncCallback'; diff --git a/src/app/components/message/content/VideoContent.tsx b/src/app/components/message/content/VideoContent.tsx index c20b208d5..e4254768b 100644 --- a/src/app/components/message/content/VideoContent.tsx +++ b/src/app/components/message/content/VideoContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect, useState } from 'react'; import { Badge, diff --git a/src/app/components/message/content/index.ts b/src/app/components/message/content/index.ts index 6a31ed7ee..365ab003b 100644 --- a/src/app/components/message/content/index.ts +++ b/src/app/components/message/content/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ThumbnailContent'; export * from './ImageContent'; export * from './VideoContent'; diff --git a/src/app/components/message/content/style.css.ts b/src/app/components/message/content/style.css.ts index bb5d8484f..b905f65ca 100644 --- a/src/app/components/message/content/style.css.ts +++ b/src/app/components/message/content/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, config } from 'folds'; diff --git a/src/app/components/message/index.ts b/src/app/components/message/index.ts index e90e25169..d43ecb390 100644 --- a/src/app/components/message/index.ts +++ b/src/app/components/message/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './layout'; export * from './placeholder'; export * from './Reaction'; diff --git a/src/app/components/message/layout/Base.tsx b/src/app/components/message/layout/Base.tsx index a8957c5ce..aa984d01b 100644 --- a/src/app/components/message/layout/Base.tsx +++ b/src/app/components/message/layout/Base.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Text, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/message/layout/Bubble.tsx b/src/app/components/message/layout/Bubble.tsx index 93ff84bcb..0e2b17025 100644 --- a/src/app/components/message/layout/Bubble.tsx +++ b/src/app/components/message/layout/Bubble.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import classNames from 'classnames'; import { Box, ContainerColor, as, color } from 'folds'; diff --git a/src/app/components/message/layout/Compact.tsx b/src/app/components/message/layout/Compact.tsx index a033919f7..28b53453f 100644 --- a/src/app/components/message/layout/Compact.tsx +++ b/src/app/components/message/layout/Compact.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box, as } from 'folds'; import * as css from './layout.css'; diff --git a/src/app/components/message/layout/Modern.tsx b/src/app/components/message/layout/Modern.tsx index 70b25c57b..3176cac06 100644 --- a/src/app/components/message/layout/Modern.tsx +++ b/src/app/components/message/layout/Modern.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box, as } from 'folds'; import * as css from './layout.css'; diff --git a/src/app/components/message/layout/index.ts b/src/app/components/message/layout/index.ts index 979f5800e..2f9126191 100644 --- a/src/app/components/message/layout/index.ts +++ b/src/app/components/message/layout/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Modern'; export * from './Compact'; export * from './Bubble'; diff --git a/src/app/components/message/layout/layout.css.ts b/src/app/components/message/layout/layout.css.ts index 1acd505fb..b71e4784e 100644 --- a/src/app/components/message/layout/layout.css.ts +++ b/src/app/components/message/layout/layout.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createVar, keyframes, style, styleVariants } from '@vanilla-extract/css'; import { recipe, RecipeVariants } from '@vanilla-extract/recipes'; import { DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/components/message/placeholder/CompactPlaceholder.tsx b/src/app/components/message/placeholder/CompactPlaceholder.tsx index e6168ae3e..a8372d4aa 100644 --- a/src/app/components/message/placeholder/CompactPlaceholder.tsx +++ b/src/app/components/message/placeholder/CompactPlaceholder.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo } from 'react'; import { as, ContainerColor, toRem } from 'folds'; import { randomNumberBetween } from '../../../utils/common'; diff --git a/src/app/components/message/placeholder/DefaultPlaceholder.tsx b/src/app/components/message/placeholder/DefaultPlaceholder.tsx index 725ac4b9f..4d0a2f9ea 100644 --- a/src/app/components/message/placeholder/DefaultPlaceholder.tsx +++ b/src/app/components/message/placeholder/DefaultPlaceholder.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { CSSProperties, useMemo } from 'react'; import { Avatar, Box, ContainerColor, as, color, toRem } from 'folds'; import { randomNumberBetween } from '../../../utils/common'; diff --git a/src/app/components/message/placeholder/LinePlaceholder.css.ts b/src/app/components/message/placeholder/LinePlaceholder.css.ts index 34ad76a3e..e67371a77 100644 --- a/src/app/components/message/placeholder/LinePlaceholder.css.ts +++ b/src/app/components/message/placeholder/LinePlaceholder.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ComplexStyleRule } from '@vanilla-extract/css'; import { recipe, RecipeVariants } from '@vanilla-extract/recipes'; import { ContainerColor, DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/components/message/placeholder/LinePlaceholder.tsx b/src/app/components/message/placeholder/LinePlaceholder.tsx index 58fc52c0e..11a34ac80 100644 --- a/src/app/components/message/placeholder/LinePlaceholder.tsx +++ b/src/app/components/message/placeholder/LinePlaceholder.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/message/placeholder/index.ts b/src/app/components/message/placeholder/index.ts index 8a3a222f7..18ce15c66 100644 --- a/src/app/components/message/placeholder/index.ts +++ b/src/app/components/message/placeholder/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './LinePlaceholder'; export * from './CompactPlaceholder'; export * from './DefaultPlaceholder'; diff --git a/src/app/components/nav/NavCategory.tsx b/src/app/components/nav/NavCategory.tsx index 4ccf1158d..f34f9af79 100644 --- a/src/app/components/nav/NavCategory.tsx +++ b/src/app/components/nav/NavCategory.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/nav/NavCategoryHeader.tsx b/src/app/components/nav/NavCategoryHeader.tsx index e6ae700aa..2fb147bde 100644 --- a/src/app/components/nav/NavCategoryHeader.tsx +++ b/src/app/components/nav/NavCategoryHeader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import classNames from 'classnames'; import { Header, as } from 'folds'; diff --git a/src/app/components/nav/NavEmptyLayout.tsx b/src/app/components/nav/NavEmptyLayout.tsx index 322ef1c3a..10a454890 100644 --- a/src/app/components/nav/NavEmptyLayout.tsx +++ b/src/app/components/nav/NavEmptyLayout.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, config } from 'folds'; import React, { ReactNode } from 'react'; diff --git a/src/app/components/nav/NavItem.tsx b/src/app/components/nav/NavItem.tsx index 1ec1257fb..e4f5e9b70 100644 --- a/src/app/components/nav/NavItem.tsx +++ b/src/app/components/nav/NavItem.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import classNames from 'classnames'; import React, { ComponentProps, forwardRef } from 'react'; import { Link } from 'react-router-dom'; diff --git a/src/app/components/nav/NavItemContent.tsx b/src/app/components/nav/NavItemContent.tsx index d6a5d1310..692cfdc0f 100644 --- a/src/app/components/nav/NavItemContent.tsx +++ b/src/app/components/nav/NavItemContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ComponentProps } from 'react'; import { Text, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/nav/NavItemOptions.tsx b/src/app/components/nav/NavItemOptions.tsx index 1c2ffd3f8..ef150c65a 100644 --- a/src/app/components/nav/NavItemOptions.tsx +++ b/src/app/components/nav/NavItemOptions.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ComponentProps } from 'react'; import { Box, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/nav/index.ts b/src/app/components/nav/index.ts index 12267446a..228f3aa54 100644 --- a/src/app/components/nav/index.ts +++ b/src/app/components/nav/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './NavCategory'; export * from './NavCategoryHeader'; export * from './NavEmptyLayout'; diff --git a/src/app/components/nav/styles.css.ts b/src/app/components/nav/styles.css.ts index 48b2a4d34..edcc3420c 100644 --- a/src/app/components/nav/styles.css.ts +++ b/src/app/components/nav/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ComplexStyleRule, createVar, style } from '@vanilla-extract/css'; import { RecipeVariants, recipe } from '@vanilla-extract/recipes'; import { ContainerColor, DefaultReset, Disabled, RadiiVariant, color, config, toRem } from 'folds'; diff --git a/src/app/components/page/Page.tsx b/src/app/components/page/Page.tsx index a54563855..1c311381b 100644 --- a/src/app/components/page/Page.tsx +++ b/src/app/components/page/Page.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ComponentProps, MutableRefObject, ReactNode } from 'react'; import { Box, Header, Line, Scroll, Text, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/page/index.tsx b/src/app/components/page/index.tsx index d9925d752..b9efdbb65 100644 --- a/src/app/components/page/index.tsx +++ b/src/app/components/page/index.tsx @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Page'; diff --git a/src/app/components/page/style.css.ts b/src/app/components/page/style.css.ts index b106320f3..56beb316b 100644 --- a/src/app/components/page/style.css.ts +++ b/src/app/components/page/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { recipe, RecipeVariants } from '@vanilla-extract/recipes'; import { DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/components/password-input/PasswordInput.tsx b/src/app/components/password-input/PasswordInput.tsx index 4ffe0d831..7043f0453 100644 --- a/src/app/components/password-input/PasswordInput.tsx +++ b/src/app/components/password-input/PasswordInput.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ComponentProps, forwardRef } from 'react'; import { Icon, IconButton, Input, config, Icons } from 'folds'; import { UseStateProvider } from '../UseStateProvider'; diff --git a/src/app/components/password-input/index.ts b/src/app/components/password-input/index.ts index 1eed3611f..49834b346 100644 --- a/src/app/components/password-input/index.ts +++ b/src/app/components/password-input/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './PasswordInput'; diff --git a/src/app/components/power/PowerColorBadge.tsx b/src/app/components/power/PowerColorBadge.tsx index 497385b7b..217d727d2 100644 --- a/src/app/components/power/PowerColorBadge.tsx +++ b/src/app/components/power/PowerColorBadge.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/power/PowerIcon.tsx b/src/app/components/power/PowerIcon.tsx index 6f6df2421..0da6e5206 100644 --- a/src/app/components/power/PowerIcon.tsx +++ b/src/app/components/power/PowerIcon.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import * as css from './style.css'; import { JUMBO_EMOJI_REG } from '../../utils/regex'; diff --git a/src/app/components/power/PowerSelector.tsx b/src/app/components/power/PowerSelector.tsx index 2b3b48c3d..5e1094b37 100644 --- a/src/app/components/power/PowerSelector.tsx +++ b/src/app/components/power/PowerSelector.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { forwardRef, MouseEventHandler, ReactNode, useState } from 'react'; import FocusTrap from 'focus-trap-react'; import { Box, config, Menu, MenuItem, PopOut, Scroll, Text, toRem, RectCords } from 'folds'; diff --git a/src/app/components/power/index.ts b/src/app/components/power/index.ts index e2887808a..64e75ac75 100644 --- a/src/app/components/power/index.ts +++ b/src/app/components/power/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './PowerColorBadge'; export * from './PowerIcon'; export * from './PowerSelector'; diff --git a/src/app/components/power/style.css.ts b/src/app/components/power/style.css.ts index 60737f8cb..0f1876f91 100644 --- a/src/app/components/power/style.css.ts +++ b/src/app/components/power/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createVar, style } from '@vanilla-extract/css'; import { recipe, RecipeVariants } from '@vanilla-extract/recipes'; import { color, config, DefaultReset, toRem } from 'folds'; diff --git a/src/app/components/presence/Presence.tsx b/src/app/components/presence/Presence.tsx index 96b5aef27..44aba2621 100644 --- a/src/app/components/presence/Presence.tsx +++ b/src/app/components/presence/Presence.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { as, Badge, diff --git a/src/app/components/presence/index.ts b/src/app/components/presence/index.ts index 88fcdf78b..83d5028b2 100644 --- a/src/app/components/presence/index.ts +++ b/src/app/components/presence/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Presence'; diff --git a/src/app/components/presence/styles.css.ts b/src/app/components/presence/styles.css.ts index 0d7e91d84..fb0f10a6d 100644 --- a/src/app/components/presence/styles.css.ts +++ b/src/app/components/presence/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/components/room-avatar/RoomAvatar.css.ts b/src/app/components/room-avatar/RoomAvatar.css.ts index 26c2a7d5e..a45c49915 100644 --- a/src/app/components/room-avatar/RoomAvatar.css.ts +++ b/src/app/components/room-avatar/RoomAvatar.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color } from 'folds'; diff --git a/src/app/components/room-avatar/RoomAvatar.tsx b/src/app/components/room-avatar/RoomAvatar.tsx index 51b51d86c..113c127a8 100644 --- a/src/app/components/room-avatar/RoomAvatar.tsx +++ b/src/app/components/room-avatar/RoomAvatar.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { AvatarFallback, AvatarImage, Icon, Icons, color } from 'folds'; import React, { ComponentProps, diff --git a/src/app/components/room-avatar/index.ts b/src/app/components/room-avatar/index.ts index dde886cfb..826c04e4f 100644 --- a/src/app/components/room-avatar/index.ts +++ b/src/app/components/room-avatar/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './RoomAvatar'; diff --git a/src/app/components/room-card/RoomCard.tsx b/src/app/components/room-card/RoomCard.tsx index 1af0820f4..b36b889ef 100644 --- a/src/app/components/room-card/RoomCard.tsx +++ b/src/app/components/room-card/RoomCard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useCallback, useRef, useState } from 'react'; import { Avatar, diff --git a/src/app/components/room-card/index.ts b/src/app/components/room-card/index.ts index f06ebed27..ab08747dc 100644 --- a/src/app/components/room-card/index.ts +++ b/src/app/components/room-card/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './RoomCard'; diff --git a/src/app/components/room-card/style.css.ts b/src/app/components/room-card/style.css.ts index b15acfe4a..3393ec4e0 100644 --- a/src/app/components/room-card/style.css.ts +++ b/src/app/components/room-card/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, config } from 'folds'; import { ContainerColor } from '../../styles/ContainerColor.css'; diff --git a/src/app/components/room-intro/RoomIntro.tsx b/src/app/components/room-intro/RoomIntro.tsx index 88ce2b33b..b5308101b 100644 --- a/src/app/components/room-intro/RoomIntro.tsx +++ b/src/app/components/room-intro/RoomIntro.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import { Avatar, Box, Button, Text, as } from 'folds'; import { timeDayMonthYear, timeHourMinute } from '../../utils/time'; diff --git a/src/app/components/room-intro/index.ts b/src/app/components/room-intro/index.ts index 7250c7898..1868fb87c 100644 --- a/src/app/components/room-intro/index.ts +++ b/src/app/components/room-intro/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './RoomIntro'; diff --git a/src/app/components/room-topic-viewer/RoomTopicViewer.tsx b/src/app/components/room-topic-viewer/RoomTopicViewer.tsx index 521287722..02396c28d 100644 --- a/src/app/components/room-topic-viewer/RoomTopicViewer.tsx +++ b/src/app/components/room-topic-viewer/RoomTopicViewer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { as, Box, Header, Icon, IconButton, Icons, Modal, Scroll, Text } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/room-topic-viewer/index.ts b/src/app/components/room-topic-viewer/index.ts index 82cb00470..1f22826fa 100644 --- a/src/app/components/room-topic-viewer/index.ts +++ b/src/app/components/room-topic-viewer/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './RoomTopicViewer'; diff --git a/src/app/components/room-topic-viewer/style.css.ts b/src/app/components/room-topic-viewer/style.css.ts index d943500ce..2b10ddb34 100644 --- a/src/app/components/room-topic-viewer/style.css.ts +++ b/src/app/components/room-topic-viewer/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/components/scroll-top-container/ScrollTopContainer.tsx b/src/app/components/scroll-top-container/ScrollTopContainer.tsx index e91d0580a..1cf8fa8b9 100644 --- a/src/app/components/scroll-top-container/ScrollTopContainer.tsx +++ b/src/app/components/scroll-top-container/ScrollTopContainer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { RefObject, useCallback, useState } from 'react'; import { Box, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/scroll-top-container/index.ts b/src/app/components/scroll-top-container/index.ts index 392e1b231..adb39b2fb 100644 --- a/src/app/components/scroll-top-container/index.ts +++ b/src/app/components/scroll-top-container/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ScrollTopContainer'; diff --git a/src/app/components/scroll-top-container/style.css.ts b/src/app/components/scroll-top-container/style.css.ts index 39a3cc9bd..46f67c1e6 100644 --- a/src/app/components/scroll-top-container/style.css.ts +++ b/src/app/components/scroll-top-container/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { keyframes, style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/components/sequence-card/SequenceCard.tsx b/src/app/components/sequence-card/SequenceCard.tsx index 46d5ea0f7..1acbe4666 100644 --- a/src/app/components/sequence-card/SequenceCard.tsx +++ b/src/app/components/sequence-card/SequenceCard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ComponentProps } from 'react'; import { Box, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/sequence-card/index.ts b/src/app/components/sequence-card/index.ts index 98ec5b78b..756f77f54 100644 --- a/src/app/components/sequence-card/index.ts +++ b/src/app/components/sequence-card/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './SequenceCard'; diff --git a/src/app/components/sequence-card/style.css.ts b/src/app/components/sequence-card/style.css.ts index 2665b46e7..97f69d732 100644 --- a/src/app/components/sequence-card/style.css.ts +++ b/src/app/components/sequence-card/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createVar } from '@vanilla-extract/css'; import { RecipeVariants, recipe } from '@vanilla-extract/recipes'; import { config } from 'folds'; diff --git a/src/app/components/server-badge/ServerBadge.tsx b/src/app/components/server-badge/ServerBadge.tsx index f61a146fe..6763841c4 100644 --- a/src/app/components/server-badge/ServerBadge.tsx +++ b/src/app/components/server-badge/ServerBadge.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { as, Badge, Text } from 'folds'; diff --git a/src/app/components/server-badge/index.ts b/src/app/components/server-badge/index.ts index eed89184c..5a5a0b42e 100644 --- a/src/app/components/server-badge/index.ts +++ b/src/app/components/server-badge/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ServerBadge'; diff --git a/src/app/components/setting-tile/SettingTile.tsx b/src/app/components/setting-tile/SettingTile.tsx index bcf63344a..afc9c21d8 100644 --- a/src/app/components/setting-tile/SettingTile.tsx +++ b/src/app/components/setting-tile/SettingTile.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box, Text } from 'folds'; import { BreakWord } from '../../styles/Text.css'; diff --git a/src/app/components/setting-tile/index.ts b/src/app/components/setting-tile/index.ts index 49fede72c..48675688b 100644 --- a/src/app/components/setting-tile/index.ts +++ b/src/app/components/setting-tile/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './SettingTile'; diff --git a/src/app/components/sidebar/Sidebar.css.ts b/src/app/components/sidebar/Sidebar.css.ts index c36862232..621beca0f 100644 --- a/src/app/components/sidebar/Sidebar.css.ts +++ b/src/app/components/sidebar/Sidebar.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createVar, style } from '@vanilla-extract/css'; import { recipe, RecipeVariants } from '@vanilla-extract/recipes'; import { color, config, DefaultReset, Disabled, FocusOutline, toRem } from 'folds'; diff --git a/src/app/components/sidebar/Sidebar.tsx b/src/app/components/sidebar/Sidebar.tsx index 7caf1b21b..e6b73b5b8 100644 --- a/src/app/components/sidebar/Sidebar.tsx +++ b/src/app/components/sidebar/Sidebar.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import classNames from 'classnames'; import { as } from 'folds'; import React from 'react'; diff --git a/src/app/components/sidebar/SidebarContent.tsx b/src/app/components/sidebar/SidebarContent.tsx index b09ea64a7..befd043b7 100644 --- a/src/app/components/sidebar/SidebarContent.tsx +++ b/src/app/components/sidebar/SidebarContent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box } from 'folds'; diff --git a/src/app/components/sidebar/SidebarItem.tsx b/src/app/components/sidebar/SidebarItem.tsx index b23772bb7..b2db47f08 100644 --- a/src/app/components/sidebar/SidebarItem.tsx +++ b/src/app/components/sidebar/SidebarItem.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import classNames from 'classnames'; import { as, Avatar, Text, Tooltip, TooltipProvider, toRem } from 'folds'; import React, { ComponentProps, ReactNode, RefCallback } from 'react'; diff --git a/src/app/components/sidebar/SidebarStack.tsx b/src/app/components/sidebar/SidebarStack.tsx index c0e976c8e..26447a433 100644 --- a/src/app/components/sidebar/SidebarStack.tsx +++ b/src/app/components/sidebar/SidebarStack.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import classNames from 'classnames'; import { as } from 'folds'; diff --git a/src/app/components/sidebar/SidebarStackSeparator.tsx b/src/app/components/sidebar/SidebarStackSeparator.tsx index 110341ca5..8988f3b47 100644 --- a/src/app/components/sidebar/SidebarStackSeparator.tsx +++ b/src/app/components/sidebar/SidebarStackSeparator.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Line, toRem } from 'folds'; diff --git a/src/app/components/sidebar/index.ts b/src/app/components/sidebar/index.ts index 49e15b3e1..cf42f7489 100644 --- a/src/app/components/sidebar/index.ts +++ b/src/app/components/sidebar/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Sidebar'; export * from './SidebarItem'; export * from './SidebarContent'; diff --git a/src/app/components/splash-screen/SplashScreen.css.ts b/src/app/components/splash-screen/SplashScreen.css.ts index 3cb6a4832..ad2da7714 100644 --- a/src/app/components/splash-screen/SplashScreen.css.ts +++ b/src/app/components/splash-screen/SplashScreen.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, toRem } from 'folds'; diff --git a/src/app/components/splash-screen/SplashScreen.tsx b/src/app/components/splash-screen/SplashScreen.tsx index 7df70c4a1..e636ab713 100644 --- a/src/app/components/splash-screen/SplashScreen.tsx +++ b/src/app/components/splash-screen/SplashScreen.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Text } from 'folds'; import React, { ReactNode } from 'react'; import classNames from 'classnames'; diff --git a/src/app/components/splash-screen/index.ts b/src/app/components/splash-screen/index.ts index e3e5dd34d..550ee23ce 100644 --- a/src/app/components/splash-screen/index.ts +++ b/src/app/components/splash-screen/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './SplashScreen'; diff --git a/src/app/components/stacked-avatar/StackedAvatar.tsx b/src/app/components/stacked-avatar/StackedAvatar.tsx index 2f2197794..99aaf2765 100644 --- a/src/app/components/stacked-avatar/StackedAvatar.tsx +++ b/src/app/components/stacked-avatar/StackedAvatar.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { as, Avatar } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/stacked-avatar/index.ts b/src/app/components/stacked-avatar/index.ts index 63d9f56d0..feb651e7e 100644 --- a/src/app/components/stacked-avatar/index.ts +++ b/src/app/components/stacked-avatar/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './StackedAvatar'; diff --git a/src/app/components/stacked-avatar/styles.css.ts b/src/app/components/stacked-avatar/styles.css.ts index 3bbf7271a..c5dfef902 100644 --- a/src/app/components/stacked-avatar/styles.css.ts +++ b/src/app/components/stacked-avatar/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ComplexStyleRule } from '@vanilla-extract/css'; import { recipe, RecipeVariants } from '@vanilla-extract/recipes'; import { color, config, ContainerColor, toRem } from 'folds'; diff --git a/src/app/components/text-viewer/TextViewer.css.ts b/src/app/components/text-viewer/TextViewer.css.ts index 83ee6058b..5f7f63fc3 100644 --- a/src/app/components/text-viewer/TextViewer.css.ts +++ b/src/app/components/text-viewer/TextViewer.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config } from 'folds'; diff --git a/src/app/components/text-viewer/TextViewer.tsx b/src/app/components/text-viewer/TextViewer.tsx index ec4ed0a55..8117b924c 100644 --- a/src/app/components/text-viewer/TextViewer.tsx +++ b/src/app/components/text-viewer/TextViewer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ import React, { ComponentProps, HTMLAttributes, Suspense, forwardRef, lazy } from 'react'; import classNames from 'classnames'; diff --git a/src/app/components/text-viewer/index.ts b/src/app/components/text-viewer/index.ts index 4cf8e281e..f8b775919 100644 --- a/src/app/components/text-viewer/index.ts +++ b/src/app/components/text-viewer/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './TextViewer'; diff --git a/src/app/components/time-date/DatePicker.tsx b/src/app/components/time-date/DatePicker.tsx index faa43a3fe..ff4b3acf3 100644 --- a/src/app/components/time-date/DatePicker.tsx +++ b/src/app/components/time-date/DatePicker.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { forwardRef } from 'react'; import { Menu, Box, Text, Chip } from 'folds'; import dayjs from 'dayjs'; diff --git a/src/app/components/time-date/PickerColumn.tsx b/src/app/components/time-date/PickerColumn.tsx index c31daf43a..207e0196a 100644 --- a/src/app/components/time-date/PickerColumn.tsx +++ b/src/app/components/time-date/PickerColumn.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box, Text, Scroll } from 'folds'; import { CutoutCard } from '../cutout-card'; diff --git a/src/app/components/time-date/TimePicker.tsx b/src/app/components/time-date/TimePicker.tsx index 03731b476..c031babea 100644 --- a/src/app/components/time-date/TimePicker.tsx +++ b/src/app/components/time-date/TimePicker.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { forwardRef } from 'react'; import { Menu, Box, Text, Chip } from 'folds'; import dayjs from 'dayjs'; diff --git a/src/app/components/time-date/index.ts b/src/app/components/time-date/index.ts index 592c5af75..a1b6955e0 100644 --- a/src/app/components/time-date/index.ts +++ b/src/app/components/time-date/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './TimePicker'; export * from './DatePicker'; diff --git a/src/app/components/time-date/styles.css.ts b/src/app/components/time-date/styles.css.ts index 97926d3f5..4c00930d9 100644 --- a/src/app/components/time-date/styles.css.ts +++ b/src/app/components/time-date/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config, toRem } from 'folds'; diff --git a/src/app/components/typing-indicator/TypingIndicator.css.ts b/src/app/components/typing-indicator/TypingIndicator.css.ts index 662fe0556..c105304a3 100644 --- a/src/app/components/typing-indicator/TypingIndicator.css.ts +++ b/src/app/components/typing-indicator/TypingIndicator.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { keyframes } from '@vanilla-extract/css'; import { recipe } from '@vanilla-extract/recipes'; import { DefaultReset, toRem } from 'folds'; diff --git a/src/app/components/typing-indicator/TypingIndicator.tsx b/src/app/components/typing-indicator/TypingIndicator.tsx index f8daa45e5..6629d21b4 100644 --- a/src/app/components/typing-indicator/TypingIndicator.tsx +++ b/src/app/components/typing-indicator/TypingIndicator.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, as, toRem } from 'folds'; import * as css from './TypingIndicator.css'; diff --git a/src/app/components/typing-indicator/index.ts b/src/app/components/typing-indicator/index.ts index 07efe0caa..3e1095846 100644 --- a/src/app/components/typing-indicator/index.ts +++ b/src/app/components/typing-indicator/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './TypingIndicator'; diff --git a/src/app/components/uia-stages/DummyStage.tsx b/src/app/components/uia-stages/DummyStage.tsx index ce19ab268..8abd42754 100644 --- a/src/app/components/uia-stages/DummyStage.tsx +++ b/src/app/components/uia-stages/DummyStage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useEffect, useCallback } from 'react'; import { Dialog, Text, Box, Button, config } from 'folds'; import { StageComponentProps } from './types'; diff --git a/src/app/components/uia-stages/EmailStage.tsx b/src/app/components/uia-stages/EmailStage.tsx index fd2cc3d0d..c5d72303a 100644 --- a/src/app/components/uia-stages/EmailStage.tsx +++ b/src/app/components/uia-stages/EmailStage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useEffect, useCallback, FormEventHandler } from 'react'; import { Dialog, Text, Box, Button, config, Input, color, Spinner } from 'folds'; import { printMatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/components/uia-stages/OAuthStage.tsx b/src/app/components/uia-stages/OAuthStage.tsx index ead233854..d7be5a03b 100644 --- a/src/app/components/uia-stages/OAuthStage.tsx +++ b/src/app/components/uia-stages/OAuthStage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, color, config, Dialog, Header, Icon, IconButton, Icons, Text } from 'folds'; import React, { useCallback } from 'react'; import { ObjectReader } from 'neurone/lib/utils'; diff --git a/src/app/components/uia-stages/PasswordStage.tsx b/src/app/components/uia-stages/PasswordStage.tsx index fc62e82a7..eea54831d 100644 --- a/src/app/components/uia-stages/PasswordStage.tsx +++ b/src/app/components/uia-stages/PasswordStage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, color, config, Dialog, Header, Icon, IconButton, Icons, Text } from 'folds'; import React, { FormEventHandler } from 'react'; import { StageComponentProps } from './types'; diff --git a/src/app/components/uia-stages/ReCaptchaStage.tsx b/src/app/components/uia-stages/ReCaptchaStage.tsx index 5f6b8df9f..089f0f526 100644 --- a/src/app/components/uia-stages/ReCaptchaStage.tsx +++ b/src/app/components/uia-stages/ReCaptchaStage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Dialog, Text, Box, Button, config } from 'folds'; import ReCAPTCHA from 'react-google-recaptcha'; diff --git a/src/app/components/uia-stages/RegistrationTokenStage.tsx b/src/app/components/uia-stages/RegistrationTokenStage.tsx index 5ab041b06..81130bdcc 100644 --- a/src/app/components/uia-stages/RegistrationTokenStage.tsx +++ b/src/app/components/uia-stages/RegistrationTokenStage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useEffect, useCallback, FormEventHandler } from 'react'; import { Dialog, Text, Box, Button, config, Input } from 'folds'; import { StageComponentProps } from './types'; diff --git a/src/app/components/uia-stages/SSOStage.tsx b/src/app/components/uia-stages/SSOStage.tsx index e3d6126a5..58046e93d 100644 --- a/src/app/components/uia-stages/SSOStage.tsx +++ b/src/app/components/uia-stages/SSOStage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, color, config, Dialog, Header, Icon, IconButton, Icons, Text } from 'folds'; import React, { useCallback, useEffect, useState } from 'react'; import { StageComponentProps } from './types'; diff --git a/src/app/components/uia-stages/TermsStage.tsx b/src/app/components/uia-stages/TermsStage.tsx index ecb8fb410..d5e881c38 100644 --- a/src/app/components/uia-stages/TermsStage.tsx +++ b/src/app/components/uia-stages/TermsStage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useEffect, useCallback } from 'react'; import { Dialog, Text, Box, Button, config } from 'folds'; import { StageComponentProps } from './types'; diff --git a/src/app/components/uia-stages/index.ts b/src/app/components/uia-stages/index.ts index 1cde0f14d..47651b1c7 100644 --- a/src/app/components/uia-stages/index.ts +++ b/src/app/components/uia-stages/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './types'; export * from './DummyStage'; export * from './EmailStage'; diff --git a/src/app/components/uia-stages/types.ts b/src/app/components/uia-stages/types.ts index 1ad16c492..495628c9f 100644 --- a/src/app/components/uia-stages/types.ts +++ b/src/app/components/uia-stages/types.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { AuthStageData } from '../../hooks/useUIAFlows'; export type StageComponentProps = { diff --git a/src/app/components/unread-badge/UnreadBadge.tsx b/src/app/components/unread-badge/UnreadBadge.tsx index f8bfefa3c..5b38bdcef 100644 --- a/src/app/components/unread-badge/UnreadBadge.tsx +++ b/src/app/components/unread-badge/UnreadBadge.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { CSSProperties, ReactNode } from 'react'; import { Box, Badge, toRem, Text } from 'folds'; import { millify } from '../../plugins/millify'; diff --git a/src/app/components/unread-badge/index.ts b/src/app/components/unread-badge/index.ts index 7d77fe9be..0a1b15772 100644 --- a/src/app/components/unread-badge/index.ts +++ b/src/app/components/unread-badge/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './UnreadBadge'; diff --git a/src/app/components/upload-board/UploadBoard.css.ts b/src/app/components/upload-board/UploadBoard.css.ts index 80c1b264d..ad686d3d3 100644 --- a/src/app/components/upload-board/UploadBoard.css.ts +++ b/src/app/components/upload-board/UploadBoard.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/components/upload-board/UploadBoard.tsx b/src/app/components/upload-board/UploadBoard.tsx index d386b0bfd..772749641 100644 --- a/src/app/components/upload-board/UploadBoard.tsx +++ b/src/app/components/upload-board/UploadBoard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MutableRefObject, ReactNode, useImperativeHandle, useRef } from 'react'; import { Badge, Box, Chip, Header, Icon, Icons, Spinner, Text, as, percent } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/components/upload-board/index.ts b/src/app/components/upload-board/index.ts index 24ae780c9..d44786f86 100644 --- a/src/app/components/upload-board/index.ts +++ b/src/app/components/upload-board/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './UploadBoard'; diff --git a/src/app/components/upload-card/CompactUploadCardRenderer.tsx b/src/app/components/upload-card/CompactUploadCardRenderer.tsx index f81b0e937..e1d11b7fe 100644 --- a/src/app/components/upload-card/CompactUploadCardRenderer.tsx +++ b/src/app/components/upload-card/CompactUploadCardRenderer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useEffect } from 'react'; import { Chip, Icon, IconButton, Icons, Text, color } from 'folds'; import { printMatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/components/upload-card/UploadCard.css.ts b/src/app/components/upload-card/UploadCard.css.ts index ad3caf10e..027b566fe 100644 --- a/src/app/components/upload-card/UploadCard.css.ts +++ b/src/app/components/upload-card/UploadCard.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { RecipeVariants, recipe } from '@vanilla-extract/recipes'; import { RadiiVariant, color, config } from 'folds'; diff --git a/src/app/components/upload-card/UploadCard.tsx b/src/app/components/upload-card/UploadCard.tsx index 1e2edb96f..0bb3848f6 100644 --- a/src/app/components/upload-card/UploadCard.tsx +++ b/src/app/components/upload-card/UploadCard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Badge, Box, Icon, Icons, ProgressBar, Text, percent } from 'folds'; import React, { ReactNode, forwardRef } from 'react'; diff --git a/src/app/components/upload-card/UploadCardRenderer.tsx b/src/app/components/upload-card/UploadCardRenderer.tsx index b5dae5124..408ca4a0a 100644 --- a/src/app/components/upload-card/UploadCardRenderer.tsx +++ b/src/app/components/upload-card/UploadCardRenderer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useEffect } from 'react'; import { printMatrixError } from 'neurone/lib/matrix-request'; import { Box, Chip, Icon, IconButton, Icons, Text, color, config, toRem } from 'folds'; diff --git a/src/app/components/upload-card/index.ts b/src/app/components/upload-card/index.ts index e014ab8a8..e39977f7a 100644 --- a/src/app/components/upload-card/index.ts +++ b/src/app/components/upload-card/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './UploadCard'; export * from './UploadCardRenderer'; export * from './CompactUploadCardRenderer'; diff --git a/src/app/components/url-preview/UrlPreview.css.tsx b/src/app/components/url-preview/UrlPreview.css.tsx index cd0b25284..a3e8aaca7 100644 --- a/src/app/components/url-preview/UrlPreview.css.tsx +++ b/src/app/components/url-preview/UrlPreview.css.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/components/url-preview/UrlPreview.tsx b/src/app/components/url-preview/UrlPreview.tsx index 4ba3e4e22..44fa6adeb 100644 --- a/src/app/components/url-preview/UrlPreview.tsx +++ b/src/app/components/url-preview/UrlPreview.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import classNames from 'classnames'; import { Box, as } from 'folds'; diff --git a/src/app/components/url-preview/UrlPreviewCard.css.tsx b/src/app/components/url-preview/UrlPreviewCard.css.tsx index ff711549e..2271685f4 100644 --- a/src/app/components/url-preview/UrlPreviewCard.css.tsx +++ b/src/app/components/url-preview/UrlPreviewCard.css.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { recipe } from '@vanilla-extract/recipes'; import { DefaultReset, color, toRem } from 'folds'; diff --git a/src/app/components/url-preview/UrlPreviewCard.tsx b/src/app/components/url-preview/UrlPreviewCard.tsx index a61c29ef7..10d038d94 100644 --- a/src/app/components/url-preview/UrlPreviewCard.tsx +++ b/src/app/components/url-preview/UrlPreviewCard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect, useRef, useState } from 'react'; import { Box, Icon, IconButton, Icons, Scroll, Spinner, Text, as, color, config } from 'folds'; import { getPreviewUrl, GetPreviewUrlOK } from 'neurone/lib/api/matrix/client/v1/media'; diff --git a/src/app/components/url-preview/index.ts b/src/app/components/url-preview/index.ts index 90dc2ffdd..013d85174 100644 --- a/src/app/components/url-preview/index.ts +++ b/src/app/components/url-preview/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './UrlPreview'; export * from './UrlPreviewCard'; diff --git a/src/app/components/user-avatar/UserAvatar.css.ts b/src/app/components/user-avatar/UserAvatar.css.ts index b1512448f..92184d437 100644 --- a/src/app/components/user-avatar/UserAvatar.css.ts +++ b/src/app/components/user-avatar/UserAvatar.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color } from 'folds'; diff --git a/src/app/components/user-avatar/UserAvatar.tsx b/src/app/components/user-avatar/UserAvatar.tsx index dbd534a37..ba3c4939c 100644 --- a/src/app/components/user-avatar/UserAvatar.tsx +++ b/src/app/components/user-avatar/UserAvatar.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { AvatarFallback, AvatarImage, color } from 'folds'; import React, { ReactEventHandler, ReactNode, useState } from 'react'; import classNames from 'classnames'; diff --git a/src/app/components/user-avatar/index.ts b/src/app/components/user-avatar/index.ts index d1b24f3b3..8b7177aaf 100644 --- a/src/app/components/user-avatar/index.ts +++ b/src/app/components/user-avatar/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './UserAvatar'; diff --git a/src/app/components/user-profile/CreatorChip.tsx b/src/app/components/user-profile/CreatorChip.tsx index c1fdafb0d..cb0939ff8 100644 --- a/src/app/components/user-profile/CreatorChip.tsx +++ b/src/app/components/user-profile/CreatorChip.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Chip, config, Icon, Icons, Menu, MenuItem, PopOut, RectCords, Text } from 'folds'; import React, { MouseEventHandler, useState } from 'react'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/components/user-profile/PowerChip.tsx b/src/app/components/user-profile/PowerChip.tsx index 3a52754ac..efcfb0f29 100644 --- a/src/app/components/user-profile/PowerChip.tsx +++ b/src/app/components/user-profile/PowerChip.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, diff --git a/src/app/components/user-profile/UserChips.tsx b/src/app/components/user-profile/UserChips.tsx index f75734121..a3429c55d 100644 --- a/src/app/components/user-profile/UserChips.tsx +++ b/src/app/components/user-profile/UserChips.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useMemo, useState } from 'react'; import { useNavigate } from 'react-router-dom'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/components/user-profile/UserHero.tsx b/src/app/components/user-profile/UserHero.tsx index 86098a6a1..14535dcff 100644 --- a/src/app/components/user-profile/UserHero.tsx +++ b/src/app/components/user-profile/UserHero.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useState } from 'react'; import { Avatar, diff --git a/src/app/components/user-profile/UserModeration.tsx b/src/app/components/user-profile/UserModeration.tsx index 6bdb27747..c0f9b7d83 100644 --- a/src/app/components/user-profile/UserModeration.tsx +++ b/src/app/components/user-profile/UserModeration.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index cad7b60b4..eace4da86 100644 --- a/src/app/components/user-profile/UserRoomProfile.tsx +++ b/src/app/components/user-profile/UserRoomProfile.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, config, Icon, Icons, Text } from 'folds'; import React from 'react'; import { useNavigate } from 'react-router-dom'; diff --git a/src/app/components/user-profile/index.ts b/src/app/components/user-profile/index.ts index 54542c76a..9b950fe07 100644 --- a/src/app/components/user-profile/index.ts +++ b/src/app/components/user-profile/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './UserRoomProfile'; diff --git a/src/app/components/user-profile/styles.css.ts b/src/app/components/user-profile/styles.css.ts index b8dc6567e..eeff15d14 100644 --- a/src/app/components/user-profile/styles.css.ts +++ b/src/app/components/user-profile/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { keyframes, style } from '@vanilla-extract/css'; import { color, config, toRem } from 'folds'; diff --git a/src/app/components/virtualizer/VirtualTile.tsx b/src/app/components/virtualizer/VirtualTile.tsx index 0c6a5bd3c..d2e078d52 100644 --- a/src/app/components/virtualizer/VirtualTile.tsx +++ b/src/app/components/virtualizer/VirtualTile.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { VirtualItem } from '@tanstack/react-virtual'; import { as } from 'folds'; import React from 'react'; diff --git a/src/app/components/virtualizer/index.ts b/src/app/components/virtualizer/index.ts index 44a5b09b2..877d30c86 100644 --- a/src/app/components/virtualizer/index.ts +++ b/src/app/components/virtualizer/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './VirtualTile'; diff --git a/src/app/components/virtualizer/style.css.ts b/src/app/components/virtualizer/style.css.ts index 962550cce..b457a4c8f 100644 --- a/src/app/components/virtualizer/style.css.ts +++ b/src/app/components/virtualizer/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset } from 'folds'; diff --git a/src/app/cs-api.ts b/src/app/cs-api.ts index 95a131a85..902a6abda 100644 --- a/src/app/cs-api.ts +++ b/src/app/cs-api.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import to from 'await-to-js'; import { trimTrailingSlash } from './utils/common'; diff --git a/src/app/cs-errorcode.ts b/src/app/cs-errorcode.ts index 6c21d670c..ca56c50c8 100644 --- a/src/app/cs-errorcode.ts +++ b/src/app/cs-errorcode.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export enum ErrorCode { M_FORBIDDEN = 'M_FORBIDDEN', M_UNKNOWN_TOKEN = 'M_UNKNOWN_TOKEN', diff --git a/src/app/features/add-existing/AddExisting.tsx b/src/app/features/add-existing/AddExisting.tsx index 327f93ff7..998d9215a 100644 --- a/src/app/features/add-existing/AddExisting.tsx +++ b/src/app/features/add-existing/AddExisting.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import FocusTrap from 'focus-trap-react'; import { Avatar, diff --git a/src/app/features/add-existing/index.ts b/src/app/features/add-existing/index.ts index 3607c062d..65137c5ae 100644 --- a/src/app/features/add-existing/index.ts +++ b/src/app/features/add-existing/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './AddExisting'; diff --git a/src/app/features/call-status/CallControl.tsx b/src/app/features/call-status/CallControl.tsx index 1808be929..0edb21b46 100644 --- a/src/app/features/call-status/CallControl.tsx +++ b/src/app/features/call-status/CallControl.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Chip, Icon, IconButton, Icons, Spinner, Text, Tooltip, TooltipProvider } from 'folds'; import React, { useCallback } from 'react'; import { useSetAtom } from 'jotai'; diff --git a/src/app/features/call-status/CallRoomName.tsx b/src/app/features/call-status/CallRoomName.tsx index 2a7e19b4b..9bc60834c 100644 --- a/src/app/features/call-status/CallRoomName.tsx +++ b/src/app/features/call-status/CallRoomName.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Chip, Icon, Icons, Text, toRem } from 'folds'; import { useAtomValue } from 'jotai'; diff --git a/src/app/features/call-status/CallStatus.tsx b/src/app/features/call-status/CallStatus.tsx index 57eb3bef9..4751ba106 100644 --- a/src/app/features/call-status/CallStatus.tsx +++ b/src/app/features/call-status/CallStatus.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo } from 'react'; import { Box, Spinner } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/features/call-status/LiveChip.tsx b/src/app/features/call-status/LiveChip.tsx index 6769a1fd2..508059cd6 100644 --- a/src/app/features/call-status/LiveChip.tsx +++ b/src/app/features/call-status/LiveChip.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useState } from 'react'; import { Avatar, diff --git a/src/app/features/call-status/MemberGlance.tsx b/src/app/features/call-status/MemberGlance.tsx index 7190b0c3c..83a717542 100644 --- a/src/app/features/call-status/MemberGlance.tsx +++ b/src/app/features/call-status/MemberGlance.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, config, Icon, Icons, Text } from 'folds'; import React, { useMemo } from 'react'; import { UserAvatar } from '../../components/user-avatar'; diff --git a/src/app/features/call-status/MemberSpeaking.tsx b/src/app/features/call-status/MemberSpeaking.tsx index e3985657b..b43b85b34 100644 --- a/src/app/features/call-status/MemberSpeaking.tsx +++ b/src/app/features/call-status/MemberSpeaking.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, Icons, Text } from 'folds'; import { RoomMembersAPI } from '../../hooks/useRoomMembers'; diff --git a/src/app/features/call-status/components.tsx b/src/app/features/call-status/components.tsx index cd0c0dafa..b53291d71 100644 --- a/src/app/features/call-status/components.tsx +++ b/src/app/features/call-status/components.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Line } from 'folds'; import * as css from './styles.css'; diff --git a/src/app/features/call-status/index.ts b/src/app/features/call-status/index.ts index 99accf8bf..c3eb8863f 100644 --- a/src/app/features/call-status/index.ts +++ b/src/app/features/call-status/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './CallStatus'; diff --git a/src/app/features/call-status/styles.css.ts b/src/app/features/call-status/styles.css.ts index dd32bc3d4..3a22bba5f 100644 --- a/src/app/features/call-status/styles.css.ts +++ b/src/app/features/call-status/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, toRem } from 'folds'; diff --git a/src/app/features/call/CallControls.tsx b/src/app/features/call/CallControls.tsx index 469b47a8e..357b26610 100644 --- a/src/app/features/call/CallControls.tsx +++ b/src/app/features/call/CallControls.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useRef, useState } from 'react'; import { Box, diff --git a/src/app/features/call/CallMemberCard.tsx b/src/app/features/call/CallMemberCard.tsx index c42922256..c95cd8797 100644 --- a/src/app/features/call/CallMemberCard.tsx +++ b/src/app/features/call/CallMemberCard.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import { Avatar, Box, Icon, Icons, Text } from 'folds'; import { useMediaAuthentication } from '../../hooks/useMediaAuthentication'; diff --git a/src/app/features/call/CallView.tsx b/src/app/features/call/CallView.tsx index 005f9500e..a0c5adec2 100644 --- a/src/app/features/call/CallView.tsx +++ b/src/app/features/call/CallView.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { RefObject, useMemo, useRef } from 'react'; import { Badge, Box, color, Header, Scroll, Text, toRem } from 'folds'; import { useCallEmbed, useCallJoined, useCallEmbedPlacementSync } from '../../hooks/useCallEmbed'; diff --git a/src/app/features/call/CameraPreview.tsx b/src/app/features/call/CameraPreview.tsx index 9ef670dee..6d8e38cd4 100644 --- a/src/app/features/call/CameraPreview.tsx +++ b/src/app/features/call/CameraPreview.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, config, Icon, Icons, Text, toRem } from 'folds'; import { useAtomValue } from 'jotai'; import React, { useEffect, useRef, useState } from 'react'; diff --git a/src/app/features/call/Controls.tsx b/src/app/features/call/Controls.tsx index 6aa94ff50..c238b5d7c 100644 --- a/src/app/features/call/Controls.tsx +++ b/src/app/features/call/Controls.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Icon, IconButton, Icons, Line, Text, Tooltip, TooltipProvider } from 'folds'; import { useAtom } from 'jotai'; diff --git a/src/app/features/call/PrescreenControls.tsx b/src/app/features/call/PrescreenControls.tsx index c8a08ddd0..43db3cc2e 100644 --- a/src/app/features/call/PrescreenControls.tsx +++ b/src/app/features/call/PrescreenControls.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback } from 'react'; import { Box, Button, Icon, Icons, Spinner, Text } from 'folds'; import { SequenceCard } from '../../components/sequence-card'; diff --git a/src/app/features/call/styles.css.ts b/src/app/features/call/styles.css.ts index 2b9f28ad6..b4237e96d 100644 --- a/src/app/features/call/styles.css.ts +++ b/src/app/features/call/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config, toRem } from 'folds'; diff --git a/src/app/features/common-settings/developer-tools/DevelopTools.tsx b/src/app/features/common-settings/developer-tools/DevelopTools.tsx index 0ce6f3774..f2600a4c0 100644 --- a/src/app/features/common-settings/developer-tools/DevelopTools.tsx +++ b/src/app/features/common-settings/developer-tools/DevelopTools.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useMemo, useState } from 'react'; import { Box, diff --git a/src/app/features/common-settings/developer-tools/SendRoomEvent.tsx b/src/app/features/common-settings/developer-tools/SendRoomEvent.tsx index 8a2dc59df..d9b52ae1f 100644 --- a/src/app/features/common-settings/developer-tools/SendRoomEvent.tsx +++ b/src/app/features/common-settings/developer-tools/SendRoomEvent.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useRef, useState, FormEventHandler, useEffect } from 'react'; import { Box, diff --git a/src/app/features/common-settings/developer-tools/StateEventEditor.tsx b/src/app/features/common-settings/developer-tools/StateEventEditor.tsx index cfb54a209..490d1e9ed 100644 --- a/src/app/features/common-settings/developer-tools/StateEventEditor.tsx +++ b/src/app/features/common-settings/developer-tools/StateEventEditor.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { Box, diff --git a/src/app/features/common-settings/developer-tools/index.ts b/src/app/features/common-settings/developer-tools/index.ts index 1fcceff54..c6e4c5bf2 100644 --- a/src/app/features/common-settings/developer-tools/index.ts +++ b/src/app/features/common-settings/developer-tools/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './DevelopTools'; diff --git a/src/app/features/common-settings/emojis-stickers/EmojisStickers.tsx b/src/app/features/common-settings/emojis-stickers/EmojisStickers.tsx index ad8ffae68..90409a967 100644 --- a/src/app/features/common-settings/emojis-stickers/EmojisStickers.tsx +++ b/src/app/features/common-settings/emojis-stickers/EmojisStickers.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import { Box, Icon, IconButton, Icons, Scroll, Text } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/common-settings/emojis-stickers/RoomPacks.tsx b/src/app/features/common-settings/emojis-stickers/RoomPacks.tsx index 8ae2d177b..c8dcb0108 100644 --- a/src/app/features/common-settings/emojis-stickers/RoomPacks.tsx +++ b/src/app/features/common-settings/emojis-stickers/RoomPacks.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useMemo, useState } from 'react'; import { Box, diff --git a/src/app/features/common-settings/emojis-stickers/index.ts b/src/app/features/common-settings/emojis-stickers/index.ts index 9c9e9f529..dded344e7 100644 --- a/src/app/features/common-settings/emojis-stickers/index.ts +++ b/src/app/features/common-settings/emojis-stickers/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './EmojisStickers'; diff --git a/src/app/features/common-settings/general/RoomAddress.tsx b/src/app/features/common-settings/general/RoomAddress.tsx index 26986eef5..1640529c4 100644 --- a/src/app/features/common-settings/general/RoomAddress.tsx +++ b/src/app/features/common-settings/general/RoomAddress.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useState } from 'react'; import { Badge, diff --git a/src/app/features/common-settings/general/RoomEncryption.tsx b/src/app/features/common-settings/general/RoomEncryption.tsx index 5e1e8c44c..1b8e6e377 100644 --- a/src/app/features/common-settings/general/RoomEncryption.tsx +++ b/src/app/features/common-settings/general/RoomEncryption.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Badge, Box, diff --git a/src/app/features/common-settings/general/RoomHistoryVisibility.tsx b/src/app/features/common-settings/general/RoomHistoryVisibility.tsx index de13a902b..dfac4b879 100644 --- a/src/app/features/common-settings/general/RoomHistoryVisibility.tsx +++ b/src/app/features/common-settings/general/RoomHistoryVisibility.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useMemo, useState } from 'react'; import { Button, diff --git a/src/app/features/common-settings/general/RoomJoinRules.tsx b/src/app/features/common-settings/general/RoomJoinRules.tsx index c45203799..5e4f3286e 100644 --- a/src/app/features/common-settings/general/RoomJoinRules.tsx +++ b/src/app/features/common-settings/general/RoomJoinRules.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useMemo } from 'react'; import { color, Text } from 'folds'; import { useAtomValue } from 'jotai'; diff --git a/src/app/features/common-settings/general/RoomProfile.tsx b/src/app/features/common-settings/general/RoomProfile.tsx index 2367ab0ad..2968dbec9 100644 --- a/src/app/features/common-settings/general/RoomProfile.tsx +++ b/src/app/features/common-settings/general/RoomProfile.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Avatar, Box, diff --git a/src/app/features/common-settings/general/RoomPublish.tsx b/src/app/features/common-settings/general/RoomPublish.tsx index 6be65d8b5..ae1374a8d 100644 --- a/src/app/features/common-settings/general/RoomPublish.tsx +++ b/src/app/features/common-settings/general/RoomPublish.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, color, Spinner, Switch, Text } from 'folds'; import { SequenceCard } from '../../../components/sequence-card'; diff --git a/src/app/features/common-settings/general/RoomUpgrade.tsx b/src/app/features/common-settings/general/RoomUpgrade.tsx index 58ce5107b..7aa833f78 100644 --- a/src/app/features/common-settings/general/RoomUpgrade.tsx +++ b/src/app/features/common-settings/general/RoomUpgrade.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect, useState } from 'react'; import { Button, diff --git a/src/app/features/common-settings/general/index.ts b/src/app/features/common-settings/general/index.ts index 80804b0b3..187b43160 100644 --- a/src/app/features/common-settings/general/index.ts +++ b/src/app/features/common-settings/general/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './RoomAddress'; export * from './RoomEncryption'; export * from './RoomHistoryVisibility'; diff --git a/src/app/features/common-settings/members/Members.tsx b/src/app/features/common-settings/members/Members.tsx index 85597842d..16f0a2cff 100644 --- a/src/app/features/common-settings/members/Members.tsx +++ b/src/app/features/common-settings/members/Members.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, MouseEventHandler, diff --git a/src/app/features/common-settings/members/index.ts b/src/app/features/common-settings/members/index.ts index 9e0df7864..4034483b0 100644 --- a/src/app/features/common-settings/members/index.ts +++ b/src/app/features/common-settings/members/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Members'; diff --git a/src/app/features/common-settings/permissions/PermissionGroups.tsx b/src/app/features/common-settings/permissions/PermissionGroups.tsx index 50f516193..f2a83e0a5 100644 --- a/src/app/features/common-settings/permissions/PermissionGroups.tsx +++ b/src/app/features/common-settings/permissions/PermissionGroups.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable react/no-array-index-key */ import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { Badge, Box, Button, Chip, config, Icon, Icons, Menu, Spinner, Text } from 'folds'; diff --git a/src/app/features/common-settings/permissions/Powers.tsx b/src/app/features/common-settings/permissions/Powers.tsx index fed04c941..197269b92 100644 --- a/src/app/features/common-settings/permissions/Powers.tsx +++ b/src/app/features/common-settings/permissions/Powers.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable react/no-array-index-key */ import React, { useState, MouseEventHandler, ReactNode } from 'react'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/features/common-settings/permissions/PowersEditor.tsx b/src/app/features/common-settings/permissions/PowersEditor.tsx index 73097d89d..5f839cb57 100644 --- a/src/app/features/common-settings/permissions/PowersEditor.tsx +++ b/src/app/features/common-settings/permissions/PowersEditor.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, MouseEventHandler, useCallback, useMemo, useState } from 'react'; import { Box, diff --git a/src/app/features/common-settings/permissions/index.ts b/src/app/features/common-settings/permissions/index.ts index 6a6e62c7c..1c080f344 100644 --- a/src/app/features/common-settings/permissions/index.ts +++ b/src/app/features/common-settings/permissions/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './PermissionGroups'; export * from './Powers'; export * from './PowersEditor'; diff --git a/src/app/features/common-settings/permissions/types.ts b/src/app/features/common-settings/permissions/types.ts index fe70d122c..d952b1cec 100644 --- a/src/app/features/common-settings/permissions/types.ts +++ b/src/app/features/common-settings/permissions/types.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { PermissionLocation } from '../../../hooks/usePowerLevels'; export type PermissionItem = { diff --git a/src/app/features/common-settings/styles.css.ts b/src/app/features/common-settings/styles.css.ts index ce89c16ee..162aa4c15 100644 --- a/src/app/features/common-settings/styles.css.ts +++ b/src/app/features/common-settings/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/features/create-chat/CreateChat.tsx b/src/app/features/create-chat/CreateChat.tsx index b50cbc654..cde9101aa 100644 --- a/src/app/features/create-chat/CreateChat.tsx +++ b/src/app/features/create-chat/CreateChat.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, color, config, Icon, Icons, Input, Spinner, Switch, Text } from 'folds'; import React, { FormEventHandler, useCallback, useState } from 'react'; import { useNavigate } from 'react-router-dom'; diff --git a/src/app/features/create-chat/index.ts b/src/app/features/create-chat/index.ts index ed988dfbf..90c52fcc0 100644 --- a/src/app/features/create-chat/index.ts +++ b/src/app/features/create-chat/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './CreateChat'; diff --git a/src/app/features/create-room/CreateRoom.tsx b/src/app/features/create-room/CreateRoom.tsx index 1846c09aa..73c6b579c 100644 --- a/src/app/features/create-room/CreateRoom.tsx +++ b/src/app/features/create-room/CreateRoom.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useEffect, useState } from 'react'; import { Box, diff --git a/src/app/features/create-room/CreateRoomModal.tsx b/src/app/features/create-room/CreateRoomModal.tsx index 08d515727..d456f7cd7 100644 --- a/src/app/features/create-room/CreateRoomModal.tsx +++ b/src/app/features/create-room/CreateRoomModal.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, diff --git a/src/app/features/create-room/index.ts b/src/app/features/create-room/index.ts index f60c94b37..1eaaeac8a 100644 --- a/src/app/features/create-room/index.ts +++ b/src/app/features/create-room/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './CreateRoom'; export * from './CreateRoomModal'; diff --git a/src/app/features/create-space/CreateSpace.tsx b/src/app/features/create-space/CreateSpace.tsx index 2e8772b20..52e413470 100644 --- a/src/app/features/create-space/CreateSpace.tsx +++ b/src/app/features/create-space/CreateSpace.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useEffect, useState } from 'react'; import { Box, diff --git a/src/app/features/create-space/CreateSpaceModal.tsx b/src/app/features/create-space/CreateSpaceModal.tsx index 860953bc9..28544c69a 100644 --- a/src/app/features/create-space/CreateSpaceModal.tsx +++ b/src/app/features/create-space/CreateSpaceModal.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, diff --git a/src/app/features/create-space/index.ts b/src/app/features/create-space/index.ts index d203993bd..8d3441199 100644 --- a/src/app/features/create-space/index.ts +++ b/src/app/features/create-space/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './CreateSpace'; export * from './CreateSpaceModal'; diff --git a/src/app/features/join-before-navigate/JoinBeforeNavigate.tsx b/src/app/features/join-before-navigate/JoinBeforeNavigate.tsx index 1a5ca147f..4198a06a0 100644 --- a/src/app/features/join-before-navigate/JoinBeforeNavigate.tsx +++ b/src/app/features/join-before-navigate/JoinBeforeNavigate.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, IconButton, Icons, Scroll, Text, toRem } from 'folds'; import { useAtomValue } from 'jotai'; diff --git a/src/app/features/join-before-navigate/index.ts b/src/app/features/join-before-navigate/index.ts index 9093325cc..338d3b080 100644 --- a/src/app/features/join-before-navigate/index.ts +++ b/src/app/features/join-before-navigate/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './JoinBeforeNavigate'; diff --git a/src/app/features/lobby/DnD.css.ts b/src/app/features/lobby/DnD.css.ts index 77259c701..8cce1faab 100644 --- a/src/app/features/lobby/DnD.css.ts +++ b/src/app/features/lobby/DnD.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, toRem } from 'folds'; import { ContainerColor } from '../../styles/ContainerColor.css'; diff --git a/src/app/features/lobby/DnD.tsx b/src/app/features/lobby/DnD.tsx index 5fd7e90ab..245d25b31 100644 --- a/src/app/features/lobby/DnD.tsx +++ b/src/app/features/lobby/DnD.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { RefObject, useEffect, useRef, useState } from 'react'; import { dropTargetForElements, diff --git a/src/app/features/lobby/HierarchyItemMenu.tsx b/src/app/features/lobby/HierarchyItemMenu.tsx index 91d9af90d..454eca458 100644 --- a/src/app/features/lobby/HierarchyItemMenu.tsx +++ b/src/app/features/lobby/HierarchyItemMenu.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useEffect, useState } from 'react'; import FocusTrap from 'focus-trap-react'; import { diff --git a/src/app/features/lobby/Lobby.tsx b/src/app/features/lobby/Lobby.tsx index 6ef932562..d9083f9c2 100644 --- a/src/app/features/lobby/Lobby.tsx +++ b/src/app/features/lobby/Lobby.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useMemo, useRef, useState } from 'react'; import { Box, Chip, Icon, IconButton, Icons, Line, Scroll, Spinner, Text, config } from 'folds'; import { useVirtualizer } from '@tanstack/react-virtual'; diff --git a/src/app/features/lobby/LobbyHeader.css.ts b/src/app/features/lobby/LobbyHeader.css.ts index c6784dec9..44ae7b1aa 100644 --- a/src/app/features/lobby/LobbyHeader.css.ts +++ b/src/app/features/lobby/LobbyHeader.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/features/lobby/LobbyHeader.tsx b/src/app/features/lobby/LobbyHeader.tsx index 3583edd93..1c84f031b 100644 --- a/src/app/features/lobby/LobbyHeader.tsx +++ b/src/app/features/lobby/LobbyHeader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, forwardRef, useState } from 'react'; import { Avatar, diff --git a/src/app/features/lobby/LobbyHero.css.tsx b/src/app/features/lobby/LobbyHero.css.tsx index 3349213a2..639320754 100644 --- a/src/app/features/lobby/LobbyHero.css.tsx +++ b/src/app/features/lobby/LobbyHero.css.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/features/lobby/LobbyHero.tsx b/src/app/features/lobby/LobbyHero.tsx index 71b7a07e8..65794c5c3 100644 --- a/src/app/features/lobby/LobbyHero.tsx +++ b/src/app/features/lobby/LobbyHero.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Avatar, Overlay, OverlayBackdrop, OverlayCenter, Text } from 'folds'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/features/lobby/RoomItem.css.ts b/src/app/features/lobby/RoomItem.css.ts index 812ff1dbf..1f695be80 100644 --- a/src/app/features/lobby/RoomItem.css.ts +++ b/src/app/features/lobby/RoomItem.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config, toRem } from 'folds'; diff --git a/src/app/features/lobby/RoomItem.tsx b/src/app/features/lobby/RoomItem.tsx index 8db5506eb..ea6f69f2b 100644 --- a/src/app/features/lobby/RoomItem.tsx +++ b/src/app/features/lobby/RoomItem.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, ReactNode, useCallback, useRef, useState } from 'react'; import { Avatar, diff --git a/src/app/features/lobby/SpaceHierarchy.tsx b/src/app/features/lobby/SpaceHierarchy.tsx index 7178feb27..43296e12f 100644 --- a/src/app/features/lobby/SpaceHierarchy.tsx +++ b/src/app/features/lobby/SpaceHierarchy.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { forwardRef, MouseEventHandler, useEffect, useMemo } from 'react'; import { Box, config, Text } from 'folds'; import { SpaceHierarchyRoomChunk } from 'neurone/lib/api/types'; diff --git a/src/app/features/lobby/SpaceItem.css.ts b/src/app/features/lobby/SpaceItem.css.ts index 05743636c..5fa884082 100644 --- a/src/app/features/lobby/SpaceItem.css.ts +++ b/src/app/features/lobby/SpaceItem.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, toRem } from 'folds'; import { recipe } from '@vanilla-extract/recipes'; diff --git a/src/app/features/lobby/SpaceItem.tsx b/src/app/features/lobby/SpaceItem.tsx index c1431f89a..fdd72d65b 100644 --- a/src/app/features/lobby/SpaceItem.tsx +++ b/src/app/features/lobby/SpaceItem.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { Fragment, MouseEventHandler, diff --git a/src/app/features/lobby/index.ts b/src/app/features/lobby/index.ts index 08355c79a..dbb760795 100644 --- a/src/app/features/lobby/index.ts +++ b/src/app/features/lobby/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Lobby'; diff --git a/src/app/features/lobby/style.css.ts b/src/app/features/lobby/style.css.ts index 1c7891b47..443bb8f99 100644 --- a/src/app/features/lobby/style.css.ts +++ b/src/app/features/lobby/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config } from 'folds'; diff --git a/src/app/features/message-search/MessageSearch.tsx b/src/app/features/message-search/MessageSearch.tsx index 2ca88e0ff..31d1d90f6 100644 --- a/src/app/features/message-search/MessageSearch.tsx +++ b/src/app/features/message-search/MessageSearch.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { RefObject, useEffect, useMemo, useRef } from 'react'; import { Text, Box, Icon, Icons, config, Spinner, IconButton, Line, toRem } from 'folds'; import { useAtomValue } from 'jotai'; diff --git a/src/app/features/message-search/SearchFilters.tsx b/src/app/features/message-search/SearchFilters.tsx index 3618f1701..dd2abce0c 100644 --- a/src/app/features/message-search/SearchFilters.tsx +++ b/src/app/features/message-search/SearchFilters.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, MouseEventHandler, diff --git a/src/app/features/message-search/SearchInput.tsx b/src/app/features/message-search/SearchInput.tsx index 533eb5fdb..5966157a3 100644 --- a/src/app/features/message-search/SearchInput.tsx +++ b/src/app/features/message-search/SearchInput.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, RefObject } from 'react'; import { Box, Text, Input, Icon, Icons, Spinner, Chip, config } from 'folds'; diff --git a/src/app/features/message-search/SearchResultGroup.tsx b/src/app/features/message-search/SearchResultGroup.tsx index 593146fd6..09dc967a1 100644 --- a/src/app/features/message-search/SearchResultGroup.tsx +++ b/src/app/features/message-search/SearchResultGroup.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable react/destructuring-assignment */ import React, { MouseEventHandler, ReactNode, useMemo } from 'react'; import { Avatar, Box, Chip, Header, Icon, Icons, Text, config } from 'folds'; diff --git a/src/app/features/message-search/index.ts b/src/app/features/message-search/index.ts index 5160d12fd..564c91e39 100644 --- a/src/app/features/message-search/index.ts +++ b/src/app/features/message-search/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './MessageSearch'; diff --git a/src/app/features/message-search/useMessageSearch.ts b/src/app/features/message-search/useMessageSearch.ts index 1dd7cbacc..091f03180 100644 --- a/src/app/features/message-search/useMessageSearch.ts +++ b/src/app/features/message-search/useMessageSearch.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { ClientEvent, diff --git a/src/app/features/room-nav/RoomNavCategoryButton.tsx b/src/app/features/room-nav/RoomNavCategoryButton.tsx index 3af8aeac8..c8bd40bca 100644 --- a/src/app/features/room-nav/RoomNavCategoryButton.tsx +++ b/src/app/features/room-nav/RoomNavCategoryButton.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { as, Chip, Icon, Icons, Text } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/features/room-nav/RoomNavItem.tsx b/src/app/features/room-nav/RoomNavItem.tsx index 63b7f81e8..cc4bfdd2c 100644 --- a/src/app/features/room-nav/RoomNavItem.tsx +++ b/src/app/features/room-nav/RoomNavItem.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, forwardRef, useState } from 'react'; import { Avatar, diff --git a/src/app/features/room-nav/ThreadNavItems.tsx b/src/app/features/room-nav/ThreadNavItems.tsx index 13e6a4202..68efae74f 100644 --- a/src/app/features/room-nav/ThreadNavItems.tsx +++ b/src/app/features/room-nav/ThreadNavItems.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo } from 'react'; import { MessageEventWithoutRoomId, UnreadNotificationCounts } from 'neurone/lib/api/types'; import { Box, Text } from 'folds'; diff --git a/src/app/features/room-nav/index.ts b/src/app/features/room-nav/index.ts index d1ea3ec7b..c23b43be4 100644 --- a/src/app/features/room-nav/index.ts +++ b/src/app/features/room-nav/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './RoomNavItem'; export * from './RoomNavCategoryButton'; diff --git a/src/app/features/room-nav/styles.css.ts b/src/app/features/room-nav/styles.css.ts index 39d308b5a..1405e8af5 100644 --- a/src/app/features/room-nav/styles.css.ts +++ b/src/app/features/room-nav/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, toRem } from 'folds'; diff --git a/src/app/features/room-settings/RoomSettings.tsx b/src/app/features/room-settings/RoomSettings.tsx index b74280027..ac9a93c1e 100644 --- a/src/app/features/room-settings/RoomSettings.tsx +++ b/src/app/features/room-settings/RoomSettings.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo, useState } from 'react'; import { Avatar, Box, config, Icon, IconButton, Icons, IconSrc, MenuItem, Text } from 'folds'; import { PageNav, PageNavContent, PageNavHeader, PageRoot } from '../../components/page'; diff --git a/src/app/features/room-settings/RoomSettingsRenderer.tsx b/src/app/features/room-settings/RoomSettingsRenderer.tsx index 65f06165c..43d37a045 100644 --- a/src/app/features/room-settings/RoomSettingsRenderer.tsx +++ b/src/app/features/room-settings/RoomSettingsRenderer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { RoomSettings } from './RoomSettings'; import { Modal500 } from '../../components/Modal500'; diff --git a/src/app/features/room-settings/general/General.tsx b/src/app/features/room-settings/general/General.tsx index 0dc17845e..58a705e53 100644 --- a/src/app/features/room-settings/general/General.tsx +++ b/src/app/features/room-settings/general/General.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, IconButton, Icons, Scroll, Text } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/room-settings/general/index.ts b/src/app/features/room-settings/general/index.ts index 0ab02c523..611c8441a 100644 --- a/src/app/features/room-settings/general/index.ts +++ b/src/app/features/room-settings/general/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './General'; diff --git a/src/app/features/room-settings/index.ts b/src/app/features/room-settings/index.ts index d94968453..54b62dedf 100644 --- a/src/app/features/room-settings/index.ts +++ b/src/app/features/room-settings/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './RoomSettings'; export * from './RoomSettingsRenderer'; diff --git a/src/app/features/room-settings/permissions/Permissions.tsx b/src/app/features/room-settings/permissions/Permissions.tsx index 33b9022c4..e0b07faaf 100644 --- a/src/app/features/room-settings/permissions/Permissions.tsx +++ b/src/app/features/room-settings/permissions/Permissions.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import { Box, Icon, IconButton, Icons, Scroll, Text } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/room-settings/permissions/index.ts b/src/app/features/room-settings/permissions/index.ts index 753f2b4bc..a6671e0b5 100644 --- a/src/app/features/room-settings/permissions/index.ts +++ b/src/app/features/room-settings/permissions/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Permissions'; diff --git a/src/app/features/room-settings/permissions/usePermissionItems.ts b/src/app/features/room-settings/permissions/usePermissionItems.ts index 9a4efc728..bfeafa0d1 100644 --- a/src/app/features/room-settings/permissions/usePermissionItems.ts +++ b/src/app/features/room-settings/permissions/usePermissionItems.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { MessageEvent, StateEvent } from '../../../../types/matrix/room'; import { PermissionGroup, PermissionItem } from '../../common-settings/permissions'; diff --git a/src/app/features/room-settings/styles.css.ts b/src/app/features/room-settings/styles.css.ts index ce89c16ee..162aa4c15 100644 --- a/src/app/features/room-settings/styles.css.ts +++ b/src/app/features/room-settings/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/features/room/CallChatView.tsx b/src/app/features/room/CallChatView.tsx index 50df737e3..84cd64d0f 100644 --- a/src/app/features/room/CallChatView.tsx +++ b/src/app/features/room/CallChatView.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { useSetAtom } from 'jotai'; import { Box, Text, TooltipProvider, Tooltip, Icon, Icons, IconButton, toRem } from 'folds'; diff --git a/src/app/features/room/CommandAutocomplete.tsx b/src/app/features/room/CommandAutocomplete.tsx index 02f64532c..0d021e42b 100644 --- a/src/app/features/room/CommandAutocomplete.tsx +++ b/src/app/features/room/CommandAutocomplete.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { KeyboardEvent as ReactKeyboardEvent, useCallback, useEffect, useMemo } from 'react'; import { Editor } from 'slate'; import { Box, config, MenuItem, Text } from 'folds'; diff --git a/src/app/features/room/FileDropDialog.tsx b/src/app/features/room/FileDropDialog.tsx index a88ed547c..185a91788 100644 --- a/src/app/features/room/FileDropDialog.tsx +++ b/src/app/features/room/FileDropDialog.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Dialog, diff --git a/src/app/features/room/MembersDrawer.css.ts b/src/app/features/room/MembersDrawer.css.ts index 860ceda01..91403a8d3 100644 --- a/src/app/features/room/MembersDrawer.css.ts +++ b/src/app/features/room/MembersDrawer.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { keyframes, style } from '@vanilla-extract/css'; import { config, toRem } from 'folds'; diff --git a/src/app/features/room/MembersDrawer.tsx b/src/app/features/room/MembersDrawer.tsx index 8d57f46a0..cd43a954f 100644 --- a/src/app/features/room/MembersDrawer.tsx +++ b/src/app/features/room/MembersDrawer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, MouseEventHandler, diff --git a/src/app/features/room/OutboxView.tsx b/src/app/features/room/OutboxView.tsx index 27f48d0ab..f481bbb0b 100644 --- a/src/app/features/room/OutboxView.tsx +++ b/src/app/features/room/OutboxView.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { Fragment, MouseEventHandler, ReactNode } from 'react'; import classNames from 'classnames'; import { diff --git a/src/app/features/room/Room.tsx b/src/app/features/room/Room.tsx index 22a0bc6e7..b5ec872ce 100644 --- a/src/app/features/room/Room.tsx +++ b/src/app/features/room/Room.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useRef } from 'react'; import { Box, Line } from 'folds'; import { useParams } from 'react-router-dom'; diff --git a/src/app/features/room/RoomInput.tsx b/src/app/features/room/RoomInput.tsx index 35bbe7c03..26c74a85d 100644 --- a/src/app/features/room/RoomInput.tsx +++ b/src/app/features/room/RoomInput.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { KeyboardEventHandler, RefObject, diff --git a/src/app/features/room/RoomInputPlaceholder.css.ts b/src/app/features/room/RoomInputPlaceholder.css.ts index d0873dad1..85cc6c79a 100644 --- a/src/app/features/room/RoomInputPlaceholder.css.ts +++ b/src/app/features/room/RoomInputPlaceholder.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, toRem } from 'folds'; diff --git a/src/app/features/room/RoomInputPlaceholder.tsx b/src/app/features/room/RoomInputPlaceholder.tsx index 77c7ccf36..e0f4491bc 100644 --- a/src/app/features/room/RoomInputPlaceholder.tsx +++ b/src/app/features/room/RoomInputPlaceholder.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ComponentProps } from 'react'; import { Box, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/features/room/RoomTimeline.tsx b/src/app/features/room/RoomTimeline.tsx index d46547e16..b7658ee47 100644 --- a/src/app/features/room/RoomTimeline.tsx +++ b/src/app/features/room/RoomTimeline.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, RefObject, diff --git a/src/app/features/room/RoomTombstone.css.ts b/src/app/features/room/RoomTombstone.css.ts index c4c04612c..323e0180e 100644 --- a/src/app/features/room/RoomTombstone.css.ts +++ b/src/app/features/room/RoomTombstone.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/features/room/RoomTombstone.tsx b/src/app/features/room/RoomTombstone.tsx index 0e371a23f..c8b10c3da 100644 --- a/src/app/features/room/RoomTombstone.tsx +++ b/src/app/features/room/RoomTombstone.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback } from 'react'; import { Box, Button, Spinner, Text, color } from 'folds'; import { postJoin, PostJoinOK } from 'neurone/lib/api/matrix/client/v3/join'; diff --git a/src/app/features/room/RoomView.tsx b/src/app/features/room/RoomView.tsx index bae18b1e6..2b3e2f881 100644 --- a/src/app/features/room/RoomView.tsx +++ b/src/app/features/room/RoomView.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MutableRefObject, useRef } from 'react'; import { Box, Text, config } from 'folds'; import { useEditor } from '../../components/editor'; diff --git a/src/app/features/room/RoomViewFollowing.tsx b/src/app/features/room/RoomViewFollowing.tsx index 4aa59617c..a3c1ab3cb 100644 --- a/src/app/features/room/RoomViewFollowing.tsx +++ b/src/app/features/room/RoomViewFollowing.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { useClient } from '../../hooks/useClient'; import { useObservableValue } from '../../hooks/useObservableValue'; diff --git a/src/app/features/room/RoomViewHeader.css.ts b/src/app/features/room/RoomViewHeader.css.ts index 19e1afea0..3bff258cc 100644 --- a/src/app/features/room/RoomViewHeader.css.ts +++ b/src/app/features/room/RoomViewHeader.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/features/room/RoomViewHeader.tsx b/src/app/features/room/RoomViewHeader.tsx index 60f0ea330..76965a046 100644 --- a/src/app/features/room/RoomViewHeader.tsx +++ b/src/app/features/room/RoomViewHeader.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, forwardRef, useState } from 'react'; import FocusTrap from 'focus-trap-react'; import { diff --git a/src/app/features/room/RoomViewTyping.css.ts b/src/app/features/room/RoomViewTyping.css.ts index 8d4872a20..dbc467a30 100644 --- a/src/app/features/room/RoomViewTyping.css.ts +++ b/src/app/features/room/RoomViewTyping.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { keyframes, style } from '@vanilla-extract/css'; import { DefaultReset, color, config } from 'folds'; diff --git a/src/app/features/room/RoomViewTyping.tsx b/src/app/features/room/RoomViewTyping.tsx index 9e3f3713e..6af98d54f 100644 --- a/src/app/features/room/RoomViewTyping.tsx +++ b/src/app/features/room/RoomViewTyping.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, IconButton, Icons, Text, as } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/features/room/components/FollowingMembers.tsx b/src/app/features/room/components/FollowingMembers.tsx index 137bdde02..ce2dba68e 100644 --- a/src/app/features/room/components/FollowingMembers.tsx +++ b/src/app/features/room/components/FollowingMembers.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo, useState } from 'react'; import { Box, diff --git a/src/app/features/room/components/JumpToLatestButton.tsx b/src/app/features/room/components/JumpToLatestButton.tsx index c53e68808..ec304ff2b 100644 --- a/src/app/features/room/components/JumpToLatestButton.tsx +++ b/src/app/features/room/components/JumpToLatestButton.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback } from 'react'; import { Chip, Icon, Icons, Spinner, Text } from 'folds'; import { AsyncStatus, useAsyncCallback } from '../../../hooks/useAsyncCallback'; diff --git a/src/app/features/room/components/PlaceholderList.tsx b/src/app/features/room/components/PlaceholderList.tsx index cce917c17..1bb86b3ca 100644 --- a/src/app/features/room/components/PlaceholderList.tsx +++ b/src/app/features/room/components/PlaceholderList.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ComponentType, forwardRef } from 'react'; import { MessageBase } from '../../../components/message'; diff --git a/src/app/features/room/components/TimelineDivider.tsx b/src/app/features/room/components/TimelineDivider.tsx index b834a4593..b00df0e08 100644 --- a/src/app/features/room/components/TimelineDivider.tsx +++ b/src/app/features/room/components/TimelineDivider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { forwardRef, ReactNode } from 'react'; import { as, Badge, Box, color, Line, Text } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/features/room/components/TimelineFloat.tsx b/src/app/features/room/components/TimelineFloat.tsx index 48ea6306d..fef8524ba 100644 --- a/src/app/features/room/components/TimelineFloat.tsx +++ b/src/app/features/room/components/TimelineFloat.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback } from 'react'; import { as, Box, Chip, Icon, Icons, Text } from 'folds'; import { ObservableValue } from 'neurone/lib/utils/observable'; diff --git a/src/app/features/room/components/index.ts b/src/app/features/room/components/index.ts index 43c897718..84f0bed68 100644 --- a/src/app/features/room/components/index.ts +++ b/src/app/features/room/components/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './TimelineDivider'; export * from './TimelineFloat'; export * from './JumpToLatestButton'; diff --git a/src/app/features/room/components/styles.css.ts b/src/app/features/room/components/styles.css.ts index f8709e1c8..eb2762272 100644 --- a/src/app/features/room/components/styles.css.ts +++ b/src/app/features/room/components/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { RecipeVariants, recipe } from '@vanilla-extract/recipes'; import { DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/features/room/hooks/useCanMessage.tsx b/src/app/features/room/hooks/useCanMessage.tsx index 0b0632373..f3a68f779 100644 --- a/src/app/features/room/hooks/useCanMessage.tsx +++ b/src/app/features/room/hooks/useCanMessage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useContext, createContext } from 'react'; import { MessageEvent } from '../../../../types/matrix/room'; import { useClient } from '../../../hooks/useClient'; diff --git a/src/app/features/room/hooks/useEditorAutoFocus.ts b/src/app/features/room/hooks/useEditorAutoFocus.ts index ab35a01c1..b757bff03 100644 --- a/src/app/features/room/hooks/useEditorAutoFocus.ts +++ b/src/app/features/room/hooks/useEditorAutoFocus.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MutableRefObject, RefObject, useCallback, useEffect } from 'react'; import { isKeyHotkey } from 'is-hotkey'; import { ReactEditor } from 'slate-react'; diff --git a/src/app/features/room/hooks/useSendEditedMessage.ts b/src/app/features/room/hooks/useSendEditedMessage.ts index f395613f5..755bdaf15 100644 --- a/src/app/features/room/hooks/useSendEditedMessage.ts +++ b/src/app/features/room/hooks/useSendEditedMessage.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useState } from 'react'; import { Editor } from 'slate'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; diff --git a/src/app/features/room/hooks/useSendMessage.ts b/src/app/features/room/hooks/useSendMessage.ts index 136afd74b..74dc00dea 100644 --- a/src/app/features/room/hooks/useSendMessage.ts +++ b/src/app/features/room/hooks/useSendMessage.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { Editor } from 'slate'; import { diff --git a/src/app/features/room/hooks/useSendReaction.ts b/src/app/features/room/hooks/useSendReaction.ts index 86d009312..005da1161 100644 --- a/src/app/features/room/hooks/useSendReaction.ts +++ b/src/app/features/room/hooks/useSendReaction.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useState } from 'react'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { ReactionContent, RelationType } from '../../../../types/matrix/common'; diff --git a/src/app/features/room/hooks/useTimeline.ts b/src/app/features/room/hooks/useTimeline.ts index 8d3e7205e..66fc8ec79 100644 --- a/src/app/features/room/hooks/useTimeline.ts +++ b/src/app/features/room/hooks/useTimeline.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, MouseEventHandler, diff --git a/src/app/features/room/hooks/useUploadItemPicker.ts b/src/app/features/room/hooks/useUploadItemPicker.ts index b40f3fa2e..5c50e59ee 100644 --- a/src/app/features/room/hooks/useUploadItemPicker.ts +++ b/src/app/features/room/hooks/useUploadItemPicker.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { RefObject, useCallback } from 'react'; import { useFileDropZone } from '../../../hooks/useFileDrop'; import { useFilePasteHandler } from '../../../hooks/useFilePasteHandler'; diff --git a/src/app/features/room/hooks/useUploadItems.ts b/src/app/features/room/hooks/useUploadItems.ts index 4c9400cda..119f1124f 100644 --- a/src/app/features/room/hooks/useUploadItems.ts +++ b/src/app/features/room/hooks/useUploadItems.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useAtom } from 'jotai'; import { useCallback } from 'react'; import { diff --git a/src/app/features/room/hooks/useUploadsAtom.ts b/src/app/features/room/hooks/useUploadsAtom.ts index 4f0d02a12..021a7d290 100644 --- a/src/app/features/room/hooks/useUploadsAtom.ts +++ b/src/app/features/room/hooks/useUploadsAtom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { roomUploadContentToUploadAtom, UploadItem } from '../../../state/room/roomInputDrafts'; import { createUploadsAtom } from '../../../state/upload'; diff --git a/src/app/features/room/index.ts b/src/app/features/room/index.ts index 50dbc7ae4..7f8e82c28 100644 --- a/src/app/features/room/index.ts +++ b/src/app/features/room/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Room'; diff --git a/src/app/features/room/jump-to-time/JumpToTime.tsx b/src/app/features/room/jump-to-time/JumpToTime.tsx index 5c72877e4..d5950be21 100644 --- a/src/app/features/room/jump-to-time/JumpToTime.tsx +++ b/src/app/features/room/jump-to-time/JumpToTime.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useState } from 'react'; import FocusTrap from 'focus-trap-react'; import { diff --git a/src/app/features/room/jump-to-time/index.ts b/src/app/features/room/jump-to-time/index.ts index 9bdc2c740..6b48f08a1 100644 --- a/src/app/features/room/jump-to-time/index.ts +++ b/src/app/features/room/jump-to-time/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './JumpToTime'; diff --git a/src/app/features/room/message/Message.tsx b/src/app/features/room/message/Message.tsx index 0f7998315..2f3a4c305 100644 --- a/src/app/features/room/message/Message.tsx +++ b/src/app/features/room/message/Message.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Avatar, Box, diff --git a/src/app/features/room/message/MessageEditor.tsx b/src/app/features/room/message/MessageEditor.tsx index 8dd6ce234..92e345ae4 100644 --- a/src/app/features/room/message/MessageEditor.tsx +++ b/src/app/features/room/message/MessageEditor.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { KeyboardEventHandler, MouseEventHandler, diff --git a/src/app/features/room/message/Reactions.tsx b/src/app/features/room/message/Reactions.tsx index 5cbb72183..5446ac81c 100644 --- a/src/app/features/room/message/Reactions.tsx +++ b/src/app/features/room/message/Reactions.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useEffect, useMemo, useState } from 'react'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { diff --git a/src/app/features/room/message/index.ts b/src/app/features/room/message/index.ts index 3e4544a91..f8418a0b3 100644 --- a/src/app/features/room/message/index.ts +++ b/src/app/features/room/message/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Reactions'; export * from './Message'; diff --git a/src/app/features/room/message/styles.css.ts b/src/app/features/room/message/styles.css.ts index 4be501bdc..3b0696917 100644 --- a/src/app/features/room/message/styles.css.ts +++ b/src/app/features/room/message/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, config, toRem } from 'folds'; diff --git a/src/app/features/room/message/thread-selector/ThreadSelector.tsx b/src/app/features/room/message/thread-selector/ThreadSelector.tsx index 50c54a58e..d02bb1d93 100644 --- a/src/app/features/room/message/thread-selector/ThreadSelector.tsx +++ b/src/app/features/room/message/thread-selector/ThreadSelector.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, color, config, Icon, Icons, Line, Text } from 'folds'; import classNames from 'classnames'; diff --git a/src/app/features/room/message/thread-selector/index.ts b/src/app/features/room/message/thread-selector/index.ts index 2dfa5d9e2..5f8797b62 100644 --- a/src/app/features/room/message/thread-selector/index.ts +++ b/src/app/features/room/message/thread-selector/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ThreadSelector'; diff --git a/src/app/features/room/message/thread-selector/styles.css.ts b/src/app/features/room/message/thread-selector/styles.css.ts index 2056e3e30..008e7e01b 100644 --- a/src/app/features/room/message/thread-selector/styles.css.ts +++ b/src/app/features/room/message/thread-selector/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, config, FocusOutline, toRem } from 'folds'; import { ContainerColor } from '../../../../styles/ContainerColor.css'; diff --git a/src/app/features/room/msgContent.ts b/src/app/features/room/msgContent.ts index 48a101137..089190c6a 100644 --- a/src/app/features/room/msgContent.ts +++ b/src/app/features/room/msgContent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import to from 'await-to-js'; import { postUpload, PostUploadOK } from 'neurone/lib/api/matrix/media/v3/upload'; import { diff --git a/src/app/features/room/reaction-viewer/ReactionViewer.css.ts b/src/app/features/room/reaction-viewer/ReactionViewer.css.ts index a8a85b035..b9f7622d5 100644 --- a/src/app/features/room/reaction-viewer/ReactionViewer.css.ts +++ b/src/app/features/room/reaction-viewer/ReactionViewer.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config } from 'folds'; diff --git a/src/app/features/room/reaction-viewer/ReactionViewer.tsx b/src/app/features/room/reaction-viewer/ReactionViewer.tsx index 8af2186d2..b805baf15 100644 --- a/src/app/features/room/reaction-viewer/ReactionViewer.tsx +++ b/src/app/features/room/reaction-viewer/ReactionViewer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import classNames from 'classnames'; import { diff --git a/src/app/features/room/reaction-viewer/index.ts b/src/app/features/room/reaction-viewer/index.ts index 172e6f301..057a7a40b 100644 --- a/src/app/features/room/reaction-viewer/index.ts +++ b/src/app/features/room/reaction-viewer/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ReactionViewer'; diff --git a/src/app/features/room/room-pin-menu/RoomPinMenu.css.ts b/src/app/features/room/room-pin-menu/RoomPinMenu.css.ts index 9b0269b5d..0b1f605d4 100644 --- a/src/app/features/room/room-pin-menu/RoomPinMenu.css.ts +++ b/src/app/features/room/room-pin-menu/RoomPinMenu.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config, toRem } from 'folds'; diff --git a/src/app/features/room/room-pin-menu/RoomPinMenu.tsx b/src/app/features/room/room-pin-menu/RoomPinMenu.tsx index ea14356fd..2155a5a5d 100644 --- a/src/app/features/room/room-pin-menu/RoomPinMenu.tsx +++ b/src/app/features/room/room-pin-menu/RoomPinMenu.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable react/destructuring-assignment */ import React, { forwardRef, diff --git a/src/app/features/room/room-pin-menu/index.ts b/src/app/features/room/room-pin-menu/index.ts index 65ddaeea1..a9cd15b68 100644 --- a/src/app/features/room/room-pin-menu/index.ts +++ b/src/app/features/room/room-pin-menu/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './RoomPinMenu'; diff --git a/src/app/features/room/thread-view/ThreadView.tsx b/src/app/features/room/thread-view/ThreadView.tsx index 6eaf13401..c6a309238 100644 --- a/src/app/features/room/thread-view/ThreadView.tsx +++ b/src/app/features/room/thread-view/ThreadView.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MutableRefObject, useRef } from 'react'; import { Box, config, Icon, IconButton, Icons, Text, Tooltip, TooltipProvider, toRem } from 'folds'; import { ThreadTimeline } from '../../../../client/room/ThreadTimeline'; diff --git a/src/app/features/room/thread-view/ThreadViewFollowing.tsx b/src/app/features/room/thread-view/ThreadViewFollowing.tsx index a7506b803..dfdea9caf 100644 --- a/src/app/features/room/thread-view/ThreadViewFollowing.tsx +++ b/src/app/features/room/thread-view/ThreadViewFollowing.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { ThreadTimeline } from '../../../../client/room/ThreadTimeline'; import { useObservableValue } from '../../../hooks/useObservableValue'; diff --git a/src/app/features/room/thread-view/TimelineView.tsx b/src/app/features/room/thread-view/TimelineView.tsx index 47b51bb8b..dcfd5b62f 100644 --- a/src/app/features/room/thread-view/TimelineView.tsx +++ b/src/app/features/room/thread-view/TimelineView.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { RefObject, useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { ReactEditor } from 'slate-react'; import { Editor } from 'slate'; diff --git a/src/app/features/room/thread-view/index.ts b/src/app/features/room/thread-view/index.ts index 6ba05aabf..22d6ee11c 100644 --- a/src/app/features/room/thread-view/index.ts +++ b/src/app/features/room/thread-view/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ThreadView'; diff --git a/src/app/features/room/thread-view/styles.css.ts b/src/app/features/room/thread-view/styles.css.ts index 7aa734c06..f5c7cb8ef 100644 --- a/src/app/features/room/thread-view/styles.css.ts +++ b/src/app/features/room/thread-view/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { keyframes, style } from '@vanilla-extract/css'; import { ContainerColor } from '../../../styles/ContainerColor.css'; diff --git a/src/app/features/search/Search.tsx b/src/app/features/search/Search.tsx index 696ba0623..4bdcb0007 100644 --- a/src/app/features/search/Search.tsx +++ b/src/app/features/search/Search.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import FocusTrap from 'focus-trap-react'; import { Avatar, diff --git a/src/app/features/search/index.ts b/src/app/features/search/index.ts index addd53308..b96c484a6 100644 --- a/src/app/features/search/index.ts +++ b/src/app/features/search/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Search'; diff --git a/src/app/features/settings/Settings.tsx b/src/app/features/settings/Settings.tsx index ea50a9a7f..e25eb718e 100644 --- a/src/app/features/settings/Settings.tsx +++ b/src/app/features/settings/Settings.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo, useState } from 'react'; import { Avatar, diff --git a/src/app/features/settings/about/About.tsx b/src/app/features/settings/about/About.tsx index a751ba32a..6002b0f46 100644 --- a/src/app/features/settings/about/About.tsx +++ b/src/app/features/settings/about/About.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, IconButton, Icon, Icons, Scroll, Button, config, toRem } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/settings/about/index.ts b/src/app/features/settings/about/index.ts index da0f79eba..e78629f71 100644 --- a/src/app/features/settings/about/index.ts +++ b/src/app/features/settings/about/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './About'; diff --git a/src/app/features/settings/account/Account.tsx b/src/app/features/settings/account/Account.tsx index c4b56e475..608013d7d 100644 --- a/src/app/features/settings/account/Account.tsx +++ b/src/app/features/settings/account/Account.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, IconButton, Icon, Icons, Scroll } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/settings/account/ContactInfo.tsx b/src/app/features/settings/account/ContactInfo.tsx index 6449ddd75..35a3080d6 100644 --- a/src/app/features/settings/account/ContactInfo.tsx +++ b/src/app/features/settings/account/ContactInfo.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect } from 'react'; import { Box, Text, Chip } from 'folds'; import { get3pid, Get3pidOK } from 'neurone/lib/api/matrix/client/v3/account'; diff --git a/src/app/features/settings/account/IgnoredUserList.tsx b/src/app/features/settings/account/IgnoredUserList.tsx index 89f0c10ca..68ba8ac53 100644 --- a/src/app/features/settings/account/IgnoredUserList.tsx +++ b/src/app/features/settings/account/IgnoredUserList.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, FormEventHandler, useCallback, useState } from 'react'; import { Box, Button, Chip, Icon, IconButton, Icons, Input, Spinner, Text, config } from 'folds'; import { putAccountData } from 'neurone/lib/api/matrix/client/v3/user'; diff --git a/src/app/features/settings/account/MatrixId.tsx b/src/app/features/settings/account/MatrixId.tsx index bb02510e4..86e501f52 100644 --- a/src/app/features/settings/account/MatrixId.tsx +++ b/src/app/features/settings/account/MatrixId.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, Chip } from 'folds'; import { SequenceCard } from '../../../components/sequence-card'; diff --git a/src/app/features/settings/account/Profile.tsx b/src/app/features/settings/account/Profile.tsx index a29c239d4..eeb34fc12 100644 --- a/src/app/features/settings/account/Profile.tsx +++ b/src/app/features/settings/account/Profile.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, FormEventHandler, diff --git a/src/app/features/settings/account/index.ts b/src/app/features/settings/account/index.ts index 4c71833ff..5cf1419a2 100644 --- a/src/app/features/settings/account/index.ts +++ b/src/app/features/settings/account/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Account'; diff --git a/src/app/features/settings/developer-tools/AccountData.tsx b/src/app/features/settings/developer-tools/AccountData.tsx index 5b5a736f8..385f16eca 100644 --- a/src/app/features/settings/developer-tools/AccountData.tsx +++ b/src/app/features/settings/developer-tools/AccountData.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, Icon, Icons, Button, MenuItem } from 'folds'; import { AccountDataEvent } from 'neurone/lib/api/types'; diff --git a/src/app/features/settings/developer-tools/DevelopTools.tsx b/src/app/features/settings/developer-tools/DevelopTools.tsx index 72ef8a1b3..e28965cac 100644 --- a/src/app/features/settings/developer-tools/DevelopTools.tsx +++ b/src/app/features/settings/developer-tools/DevelopTools.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useState } from 'react'; import { Box, Text, IconButton, Icon, Icons, Scroll, Switch, Button } from 'folds'; import { putAccountData } from 'neurone/lib/api/matrix/client/v3/user'; diff --git a/src/app/features/settings/developer-tools/index.ts b/src/app/features/settings/developer-tools/index.ts index 1fcceff54..c6e4c5bf2 100644 --- a/src/app/features/settings/developer-tools/index.ts +++ b/src/app/features/settings/developer-tools/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './DevelopTools'; diff --git a/src/app/features/settings/devices/DeviceTile.tsx b/src/app/features/settings/devices/DeviceTile.tsx index 3b2aad116..6d791b2dd 100644 --- a/src/app/features/settings/devices/DeviceTile.tsx +++ b/src/app/features/settings/devices/DeviceTile.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, ReactNode, useCallback, useState } from 'react'; import { Box, diff --git a/src/app/features/settings/devices/Devices.tsx b/src/app/features/settings/devices/Devices.tsx index 2976a655e..a56f72497 100644 --- a/src/app/features/settings/devices/Devices.tsx +++ b/src/app/features/settings/devices/Devices.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, IconButton, Icon, Icons, Scroll } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/settings/devices/LocalBackup.tsx b/src/app/features/settings/devices/LocalBackup.tsx index 782d2435e..b2ddfa4ac 100644 --- a/src/app/features/settings/devices/LocalBackup.tsx +++ b/src/app/features/settings/devices/LocalBackup.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useEffect, useState } from 'react'; import { Box, Button, color, Icon, Icons, Spinner, Text, toRem } from 'folds'; import FileSaver from 'file-saver'; diff --git a/src/app/features/settings/devices/OtherDevices.tsx b/src/app/features/settings/devices/OtherDevices.tsx index 683219635..18a8f4188 100644 --- a/src/app/features/settings/devices/OtherDevices.tsx +++ b/src/app/features/settings/devices/OtherDevices.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useState } from 'react'; import { Box, Button, config, Menu, Spinner, Text } from 'folds'; import { MatrixResponseResult, parseMatrixResp } from 'neurone/lib/matrix-request'; diff --git a/src/app/features/settings/devices/Verification.tsx b/src/app/features/settings/devices/Verification.tsx index 2a30cef47..f523b2e15 100644 --- a/src/app/features/settings/devices/Verification.tsx +++ b/src/app/features/settings/devices/Verification.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useState } from 'react'; import { Badge, diff --git a/src/app/features/settings/devices/index.ts b/src/app/features/settings/devices/index.ts index 35b5f8677..a0c383cf5 100644 --- a/src/app/features/settings/devices/index.ts +++ b/src/app/features/settings/devices/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Devices'; diff --git a/src/app/features/settings/emojis-stickers/EmojisStickers.tsx b/src/app/features/settings/emojis-stickers/EmojisStickers.tsx index 93715120c..14902debd 100644 --- a/src/app/features/settings/emojis-stickers/EmojisStickers.tsx +++ b/src/app/features/settings/emojis-stickers/EmojisStickers.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import { Box, Text, IconButton, Icon, Icons, Scroll } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/settings/emojis-stickers/GlobalPacks.tsx b/src/app/features/settings/emojis-stickers/GlobalPacks.tsx index f1ad33c2f..976b3b5cd 100644 --- a/src/app/features/settings/emojis-stickers/GlobalPacks.tsx +++ b/src/app/features/settings/emojis-stickers/GlobalPacks.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useCallback, useEffect, useMemo, useState } from 'react'; import { Box, diff --git a/src/app/features/settings/emojis-stickers/UserPack.tsx b/src/app/features/settings/emojis-stickers/UserPack.tsx index e9c6e5a84..7fc5a402b 100644 --- a/src/app/features/settings/emojis-stickers/UserPack.tsx +++ b/src/app/features/settings/emojis-stickers/UserPack.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Avatar, AvatarFallback, AvatarImage, Box, Button, Icon, Icons, Text } from 'folds'; import { useUserImagePack } from '../../../hooks/useImagePacks'; diff --git a/src/app/features/settings/emojis-stickers/index.ts b/src/app/features/settings/emojis-stickers/index.ts index 9c9e9f529..dded344e7 100644 --- a/src/app/features/settings/emojis-stickers/index.ts +++ b/src/app/features/settings/emojis-stickers/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './EmojisStickers'; diff --git a/src/app/features/settings/general/General.tsx b/src/app/features/settings/general/General.tsx index 16e13dd90..548e0ef8b 100644 --- a/src/app/features/settings/general/General.tsx +++ b/src/app/features/settings/general/General.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, FormEventHandler, diff --git a/src/app/features/settings/general/index.ts b/src/app/features/settings/general/index.ts index 0ab02c523..611c8441a 100644 --- a/src/app/features/settings/general/index.ts +++ b/src/app/features/settings/general/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './General'; diff --git a/src/app/features/settings/index.ts b/src/app/features/settings/index.ts index 90e269730..a9500920e 100644 --- a/src/app/features/settings/index.ts +++ b/src/app/features/settings/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Settings'; diff --git a/src/app/features/settings/notifications/AllMessages.tsx b/src/app/features/settings/notifications/AllMessages.tsx index 99739e68f..377300628 100644 --- a/src/app/features/settings/notifications/AllMessages.tsx +++ b/src/app/features/settings/notifications/AllMessages.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useMemo } from 'react'; import { Badge, Box, Text } from 'folds'; import { PushRuleCondition, PushRules } from 'neurone/lib/api/types'; diff --git a/src/app/features/settings/notifications/KeywordMessages.tsx b/src/app/features/settings/notifications/KeywordMessages.tsx index ad15dfc1e..d3915b651 100644 --- a/src/app/features/settings/notifications/KeywordMessages.tsx +++ b/src/app/features/settings/notifications/KeywordMessages.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, FormEventHandler, useCallback, useMemo, useState } from 'react'; import { Box, Text, Badge, Button, Input, config, IconButton, Icons, Icon, Spinner } from 'folds'; import { diff --git a/src/app/features/settings/notifications/NotificationModeSwitcher.tsx b/src/app/features/settings/notifications/NotificationModeSwitcher.tsx index 9e353d6f1..e8b7cb0e5 100644 --- a/src/app/features/settings/notifications/NotificationModeSwitcher.tsx +++ b/src/app/features/settings/notifications/NotificationModeSwitcher.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, diff --git a/src/app/features/settings/notifications/Notifications.tsx b/src/app/features/settings/notifications/Notifications.tsx index 095a9bba9..520a240dd 100644 --- a/src/app/features/settings/notifications/Notifications.tsx +++ b/src/app/features/settings/notifications/Notifications.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Text, IconButton, Icon, Icons, Scroll } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/settings/notifications/SpecialMessages.tsx b/src/app/features/settings/notifications/SpecialMessages.tsx index 523879096..88858d7f4 100644 --- a/src/app/features/settings/notifications/SpecialMessages.tsx +++ b/src/app/features/settings/notifications/SpecialMessages.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useMemo } from 'react'; import { Box, Text, Badge } from 'folds'; import { PushRules } from 'neurone/lib/api/types'; diff --git a/src/app/features/settings/notifications/SystemNotification.tsx b/src/app/features/settings/notifications/SystemNotification.tsx index ce2b0e22e..0354bf0b7 100644 --- a/src/app/features/settings/notifications/SystemNotification.tsx +++ b/src/app/features/settings/notifications/SystemNotification.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback } from 'react'; import { Box, Text, Switch, Button, color, Spinner } from 'folds'; import { postPushersSet } from 'neurone/lib/api/matrix/client/v3/pushers'; diff --git a/src/app/features/settings/notifications/index.ts b/src/app/features/settings/notifications/index.ts index e7825351a..d5bbab02e 100644 --- a/src/app/features/settings/notifications/index.ts +++ b/src/app/features/settings/notifications/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Notifications'; diff --git a/src/app/features/settings/styles.css.ts b/src/app/features/settings/styles.css.ts index ce89c16ee..162aa4c15 100644 --- a/src/app/features/settings/styles.css.ts +++ b/src/app/features/settings/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/features/space-settings/SpaceSettings.tsx b/src/app/features/space-settings/SpaceSettings.tsx index 38fbd6c71..dd05d3bb4 100644 --- a/src/app/features/space-settings/SpaceSettings.tsx +++ b/src/app/features/space-settings/SpaceSettings.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo, useState } from 'react'; import { Avatar, Box, config, Icon, IconButton, Icons, IconSrc, MenuItem, Text } from 'folds'; import { PageNav, PageNavContent, PageNavHeader, PageRoot } from '../../components/page'; diff --git a/src/app/features/space-settings/SpaceSettingsRenderer.tsx b/src/app/features/space-settings/SpaceSettingsRenderer.tsx index 4a2e35bed..d549ffc7f 100644 --- a/src/app/features/space-settings/SpaceSettingsRenderer.tsx +++ b/src/app/features/space-settings/SpaceSettingsRenderer.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { SpaceSettings } from './SpaceSettings'; import { Modal500 } from '../../components/Modal500'; diff --git a/src/app/features/space-settings/general/General.tsx b/src/app/features/space-settings/general/General.tsx index 96309393c..383dfb8c4 100644 --- a/src/app/features/space-settings/general/General.tsx +++ b/src/app/features/space-settings/general/General.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, IconButton, Icons, Scroll, Text } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/space-settings/general/index.ts b/src/app/features/space-settings/general/index.ts index 0ab02c523..611c8441a 100644 --- a/src/app/features/space-settings/general/index.ts +++ b/src/app/features/space-settings/general/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './General'; diff --git a/src/app/features/space-settings/index.ts b/src/app/features/space-settings/index.ts index e01a1b268..42888d476 100644 --- a/src/app/features/space-settings/index.ts +++ b/src/app/features/space-settings/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './SpaceSettings'; export * from './SpaceSettingsRenderer'; diff --git a/src/app/features/space-settings/permissions/Permissions.tsx b/src/app/features/space-settings/permissions/Permissions.tsx index 7c297488a..0fb492463 100644 --- a/src/app/features/space-settings/permissions/Permissions.tsx +++ b/src/app/features/space-settings/permissions/Permissions.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import { Box, Icon, IconButton, Icons, Scroll, Text } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; diff --git a/src/app/features/space-settings/permissions/index.ts b/src/app/features/space-settings/permissions/index.ts index 753f2b4bc..a6671e0b5 100644 --- a/src/app/features/space-settings/permissions/index.ts +++ b/src/app/features/space-settings/permissions/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Permissions'; diff --git a/src/app/features/space-settings/permissions/usePermissionItems.ts b/src/app/features/space-settings/permissions/usePermissionItems.ts index a02cf420e..e67b92e0e 100644 --- a/src/app/features/space-settings/permissions/usePermissionItems.ts +++ b/src/app/features/space-settings/permissions/usePermissionItems.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { StateEvent } from '../../../../types/matrix/room'; import { PermissionGroup } from '../../common-settings/permissions'; diff --git a/src/app/features/space-settings/styles.css.ts b/src/app/features/space-settings/styles.css.ts index ce89c16ee..162aa4c15 100644 --- a/src/app/features/space-settings/styles.css.ts +++ b/src/app/features/space-settings/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/app/hooks/media/index.ts b/src/app/hooks/media/index.ts index 7c202f9cf..52950cb72 100644 --- a/src/app/hooks/media/index.ts +++ b/src/app/hooks/media/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './useMediaPlay'; export * from './useMediaPlayTimeCallback'; export * from './useMediaPlaybackRate'; diff --git a/src/app/hooks/media/useMediaLoading.ts b/src/app/hooks/media/useMediaLoading.ts index 9d7320103..b4065b09c 100644 --- a/src/app/hooks/media/useMediaLoading.ts +++ b/src/app/hooks/media/useMediaLoading.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useState } from 'react'; export type MediaLoadingData = { diff --git a/src/app/hooks/media/useMediaPlay.ts b/src/app/hooks/media/useMediaPlay.ts index e175eee21..0c61d647b 100644 --- a/src/app/hooks/media/useMediaPlay.ts +++ b/src/app/hooks/media/useMediaPlay.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useState } from 'react'; export type MediaPlayData = { diff --git a/src/app/hooks/media/useMediaPlayTimeCallback.ts b/src/app/hooks/media/useMediaPlayTimeCallback.ts index c70ddc6e8..0da794eff 100644 --- a/src/app/hooks/media/useMediaPlayTimeCallback.ts +++ b/src/app/hooks/media/useMediaPlayTimeCallback.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; export type PlayTimeCallback = (duration: number, currentTime: number) => void; diff --git a/src/app/hooks/media/useMediaPlaybackRate.ts b/src/app/hooks/media/useMediaPlaybackRate.ts index 173688450..c56129bd7 100644 --- a/src/app/hooks/media/useMediaPlaybackRate.ts +++ b/src/app/hooks/media/useMediaPlaybackRate.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useState } from 'react'; export type MediaPlaybackRateData = { diff --git a/src/app/hooks/media/useMediaSeek.ts b/src/app/hooks/media/useMediaSeek.ts index 89c8d077c..329078814 100644 --- a/src/app/hooks/media/useMediaSeek.ts +++ b/src/app/hooks/media/useMediaSeek.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useState } from 'react'; export type MediaSeekData = { diff --git a/src/app/hooks/media/useMediaVolume.ts b/src/app/hooks/media/useMediaVolume.ts index 605cee461..5e01d40e6 100644 --- a/src/app/hooks/media/useMediaVolume.ts +++ b/src/app/hooks/media/useMediaVolume.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useState } from 'react'; export type MediaVolumeData = { diff --git a/src/app/hooks/router/useCreateSelected.ts b/src/app/hooks/router/useCreateSelected.ts index 2034a4492..e3489609d 100644 --- a/src/app/hooks/router/useCreateSelected.ts +++ b/src/app/hooks/router/useCreateSelected.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMatch } from 'react-router-dom'; import { getCreatePath } from '../../pages/pathUtils'; diff --git a/src/app/hooks/router/useDirectSelected.ts b/src/app/hooks/router/useDirectSelected.ts index adb2851ed..0d69fd170 100644 --- a/src/app/hooks/router/useDirectSelected.ts +++ b/src/app/hooks/router/useDirectSelected.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMatch } from 'react-router-dom'; import { getDirectCreatePath, getDirectPath } from '../../pages/pathUtils'; diff --git a/src/app/hooks/router/useExploreSelected.ts b/src/app/hooks/router/useExploreSelected.ts index f0ffdc86a..2eb4c6af7 100644 --- a/src/app/hooks/router/useExploreSelected.ts +++ b/src/app/hooks/router/useExploreSelected.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMatch, useParams } from 'react-router-dom'; import { getExploreFeaturedPath, getExplorePath } from '../../pages/pathUtils'; diff --git a/src/app/hooks/router/useHomeSelected.ts b/src/app/hooks/router/useHomeSelected.ts index 75802601e..e30f836f3 100644 --- a/src/app/hooks/router/useHomeSelected.ts +++ b/src/app/hooks/router/useHomeSelected.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMatch } from 'react-router-dom'; import { getHomeCreatePath, diff --git a/src/app/hooks/router/useInbox.ts b/src/app/hooks/router/useInbox.ts index de8d3d69f..bc7eb3d4c 100644 --- a/src/app/hooks/router/useInbox.ts +++ b/src/app/hooks/router/useInbox.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMatch } from 'react-router-dom'; import { getInboxInvitesPath, diff --git a/src/app/hooks/router/useSearchParamsViaServers.ts b/src/app/hooks/router/useSearchParamsViaServers.ts index 0b1b2db7d..70b5f4604 100644 --- a/src/app/hooks/router/useSearchParamsViaServers.ts +++ b/src/app/hooks/router/useSearchParamsViaServers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { useSearchParams } from 'react-router-dom'; import { getRoomSearchParams } from '../../pages/pathSearchParam'; diff --git a/src/app/hooks/router/useSelectedRoom.ts b/src/app/hooks/router/useSelectedRoom.ts index 8358aeb0d..e9137dd45 100644 --- a/src/app/hooks/router/useSelectedRoom.ts +++ b/src/app/hooks/router/useSelectedRoom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useParams } from 'react-router-dom'; import { isRoomAlias } from '../../utils/matrix'; import { useClient } from '../useClient'; diff --git a/src/app/hooks/router/useSelectedSpace.ts b/src/app/hooks/router/useSelectedSpace.ts index 85e09b216..12c16a373 100644 --- a/src/app/hooks/router/useSelectedSpace.ts +++ b/src/app/hooks/router/useSelectedSpace.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMatch, useParams } from 'react-router-dom'; import { isRoomAlias } from '../../utils/matrix'; import { getSpaceLobbyPath, getSpaceSearchPath } from '../../pages/pathUtils'; diff --git a/src/app/hooks/storage/useAccountData.ts b/src/app/hooks/storage/useAccountData.ts index 485a45ebb..4358eab63 100644 --- a/src/app/hooks/storage/useAccountData.ts +++ b/src/app/hooks/storage/useAccountData.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { AccountDataEvent } from 'neurone/lib/api/types'; import { PendingObservableResult } from 'neurone/lib/utils/observable'; diff --git a/src/app/hooks/storage/useGetRoomAvatar.ts b/src/app/hooks/storage/useGetRoomAvatar.ts index e50dda8c4..8de4eac5e 100644 --- a/src/app/hooks/storage/useGetRoomAvatar.ts +++ b/src/app/hooks/storage/useGetRoomAvatar.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useAtomValue } from 'jotai'; import { useClient } from '../useClient'; diff --git a/src/app/hooks/storage/useGetRoomName.ts b/src/app/hooks/storage/useGetRoomName.ts index fd396b191..a07afba92 100644 --- a/src/app/hooks/storage/useGetRoomName.ts +++ b/src/app/hooks/storage/useGetRoomName.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useAtomValue } from 'jotai'; import { useClient } from '../useClient'; diff --git a/src/app/hooks/storage/useInviteRooms.ts b/src/app/hooks/storage/useInviteRooms.ts index 2d030705b..9e3601539 100644 --- a/src/app/hooks/storage/useInviteRooms.ts +++ b/src/app/hooks/storage/useInviteRooms.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; import { useCallback, useMemo } from 'react'; import { StateEventType } from '../../../types/matrix/room'; diff --git a/src/app/hooks/storage/useRoomAccountData.ts b/src/app/hooks/storage/useRoomAccountData.ts index d7344144a..7dfa25079 100644 --- a/src/app/hooks/storage/useRoomAccountData.ts +++ b/src/app/hooks/storage/useRoomAccountData.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { PendingObservableResult } from 'neurone/lib/utils/observable'; import { useMemo } from 'react'; import { JoinAccountDataObject } from '../../../client/storage/collections'; diff --git a/src/app/hooks/storage/useRoomHeros.ts b/src/app/hooks/storage/useRoomHeros.ts index ab5357de5..2e5919dad 100644 --- a/src/app/hooks/storage/useRoomHeros.ts +++ b/src/app/hooks/storage/useRoomHeros.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useClient } from '../useClient'; import { useObservableValue } from '../useObservableValue'; diff --git a/src/app/hooks/storage/useRoomStateEvent.ts b/src/app/hooks/storage/useRoomStateEvent.ts index 157f1a2f6..233bcb544 100644 --- a/src/app/hooks/storage/useRoomStateEvent.ts +++ b/src/app/hooks/storage/useRoomStateEvent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { PendingObservableResult } from 'neurone/lib/utils/observable'; import { QueryRange } from 'neurone/lib/storage/collection'; diff --git a/src/app/hooks/storage/useRoomTopic.ts b/src/app/hooks/storage/useRoomTopic.ts index bcc5c9144..03c9bd121 100644 --- a/src/app/hooks/storage/useRoomTopic.ts +++ b/src/app/hooks/storage/useRoomTopic.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useClient } from '../useClient'; import { useObservableValue } from '../useObservableValue'; diff --git a/src/app/hooks/sw/useSessionRequest.ts b/src/app/hooks/sw/useSessionRequest.ts index 809096174..4741f0f65 100644 --- a/src/app/hooks/sw/useSessionRequest.ts +++ b/src/app/hooks/sw/useSessionRequest.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; import { Session } from '../../../client/sessions'; diff --git a/src/app/hooks/types.ts b/src/app/hooks/types.ts index 1ec9dfeaa..34857129c 100644 --- a/src/app/hooks/types.ts +++ b/src/app/hooks/types.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { PostEmailRegisterTokenOK } from 'neurone/lib/api/matrix/client/v3/register'; import { MatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/hooks/useAccountManagement.ts b/src/app/hooks/useAccountManagement.ts index aeccd5814..e616c9cda 100644 --- a/src/app/hooks/useAccountManagement.ts +++ b/src/app/hooks/useAccountManagement.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; export const useAccountManagementActions = () => { diff --git a/src/app/hooks/useAlive.ts b/src/app/hooks/useAlive.ts index 0bfbce8d7..8921f7c3f 100644 --- a/src/app/hooks/useAlive.ts +++ b/src/app/hooks/useAlive.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useRef } from 'react'; export const useAlive = (): (() => boolean) => { diff --git a/src/app/hooks/useAllJoinedRoomsSet.ts b/src/app/hooks/useAllJoinedRoomsSet.ts index 09a451f9c..0ae400748 100644 --- a/src/app/hooks/useAllJoinedRoomsSet.ts +++ b/src/app/hooks/useAllJoinedRoomsSet.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useAtomValue } from 'jotai'; import { useMemo } from 'react'; import { allRoomsAtom } from '../state/room-list/roomList'; diff --git a/src/app/hooks/useAsyncCallback.ts b/src/app/hooks/useAsyncCallback.ts index 5a0380f00..3981cf7b3 100644 --- a/src/app/hooks/useAsyncCallback.ts +++ b/src/app/hooks/useAsyncCallback.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useRef, useState } from 'react'; import { flushSync } from 'react-dom'; import { useAlive } from './useAlive'; diff --git a/src/app/hooks/useAsyncSearch.ts b/src/app/hooks/useAsyncSearch.ts index 3852d3b97..ae40cd588 100644 --- a/src/app/hooks/useAsyncSearch.ts +++ b/src/app/hooks/useAsyncSearch.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useMemo, useState } from 'react'; import { MatchHandler, diff --git a/src/app/hooks/useAuthFlows.ts b/src/app/hooks/useAuthFlows.ts index 43faa6bbf..11e9a5681 100644 --- a/src/app/hooks/useAuthFlows.ts +++ b/src/app/hooks/useAuthFlows.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; import { MatrixError, MatrixErrorData } from 'neurone/lib/matrix-request'; import { GetLoginOK } from 'neurone/lib/api/matrix/client/v3/login'; diff --git a/src/app/hooks/useAuthMetadata.ts b/src/app/hooks/useAuthMetadata.ts index bc991930e..fb041f015 100644 --- a/src/app/hooks/useAuthMetadata.ts +++ b/src/app/hooks/useAuthMetadata.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { GetAuthMetadataOK } from 'neurone/lib/api/matrix/client/v1/authMetadata'; import { createContext, useContext } from 'react'; diff --git a/src/app/hooks/useAuthServer.ts b/src/app/hooks/useAuthServer.ts index f77566f5f..3d3653006 100644 --- a/src/app/hooks/useAuthServer.ts +++ b/src/app/hooks/useAuthServer.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; const AuthServerContext = createContext(null); diff --git a/src/app/hooks/useAutoDiscoveryInfo.ts b/src/app/hooks/useAutoDiscoveryInfo.ts index b2f8bcb56..3bf169f2b 100644 --- a/src/app/hooks/useAutoDiscoveryInfo.ts +++ b/src/app/hooks/useAutoDiscoveryInfo.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; import { AutoDiscoveryInfo } from '../cs-api'; diff --git a/src/app/hooks/useCall.ts b/src/app/hooks/useCall.ts index 8d1ec8bfb..2a6c6a9a7 100644 --- a/src/app/hooks/useCall.ts +++ b/src/app/hooks/useCall.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; import { useClient } from './useClient'; import { CallMember, CallSession } from '../../client/call'; diff --git a/src/app/hooks/useCallEmbed.ts b/src/app/hooks/useCallEmbed.ts index d02fadbe3..54b4d71a5 100644 --- a/src/app/hooks/useCallEmbed.ts +++ b/src/app/hooks/useCallEmbed.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, RefObject, useCallback, useContext, useEffect, useState } from 'react'; import { useSetAtom } from 'jotai'; import { diff --git a/src/app/hooks/useCallSpeakers.ts b/src/app/hooks/useCallSpeakers.ts index a26dfbf3f..5162462f8 100644 --- a/src/app/hooks/useCallSpeakers.ts +++ b/src/app/hooks/useCallSpeakers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useMemo, useState } from 'react'; import { CallEmbed } from '../plugins/call'; import { useMutationObserver } from './useMutationObserver'; diff --git a/src/app/hooks/useCapabilities.ts b/src/app/hooks/useCapabilities.ts index 72aeecac1..1705db43b 100644 --- a/src/app/hooks/useCapabilities.ts +++ b/src/app/hooks/useCapabilities.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; export interface ICapability { diff --git a/src/app/hooks/useCategoryHandler.ts b/src/app/hooks/useCategoryHandler.ts index 086902d63..9fbae91ce 100644 --- a/src/app/hooks/useCategoryHandler.ts +++ b/src/app/hooks/useCategoryHandler.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MouseEventHandler } from 'react'; type CategoryAction = diff --git a/src/app/hooks/useClient.ts b/src/app/hooks/useClient.ts index aafd8287c..0928a57ce 100644 --- a/src/app/hooks/useClient.ts +++ b/src/app/hooks/useClient.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; import { ClientContext } from '../../client/context'; diff --git a/src/app/hooks/useClientConfig.ts b/src/app/hooks/useClientConfig.ts index e5fc6cc61..3656d6257 100644 --- a/src/app/hooks/useClientConfig.ts +++ b/src/app/hooks/useClientConfig.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; export type HashRouterConfig = { diff --git a/src/app/hooks/useCommands.ts b/src/app/hooks/useCommands.ts index 9eb27a958..a974ef883 100644 --- a/src/app/hooks/useCommands.ts +++ b/src/app/hooks/useCommands.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { postCreateRoom, PostCreateRoomOK } from 'neurone/lib/api/matrix/client/v3/createRoom'; import { parseMatrixResp, printMatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/hooks/useComposingCheck.ts b/src/app/hooks/useComposingCheck.ts index 687a49274..ca87c9499 100644 --- a/src/app/hooks/useComposingCheck.ts +++ b/src/app/hooks/useComposingCheck.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect } from 'react'; import { useAtomValue, useSetAtom } from 'jotai'; import { lastCompositionEndAtom } from '../state/lastCompositionEnd'; diff --git a/src/app/hooks/useCrossSigning.ts b/src/app/hooks/useCrossSigning.ts index 6f49e04fb..9e6e75f08 100644 --- a/src/app/hooks/useCrossSigning.ts +++ b/src/app/hooks/useCrossSigning.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { AesHmacSha2, AesHmacSha2EncryptedData } from 'neurone/lib/crypto/ssss'; import { useMemo } from 'react'; import { CrossSigningKeys } from 'neurone/lib/crypto/machine'; diff --git a/src/app/hooks/useDateFormat.ts b/src/app/hooks/useDateFormat.ts index d29211400..d1877b16c 100644 --- a/src/app/hooks/useDateFormat.ts +++ b/src/app/hooks/useDateFormat.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { DateFormat } from '../state/settings'; diff --git a/src/app/hooks/useDebounce.ts b/src/app/hooks/useDebounce.ts index 5f33976a3..0f4277b3c 100644 --- a/src/app/hooks/useDebounce.ts +++ b/src/app/hooks/useDebounce.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useRef } from 'react'; export interface DebounceOptions { diff --git a/src/app/hooks/useDeviceList.ts b/src/app/hooks/useDeviceList.ts index e4e6e2885..b24554985 100644 --- a/src/app/hooks/useDeviceList.ts +++ b/src/app/hooks/useDeviceList.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useCallback, useMemo } from 'react'; import { useQuery } from '@tanstack/react-query'; import { Device } from 'neurone/lib/api/types'; diff --git a/src/app/hooks/useDeviceVerificationStatus.ts b/src/app/hooks/useDeviceVerificationStatus.ts index f6a49b584..8ea446e12 100644 --- a/src/app/hooks/useDeviceVerificationStatus.ts +++ b/src/app/hooks/useDeviceVerificationStatus.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useState } from 'react'; import { useAlive } from './useAlive'; import { fulfilledPromiseSettledResult } from '../utils/common'; diff --git a/src/app/hooks/useDirectUsers.ts b/src/app/hooks/useDirectUsers.ts index 4691bac95..6332712f9 100644 --- a/src/app/hooks/useDirectUsers.ts +++ b/src/app/hooks/useDirectUsers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { useClient } from './useClient'; import { useObservableValue } from './useObservableValue'; diff --git a/src/app/hooks/useDocumentFocusChange.ts b/src/app/hooks/useDocumentFocusChange.ts index ae171b64a..d8951f75f 100644 --- a/src/app/hooks/useDocumentFocusChange.ts +++ b/src/app/hooks/useDocumentFocusChange.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; export const useDocumentFocusChange = (onChange: (focus: boolean) => void) => { diff --git a/src/app/hooks/useDocumentVisibilityChange.ts b/src/app/hooks/useDocumentVisibilityChange.ts index 0d929bd02..c723f0582 100644 --- a/src/app/hooks/useDocumentVisibilityChange.ts +++ b/src/app/hooks/useDocumentVisibilityChange.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; export const useDocumentVisibilityChange = (onChange: (visible: boolean) => void) => { diff --git a/src/app/hooks/useElementSizeObserver.ts b/src/app/hooks/useElementSizeObserver.ts index da563c102..0630faed8 100644 --- a/src/app/hooks/useElementSizeObserver.ts +++ b/src/app/hooks/useElementSizeObserver.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { getResizeObserverEntry, useResizeObserver } from './useResizeObserver'; diff --git a/src/app/hooks/useEmailNotifications.ts b/src/app/hooks/useEmailNotifications.ts index 566fb4e74..a4b33ea14 100644 --- a/src/app/hooks/useEmailNotifications.ts +++ b/src/app/hooks/useEmailNotifications.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { get3pid, Get3pidOK } from 'neurone/lib/api/matrix/client/v3/account'; import { parseMatrixResp, printMatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/hooks/useEnsureRoomEncryptionSession.ts b/src/app/hooks/useEnsureRoomEncryptionSession.ts index bace85fb4..4db8a10ad 100644 --- a/src/app/hooks/useEnsureRoomEncryptionSession.ts +++ b/src/app/hooks/useEnsureRoomEncryptionSession.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { EncryptionSettings, diff --git a/src/app/hooks/useFileDrop.ts b/src/app/hooks/useFileDrop.ts index bead203f9..be5358aba 100644 --- a/src/app/hooks/useFileDrop.ts +++ b/src/app/hooks/useFileDrop.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, DragEventHandler, RefObject, useState, useEffect, useRef } from 'react'; import { getDataTransferFiles } from '../utils/dom'; diff --git a/src/app/hooks/useFilePasteHandler.ts b/src/app/hooks/useFilePasteHandler.ts index 0f63b7505..99e4e37c3 100644 --- a/src/app/hooks/useFilePasteHandler.ts +++ b/src/app/hooks/useFilePasteHandler.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, ClipboardEventHandler } from 'react'; import { getDataTransferFiles } from '../utils/dom'; diff --git a/src/app/hooks/useFilePicker.ts b/src/app/hooks/useFilePicker.ts index e772d6609..bb4675783 100644 --- a/src/app/hooks/useFilePicker.ts +++ b/src/app/hooks/useFilePicker.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { selectFile } from '../utils/dom'; diff --git a/src/app/hooks/useForceUpdate.ts b/src/app/hooks/useForceUpdate.ts index 0691aa922..1f78867ed 100644 --- a/src/app/hooks/useForceUpdate.ts +++ b/src/app/hooks/useForceUpdate.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useReducer } from 'react'; const reducer = (prevCount: number): number => prevCount + 1; diff --git a/src/app/hooks/useIgnoredUsers.ts b/src/app/hooks/useIgnoredUsers.ts index 0ac634cbe..206a59b99 100644 --- a/src/app/hooks/useIgnoredUsers.ts +++ b/src/app/hooks/useIgnoredUsers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { useAccountData } from './storage/useAccountData'; import { AccountDataType } from '../../types/matrix/accountData'; diff --git a/src/app/hooks/useImagePackRooms.ts b/src/app/hooks/useImagePackRooms.ts index 9e650efc6..ada9d66cb 100644 --- a/src/app/hooks/useImagePackRooms.ts +++ b/src/app/hooks/useImagePackRooms.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useAtomValue } from 'jotai'; import { useMemo } from 'react'; import { getAllParents } from '../utils/room'; diff --git a/src/app/hooks/useImagePacks.ts b/src/app/hooks/useImagePacks.ts index 6f3d52fcd..7928a86f8 100644 --- a/src/app/hooks/useImagePacks.ts +++ b/src/app/hooks/useImagePacks.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { ObservableValue, PendingObservableResult } from 'neurone/lib/utils/observable'; import { AccountDataType } from '../../types/matrix/accountData'; diff --git a/src/app/hooks/useIntersectionObserver.ts b/src/app/hooks/useIntersectionObserver.ts index 9b0b50e84..8f9fdbb48 100644 --- a/src/app/hooks/useIntersectionObserver.ts +++ b/src/app/hooks/useIntersectionObserver.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useState } from 'react'; export type OnIntersectionCallback = (entries: IntersectionObserverEntry[]) => void; diff --git a/src/app/hooks/useInterval.ts b/src/app/hooks/useInterval.ts index 161af3942..655d9549d 100644 --- a/src/app/hooks/useInterval.ts +++ b/src/app/hooks/useInterval.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useMemo } from 'react'; export type IntervalCallback = () => void; diff --git a/src/app/hooks/useJoinedRoomId.ts b/src/app/hooks/useJoinedRoomId.ts index ada42feae..6fe02a7ee 100644 --- a/src/app/hooks/useJoinedRoomId.ts +++ b/src/app/hooks/useJoinedRoomId.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { isRoomAlias } from '../utils/matrix'; import { useClient } from './useClient'; diff --git a/src/app/hooks/useKeyDown.ts b/src/app/hooks/useKeyDown.ts index c754d88cd..59ecb715c 100644 --- a/src/app/hooks/useKeyDown.ts +++ b/src/app/hooks/useKeyDown.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; export const useKeyDown = (target: Window, callback: (evt: KeyboardEvent) => void) => { diff --git a/src/app/hooks/useListFocusIndex.ts b/src/app/hooks/useListFocusIndex.ts index e4f3bf2c1..bf12d93e9 100644 --- a/src/app/hooks/useListFocusIndex.ts +++ b/src/app/hooks/useListFocusIndex.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useState } from 'react'; export const useListFocusIndex = (size: number, initialIndex: number) => { diff --git a/src/app/hooks/useLivekitSupport.ts b/src/app/hooks/useLivekitSupport.ts index 3cb2c1d88..35aad1863 100644 --- a/src/app/hooks/useLivekitSupport.ts +++ b/src/app/hooks/useLivekitSupport.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { AutoDiscoveryInfo } from '../cs-api'; import { useAutoDiscoveryInfo } from './useAutoDiscoveryInfo'; diff --git a/src/app/hooks/useLocalRoomSummary.ts b/src/app/hooks/useLocalRoomSummary.ts index b1359d5ee..2450a9535 100644 --- a/src/app/hooks/useLocalRoomSummary.ts +++ b/src/app/hooks/useLocalRoomSummary.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { JoinRule } from '../../types/matrix/room'; import { useRoomHeroes } from './storage/useRoomHeros'; import { useGetRoomName } from './storage/useGetRoomName'; diff --git a/src/app/hooks/useMarkAsRead.ts b/src/app/hooks/useMarkAsRead.ts index 3b2ffeee0..0d6621e97 100644 --- a/src/app/hooks/useMarkAsRead.ts +++ b/src/app/hooks/useMarkAsRead.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useClient } from './useClient'; import { getReadReceiptId, getUnreadThreadNotificationId } from '../../client/storage/collections'; diff --git a/src/app/hooks/useMatrixEventRenderer.ts b/src/app/hooks/useMatrixEventRenderer.ts index 57d56cc1c..a482391ac 100644 --- a/src/app/hooks/useMatrixEventRenderer.ts +++ b/src/app/hooks/useMatrixEventRenderer.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode } from 'react'; export type EventRenderer = (...args: T) => ReactNode; diff --git a/src/app/hooks/useMediaAuthentication.ts b/src/app/hooks/useMediaAuthentication.ts index 7967cdce3..2680b7443 100644 --- a/src/app/hooks/useMediaAuthentication.ts +++ b/src/app/hooks/useMediaAuthentication.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useSpecVersionSupport, useUnstableFeatureSupport } from './useSpecVersions'; export const useMediaAuthentication = (): boolean => { diff --git a/src/app/hooks/useMediaConfig.ts b/src/app/hooks/useMediaConfig.ts index 929ebd004..6e8482286 100644 --- a/src/app/hooks/useMediaConfig.ts +++ b/src/app/hooks/useMediaConfig.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; export interface MediaConfig { diff --git a/src/app/hooks/useMemberFilter.ts b/src/app/hooks/useMemberFilter.ts index 8d7a9b7ea..f8ca2952b 100644 --- a/src/app/hooks/useMemberFilter.ts +++ b/src/app/hooks/useMemberFilter.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { GetRoomMemberMembershipCallback } from './useRoomMembers'; import { JoinRoomMemberObject } from '../../client/storage/collections'; diff --git a/src/app/hooks/useMemberPowerCompare.ts b/src/app/hooks/useMemberPowerCompare.ts index 14f70dd3e..ff967f2cc 100644 --- a/src/app/hooks/useMemberPowerCompare.ts +++ b/src/app/hooks/useMemberPowerCompare.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { IPowerLevels, readPowerLevel } from './usePowerLevels'; diff --git a/src/app/hooks/useMemberPowerTag.ts b/src/app/hooks/useMemberPowerTag.ts index 2ccc4f20e..18e31256d 100644 --- a/src/app/hooks/useMemberPowerTag.ts +++ b/src/app/hooks/useMemberPowerTag.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { getPowerLevelTag, PowerLevelTags, usePowerLevelTagsContext } from './usePowerLevelTags'; import { IPowerLevels, readPowerLevel } from './usePowerLevels'; diff --git a/src/app/hooks/useMemberSort.ts b/src/app/hooks/useMemberSort.ts index a711f42c0..b0c868d27 100644 --- a/src/app/hooks/useMemberSort.ts +++ b/src/app/hooks/useMemberSort.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { JoinRoomMemberObject } from '../../client/storage/collections'; import { GetRoomMemberNameCallback } from './useRoomMembers'; diff --git a/src/app/hooks/useMentionClickHandler.ts b/src/app/hooks/useMentionClickHandler.ts index d86c1b3d0..e05697162 100644 --- a/src/app/hooks/useMentionClickHandler.ts +++ b/src/app/hooks/useMentionClickHandler.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactEventHandler, useCallback } from 'react'; import { useNavigate } from 'react-router-dom'; import { useRoomNavigate } from './useRoomNavigate'; diff --git a/src/app/hooks/useMessageLayout.ts b/src/app/hooks/useMessageLayout.ts index 06fb9a5d7..75f4cf270 100644 --- a/src/app/hooks/useMessageLayout.ts +++ b/src/app/hooks/useMessageLayout.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { MessageLayout } from '../state/settings'; diff --git a/src/app/hooks/useMessageParserOptions.ts b/src/app/hooks/useMessageParserOptions.ts index de0beeb69..75b957c07 100644 --- a/src/app/hooks/useMessageParserOptions.ts +++ b/src/app/hooks/useMessageParserOptions.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { Opts as LinkifyOpts } from 'linkifyjs'; import { HTMLReactParserOptions } from 'html-react-parser'; diff --git a/src/app/hooks/useMessageSpacing.ts b/src/app/hooks/useMessageSpacing.ts index 62325b1e1..02d7e428b 100644 --- a/src/app/hooks/useMessageSpacing.ts +++ b/src/app/hooks/useMessageSpacing.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { MessageSpacing } from '../state/settings'; diff --git a/src/app/hooks/useMutationObserver.ts b/src/app/hooks/useMutationObserver.ts index 5d0ce2ab9..1caa2da83 100644 --- a/src/app/hooks/useMutationObserver.ts +++ b/src/app/hooks/useMutationObserver.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useMemo } from 'react'; export type OnMutationCallback = (mutations: MutationRecord[]) => void; diff --git a/src/app/hooks/useMutualRooms.ts b/src/app/hooks/useMutualRooms.ts index 893449fff..004363bcb 100644 --- a/src/app/hooks/useMutualRooms.ts +++ b/src/app/hooks/useMutualRooms.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { withSearchParams } from 'neurone/lib/api/utils'; import { parseMatrixResp, printMatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/hooks/useNavToActivePathMapper.ts b/src/app/hooks/useNavToActivePathMapper.ts index d3cec08ef..cdcef2ff9 100644 --- a/src/app/hooks/useNavToActivePathMapper.ts +++ b/src/app/hooks/useNavToActivePathMapper.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; import { useSetAtom } from 'jotai'; import { useLocation } from 'react-router-dom'; diff --git a/src/app/hooks/useNetwork.ts b/src/app/hooks/useNetwork.ts index bf3e6b158..585f2a7e6 100644 --- a/src/app/hooks/useNetwork.ts +++ b/src/app/hooks/useNetwork.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; export const useNetworkOnlineCallback = (callback: () => void) => { diff --git a/src/app/hooks/useNotificationMode.ts b/src/app/hooks/useNotificationMode.ts index 484bf1cf0..6e89c1679 100644 --- a/src/app/hooks/useNotificationMode.ts +++ b/src/app/hooks/useNotificationMode.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { PushRuleAction } from 'neurone/lib/api/types'; import { useCallback, useMemo } from 'react'; diff --git a/src/app/hooks/useObjectURL.ts b/src/app/hooks/useObjectURL.ts index 8c6cf3f1c..2bd121278 100644 --- a/src/app/hooks/useObjectURL.ts +++ b/src/app/hooks/useObjectURL.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useMemo } from 'react'; export const useObjectURL = (object?: Blob): string | undefined => { diff --git a/src/app/hooks/useObservableValue.ts b/src/app/hooks/useObservableValue.ts index 6f82cf1de..02284a4d0 100644 --- a/src/app/hooks/useObservableValue.ts +++ b/src/app/hooks/useObservableValue.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObservableValue, PendingObservableValue, diff --git a/src/app/hooks/usePan.ts b/src/app/hooks/usePan.ts index 60d7954f3..0305959e7 100644 --- a/src/app/hooks/usePan.ts +++ b/src/app/hooks/usePan.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MouseEventHandler, useEffect, useState } from 'react'; export type Pan = { diff --git a/src/app/hooks/useParsedLoginFlows.ts b/src/app/hooks/useParsedLoginFlows.ts index 172765747..fa778c5fc 100644 --- a/src/app/hooks/useParsedLoginFlows.ts +++ b/src/app/hooks/useParsedLoginFlows.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { LoginFlow } from 'neurone/lib/api/types'; diff --git a/src/app/hooks/usePasswordEmail.ts b/src/app/hooks/usePasswordEmail.ts index cf79786e4..92a2f8d23 100644 --- a/src/app/hooks/usePasswordEmail.ts +++ b/src/app/hooks/usePasswordEmail.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo, useRef } from 'react'; import { postPasswordEmailRequestToken, diff --git a/src/app/hooks/usePathWithOrigin.ts b/src/app/hooks/usePathWithOrigin.ts index 4430d06c0..d4edb49c9 100644 --- a/src/app/hooks/usePathWithOrigin.ts +++ b/src/app/hooks/usePathWithOrigin.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { useClientConfig } from './useClientConfig'; import { trimLeadingSlash, trimSlash, trimTrailingSlash } from '../utils/common'; diff --git a/src/app/hooks/usePendingMembers.ts b/src/app/hooks/usePendingMembers.ts index 883d112f1..646e0c4d1 100644 --- a/src/app/hooks/usePendingMembers.ts +++ b/src/app/hooks/usePendingMembers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useMemo } from 'react'; import { getMembers, GetMembersOK } from 'neurone/lib/api/matrix/client/v3/rooms'; import { parseMatrixResp, printMatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/hooks/usePermission.ts b/src/app/hooks/usePermission.ts index 71a601be2..ae5c9be26 100644 --- a/src/app/hooks/usePermission.ts +++ b/src/app/hooks/usePermission.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useState } from 'react'; export const getNotificationState = (): PermissionState => { diff --git a/src/app/hooks/usePowerLevelTags.ts b/src/app/hooks/usePowerLevelTags.ts index c90ddaf4c..78b551eb5 100644 --- a/src/app/hooks/usePowerLevelTags.ts +++ b/src/app/hooks/usePowerLevelTags.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext, useMemo } from 'react'; import { PendingObservableResult } from 'neurone/lib/utils/observable'; import { IPowerLevels } from './usePowerLevels'; diff --git a/src/app/hooks/usePowerLevels.ts b/src/app/hooks/usePowerLevels.ts index 71a334beb..befa01da2 100644 --- a/src/app/hooks/usePowerLevels.ts +++ b/src/app/hooks/usePowerLevels.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useCallback, useContext, useMemo } from 'react'; import produce from 'immer'; import { PendingObservableResult } from 'neurone/lib/utils/observable'; diff --git a/src/app/hooks/usePreviousValue.ts b/src/app/hooks/usePreviousValue.ts index 01b4850da..e4be23db7 100644 --- a/src/app/hooks/usePreviousValue.ts +++ b/src/app/hooks/usePreviousValue.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useRef } from 'react'; export const usePreviousValue = (currentValue: T, initialValue: T) => { diff --git a/src/app/hooks/usePushRule.ts b/src/app/hooks/usePushRule.ts index 48ee655db..dee2b51e9 100644 --- a/src/app/hooks/usePushRule.ts +++ b/src/app/hooks/usePushRule.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { PushRule, PushRuleAction, diff --git a/src/app/hooks/useReadReceipt.ts b/src/app/hooks/useReadReceipt.ts index 48e15a045..13fae3c41 100644 --- a/src/app/hooks/useReadReceipt.ts +++ b/src/app/hooks/useReadReceipt.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useSyncExternalStore } from 'react'; import { useClient } from './useClient'; import { useRoom } from './useRoom'; diff --git a/src/app/hooks/useRecentEmoji.ts b/src/app/hooks/useRecentEmoji.ts index abc40a6f0..3d5f844bc 100644 --- a/src/app/hooks/useRecentEmoji.ts +++ b/src/app/hooks/useRecentEmoji.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { PendingObservableResult } from 'neurone/lib/utils/observable'; import { getRecentEmojis } from '../plugins/recent-emoji'; diff --git a/src/app/hooks/useRecoveryAttempt.ts b/src/app/hooks/useRecoveryAttempt.ts index f8505c92f..8564ddcb8 100644 --- a/src/app/hooks/useRecoveryAttempt.ts +++ b/src/app/hooks/useRecoveryAttempt.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useRef } from 'react'; export const getAttemptDelaySec = (attempt: number): number => { diff --git a/src/app/hooks/useRegisterEmail.ts b/src/app/hooks/useRegisterEmail.ts index e504ce7c7..3f369a625 100644 --- a/src/app/hooks/useRegisterEmail.ts +++ b/src/app/hooks/useRegisterEmail.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useRef, useMemo } from 'react'; import { PostEmailRegisterTokenOK, diff --git a/src/app/hooks/useReportRoomSupported.ts b/src/app/hooks/useReportRoomSupported.ts index 3d5baa558..c2e9afc5f 100644 --- a/src/app/hooks/useReportRoomSupported.ts +++ b/src/app/hooks/useReportRoomSupported.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useSpecVersionSupport, useUnstableFeatureSupport } from './useSpecVersions'; export const useReportRoomSupported = (): boolean => { diff --git a/src/app/hooks/useRequest.ts b/src/app/hooks/useRequest.ts index c08a1d34e..fcef0ae71 100644 --- a/src/app/hooks/useRequest.ts +++ b/src/app/hooks/useRequest.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatrixRequest } from 'neurone/lib/matrix-request'; import { createContext, useContext } from 'react'; diff --git a/src/app/hooks/useResizeObserver.ts b/src/app/hooks/useResizeObserver.ts index 707d34871..0ad68468d 100644 --- a/src/app/hooks/useResizeObserver.ts +++ b/src/app/hooks/useResizeObserver.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useMemo } from 'react'; export type OnResizeCallback = (entries: ResizeObserverEntry[]) => void; diff --git a/src/app/hooks/useRoom.ts b/src/app/hooks/useRoom.ts index 398c962fa..5c0ce8649 100644 --- a/src/app/hooks/useRoom.ts +++ b/src/app/hooks/useRoom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; const RoomContext = createContext(null); diff --git a/src/app/hooks/useRoomAliases.ts b/src/app/hooks/useRoomAliases.ts index 911307249..c1e8f4003 100644 --- a/src/app/hooks/useRoomAliases.ts +++ b/src/app/hooks/useRoomAliases.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useMemo } from 'react'; import { ObjectReader } from 'neurone/lib/utils'; import { parseMatrixResp } from 'neurone/lib/matrix-request'; diff --git a/src/app/hooks/useRoomCreators.ts b/src/app/hooks/useRoomCreators.ts index 55333598f..101ee0f1d 100644 --- a/src/app/hooks/useRoomCreators.ts +++ b/src/app/hooks/useRoomCreators.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { creatorsSupported } from '../utils/matrix'; import { useObservableValue } from './useObservableValue'; import { useClient } from './useClient'; diff --git a/src/app/hooks/useRoomCreatorsTag.ts b/src/app/hooks/useRoomCreatorsTag.ts index 2d6db0eca..88b2b7b65 100644 --- a/src/app/hooks/useRoomCreatorsTag.ts +++ b/src/app/hooks/useRoomCreatorsTag.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MemberPowerTag } from '../../types/matrix/room'; const DEFAULT_TAG: MemberPowerTag = { diff --git a/src/app/hooks/useRoomDirectoryVisibility.ts b/src/app/hooks/useRoomDirectoryVisibility.ts index 40d09c32a..8605932d2 100644 --- a/src/app/hooks/useRoomDirectoryVisibility.ts +++ b/src/app/hooks/useRoomDirectoryVisibility.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { getListRoom, GetListRoomOK, diff --git a/src/app/hooks/useRoomEvent.ts b/src/app/hooks/useRoomEvent.ts index 564ef20ff..fa79eba65 100644 --- a/src/app/hooks/useRoomEvent.ts +++ b/src/app/hooks/useRoomEvent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { getEvent, GetEventOK } from 'neurone/lib/api/matrix/client/v3/rooms'; import { useQuery } from '@tanstack/react-query'; diff --git a/src/app/hooks/useRoomMember.ts b/src/app/hooks/useRoomMember.ts index 56da8f63d..d5d647cc4 100644 --- a/src/app/hooks/useRoomMember.ts +++ b/src/app/hooks/useRoomMember.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { useClient } from './useClient'; import { useObservableValuePromise } from './useObservableValue'; diff --git a/src/app/hooks/useRoomMembers.ts b/src/app/hooks/useRoomMembers.ts index 2b509b7a0..77f80c925 100644 --- a/src/app/hooks/useRoomMembers.ts +++ b/src/app/hooks/useRoomMembers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext, useMemo } from 'react'; import { PendingObservableResult } from 'neurone/lib/utils/observable'; import { RoomMembership } from 'neurone/lib/api/types'; diff --git a/src/app/hooks/useRoomNavigate.ts b/src/app/hooks/useRoomNavigate.ts index dd5024309..7bad34133 100644 --- a/src/app/hooks/useRoomNavigate.ts +++ b/src/app/hooks/useRoomNavigate.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { NavigateOptions, useNavigate } from 'react-router-dom'; import { useAtomValue } from 'jotai'; diff --git a/src/app/hooks/useRoomPermissions.ts b/src/app/hooks/useRoomPermissions.ts index 0ad179896..51f55b619 100644 --- a/src/app/hooks/useRoomPermissions.ts +++ b/src/app/hooks/useRoomPermissions.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { IPowerLevels, diff --git a/src/app/hooks/useRoomPinnedEvents.ts b/src/app/hooks/useRoomPinnedEvents.ts index 42d88fa70..a479a4301 100644 --- a/src/app/hooks/useRoomPinnedEvents.ts +++ b/src/app/hooks/useRoomPinnedEvents.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { StateEventType } from '../../types/matrix/room'; import { useRoomStateEvent } from './storage/useRoomStateEvent'; diff --git a/src/app/hooks/useRoomTypingMembers.ts b/src/app/hooks/useRoomTypingMembers.ts index 28570fd55..d4a3cf818 100644 --- a/src/app/hooks/useRoomTypingMembers.ts +++ b/src/app/hooks/useRoomTypingMembers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useAtomValue } from 'jotai'; import { selectAtom } from 'jotai/utils'; import { useCallback } from 'react'; diff --git a/src/app/hooks/useRoomsLatestEvent.ts b/src/app/hooks/useRoomsLatestEvent.ts index 68bbe4cfb..edb749360 100644 --- a/src/app/hooks/useRoomsLatestEvent.ts +++ b/src/app/hooks/useRoomsLatestEvent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useState } from 'react'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { useClient } from './useClient'; diff --git a/src/app/hooks/useRoomsNotificationPreferences.ts b/src/app/hooks/useRoomsNotificationPreferences.ts index 4897806aa..0bd9ee225 100644 --- a/src/app/hooks/useRoomsNotificationPreferences.ts +++ b/src/app/hooks/useRoomsNotificationPreferences.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useCallback, useContext, useMemo } from 'react'; import { AccountDataEvent, PushRules } from 'neurone/lib/api/types'; import { deletePushRule, putPushRule } from 'neurone/lib/api/matrix/client/v3/pushrules'; diff --git a/src/app/hooks/useScreenSize.ts b/src/app/hooks/useScreenSize.ts index 3e64528d6..9f9407d9a 100644 --- a/src/app/hooks/useScreenSize.ts +++ b/src/app/hooks/useScreenSize.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useCallback, useContext, useState } from 'react'; import { useElementSizeObserver } from './useElementSizeObserver'; diff --git a/src/app/hooks/useSecondsCountdown.ts b/src/app/hooks/useSecondsCountdown.ts index a101e1f7e..0b7a7f71e 100644 --- a/src/app/hooks/useSecondsCountdown.ts +++ b/src/app/hooks/useSecondsCountdown.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useState } from 'react'; export const useSecondsCountdown = (seconds: number, onEnd?: () => void): number => { diff --git a/src/app/hooks/useSecretStorage.ts b/src/app/hooks/useSecretStorage.ts index 6d746e7c9..df0d6897f 100644 --- a/src/app/hooks/useSecretStorage.ts +++ b/src/app/hooks/useSecretStorage.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; import { AesHmacSha2KeyDescription, KeyStorage } from 'neurone/lib/crypto/ssss'; import { useAccountData } from './storage/useAccountData'; diff --git a/src/app/hooks/useSessions.ts b/src/app/hooks/useSessions.ts index 0f371b992..3a18ea6d4 100644 --- a/src/app/hooks/useSessions.ts +++ b/src/app/hooks/useSessions.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useAtomValue } from 'jotai'; import { createContext, useContext } from 'react'; import { sessionsAtom } from '../state/sessions'; diff --git a/src/app/hooks/useSidebarItems.ts b/src/app/hooks/useSidebarItems.ts index 375c40e73..63ae09981 100644 --- a/src/app/hooks/useSidebarItems.ts +++ b/src/app/hooks/useSidebarItems.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { AccountDataEvent } from 'neurone/lib/api/types'; import { useClient } from './useClient'; diff --git a/src/app/hooks/useSingleSessionTab.ts b/src/app/hooks/useSingleSessionTab.ts index ad7947126..a49d32d93 100644 --- a/src/app/hooks/useSingleSessionTab.ts +++ b/src/app/hooks/useSingleSessionTab.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useMemo } from 'react'; import { useNavigate } from 'react-router-dom'; import { getRootPath } from '../pages/pathUtils'; diff --git a/src/app/hooks/useSpace.ts b/src/app/hooks/useSpace.ts index 595c6d8df..fac99a741 100644 --- a/src/app/hooks/useSpace.ts +++ b/src/app/hooks/useSpace.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; const SpaceContext = createContext(null); diff --git a/src/app/hooks/useSpaceHierarchy.ts b/src/app/hooks/useSpaceHierarchy.ts index 557dc42ab..6ef99c28c 100644 --- a/src/app/hooks/useSpaceHierarchy.ts +++ b/src/app/hooks/useSpaceHierarchy.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useAtomValue } from 'jotai'; import { useCallback, useEffect, useMemo, useRef } from 'react'; import { SpaceHierarchyRoomChunk, StateEventWithoutRoomId } from 'neurone/lib/api/types'; diff --git a/src/app/hooks/useSpecVersions.ts b/src/app/hooks/useSpecVersions.ts index 7f6318d09..3e1a3c3a8 100644 --- a/src/app/hooks/useSpecVersions.ts +++ b/src/app/hooks/useSpecVersions.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useCallback, useContext } from 'react'; import { SpecVersions } from '../cs-api'; diff --git a/src/app/hooks/useSpoilerClickHandler.ts b/src/app/hooks/useSpoilerClickHandler.ts index b21011880..efbe64c6d 100644 --- a/src/app/hooks/useSpoilerClickHandler.ts +++ b/src/app/hooks/useSpoilerClickHandler.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactEventHandler, useCallback } from 'react'; export const useSpoilerClickHandler = (): ReactEventHandler => { diff --git a/src/app/hooks/useTextAreaCodeEditor.ts b/src/app/hooks/useTextAreaCodeEditor.ts index 34c12f28d..8223da1cd 100644 --- a/src/app/hooks/useTextAreaCodeEditor.ts +++ b/src/app/hooks/useTextAreaCodeEditor.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo, useCallback, KeyboardEventHandler, MutableRefObject } from 'react'; import { isKeyHotkey } from 'is-hotkey'; import { TextArea, Intent, TextAreaOperations, Cursor } from '../plugins/text-area'; diff --git a/src/app/hooks/useTextAreaIntent.ts b/src/app/hooks/useTextAreaIntent.ts index 113316ec2..4cbde9b2a 100644 --- a/src/app/hooks/useTextAreaIntent.ts +++ b/src/app/hooks/useTextAreaIntent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { isKeyHotkey } from 'is-hotkey'; import { KeyboardEventHandler, useCallback } from 'react'; import { Cursor, Intent, Operations, TextArea } from '../plugins/text-area'; diff --git a/src/app/hooks/useTheme.ts b/src/app/hooks/useTheme.ts index 4bbc85308..04f41669d 100644 --- a/src/app/hooks/useTheme.ts +++ b/src/app/hooks/useTheme.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { lightTheme } from 'folds'; import { createContext, useContext, useEffect, useMemo, useState } from 'react'; import { onDarkFontWeight, onLightFontWeight } from '../../config.css'; diff --git a/src/app/hooks/useThreadParticipant.ts b/src/app/hooks/useThreadParticipant.ts index 51c88b610..d32c34221 100644 --- a/src/app/hooks/useThreadParticipant.ts +++ b/src/app/hooks/useThreadParticipant.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { ThreadTimeline } from '../../client/room/ThreadTimeline'; import { useObservableValue } from './useObservableValue'; diff --git a/src/app/hooks/useThrottle.ts b/src/app/hooks/useThrottle.ts index 12b249f29..1308923e8 100644 --- a/src/app/hooks/useThrottle.ts +++ b/src/app/hooks/useThrottle.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useRef } from 'react'; export interface ThrottleOptions { diff --git a/src/app/hooks/useTimeoutToggle.ts b/src/app/hooks/useTimeoutToggle.ts index 7eda99c17..4bf5a3759 100644 --- a/src/app/hooks/useTimeoutToggle.ts +++ b/src/app/hooks/useTimeoutToggle.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useRef, useState } from 'react'; /** diff --git a/src/app/hooks/useTypingStatusUpdater.ts b/src/app/hooks/useTypingStatusUpdater.ts index b06684ded..27b2de4d2 100644 --- a/src/app/hooks/useTypingStatusUpdater.ts +++ b/src/app/hooks/useTypingStatusUpdater.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo, useRef } from 'react'; import { putTyping } from 'neurone/lib/api/matrix/client/v3/rooms'; import { useClient } from './useClient'; diff --git a/src/app/hooks/useUIAFlows.ts b/src/app/hooks/useUIAFlows.ts index ac0705022..22410b0cd 100644 --- a/src/app/hooks/useUIAFlows.ts +++ b/src/app/hooks/useUIAFlows.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { MatrixError } from 'neurone/lib/matrix-request'; import { diff --git a/src/app/hooks/useUserPresence.ts b/src/app/hooks/useUserPresence.ts index 4edfeeb18..9567a1b2b 100644 --- a/src/app/hooks/useUserPresence.ts +++ b/src/app/hooks/useUserPresence.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useMemo } from 'react'; import { Presence } from 'neurone/lib/api/types'; import { useClient } from './useClient'; diff --git a/src/app/hooks/useUserProfile.ts b/src/app/hooks/useUserProfile.ts index f9900e811..9d7f01f9f 100644 --- a/src/app/hooks/useUserProfile.ts +++ b/src/app/hooks/useUserProfile.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useQuery } from '@tanstack/react-query'; import { getProfile, GetProfileOK } from 'neurone/lib/api/matrix/client/v3/profile'; diff --git a/src/app/hooks/useVerificationRequest.ts b/src/app/hooks/useVerificationRequest.ts index f1e0a98a5..ec1b9889e 100644 --- a/src/app/hooks/useVerificationRequest.ts +++ b/src/app/hooks/useVerificationRequest.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect } from 'react'; import { InboundVerification, OutboundVerification } from 'neurone/lib/crypto/machine/verification'; import { useClient } from './useClient'; diff --git a/src/app/hooks/useVirtualPaginator.ts b/src/app/hooks/useVirtualPaginator.ts index ffd669630..b7d0d2032 100644 --- a/src/app/hooks/useVirtualPaginator.ts +++ b/src/app/hooks/useVirtualPaginator.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect, useLayoutEffect, useMemo, useRef } from 'react'; import { OnIntersectionCallback, useIntersectionObserver } from './useIntersectionObserver'; import { diff --git a/src/app/hooks/useWindowFocus.ts b/src/app/hooks/useWindowFocus.ts index bdd88de50..0bb6e73d4 100644 --- a/src/app/hooks/useWindowFocus.ts +++ b/src/app/hooks/useWindowFocus.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useEffect, useState } from 'react'; /** diff --git a/src/app/hooks/useZoom.ts b/src/app/hooks/useZoom.ts index 018106372..b615b0c63 100644 --- a/src/app/hooks/useZoom.ts +++ b/src/app/hooks/useZoom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useState } from 'react'; export const useZoom = (step: number, min = 0.1, max = 5) => { diff --git a/src/app/i18n.ts b/src/app/i18n.ts index 9e83805d3..91fa672fa 100644 --- a/src/app/i18n.ts +++ b/src/app/i18n.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import i18n from 'i18next'; import LanguageDetector from 'i18next-browser-languagedetector'; import Backend, { HttpBackendOptions } from 'i18next-http-backend'; diff --git a/src/app/pages/AccountSelector.tsx b/src/app/pages/AccountSelector.tsx index 76c0e44bc..e7710d783 100644 --- a/src/app/pages/AccountSelector.tsx +++ b/src/app/pages/AccountSelector.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect, useMemo, useRef } from 'react'; import { Avatar, Badge, Box, Button, config, Icon, Icons, Text } from 'folds'; import { Link, Navigate, Outlet, useNavigate } from 'react-router-dom'; diff --git a/src/app/pages/App.tsx b/src/app/pages/App.tsx index a6b6437a7..faa123d55 100644 --- a/src/app/pages/App.tsx +++ b/src/app/pages/App.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Provider as JotaiProvider } from 'jotai'; import { OverlayContainerProvider, PopOutContainerProvider, TooltipContainerProvider } from 'folds'; diff --git a/src/app/pages/ClientConfig.tsx b/src/app/pages/ClientConfig.tsx index d06673ae0..3da4422cc 100644 --- a/src/app/pages/ClientConfig.tsx +++ b/src/app/pages/ClientConfig.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, Dialog, Text, color, config } from 'folds'; import React from 'react'; import { SplashScreen } from '../components/splash-screen'; diff --git a/src/app/pages/FeatureCheck.tsx b/src/app/pages/FeatureCheck.tsx index abb366a85..4d4a9e857 100644 --- a/src/app/pages/FeatureCheck.tsx +++ b/src/app/pages/FeatureCheck.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useEffect } from 'react'; import { Box, Dialog, Text, config } from 'folds'; import { AsyncStatus, useAsyncCallback } from '../hooks/useAsyncCallback'; diff --git a/src/app/pages/MobileFriendly.tsx b/src/app/pages/MobileFriendly.tsx index ca947ac61..47ed4e700 100644 --- a/src/app/pages/MobileFriendly.tsx +++ b/src/app/pages/MobileFriendly.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ReactNode } from 'react'; import { useMatch } from 'react-router-dom'; import { ScreenSize, useScreenSizeContext } from '../hooks/useScreenSize'; diff --git a/src/app/pages/Router.tsx b/src/app/pages/Router.tsx index 865cff08a..9c48746ae 100644 --- a/src/app/pages/Router.tsx +++ b/src/app/pages/Router.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Outlet, diff --git a/src/app/pages/ThemeManager.tsx b/src/app/pages/ThemeManager.tsx index 2f99199ed..761b775c9 100644 --- a/src/app/pages/ThemeManager.tsx +++ b/src/app/pages/ThemeManager.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useEffect } from 'react'; import { configClass, varsClass } from 'folds'; import { diff --git a/src/app/pages/afterLoginRedirectPath.ts b/src/app/pages/afterLoginRedirectPath.ts index 60e09da33..66ecbf19e 100644 --- a/src/app/pages/afterLoginRedirectPath.ts +++ b/src/app/pages/afterLoginRedirectPath.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + const AFTER_LOGIN_REDIRECT_PATH_KEY = 'after_login_redirect_url'; export const setAfterLoginRedirectPath = (url: string): void => { diff --git a/src/app/pages/auth/AuthRoot.tsx b/src/app/pages/auth/AuthRoot.tsx index f940324e1..5bd5dec47 100644 --- a/src/app/pages/auth/AuthRoot.tsx +++ b/src/app/pages/auth/AuthRoot.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useEffect } from 'react'; import { Box, Chip, Icon, Icons, Spinner, Text, color } from 'folds'; import { diff --git a/src/app/pages/auth/FiledError.tsx b/src/app/pages/auth/FiledError.tsx index d96fc8725..c004ab5a9 100644 --- a/src/app/pages/auth/FiledError.tsx +++ b/src/app/pages/auth/FiledError.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, Icons, color, Text } from 'folds'; diff --git a/src/app/pages/auth/SSOLogin.tsx b/src/app/pages/auth/SSOLogin.tsx index 45c72c149..2d7eadc49 100644 --- a/src/app/pages/auth/SSOLogin.tsx +++ b/src/app/pages/auth/SSOLogin.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Avatar, AvatarImage, Box, Button, Text } from 'folds'; import { IdentityProvider } from 'neurone/lib/api/types'; import React from 'react'; diff --git a/src/app/pages/auth/ServerPicker.tsx b/src/app/pages/auth/ServerPicker.tsx index a2a78106c..9d3f7c849 100644 --- a/src/app/pages/auth/ServerPicker.tsx +++ b/src/app/pages/auth/ServerPicker.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ChangeEventHandler, KeyboardEventHandler, diff --git a/src/app/pages/auth/index.ts b/src/app/pages/auth/index.ts index 50a6ce8ce..1422f6634 100644 --- a/src/app/pages/auth/index.ts +++ b/src/app/pages/auth/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './AuthRoot'; export * from './login'; export * from './register'; diff --git a/src/app/pages/auth/login/Login.tsx b/src/app/pages/auth/login/Login.tsx index 0dab2c16a..7e3bf36b8 100644 --- a/src/app/pages/auth/login/Login.tsx +++ b/src/app/pages/auth/login/Login.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo } from 'react'; import { Box, Text, color } from 'folds'; import { Link, useSearchParams } from 'react-router-dom'; diff --git a/src/app/pages/auth/login/PasswordLoginForm.tsx b/src/app/pages/auth/login/PasswordLoginForm.tsx index 1777bc2a4..7ad9d1169 100644 --- a/src/app/pages/auth/login/PasswordLoginForm.tsx +++ b/src/app/pages/auth/login/PasswordLoginForm.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, MouseEventHandler, useCallback, useState } from 'react'; import { Box, diff --git a/src/app/pages/auth/login/TokenLogin.tsx b/src/app/pages/auth/login/TokenLogin.tsx index 49eeb2ca6..4cb5bc504 100644 --- a/src/app/pages/auth/login/TokenLogin.tsx +++ b/src/app/pages/auth/login/TokenLogin.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Icon, diff --git a/src/app/pages/auth/login/index.ts b/src/app/pages/auth/login/index.ts index a10c3a83a..c88190014 100644 --- a/src/app/pages/auth/login/index.ts +++ b/src/app/pages/auth/login/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Login'; diff --git a/src/app/pages/auth/login/loginUtil.ts b/src/app/pages/auth/login/loginUtil.ts index 4c2c77a78..787c3f718 100644 --- a/src/app/pages/auth/login/loginUtil.ts +++ b/src/app/pages/auth/login/loginUtil.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import to from 'await-to-js'; import { useCallback } from 'react'; import { useNavigate } from 'react-router-dom'; diff --git a/src/app/pages/auth/register/PasswordRegisterForm.tsx b/src/app/pages/auth/register/PasswordRegisterForm.tsx index aef0b1d31..eb7a28e76 100644 --- a/src/app/pages/auth/register/PasswordRegisterForm.tsx +++ b/src/app/pages/auth/register/PasswordRegisterForm.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, diff --git a/src/app/pages/auth/register/Register.tsx b/src/app/pages/auth/register/Register.tsx index 29fc3af24..59684a7c0 100644 --- a/src/app/pages/auth/register/Register.tsx +++ b/src/app/pages/auth/register/Register.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useMemo } from 'react'; import { Box, Text, color } from 'folds'; import { Link, useSearchParams } from 'react-router-dom'; diff --git a/src/app/pages/auth/register/index.ts b/src/app/pages/auth/register/index.ts index 7eb55fd55..f6e1b7533 100644 --- a/src/app/pages/auth/register/index.ts +++ b/src/app/pages/auth/register/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Register'; diff --git a/src/app/pages/auth/register/registerUtil.ts b/src/app/pages/auth/register/registerUtil.ts index 9c276953b..5c62cefd0 100644 --- a/src/app/pages/auth/register/registerUtil.ts +++ b/src/app/pages/auth/register/registerUtil.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { postRegister, PostRegisterBody, diff --git a/src/app/pages/auth/reset-password/PasswordResetForm.tsx b/src/app/pages/auth/reset-password/PasswordResetForm.tsx index b06dcf137..681463fff 100644 --- a/src/app/pages/auth/reset-password/PasswordResetForm.tsx +++ b/src/app/pages/auth/reset-password/PasswordResetForm.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useEffect, useState } from 'react'; import { Box, diff --git a/src/app/pages/auth/reset-password/ResetPassword.tsx b/src/app/pages/auth/reset-password/ResetPassword.tsx index c5e1d2ad3..f10a9d891 100644 --- a/src/app/pages/auth/reset-password/ResetPassword.tsx +++ b/src/app/pages/auth/reset-password/ResetPassword.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Text } from 'folds'; import React, { useMemo } from 'react'; import { Link, useSearchParams } from 'react-router-dom'; diff --git a/src/app/pages/auth/reset-password/index.ts b/src/app/pages/auth/reset-password/index.ts index 0e85ecf3f..245f915c8 100644 --- a/src/app/pages/auth/reset-password/index.ts +++ b/src/app/pages/auth/reset-password/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ResetPassword'; diff --git a/src/app/pages/auth/reset-password/resetPasswordUtil.ts b/src/app/pages/auth/reset-password/resetPasswordUtil.ts index 2d8b0467b..7a463b31d 100644 --- a/src/app/pages/auth/reset-password/resetPasswordUtil.ts +++ b/src/app/pages/auth/reset-password/resetPasswordUtil.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatrixError, parseMatrixResp } from 'neurone/lib/matrix-request'; import { postPassword, diff --git a/src/app/pages/auth/styles.css.ts b/src/app/pages/auth/styles.css.ts index 5834ad849..8d00bf71b 100644 --- a/src/app/pages/auth/styles.css.ts +++ b/src/app/pages/auth/styles.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { DefaultReset, color, config, toRem } from 'folds'; diff --git a/src/app/pages/client/AutoDiscovery.tsx b/src/app/pages/client/AutoDiscovery.tsx index 76423477f..0c6b9d9f7 100644 --- a/src/app/pages/client/AutoDiscovery.tsx +++ b/src/app/pages/client/AutoDiscovery.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useCallback, useMemo } from 'react'; import { AutoDiscoveryInfoProvider } from '../../hooks/useAutoDiscoveryInfo'; import { AsyncStatus, useAsyncCallbackValue } from '../../hooks/useAsyncCallback'; diff --git a/src/app/pages/client/ClientBindAtoms.ts b/src/app/pages/client/ClientBindAtoms.ts index 4abfdbc4a..d4ef75859 100644 --- a/src/app/pages/client/ClientBindAtoms.ts +++ b/src/app/pages/client/ClientBindAtoms.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useBindAtoms } from '../../state/hooks/useBindAtoms'; import { useClient } from '../../hooks/useClient'; diff --git a/src/app/pages/client/ClientInitStorageAtom.tsx b/src/app/pages/client/ClientInitStorageAtom.tsx index 15b838401..0c0aa946f 100644 --- a/src/app/pages/client/ClientInitStorageAtom.tsx +++ b/src/app/pages/client/ClientInitStorageAtom.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useMemo } from 'react'; import { makeClosedNavCategoriesAtom } from '../../state/closedNavCategories'; import { ClosedNavCategoriesProvider } from '../../state/hooks/closedNavCategories'; diff --git a/src/app/pages/client/ClientLayout.tsx b/src/app/pages/client/ClientLayout.tsx index 4a077ba6a..11b91904b 100644 --- a/src/app/pages/client/ClientLayout.tsx +++ b/src/app/pages/client/ClientLayout.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box } from 'folds'; diff --git a/src/app/pages/client/ClientNonUIFeatures.tsx b/src/app/pages/client/ClientNonUIFeatures.tsx index 0c21785a8..833818648 100644 --- a/src/app/pages/client/ClientNonUIFeatures.tsx +++ b/src/app/pages/client/ClientNonUIFeatures.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { useSetting } from '../../state/hooks/settings'; diff --git a/src/app/pages/client/ClientRoomsNotificationPreferences.tsx b/src/app/pages/client/ClientRoomsNotificationPreferences.tsx index 1ab0213f5..fb628e6fa 100644 --- a/src/app/pages/client/ClientRoomsNotificationPreferences.tsx +++ b/src/app/pages/client/ClientRoomsNotificationPreferences.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { RoomsNotificationPreferencesProvider, diff --git a/src/app/pages/client/ClientRoot.tsx b/src/app/pages/client/ClientRoot.tsx index 4cb1091f2..37275c248 100644 --- a/src/app/pages/client/ClientRoot.tsx +++ b/src/app/pages/client/ClientRoot.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, config, Dialog, ProgressBar, Text, toRem } from 'folds'; import React, { ReactNode, useCallback, useEffect } from 'react'; import { SplashScreen } from '../../components/splash-screen'; diff --git a/src/app/pages/client/ClientRootOptions.tsx b/src/app/pages/client/ClientRootOptions.tsx index 20b3f7d4a..a18379f8d 100644 --- a/src/app/pages/client/ClientRootOptions.tsx +++ b/src/app/pages/client/ClientRootOptions.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, config, diff --git a/src/app/pages/client/InitialSyncSplashScreen.tsx b/src/app/pages/client/InitialSyncSplashScreen.tsx index 5884fd2d2..852e29270 100644 --- a/src/app/pages/client/InitialSyncSplashScreen.tsx +++ b/src/app/pages/client/InitialSyncSplashScreen.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Box, Button, color, config, Dialog, ProgressBar, Text, toRem } from 'folds'; import { ObservableValue } from 'neurone/lib/utils/observable'; import { printMatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/pages/client/SidebarNav.tsx b/src/app/pages/client/SidebarNav.tsx index a2e1b6820..f7c613813 100644 --- a/src/app/pages/client/SidebarNav.tsx +++ b/src/app/pages/client/SidebarNav.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useRef } from 'react'; import { Scroll } from 'folds'; diff --git a/src/app/pages/client/SpecVersions.tsx b/src/app/pages/client/SpecVersions.tsx index bcf13244c..a636fc9c9 100644 --- a/src/app/pages/client/SpecVersions.tsx +++ b/src/app/pages/client/SpecVersions.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { Box, Dialog, config, Text, Button } from 'folds'; import { SpecVersionsLoader } from '../../components/SpecVersionsLoader'; diff --git a/src/app/pages/client/SyncStatus.tsx b/src/app/pages/client/SyncStatus.tsx index 048da4289..46969423b 100644 --- a/src/app/pages/client/SyncStatus.tsx +++ b/src/app/pages/client/SyncStatus.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode, useCallback, useEffect, useState } from 'react'; import { Box, config, ContainerColor as ContainerColorType, Line, Text } from 'folds'; import { ContainerColor } from '../../styles/ContainerColor.css'; diff --git a/src/app/pages/client/WelcomePage.tsx b/src/app/pages/client/WelcomePage.tsx index 6a25392c2..4df4f8969 100644 --- a/src/app/pages/client/WelcomePage.tsx +++ b/src/app/pages/client/WelcomePage.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Button, Icon, Icons, Text, config, toRem } from 'folds'; import { Page, PageHero, PageHeroSection } from '../../components/page'; diff --git a/src/app/pages/client/create/Create.tsx b/src/app/pages/client/create/Create.tsx index 288169b6b..528d3dae0 100644 --- a/src/app/pages/client/create/Create.tsx +++ b/src/app/pages/client/create/Create.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, Icons, Scroll } from 'folds'; import { diff --git a/src/app/pages/client/create/index.ts b/src/app/pages/client/create/index.ts index 48cba6e76..05e320e6d 100644 --- a/src/app/pages/client/create/index.ts +++ b/src/app/pages/client/create/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Create'; diff --git a/src/app/pages/client/direct/Direct.tsx b/src/app/pages/client/direct/Direct.tsx index 06381aa1b..30d6397b0 100644 --- a/src/app/pages/client/direct/Direct.tsx +++ b/src/app/pages/client/direct/Direct.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, forwardRef, useMemo, useRef, useState } from 'react'; import { useAtom } from 'jotai'; import { diff --git a/src/app/pages/client/direct/DirectCreate.tsx b/src/app/pages/client/direct/DirectCreate.tsx index 5ee4d4df4..6ff21cc2c 100644 --- a/src/app/pages/client/direct/DirectCreate.tsx +++ b/src/app/pages/client/direct/DirectCreate.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useEffect } from 'react'; import { useNavigate, useSearchParams } from 'react-router-dom'; import { Box, Icon, IconButton, Icons, Scroll } from 'folds'; diff --git a/src/app/pages/client/direct/RoomProvider.tsx b/src/app/pages/client/direct/RoomProvider.tsx index f839838cc..64af1807d 100644 --- a/src/app/pages/client/direct/RoomProvider.tsx +++ b/src/app/pages/client/direct/RoomProvider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { useParams } from 'react-router-dom'; import { useSelectedRoom } from '../../../hooks/router/useSelectedRoom'; diff --git a/src/app/pages/client/direct/index.ts b/src/app/pages/client/direct/index.ts index d247bbc03..28e96585b 100644 --- a/src/app/pages/client/direct/index.ts +++ b/src/app/pages/client/direct/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Direct'; export * from './RoomProvider'; export * from './DirectCreate'; diff --git a/src/app/pages/client/direct/useDirectRooms.ts b/src/app/pages/client/direct/useDirectRooms.ts index abe8eb07f..6b357dc68 100644 --- a/src/app/pages/client/direct/useDirectRooms.ts +++ b/src/app/pages/client/direct/useDirectRooms.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useAtomValue } from 'jotai'; import { mDirectAtom } from '../../../state/mDirectList'; import { allRoomsAtom } from '../../../state/room-list/roomList'; diff --git a/src/app/pages/client/explore/Explore.tsx b/src/app/pages/client/explore/Explore.tsx index fb9b71c1a..9d1340a3e 100644 --- a/src/app/pages/client/explore/Explore.tsx +++ b/src/app/pages/client/explore/Explore.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, useCallback, useRef, useState } from 'react'; import { useNavigate } from 'react-router-dom'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/pages/client/explore/Featured.tsx b/src/app/pages/client/explore/Featured.tsx index f056cbb5c..0bcf21c84 100644 --- a/src/app/pages/client/explore/Featured.tsx +++ b/src/app/pages/client/explore/Featured.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, IconButton, Icons, Scroll, Text } from 'folds'; import { useAtomValue } from 'jotai'; diff --git a/src/app/pages/client/explore/Server.tsx b/src/app/pages/client/explore/Server.tsx index 24cd7df88..86bf7cd6d 100644 --- a/src/app/pages/client/explore/Server.tsx +++ b/src/app/pages/client/explore/Server.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { FormEventHandler, MouseEventHandler, diff --git a/src/app/pages/client/explore/index.ts b/src/app/pages/client/explore/index.ts index 1149a10d4..966967765 100644 --- a/src/app/pages/client/explore/index.ts +++ b/src/app/pages/client/explore/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Explore'; export * from './Server'; export * from './Featured'; diff --git a/src/app/pages/client/explore/style.css.ts b/src/app/pages/client/explore/style.css.ts index 9186cb222..53cfa0f90 100644 --- a/src/app/pages/client/explore/style.css.ts +++ b/src/app/pages/client/explore/style.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config } from 'folds'; import { ContainerColor } from '../../../styles/ContainerColor.css'; diff --git a/src/app/pages/client/home/CreateRoom.tsx b/src/app/pages/client/home/CreateRoom.tsx index fddd75aac..596ceeafa 100644 --- a/src/app/pages/client/home/CreateRoom.tsx +++ b/src/app/pages/client/home/CreateRoom.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Box, Icon, Icons, Scroll, IconButton } from 'folds'; import { diff --git a/src/app/pages/client/home/Home.tsx b/src/app/pages/client/home/Home.tsx index a4477c970..ce2cdd070 100644 --- a/src/app/pages/client/home/Home.tsx +++ b/src/app/pages/client/home/Home.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, forwardRef, useMemo, useRef, useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { diff --git a/src/app/pages/client/home/RoomProvider.tsx b/src/app/pages/client/home/RoomProvider.tsx index 6195e6077..9d0052b09 100644 --- a/src/app/pages/client/home/RoomProvider.tsx +++ b/src/app/pages/client/home/RoomProvider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { useParams } from 'react-router-dom'; import { useSelectedRoom } from '../../../hooks/router/useSelectedRoom'; diff --git a/src/app/pages/client/home/Search.tsx b/src/app/pages/client/home/Search.tsx index d5ddfb778..61ee5aa9d 100644 --- a/src/app/pages/client/home/Search.tsx +++ b/src/app/pages/client/home/Search.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useRef } from 'react'; import { Box, Icon, Icons, Text, Scroll, IconButton } from 'folds'; import { Page, PageContent, PageContentCenter, PageHeader } from '../../../components/page'; diff --git a/src/app/pages/client/home/index.ts b/src/app/pages/client/home/index.ts index 807644818..15d9cb913 100644 --- a/src/app/pages/client/home/index.ts +++ b/src/app/pages/client/home/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Home'; export * from './Search'; export * from './RoomProvider'; diff --git a/src/app/pages/client/home/useHomeRooms.ts b/src/app/pages/client/home/useHomeRooms.ts index 3b1658ca1..289259f78 100644 --- a/src/app/pages/client/home/useHomeRooms.ts +++ b/src/app/pages/client/home/useHomeRooms.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useAtomValue } from 'jotai'; import { mDirectAtom } from '../../../state/mDirectList'; import { roomToParentsAtom } from '../../../state/room/roomToParents'; diff --git a/src/app/pages/client/inbox/Inbox.tsx b/src/app/pages/client/inbox/Inbox.tsx index 8a06d79c0..64bf3f66b 100644 --- a/src/app/pages/client/inbox/Inbox.tsx +++ b/src/app/pages/client/inbox/Inbox.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Avatar, Box, Icon, Icons, Text } from 'folds'; import { NavCategory, NavItem, NavItemContent, NavLink } from '../../../components/nav'; diff --git a/src/app/pages/client/inbox/Invites.tsx b/src/app/pages/client/inbox/Invites.tsx index 35a5c27ec..f6cf0c9d2 100644 --- a/src/app/pages/client/inbox/Invites.tsx +++ b/src/app/pages/client/inbox/Invites.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useCallback, useMemo, useRef, useState } from 'react'; import { Avatar, diff --git a/src/app/pages/client/inbox/Notifications.tsx b/src/app/pages/client/inbox/Notifications.tsx index 25409374b..8ff47174c 100644 --- a/src/app/pages/client/inbox/Notifications.tsx +++ b/src/app/pages/client/inbox/Notifications.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable react/destructuring-assignment */ import React, { MouseEventHandler, diff --git a/src/app/pages/client/inbox/index.ts b/src/app/pages/client/inbox/index.ts index c8036b471..ed299b335 100644 --- a/src/app/pages/client/inbox/index.ts +++ b/src/app/pages/client/inbox/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Inbox'; export * from './Notifications'; export * from './Invites'; diff --git a/src/app/pages/client/index.ts b/src/app/pages/client/index.ts index 5668e81de..ad6fc07e8 100644 --- a/src/app/pages/client/index.ts +++ b/src/app/pages/client/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './ClientRoot'; export * from './ClientBindAtoms'; export * from './ClientLayout'; diff --git a/src/app/pages/client/sidebar/CreateTab.tsx b/src/app/pages/client/sidebar/CreateTab.tsx index e6575cb43..e8578b929 100644 --- a/src/app/pages/client/sidebar/CreateTab.tsx +++ b/src/app/pages/client/sidebar/CreateTab.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useState } from 'react'; import { Box, config, Icon, Icons, Menu, PopOut, RectCords, Text } from 'folds'; import FocusTrap from 'focus-trap-react'; diff --git a/src/app/pages/client/sidebar/DirectTab.tsx b/src/app/pages/client/sidebar/DirectTab.tsx index 6b3b3396d..d0431f286 100644 --- a/src/app/pages/client/sidebar/DirectTab.tsx +++ b/src/app/pages/client/sidebar/DirectTab.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, forwardRef, useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { Box, Icon, Icons, Menu, MenuItem, PopOut, RectCords, Text, config, toRem } from 'folds'; diff --git a/src/app/pages/client/sidebar/ExploreTab.tsx b/src/app/pages/client/sidebar/ExploreTab.tsx index 0fe3b879d..5c65f5b14 100644 --- a/src/app/pages/client/sidebar/ExploreTab.tsx +++ b/src/app/pages/client/sidebar/ExploreTab.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Icon, Icons } from 'folds'; import { useNavigate } from 'react-router-dom'; diff --git a/src/app/pages/client/sidebar/HomeTab.tsx b/src/app/pages/client/sidebar/HomeTab.tsx index ec1507868..4131ac95a 100644 --- a/src/app/pages/client/sidebar/HomeTab.tsx +++ b/src/app/pages/client/sidebar/HomeTab.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, forwardRef, useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { Box, Icon, Icons, Menu, MenuItem, PopOut, RectCords, Text, config, toRem } from 'folds'; diff --git a/src/app/pages/client/sidebar/InboxTab.tsx b/src/app/pages/client/sidebar/InboxTab.tsx index a3b7e6f6e..575c7b66e 100644 --- a/src/app/pages/client/sidebar/InboxTab.tsx +++ b/src/app/pages/client/sidebar/InboxTab.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { useNavigate } from 'react-router-dom'; import { Icon, Icons } from 'folds'; diff --git a/src/app/pages/client/sidebar/SearchTab.tsx b/src/app/pages/client/sidebar/SearchTab.tsx index 7ceb5c499..107b30b0e 100644 --- a/src/app/pages/client/sidebar/SearchTab.tsx +++ b/src/app/pages/client/sidebar/SearchTab.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React from 'react'; import { Icon, Icons } from 'folds'; import { useAtom } from 'jotai'; diff --git a/src/app/pages/client/sidebar/SettingsTab.tsx b/src/app/pages/client/sidebar/SettingsTab.tsx index 9ab36913c..6dff15b12 100644 --- a/src/app/pages/client/sidebar/SettingsTab.tsx +++ b/src/app/pages/client/sidebar/SettingsTab.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, useMemo, useState } from 'react'; import { Avatar, diff --git a/src/app/pages/client/sidebar/SpaceTabs.tsx b/src/app/pages/client/sidebar/SpaceTabs.tsx index a084e83eb..444163d58 100644 --- a/src/app/pages/client/sidebar/SpaceTabs.tsx +++ b/src/app/pages/client/sidebar/SpaceTabs.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, ReactNode, diff --git a/src/app/pages/client/sidebar/UnverifiedTab.css.ts b/src/app/pages/client/sidebar/UnverifiedTab.css.ts index cce17ccb9..43a5f24ce 100644 --- a/src/app/pages/client/sidebar/UnverifiedTab.css.ts +++ b/src/app/pages/client/sidebar/UnverifiedTab.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { keyframes, style } from '@vanilla-extract/css'; import { color, toRem } from 'folds'; diff --git a/src/app/pages/client/sidebar/UnverifiedTab.tsx b/src/app/pages/client/sidebar/UnverifiedTab.tsx index fb9f20a9e..e0b4308cd 100644 --- a/src/app/pages/client/sidebar/UnverifiedTab.tsx +++ b/src/app/pages/client/sidebar/UnverifiedTab.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useState } from 'react'; import { Badge, color, Icon, Icons, Text } from 'folds'; import { diff --git a/src/app/pages/client/sidebar/index.ts b/src/app/pages/client/sidebar/index.ts index d44cfaa26..c1d57df7d 100644 --- a/src/app/pages/client/sidebar/index.ts +++ b/src/app/pages/client/sidebar/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './HomeTab'; export * from './DirectTab'; export * from './SpaceTabs'; diff --git a/src/app/pages/client/space/RoomProvider.tsx b/src/app/pages/client/space/RoomProvider.tsx index 702afeac2..f4cc89b22 100644 --- a/src/app/pages/client/space/RoomProvider.tsx +++ b/src/app/pages/client/space/RoomProvider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { useParams } from 'react-router-dom'; import { useAtomValue } from 'jotai'; diff --git a/src/app/pages/client/space/Search.tsx b/src/app/pages/client/space/Search.tsx index 4c4a8014c..b5bb37866 100644 --- a/src/app/pages/client/space/Search.tsx +++ b/src/app/pages/client/space/Search.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { useRef } from 'react'; import { Box, Icon, Icons, Text, Scroll, IconButton } from 'folds'; import { useAtomValue } from 'jotai'; diff --git a/src/app/pages/client/space/Space.tsx b/src/app/pages/client/space/Space.tsx index 900f15731..f062739f5 100644 --- a/src/app/pages/client/space/Space.tsx +++ b/src/app/pages/client/space/Space.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MouseEventHandler, forwardRef, diff --git a/src/app/pages/client/space/SpaceProvider.tsx b/src/app/pages/client/space/SpaceProvider.tsx index 70a8c7409..c58a1854c 100644 --- a/src/app/pages/client/space/SpaceProvider.tsx +++ b/src/app/pages/client/space/SpaceProvider.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { ReactNode } from 'react'; import { useParams } from 'react-router-dom'; import { useSpaces } from '../../../state/hooks/roomList'; diff --git a/src/app/pages/client/space/index.ts b/src/app/pages/client/space/index.ts index 0e32d93b3..90d65565d 100644 --- a/src/app/pages/client/space/index.ts +++ b/src/app/pages/client/space/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './SpaceProvider'; export * from './Space'; export * from './Search'; diff --git a/src/app/pages/pathSearchParam.ts b/src/app/pages/pathSearchParam.ts index 8e4c93e5e..9acb9a796 100644 --- a/src/app/pages/pathSearchParam.ts +++ b/src/app/pages/pathSearchParam.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { _RoomSearchParams, DirectCreateSearchParams } from './paths'; type SearchParamsGetter = (searchParams: URLSearchParams) => T; diff --git a/src/app/pages/pathUtils.ts b/src/app/pages/pathUtils.ts index 817d21d1f..17f28d3a3 100644 --- a/src/app/pages/pathUtils.ts +++ b/src/app/pages/pathUtils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { generatePath, Path } from 'react-router-dom'; import { DIRECT_CREATE_PATH, diff --git a/src/app/pages/paths.ts b/src/app/pages/paths.ts index 9cf4bfb96..1596ab3b9 100644 --- a/src/app/pages/paths.ts +++ b/src/app/pages/paths.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export const ROOT_PATH = '/'; export type LoginPathSearchParams = { diff --git a/src/app/plugins/bad-words.ts b/src/app/plugins/bad-words.ts index bb6073d8a..26b49b7eb 100644 --- a/src/app/plugins/bad-words.ts +++ b/src/app/plugins/bad-words.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import * as badWords from 'badwords-list'; import { sanitizeForRegex } from '../utils/regex'; diff --git a/src/app/plugins/call/CallControl.ts b/src/app/plugins/call/CallControl.ts index 3c073af71..88c929cc9 100644 --- a/src/app/plugins/call/CallControl.ts +++ b/src/app/plugins/call/CallControl.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ClientWidgetApi } from 'matrix-widget-api'; import { ObservableValue } from 'neurone/lib/utils/observable'; import { Disposable } from 'neurone/lib/utils/disposable'; diff --git a/src/app/plugins/call/CallControlState.ts b/src/app/plugins/call/CallControlState.ts index fc7e3f22b..ebf088d9f 100644 --- a/src/app/plugins/call/CallControlState.ts +++ b/src/app/plugins/call/CallControlState.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export class CallControlState { public readonly microphone: boolean; diff --git a/src/app/plugins/call/CallEmbed.ts b/src/app/plugins/call/CallEmbed.ts index 46c048d90..0550dadec 100644 --- a/src/app/plugins/call/CallEmbed.ts +++ b/src/app/plugins/call/CallEmbed.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ClientWidgetApi, IWidget, diff --git a/src/app/plugins/call/CallWidgetDriver.ts b/src/app/plugins/call/CallWidgetDriver.ts index 8938b4938..10ceab266 100644 --- a/src/app/plugins/call/CallWidgetDriver.ts +++ b/src/app/plugins/call/CallWidgetDriver.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { type Capability, type ISendDelayedEventDetails, diff --git a/src/app/plugins/call/hooks.ts b/src/app/plugins/call/hooks.ts index 4d8a6c5c0..1f1f23136 100644 --- a/src/app/plugins/call/hooks.ts +++ b/src/app/plugins/call/hooks.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ClientWidgetApi, IWidgetApiAcknowledgeResponseData, diff --git a/src/app/plugins/call/index.ts b/src/app/plugins/call/index.ts index a4c6bb365..16adc379f 100644 --- a/src/app/plugins/call/index.ts +++ b/src/app/plugins/call/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './CallEmbed'; export * from './hooks'; export * from './types'; diff --git a/src/app/plugins/call/types.ts b/src/app/plugins/call/types.ts index 89a9e61d4..6fd98f759 100644 --- a/src/app/plugins/call/types.ts +++ b/src/app/plugins/call/types.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export enum ElementCallIntent { StartCall = 'start_call', JoinExisting = 'join_existing', diff --git a/src/app/plugins/call/utils.ts b/src/app/plugins/call/utils.ts index b0fc50135..b5a3087f5 100644 --- a/src/app/plugins/call/utils.ts +++ b/src/app/plugins/call/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { type Capability, EventDirection, diff --git a/src/app/plugins/color.ts b/src/app/plugins/color.ts index 47c73170f..cbd5fce3d 100644 --- a/src/app/plugins/color.ts +++ b/src/app/plugins/color.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import chroma from 'chroma-js'; import { ThemeKind } from '../hooks/useTheme'; diff --git a/src/app/plugins/custom-emoji/ImagePack.ts b/src/app/plugins/custom-emoji/ImagePack.ts index 7d8714f24..0feee83f9 100644 --- a/src/app/plugins/custom-emoji/ImagePack.ts +++ b/src/app/plugins/custom-emoji/ImagePack.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { AccountDataEvent, StateEventWithoutRoomId } from 'neurone/lib/api/types'; import { PackAddress } from './PackAddress'; import { PackImageReader } from './PackImageReader'; diff --git a/src/app/plugins/custom-emoji/PackAddress.ts b/src/app/plugins/custom-emoji/PackAddress.ts index 53595c2e6..5b8e5965e 100644 --- a/src/app/plugins/custom-emoji/PackAddress.ts +++ b/src/app/plugins/custom-emoji/PackAddress.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export class PackAddress { public readonly roomId: string; diff --git a/src/app/plugins/custom-emoji/PackImageReader.ts b/src/app/plugins/custom-emoji/PackImageReader.ts index 4bac3aad7..aa707ae95 100644 --- a/src/app/plugins/custom-emoji/PackImageReader.ts +++ b/src/app/plugins/custom-emoji/PackImageReader.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IImageInfo } from '../../../types/matrix/common'; import { ImageUsage, PackImage } from './types'; diff --git a/src/app/plugins/custom-emoji/PackImagesReader.ts b/src/app/plugins/custom-emoji/PackImagesReader.ts index 1531218ae..876399278 100644 --- a/src/app/plugins/custom-emoji/PackImagesReader.ts +++ b/src/app/plugins/custom-emoji/PackImagesReader.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { PackImageReader } from './PackImageReader'; import { PackImages } from './types'; diff --git a/src/app/plugins/custom-emoji/PackMetaReader.ts b/src/app/plugins/custom-emoji/PackMetaReader.ts index 537addf46..2bac7cc49 100644 --- a/src/app/plugins/custom-emoji/PackMetaReader.ts +++ b/src/app/plugins/custom-emoji/PackMetaReader.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { PackMeta, ImageUsage } from './types'; export class PackMetaReader { diff --git a/src/app/plugins/custom-emoji/index.ts b/src/app/plugins/custom-emoji/index.ts index f833fa5bd..1b0b4f7d4 100644 --- a/src/app/plugins/custom-emoji/index.ts +++ b/src/app/plugins/custom-emoji/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './PackAddress'; export * from './PackMetaReader'; export * from './PackImageReader'; diff --git a/src/app/plugins/custom-emoji/types.ts b/src/app/plugins/custom-emoji/types.ts index 459670752..f9a139a4e 100644 --- a/src/app/plugins/custom-emoji/types.ts +++ b/src/app/plugins/custom-emoji/types.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IImageInfo } from '../../../types/matrix/common'; // https://github.com/Sorunome/matrix-doc/blob/soru/emotes/proposals/2545-emotes.md diff --git a/src/app/plugins/custom-emoji/utils.ts b/src/app/plugins/custom-emoji/utils.ts index 987b602f2..f5c01823d 100644 --- a/src/app/plugins/custom-emoji/utils.ts +++ b/src/app/plugins/custom-emoji/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ImageUsage } from './types'; import { PackMetaReader } from './PackMetaReader'; import { PackAddress } from './PackAddress'; diff --git a/src/app/plugins/emoji.ts b/src/app/plugins/emoji.ts index 2462b7ffe..71d280907 100644 --- a/src/app/plugins/emoji.ts +++ b/src/app/plugins/emoji.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { CompactEmoji, fromUnicodeToHexcode } from 'emojibase'; import emojisData from 'emojibase-data/en/compact.json'; import joypixels from 'emojibase-data/en/shortcodes/joypixels.json'; diff --git a/src/app/plugins/markdown/block/index.ts b/src/app/plugins/markdown/block/index.ts index 75aa8b939..472a4be30 100644 --- a/src/app/plugins/markdown/block/index.ts +++ b/src/app/plugins/markdown/block/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './parser'; diff --git a/src/app/plugins/markdown/block/parser.ts b/src/app/plugins/markdown/block/parser.ts index b4aa1c3da..6565e457d 100644 --- a/src/app/plugins/markdown/block/parser.ts +++ b/src/app/plugins/markdown/block/parser.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { replaceMatch } from '../internal'; import { BlockQuoteRule, CodeBlockRule, ESC_BLOCK_SEQ, HeadingRule, ListRule } from './rules'; import { runBlockRule } from './runner'; diff --git a/src/app/plugins/markdown/block/rules.ts b/src/app/plugins/markdown/block/rules.ts index 231397cf1..8691d74aa 100644 --- a/src/app/plugins/markdown/block/rules.ts +++ b/src/app/plugins/markdown/block/rules.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { BlockMDRule } from './type'; const HEADING_REG_1 = /^(#{1,6}) +(.+)\n?/m; diff --git a/src/app/plugins/markdown/block/runner.ts b/src/app/plugins/markdown/block/runner.ts index 1dc8d8b8c..c3e7acfcd 100644 --- a/src/app/plugins/markdown/block/runner.ts +++ b/src/app/plugins/markdown/block/runner.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { replaceMatch } from '../internal'; import { BlockMDParser, BlockMDRule } from './type'; diff --git a/src/app/plugins/markdown/block/type.ts b/src/app/plugins/markdown/block/type.ts index 0949eb705..0d77fc190 100644 --- a/src/app/plugins/markdown/block/type.ts +++ b/src/app/plugins/markdown/block/type.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatchResult, MatchRule } from '../internal'; /** diff --git a/src/app/plugins/markdown/index.ts b/src/app/plugins/markdown/index.ts index 4c4e4491a..72dfd5816 100644 --- a/src/app/plugins/markdown/index.ts +++ b/src/app/plugins/markdown/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './utils'; export * from './block'; export * from './inline'; diff --git a/src/app/plugins/markdown/inline/index.ts b/src/app/plugins/markdown/inline/index.ts index 75aa8b939..472a4be30 100644 --- a/src/app/plugins/markdown/inline/index.ts +++ b/src/app/plugins/markdown/inline/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './parser'; diff --git a/src/app/plugins/markdown/inline/parser.ts b/src/app/plugins/markdown/inline/parser.ts index 37c71a661..9ec4e0047 100644 --- a/src/app/plugins/markdown/inline/parser.ts +++ b/src/app/plugins/markdown/inline/parser.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { BoldRule, CodeRule, diff --git a/src/app/plugins/markdown/inline/rules.ts b/src/app/plugins/markdown/inline/rules.ts index 77bcbd57a..6330125a5 100644 --- a/src/app/plugins/markdown/inline/rules.ts +++ b/src/app/plugins/markdown/inline/rules.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { InlineMDRule } from './type'; const MIN_ANY = '(.+?)'; diff --git a/src/app/plugins/markdown/inline/runner.ts b/src/app/plugins/markdown/inline/runner.ts index 3a794d251..2fcd24fb7 100644 --- a/src/app/plugins/markdown/inline/runner.ts +++ b/src/app/plugins/markdown/inline/runner.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatchResult, replaceMatch } from '../internal'; import { InlineMDParser, InlineMDRule } from './type'; diff --git a/src/app/plugins/markdown/inline/type.ts b/src/app/plugins/markdown/inline/type.ts index a65ad2767..a9f3b673d 100644 --- a/src/app/plugins/markdown/inline/type.ts +++ b/src/app/plugins/markdown/inline/type.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatchResult, MatchRule } from '../internal'; /** diff --git a/src/app/plugins/markdown/internal/index.ts b/src/app/plugins/markdown/internal/index.ts index 04bca77e0..9b5790f65 100644 --- a/src/app/plugins/markdown/internal/index.ts +++ b/src/app/plugins/markdown/internal/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './utils'; diff --git a/src/app/plugins/markdown/internal/utils.ts b/src/app/plugins/markdown/internal/utils.ts index 86bc9d5c5..7e34c0db9 100644 --- a/src/app/plugins/markdown/internal/utils.ts +++ b/src/app/plugins/markdown/internal/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /** * @typedef {RegExpMatchArray | RegExpExecArray} MatchResult * diff --git a/src/app/plugins/markdown/utils.ts b/src/app/plugins/markdown/utils.ts index 0038df135..994cae536 100644 --- a/src/app/plugins/markdown/utils.ts +++ b/src/app/plugins/markdown/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { findAndReplace } from '../../utils/findAndReplace'; import { ESC_BLOCK_SEQ, UN_ESC_BLOCK_SEQ } from './block/rules'; import { EscapeRule, CAP_INLINE_SEQ } from './inline/rules'; diff --git a/src/app/plugins/matrix-to.ts b/src/app/plugins/matrix-to.ts index 03a7d2c17..ee5c980d0 100644 --- a/src/app/plugins/matrix-to.ts +++ b/src/app/plugins/matrix-to.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + const MATRIX_TO_BASE = 'https://matrix.to'; export const getMatrixToUser = (userId: string): string => `${MATRIX_TO_BASE}/#/${userId}`; diff --git a/src/app/plugins/millify.ts b/src/app/plugins/millify.ts index d8608deee..de01b15be 100644 --- a/src/app/plugins/millify.ts +++ b/src/app/plugins/millify.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import millifyPlugin from 'millify'; import { MillifyOptions } from 'millify/dist/options'; diff --git a/src/app/plugins/msc4140-delayed-events.ts b/src/app/plugins/msc4140-delayed-events.ts index 04e4681dd..0b745c9ad 100644 --- a/src/app/plugins/msc4140-delayed-events.ts +++ b/src/app/plugins/msc4140-delayed-events.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatrixEndpoint } from 'neurone/lib/api/MatrixEndpoint'; export type UnstablePutDelayedEventOK = { delay_id: string }; diff --git a/src/app/plugins/msc4143-matrixrtc.ts b/src/app/plugins/msc4143-matrixrtc.ts index af14701a9..09db9de04 100644 --- a/src/app/plugins/msc4143-matrixrtc.ts +++ b/src/app/plugins/msc4143-matrixrtc.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatrixEndpoint } from 'neurone/lib/api/MatrixEndpoint'; export type TransportInfo = { diff --git a/src/app/plugins/msc4195-matrixrtc-livekit.ts b/src/app/plugins/msc4195-matrixrtc-livekit.ts index 47f870a0d..fbb636923 100644 --- a/src/app/plugins/msc4195-matrixrtc-livekit.ts +++ b/src/app/plugins/msc4195-matrixrtc-livekit.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatrixEndpoint } from 'neurone/lib/api/MatrixEndpoint'; export type UnstablePostLivekitGetTokenOK = { diff --git a/src/app/plugins/msc4354-sticky-events.ts b/src/app/plugins/msc4354-sticky-events.ts index e8ef0da02..4269f39db 100644 --- a/src/app/plugins/msc4354-sticky-events.ts +++ b/src/app/plugins/msc4354-sticky-events.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { PutSendBody, PutSendPathParams } from 'neurone/lib/api/matrix/client/v3/rooms'; import { MatrixEndpoint } from 'neurone/lib/api/MatrixEndpoint'; import { withSearchParams } from 'neurone/lib/api/utils'; diff --git a/src/app/plugins/pdfjs-dist.ts b/src/app/plugins/pdfjs-dist.ts index 1b2991f4c..7aa2a62e0 100644 --- a/src/app/plugins/pdfjs-dist.ts +++ b/src/app/plugins/pdfjs-dist.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import type * as PdfJsDist from 'pdfjs-dist'; import type { GetViewportParameters } from 'pdfjs-dist/types/src/display/api'; diff --git a/src/app/plugins/react-custom-html-parser.tsx b/src/app/plugins/react-custom-html-parser.tsx index 26ca08ffc..492d11e12 100644 --- a/src/app/plugins/react-custom-html-parser.tsx +++ b/src/app/plugins/react-custom-html-parser.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable jsx-a11y/alt-text */ import React, { ComponentPropsWithoutRef, diff --git a/src/app/plugins/react-prism/ReactPrism.css b/src/app/plugins/react-prism/ReactPrism.css index e6a121771..22adba3ee 100644 --- a/src/app/plugins/react-prism/ReactPrism.css +++ b/src/app/plugins/react-prism/ReactPrism.css @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + .prism-light { --prism-comment: #0f4777; --prism-punctuation: #6d5050; diff --git a/src/app/plugins/react-prism/ReactPrism.tsx b/src/app/plugins/react-prism/ReactPrism.tsx index ab2e9320e..674cf742a 100644 --- a/src/app/plugins/react-prism/ReactPrism.tsx +++ b/src/app/plugins/react-prism/ReactPrism.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import React, { MutableRefObject, ReactNode, useEffect, useRef } from 'react'; import Prism from 'prismjs'; diff --git a/src/app/plugins/recent-emoji.ts b/src/app/plugins/recent-emoji.ts index d20f848bd..2d310a1b6 100644 --- a/src/app/plugins/recent-emoji.ts +++ b/src/app/plugins/recent-emoji.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { AccountDataEvent } from 'neurone/lib/api/types'; import { putAccountData } from 'neurone/lib/api/matrix/client/v3/user'; import { IEmoji, emojis } from './emoji'; diff --git a/src/app/plugins/text-area/Cursor.ts b/src/app/plugins/text-area/Cursor.ts index 8a2098e2b..ebc41fdb2 100644 --- a/src/app/plugins/text-area/Cursor.ts +++ b/src/app/plugins/text-area/Cursor.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export type CursorDirection = 'forward' | 'backward' | 'none'; export class Cursor { diff --git a/src/app/plugins/text-area/Operations.ts b/src/app/plugins/text-area/Operations.ts index a4c813ad6..8c6912023 100644 --- a/src/app/plugins/text-area/Operations.ts +++ b/src/app/plugins/text-area/Operations.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Cursor } from './Cursor'; export interface Operations { diff --git a/src/app/plugins/text-area/TextArea.ts b/src/app/plugins/text-area/TextArea.ts index 2e8a08553..7907951d7 100644 --- a/src/app/plugins/text-area/TextArea.ts +++ b/src/app/plugins/text-area/TextArea.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Cursor } from './Cursor'; import { GetTarget } from './type'; diff --git a/src/app/plugins/text-area/TextAreaOperations.ts b/src/app/plugins/text-area/TextAreaOperations.ts index 3bc1b4f8d..9b7240735 100644 --- a/src/app/plugins/text-area/TextAreaOperations.ts +++ b/src/app/plugins/text-area/TextAreaOperations.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Cursor } from './Cursor'; import { Operations } from './Operations'; import { GetTarget } from './type'; diff --git a/src/app/plugins/text-area/TextUtils.ts b/src/app/plugins/text-area/TextUtils.ts index 43d05837f..681471bb6 100644 --- a/src/app/plugins/text-area/TextUtils.ts +++ b/src/app/plugins/text-area/TextUtils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export class TextUtils { static multiline(str: string) { return str.indexOf('\n') !== -1; diff --git a/src/app/plugins/text-area/index.ts b/src/app/plugins/text-area/index.ts index b99ebf596..a44a81dc8 100644 --- a/src/app/plugins/text-area/index.ts +++ b/src/app/plugins/text-area/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Cursor'; export * from './mods'; export * from './Operations'; diff --git a/src/app/plugins/text-area/mods/Intent.ts b/src/app/plugins/text-area/mods/Intent.ts index 35212b95d..8a856a499 100644 --- a/src/app/plugins/text-area/mods/Intent.ts +++ b/src/app/plugins/text-area/mods/Intent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Cursor } from '../Cursor'; import { Operations } from '../Operations'; import { TextArea } from '../TextArea'; diff --git a/src/app/plugins/text-area/mods/index.ts b/src/app/plugins/text-area/mods/index.ts index 7e1f4aa7c..874ee7021 100644 --- a/src/app/plugins/text-area/mods/index.ts +++ b/src/app/plugins/text-area/mods/index.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Intent'; diff --git a/src/app/plugins/text-area/type.ts b/src/app/plugins/text-area/type.ts index 1ce38ae65..e80a1d69b 100644 --- a/src/app/plugins/text-area/type.ts +++ b/src/app/plugins/text-area/type.ts @@ -1 +1,10 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export type GetTarget = () => HTMLTextAreaElement; diff --git a/src/app/plugins/utils.ts b/src/app/plugins/utils.ts index 27d27e7ab..baf666a0f 100644 --- a/src/app/plugins/utils.ts +++ b/src/app/plugins/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { SearchItemStrGetter } from '../hooks/useAsyncSearch'; import { PackImageReader } from './custom-emoji'; import { IEmoji } from './emoji'; diff --git a/src/app/plugins/via-servers.ts b/src/app/plugins/via-servers.ts index bbd357468..be03634a8 100644 --- a/src/app/plugins/via-servers.ts +++ b/src/app/plugins/via-servers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IPowerLevels, readPowerLevel } from '../hooks/usePowerLevels'; import { getMxIdServer } from '../utils/matrix'; diff --git a/src/app/state/callEmbed.ts b/src/app/state/callEmbed.ts index a9f893009..11c6f281f 100644 --- a/src/app/state/callEmbed.ts +++ b/src/app/state/callEmbed.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; import { CallEmbed } from '../plugins/call'; diff --git a/src/app/state/callPreferences.ts b/src/app/state/callPreferences.ts index 8e4127962..a3e4b65c2 100644 --- a/src/app/state/callPreferences.ts +++ b/src/app/state/callPreferences.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { WritableAtom } from 'jotai'; import { atomWithLocalStorage } from './utils/atomWithLocalStorage'; import { getLocalStorageItem, setLocalStorageItem } from '../../client/localStorage'; diff --git a/src/app/state/closedLobbyCategories.ts b/src/app/state/closedLobbyCategories.ts index 0b72c2c9f..3e60a65b5 100644 --- a/src/app/state/closedLobbyCategories.ts +++ b/src/app/state/closedLobbyCategories.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { WritableAtom, atom } from 'jotai'; import produce from 'immer'; import { atomWithLocalStorage } from './utils/atomWithLocalStorage'; diff --git a/src/app/state/closedNavCategories.ts b/src/app/state/closedNavCategories.ts index d2a804c13..b1fd10cf0 100644 --- a/src/app/state/closedNavCategories.ts +++ b/src/app/state/closedNavCategories.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { WritableAtom, atom } from 'jotai'; import produce from 'immer'; import { atomWithLocalStorage } from './utils/atomWithLocalStorage'; diff --git a/src/app/state/createRoomModal.ts b/src/app/state/createRoomModal.ts index f32e76657..f06dcab2b 100644 --- a/src/app/state/createRoomModal.ts +++ b/src/app/state/createRoomModal.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; import { CreateRoomType } from '../components/create-room/types'; diff --git a/src/app/state/createSpaceModal.ts b/src/app/state/createSpaceModal.ts index fe4db7558..523916e57 100644 --- a/src/app/state/createSpaceModal.ts +++ b/src/app/state/createSpaceModal.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; export type CreateSpaceModalState = { diff --git a/src/app/state/hooks/callPreferences.ts b/src/app/state/hooks/callPreferences.ts index 829ed4b43..ea89330e9 100644 --- a/src/app/state/hooks/callPreferences.ts +++ b/src/app/state/hooks/callPreferences.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useCallback, useContext } from 'react'; import { useAtom } from 'jotai'; import { CallPreferences, CallPreferencesAtom } from '../callPreferences'; diff --git a/src/app/state/hooks/closedLobbyCategories.ts b/src/app/state/hooks/closedLobbyCategories.ts index 1545254f8..01ce4c5a8 100644 --- a/src/app/state/hooks/closedLobbyCategories.ts +++ b/src/app/state/hooks/closedLobbyCategories.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; import { ClosedLobbyCategoriesAtom } from '../closedLobbyCategories'; diff --git a/src/app/state/hooks/closedNavCategories.ts b/src/app/state/hooks/closedNavCategories.ts index ed34c1e62..8c0b9c7aa 100644 --- a/src/app/state/hooks/closedNavCategories.ts +++ b/src/app/state/hooks/closedNavCategories.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; import { ClosedNavCategoriesAtom } from '../closedNavCategories'; diff --git a/src/app/state/hooks/createRoomModal.ts b/src/app/state/hooks/createRoomModal.ts index 2663e5dc2..fc44a3b93 100644 --- a/src/app/state/hooks/createRoomModal.ts +++ b/src/app/state/hooks/createRoomModal.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useAtomValue, useSetAtom } from 'jotai'; import { createRoomModalAtom, CreateRoomModalState } from '../createRoomModal'; diff --git a/src/app/state/hooks/createSpaceModal.ts b/src/app/state/hooks/createSpaceModal.ts index ea7cb47a4..7838874a3 100644 --- a/src/app/state/hooks/createSpaceModal.ts +++ b/src/app/state/hooks/createSpaceModal.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useAtomValue, useSetAtom } from 'jotai'; import { createSpaceModalAtom, CreateSpaceModalState } from '../createSpaceModal'; diff --git a/src/app/state/hooks/navToActivePath.ts b/src/app/state/hooks/navToActivePath.ts index 5f8798f2d..f89eb969e 100644 --- a/src/app/state/hooks/navToActivePath.ts +++ b/src/app/state/hooks/navToActivePath.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; import { NavToActivePathAtom } from '../navToActivePath'; diff --git a/src/app/state/hooks/openedSidebarFolder.ts b/src/app/state/hooks/openedSidebarFolder.ts index 3a165334a..8582b2c5b 100644 --- a/src/app/state/hooks/openedSidebarFolder.ts +++ b/src/app/state/hooks/openedSidebarFolder.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createContext, useContext } from 'react'; import { OpenedSidebarFolderAtom } from '../openedSidebarFolder'; diff --git a/src/app/state/hooks/roomList.ts b/src/app/state/hooks/roomList.ts index 916b8b34c..501db96b8 100644 --- a/src/app/state/hooks/roomList.ts +++ b/src/app/state/hooks/roomList.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Atom, useAtomValue } from 'jotai'; import { selectAtom } from 'jotai/utils'; import { useCallback, useMemo } from 'react'; diff --git a/src/app/state/hooks/roomNotifications.ts b/src/app/state/hooks/roomNotifications.ts index 0e591f31d..ef0c50f6b 100644 --- a/src/app/state/hooks/roomNotifications.ts +++ b/src/app/state/hooks/roomNotifications.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useMemo } from 'react'; import { useAtomValue } from 'jotai'; import { selectAtom } from 'jotai/utils'; diff --git a/src/app/state/hooks/roomSettings.ts b/src/app/state/hooks/roomSettings.ts index 4d7649166..f4960bf1c 100644 --- a/src/app/state/hooks/roomSettings.ts +++ b/src/app/state/hooks/roomSettings.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useAtomValue, useSetAtom } from 'jotai'; import { roomSettingsAtom, RoomSettingsPage, RoomSettingsState } from '../roomSettings'; diff --git a/src/app/state/hooks/settings.ts b/src/app/state/hooks/settings.ts index 569946070..494dd1af3 100644 --- a/src/app/state/hooks/settings.ts +++ b/src/app/state/hooks/settings.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom, useAtomValue, useSetAtom } from 'jotai'; import { selectAtom } from 'jotai/utils'; import { createContext, useContext, useMemo } from 'react'; diff --git a/src/app/state/hooks/spaceSettings.ts b/src/app/state/hooks/spaceSettings.ts index e589d65d5..1ba3018bc 100644 --- a/src/app/state/hooks/spaceSettings.ts +++ b/src/app/state/hooks/spaceSettings.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useAtomValue, useSetAtom } from 'jotai'; import { spaceSettingsAtom, SpaceSettingsPage, SpaceSettingsState } from '../spaceSettings'; diff --git a/src/app/state/hooks/unread.ts b/src/app/state/hooks/unread.ts index 089a92d14..27d935bec 100644 --- a/src/app/state/hooks/unread.ts +++ b/src/app/state/hooks/unread.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useAtomValue } from 'jotai'; import { selectAtom } from 'jotai/utils'; diff --git a/src/app/state/hooks/useBindAtoms.ts b/src/app/state/hooks/useBindAtoms.ts index 254453f3d..320a30554 100644 --- a/src/app/state/hooks/useBindAtoms.ts +++ b/src/app/state/hooks/useBindAtoms.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { allRoomsAtom, useBindAllRoomsAtom } from '../room-list/roomList'; import { mDirectAtom, useBindMDirectAtom } from '../mDirectList'; import { roomToParentsAtom, useBindRoomToParentsAtom } from '../room/roomToParents'; diff --git a/src/app/state/hooks/userRoomProfile.ts b/src/app/state/hooks/userRoomProfile.ts index 7fed0c089..85ddc2599 100644 --- a/src/app/state/hooks/userRoomProfile.ts +++ b/src/app/state/hooks/userRoomProfile.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback } from 'react'; import { useAtomValue, useSetAtom } from 'jotai'; import { Position, RectCords } from 'folds'; diff --git a/src/app/state/lastCompositionEnd.ts b/src/app/state/lastCompositionEnd.ts index 7235b491e..39fdc08c3 100644 --- a/src/app/state/lastCompositionEnd.ts +++ b/src/app/state/lastCompositionEnd.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; export const lastCompositionEndAtom = atom(undefined); diff --git a/src/app/state/list.ts b/src/app/state/list.ts index 98336e88d..8213345d9 100644 --- a/src/app/state/list.ts +++ b/src/app/state/list.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; export type ListAction = diff --git a/src/app/state/mDirectList.ts b/src/app/state/mDirectList.ts index 4f9b58ead..1a5cfd3e1 100644 --- a/src/app/state/mDirectList.ts +++ b/src/app/state/mDirectList.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom, useSetAtom } from 'jotai'; import { useEffect } from 'react'; import { ClientContext } from '../../client/context'; diff --git a/src/app/state/navToActivePath.ts b/src/app/state/navToActivePath.ts index d4d4c18ba..bb82d265b 100644 --- a/src/app/state/navToActivePath.ts +++ b/src/app/state/navToActivePath.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { WritableAtom, atom } from 'jotai'; import produce from 'immer'; import { Path } from 'react-router-dom'; diff --git a/src/app/state/openedSidebarFolder.ts b/src/app/state/openedSidebarFolder.ts index 5d18c2172..b44c19c2b 100644 --- a/src/app/state/openedSidebarFolder.ts +++ b/src/app/state/openedSidebarFolder.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { WritableAtom, atom } from 'jotai'; import produce from 'immer'; import { atomWithLocalStorage } from './utils/atomWithLocalStorage'; diff --git a/src/app/state/room-list/roomList.ts b/src/app/state/room-list/roomList.ts index fbc60cc15..df4db1f95 100644 --- a/src/app/state/room-list/roomList.ts +++ b/src/app/state/room-list/roomList.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom, useSetAtom } from 'jotai'; import { useEffect } from 'react'; import { ClientContext } from '../../../client/context'; diff --git a/src/app/state/room-list/utils.ts b/src/app/state/room-list/utils.ts index c8f20289f..11e6b06fd 100644 --- a/src/app/state/room-list/utils.ts +++ b/src/app/state/room-list/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export const compareRoomsEqual = (a: string[], b: string[]) => { if (a.length !== b.length) return false; return a.every((roomId, roomIdIndex) => roomId === b[roomIdIndex]); diff --git a/src/app/state/room/roomInputDrafts.ts b/src/app/state/room/roomInputDrafts.ts index 13f9b4895..715760b4d 100644 --- a/src/app/state/room/roomInputDrafts.ts +++ b/src/app/state/room/roomInputDrafts.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; import { atomFamily } from 'jotai/utils'; import { Descendant } from 'slate'; diff --git a/src/app/state/room/roomToHeroMembers.ts b/src/app/state/room/roomToHeroMembers.ts index 6c8055168..1b51998f2 100644 --- a/src/app/state/room/roomToHeroMembers.ts +++ b/src/app/state/room/roomToHeroMembers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { useCallback, useEffect } from 'react'; import { StateEventWithoutRoomId } from 'neurone/lib/api/types'; import { atom, useSetAtom } from 'jotai'; diff --git a/src/app/state/room/roomToNotifications.ts b/src/app/state/room/roomToNotifications.ts index 4c05eaed7..352564209 100644 --- a/src/app/state/room/roomToNotifications.ts +++ b/src/app/state/room/roomToNotifications.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom, useSetAtom } from 'jotai'; import { useCallback, useEffect } from 'react'; import { UnreadNotificationCounts } from 'neurone/lib/api/types'; diff --git a/src/app/state/room/roomToParents.ts b/src/app/state/room/roomToParents.ts index edc77cd40..96520f61a 100644 --- a/src/app/state/room/roomToParents.ts +++ b/src/app/state/room/roomToParents.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom, useSetAtom } from 'jotai'; import { useEffect } from 'react'; import { RoomToParents } from '../../../types/matrix/room'; diff --git a/src/app/state/room/roomToUnread.ts b/src/app/state/room/roomToUnread.ts index 096462bd4..1b6930d58 100644 --- a/src/app/state/room/roomToUnread.ts +++ b/src/app/state/room/roomToUnread.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom, useSetAtom } from 'jotai'; import { useCallback, useEffect } from 'react'; import { ThreadId } from '../../../types/matrix/room'; diff --git a/src/app/state/roomSettings.ts b/src/app/state/roomSettings.ts index 327db596e..5b8288752 100644 --- a/src/app/state/roomSettings.ts +++ b/src/app/state/roomSettings.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; export enum RoomSettingsPage { diff --git a/src/app/state/searchModal.ts b/src/app/state/searchModal.ts index 3893e5e30..ce8e20d7e 100644 --- a/src/app/state/searchModal.ts +++ b/src/app/state/searchModal.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; export const searchModalAtom = atom(false); diff --git a/src/app/state/sessions.ts b/src/app/state/sessions.ts index 695e3acf8..a60b147ea 100644 --- a/src/app/state/sessions.ts +++ b/src/app/state/sessions.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; import { atomWithLocalStorage } from './utils/atomWithLocalStorage'; import { diff --git a/src/app/state/settings.ts b/src/app/state/settings.ts index 9256a536a..390c350d2 100644 --- a/src/app/state/settings.ts +++ b/src/app/state/settings.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { WritableAtom } from 'jotai'; import { atomWithLocalStorage } from './utils/atomWithLocalStorage'; import { getLocalStorageItem, setLocalStorageItem } from '../../client/localStorage'; diff --git a/src/app/state/spaceRooms.ts b/src/app/state/spaceRooms.ts index d8b827c45..313253c09 100644 --- a/src/app/state/spaceRooms.ts +++ b/src/app/state/spaceRooms.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; import produce from 'immer'; import { atomWithLocalStorage } from './utils/atomWithLocalStorage'; diff --git a/src/app/state/spaceSettings.ts b/src/app/state/spaceSettings.ts index e79506bb0..10317194e 100644 --- a/src/app/state/spaceSettings.ts +++ b/src/app/state/spaceSettings.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; export enum SpaceSettingsPage { diff --git a/src/app/state/typingMembers.ts b/src/app/state/typingMembers.ts index 1aa7104a4..ab04015b5 100644 --- a/src/app/state/typingMembers.ts +++ b/src/app/state/typingMembers.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom, useSetAtom } from 'jotai'; import { useEffect } from 'react'; import { roomTypingEphemeral } from 'neurone/lib/utils/sync/v3/join'; diff --git a/src/app/state/upload.ts b/src/app/state/upload.ts index 8fc1f3d89..377cf8fcf 100644 --- a/src/app/state/upload.ts +++ b/src/app/state/upload.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom, useAtom } from 'jotai'; import { atomFamily } from 'jotai/utils'; import { MatrixError } from 'neurone/lib/matrix-request'; diff --git a/src/app/state/userRoomProfile.ts b/src/app/state/userRoomProfile.ts index cf4e403ac..183bf1215 100644 --- a/src/app/state/userRoomProfile.ts +++ b/src/app/state/userRoomProfile.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Position, RectCords } from 'folds'; import { atom } from 'jotai'; diff --git a/src/app/state/utils/atomWithLocalStorage.ts b/src/app/state/utils/atomWithLocalStorage.ts index 0f5ee96c5..a1b8767ce 100644 --- a/src/app/state/utils/atomWithLocalStorage.ts +++ b/src/app/state/utils/atomWithLocalStorage.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { atom } from 'jotai'; export type GetLocalStorageItem = (key: string) => T; diff --git a/src/app/styles/Animations.css.ts b/src/app/styles/Animations.css.ts index a0644e630..86e337c39 100644 --- a/src/app/styles/Animations.css.ts +++ b/src/app/styles/Animations.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { keyframes, style } from '@vanilla-extract/css'; import { color, toRem } from 'folds'; diff --git a/src/app/styles/ContainerColor.css.ts b/src/app/styles/ContainerColor.css.ts index cefc5256a..d80434eae 100644 --- a/src/app/styles/ContainerColor.css.ts +++ b/src/app/styles/ContainerColor.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ComplexStyleRule } from '@vanilla-extract/css'; import { RecipeVariants, recipe } from '@vanilla-extract/recipes'; import { ContainerColor as TContainerColor, DefaultReset, color, config } from 'folds'; diff --git a/src/app/styles/CustomHtml.css.ts b/src/app/styles/CustomHtml.css.ts index 0283d46e3..75924e85e 100644 --- a/src/app/styles/CustomHtml.css.ts +++ b/src/app/styles/CustomHtml.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { recipe } from '@vanilla-extract/recipes'; import { color, config, DefaultReset, toRem } from 'folds'; diff --git a/src/app/styles/Modal.css.ts b/src/app/styles/Modal.css.ts index 83e84c2df..9aa7085b3 100644 --- a/src/app/styles/Modal.css.ts +++ b/src/app/styles/Modal.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; export const ModalWide = style({ diff --git a/src/app/styles/Patterns.css.ts b/src/app/styles/Patterns.css.ts index e45594167..2cddb4045 100644 --- a/src/app/styles/Patterns.css.ts +++ b/src/app/styles/Patterns.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { color, toRem } from 'folds'; diff --git a/src/app/styles/Text.css.ts b/src/app/styles/Text.css.ts index 8e910fe4f..4068c7043 100644 --- a/src/app/styles/Text.css.ts +++ b/src/app/styles/Text.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { style } from '@vanilla-extract/css'; import { config, toRem } from 'folds'; diff --git a/src/app/utils/ASCIILexicalTable.ts b/src/app/utils/ASCIILexicalTable.ts index 61b2481a6..82ca2f14a 100644 --- a/src/app/utils/ASCIILexicalTable.ts +++ b/src/app/utils/ASCIILexicalTable.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export class ASCIILexicalTable { readonly startCode: number; diff --git a/src/app/utils/AsyncSearch.ts b/src/app/utils/AsyncSearch.ts index 4baacf045..4c66719ee 100644 --- a/src/app/utils/AsyncSearch.ts +++ b/src/app/utils/AsyncSearch.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export type NormalizeOption = { caseSensitive?: boolean; normalizeUnicode?: boolean; diff --git a/src/app/utils/blurHash.ts b/src/app/utils/blurHash.ts index 566f6d189..e72c982ee 100644 --- a/src/app/utils/blurHash.ts +++ b/src/app/utils/blurHash.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { encode, isBlurhashValid } from 'blurhash'; export const encodeBlurHash = ( diff --git a/src/app/utils/common.ts b/src/app/utils/common.ts index 6bda28021..ddfa1a07f 100644 --- a/src/app/utils/common.ts +++ b/src/app/utils/common.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IconName, IconSrc } from 'folds'; export const bytesToSize = (bytes: number): string => { diff --git a/src/app/utils/dom.ts b/src/app/utils/dom.ts index 2ddc5cb2b..d76438357 100644 --- a/src/app/utils/dom.ts +++ b/src/app/utils/dom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export const targetFromEvent = (evt: Event, selector: string): Element | undefined => { const targets = evt.composedPath() as Element[]; return targets.find((target) => target.matches?.(selector)); diff --git a/src/app/utils/featureCheck.ts b/src/app/utils/featureCheck.ts index 6b2cb2e4b..36ed78af0 100644 --- a/src/app/utils/featureCheck.ts +++ b/src/app/utils/featureCheck.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export const checkIndexedDBSupport = async (): Promise => { const dbName = `checkIndexedDBSupport-${Date.now()}`; diff --git a/src/app/utils/findAndReplace.ts b/src/app/utils/findAndReplace.ts index a4bd1edb9..de6cb504a 100644 --- a/src/app/utils/findAndReplace.ts +++ b/src/app/utils/findAndReplace.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export type ReplaceCallback = ( match: RegExpExecArray | RegExpMatchArray, pushIndex: number diff --git a/src/app/utils/key-symbol.ts b/src/app/utils/key-symbol.ts index 00dd1042a..4905831d9 100644 --- a/src/app/utils/key-symbol.ts +++ b/src/app/utils/key-symbol.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export enum KeySymbol { Command = '⌘', Shift = '⇧', diff --git a/src/app/utils/keyboard.ts b/src/app/utils/keyboard.ts index ad0463dd1..25cf1d610 100644 --- a/src/app/utils/keyboard.ts +++ b/src/app/utils/keyboard.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { isKeyHotkey } from 'is-hotkey'; import { KeyboardEventHandler } from 'react'; diff --git a/src/app/utils/matrix-uia.ts b/src/app/utils/matrix-uia.ts index 19f66a71f..c5a9eff1e 100644 --- a/src/app/utils/matrix-uia.ts +++ b/src/app/utils/matrix-uia.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export enum AuthType { Password = 'm.login.password', Recaptcha = 'm.login.recaptcha', diff --git a/src/app/utils/matrix.ts b/src/app/utils/matrix.ts index 5559077e0..e24b777eb 100644 --- a/src/app/utils/matrix.ts +++ b/src/app/utils/matrix.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { EncryptedAttachmentInfo, decryptAttachment, diff --git a/src/app/utils/mimeTypes.ts b/src/app/utils/mimeTypes.ts index e9d1e35b8..8ee0a76a7 100644 --- a/src/app/utils/mimeTypes.ts +++ b/src/app/utils/mimeTypes.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export const IMAGE_MIME_TYPES = [ 'image/jpeg', 'image/gif', diff --git a/src/app/utils/randomString.ts b/src/app/utils/randomString.ts index ec15bd744..d9ea9d92f 100644 --- a/src/app/utils/randomString.ts +++ b/src/app/utils/randomString.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + // https://github.com/matrix-org/matrix-js-sdk/blob/c7a75c882479fc54f24eadce963a0c5c0d3c4788/src/randomstring.ts /** diff --git a/src/app/utils/regex.ts b/src/app/utils/regex.ts index 0b98b0e2b..3a0cbd8d4 100644 --- a/src/app/utils/regex.ts +++ b/src/app/utils/regex.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /** * https://www.npmjs.com/package/escape-string-regexp */ diff --git a/src/app/utils/room.ts b/src/app/utils/room.ts index 2aec63bd2..58cf0f430 100644 --- a/src/app/utils/room.ts +++ b/src/app/utils/room.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IconName, IconSrc } from 'folds'; import { MessageEventWithoutRoomId, RoomMembership } from 'neurone/lib/api/types'; import { JoinRule, MessageEvent, RoomToParents, RoomType } from '../../types/matrix/room'; diff --git a/src/app/utils/rtc.ts b/src/app/utils/rtc.ts index 6a40504c2..321439877 100644 --- a/src/app/utils/rtc.ts +++ b/src/app/utils/rtc.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export const webRTCSupported = () => ['RTCPeerConnection', 'webkitRTCPeerConnection', 'mozRTCPeerConnection', 'RTCIceGatherer'].some( (item) => item in window diff --git a/src/app/utils/sanitize.ts b/src/app/utils/sanitize.ts index c199f69a4..e1d43372b 100644 --- a/src/app/utils/sanitize.ts +++ b/src/app/utils/sanitize.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import sanitizeHtml, { Transformer } from 'sanitize-html'; const MAX_TAG_NESTING = 100; diff --git a/src/app/utils/sort.ts b/src/app/utils/sort.ts index 3c6bf00ba..8dee763e5 100644 --- a/src/app/utils/sort.ts +++ b/src/app/utils/sort.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { ClientContext } from '../../client/context'; diff --git a/src/app/utils/time.ts b/src/app/utils/time.ts index 63b467ed1..167ce7c0b 100644 --- a/src/app/utils/time.ts +++ b/src/app/utils/time.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import dayjs from 'dayjs'; import isToday from 'dayjs/plugin/isToday'; import isYesterday from 'dayjs/plugin/isYesterday'; diff --git a/src/app/utils/user-agent.ts b/src/app/utils/user-agent.ts index 74fea24b2..b523debc6 100644 --- a/src/app/utils/user-agent.ts +++ b/src/app/utils/user-agent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { UAParser } from 'ua-parser-js'; export const ua = () => UAParser(window.navigator.userAgent); diff --git a/src/client/LogoutManager.ts b/src/client/LogoutManager.ts index 0ee59b596..4b68fdcc3 100644 --- a/src/client/LogoutManager.ts +++ b/src/client/LogoutManager.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { postLogout } from 'neurone/lib/api/matrix/client/v3/logout'; import { MatrixRequest, parseMatrixResp, printMatrixError } from 'neurone/lib/matrix-request'; import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; diff --git a/src/client/MachineManager.ts b/src/client/MachineManager.ts index bd4ce51fc..38872c7ef 100644 --- a/src/client/MachineManager.ts +++ b/src/client/MachineManager.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; import { ClientContext } from './context'; diff --git a/src/client/MegolmBackup.ts b/src/client/MegolmBackup.ts index 990d1e57d..927ff34ee 100644 --- a/src/client/MegolmBackup.ts +++ b/src/client/MegolmBackup.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { getKeys, GetKeysOK, PutKeysOK } from 'neurone/lib/api/matrix/client/v3/roomKeys'; import { BackupVersionInfo } from 'neurone/lib/api/types'; import { Machine } from 'neurone/lib/crypto/machine'; diff --git a/src/client/MemberCache.ts b/src/client/MemberCache.ts index bf23b4141..0aebb5889 100644 --- a/src/client/MemberCache.ts +++ b/src/client/MemberCache.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { getJoinRoomMemberId, JoinRoomMemberObject } from './storage/collections'; /** diff --git a/src/client/ReadMarker.ts b/src/client/ReadMarker.ts index 60ae72f68..fa8faadb7 100644 --- a/src/client/ReadMarker.ts +++ b/src/client/ReadMarker.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import to from 'await-to-js'; import { MatrixRequest, parseMatrixResp } from 'neurone/lib/matrix-request'; import { MessageEventWithoutRoomId, ReceiptType } from 'neurone/lib/api/types'; diff --git a/src/client/SyncResponseManager.ts b/src/client/SyncResponseManager.ts index 3ec57aa82..49827c998 100644 --- a/src/client/SyncResponseManager.ts +++ b/src/client/SyncResponseManager.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { GetSyncOK, JoinRoom } from 'neurone/lib/api/matrix/client/v3/sync'; import { ObservableValue } from 'neurone/lib/utils/observable'; import { EncryptionSyncChanges } from 'neurone/lib/crypto/machine'; diff --git a/src/client/call/CallSession.ts b/src/client/call/CallSession.ts index 39a20d6d5..d9cf36790 100644 --- a/src/client/call/CallSession.ts +++ b/src/client/call/CallSession.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; import { ObservableValue } from 'neurone/lib/utils/observable'; import { StateEventWithoutRoomId } from 'neurone/lib/api/types'; diff --git a/src/client/call/CallSessions.ts b/src/client/call/CallSessions.ts index e77930286..be6435cc3 100644 --- a/src/client/call/CallSessions.ts +++ b/src/client/call/CallSessions.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; import { ObservableValue } from 'neurone/lib/utils/observable'; import { Storage } from '../storage'; diff --git a/src/client/call/index.ts b/src/client/call/index.ts index 37084d6c9..3472d4ffb 100644 --- a/src/client/call/index.ts +++ b/src/client/call/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './CallSessions'; export * from './CallSession'; diff --git a/src/client/call/rtcMember.ts b/src/client/call/rtcMember.ts index 10dbd1cfe..b3d429875 100644 --- a/src/client/call/rtcMember.ts +++ b/src/client/call/rtcMember.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; import { JoinRoomStickyObject } from '../storage/collections'; diff --git a/src/client/context.ts b/src/client/context.ts index a86ab887a..02a2c864f 100644 --- a/src/client/context.ts +++ b/src/client/context.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ComputedObservableValue, Observable, ObservableValue } from 'neurone/lib/utils/observable'; import { getVersion, GetVersionOK } from 'neurone/lib/api/matrix/client/v3/roomKeys'; import { MatrixRequest, parseMatrixResp } from 'neurone/lib/matrix-request'; diff --git a/src/client/crypto.ts b/src/client/crypto.ts index 6953413fd..f3fa8b43f 100644 --- a/src/client/crypto.ts +++ b/src/client/crypto.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { deleteDB } from 'idb'; import { Machine, OutgoingRequestSender } from 'neurone/lib/crypto/machine'; import { MatrixRequest } from 'neurone/lib/matrix-request'; diff --git a/src/client/decryption/DecryptionManager.ts b/src/client/decryption/DecryptionManager.ts index 60eaf23b8..4c27bd66e 100644 --- a/src/client/decryption/DecryptionManager.ts +++ b/src/client/decryption/DecryptionManager.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ClientEventWithoutRoomId, MessageEventWithoutRoomId, diff --git a/src/client/decryption/EncryptedEvent.ts b/src/client/decryption/EncryptedEvent.ts index 498169773..8d3f8b876 100644 --- a/src/client/decryption/EncryptedEvent.ts +++ b/src/client/decryption/EncryptedEvent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ClientEventWithoutRoomId, MessageEventWithoutRoomId, diff --git a/src/client/decryption/EncryptedEventIndex.ts b/src/client/decryption/EncryptedEventIndex.ts index 6709b5177..6b0a07040 100644 --- a/src/client/decryption/EncryptedEventIndex.ts +++ b/src/client/decryption/EncryptedEventIndex.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ClientEventWithoutRoomId } from 'neurone/lib/api/types'; import { EncryptedEvent } from './EncryptedEvent'; diff --git a/src/client/decryption/index.ts b/src/client/decryption/index.ts index f2208e97a..e751d40bf 100644 --- a/src/client/decryption/index.ts +++ b/src/client/decryption/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './DecryptionManager'; export * from './EncryptedEvent'; export * from './EncryptedEventIndex'; diff --git a/src/client/filter.ts b/src/client/filter.ts index 22dc26dbb..bb7d97c14 100644 --- a/src/client/filter.ts +++ b/src/client/filter.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Filter, RoomEventFilter } from 'neurone/lib/api/types'; import { MessageEvent } from '../types/matrix/room'; diff --git a/src/client/initialize.ts b/src/client/initialize.ts index df3d15b68..409d2acf3 100644 --- a/src/client/initialize.ts +++ b/src/client/initialize.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatrixRequest } from 'neurone/lib/matrix-request'; import { Disposer } from 'neurone/lib/utils/disposable'; import { ObservableValue } from 'neurone/lib/utils/observable'; diff --git a/src/client/localStorage.ts b/src/client/localStorage.ts index 3a5932858..1048767a2 100644 --- a/src/client/localStorage.ts +++ b/src/client/localStorage.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { clearCallPreferenceStore } from '../app/state/callPreferences'; import { clearClosedLobbyCategoriesStore } from '../app/state/closedLobbyCategories'; import { clearClosedNavCategoriesStore } from '../app/state/closedNavCategories'; diff --git a/src/client/mxcToHttp.ts b/src/client/mxcToHttp.ts index 784251b4a..974612cb2 100644 --- a/src/client/mxcToHttp.ts +++ b/src/client/mxcToHttp.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { getDownload, getThumbnail, diff --git a/src/client/reader/Error.ts b/src/client/reader/Error.ts index 073a50cab..a07fce281 100644 --- a/src/client/reader/Error.ts +++ b/src/client/reader/Error.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rError { diff --git a/src/client/reader/Event.ts b/src/client/reader/Event.ts index f59291547..72d294246 100644 --- a/src/client/reader/Event.ts +++ b/src/client/reader/Event.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rEvent { diff --git a/src/client/reader/index.ts b/src/client/reader/index.ts index 646ca727b..1f47d8779 100644 --- a/src/client/reader/index.ts +++ b/src/client/reader/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './message'; export * from './Event'; export * from './Error'; diff --git a/src/client/reader/message/Content.ts b/src/client/reader/message/Content.ts index d82aaac64..51c36e453 100644 --- a/src/client/reader/message/Content.ts +++ b/src/client/reader/message/Content.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; import { MATRIX_SPOILER_PROPERTY_NAME, diff --git a/src/client/reader/message/EncryptedFile.ts b/src/client/reader/message/EncryptedFile.ts index f2ff0f1ef..8ff354af4 100644 --- a/src/client/reader/message/EncryptedFile.ts +++ b/src/client/reader/message/EncryptedFile.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rEncryptedFile { diff --git a/src/client/reader/message/InReplyTo.ts b/src/client/reader/message/InReplyTo.ts index c64da493c..874d3f75b 100644 --- a/src/client/reader/message/InReplyTo.ts +++ b/src/client/reader/message/InReplyTo.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rInReplyTo { diff --git a/src/client/reader/message/Info.ts b/src/client/reader/message/Info.ts index 0b5d30f70..39f8ef30b 100644 --- a/src/client/reader/message/Info.ts +++ b/src/client/reader/message/Info.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; import { MATRIX_BLUR_HASH_PROPERTY_NAME } from '../../../types/matrix/common'; diff --git a/src/client/reader/message/Mentions.ts b/src/client/reader/message/Mentions.ts index a5289ae94..cb144984b 100644 --- a/src/client/reader/message/Mentions.ts +++ b/src/client/reader/message/Mentions.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rMentions { diff --git a/src/client/reader/message/RelatesTo.ts b/src/client/reader/message/RelatesTo.ts index fc635ff14..5ab28ab2c 100644 --- a/src/client/reader/message/RelatesTo.ts +++ b/src/client/reader/message/RelatesTo.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rRelatesTo { diff --git a/src/client/reader/message/Relations.ts b/src/client/reader/message/Relations.ts index 8e7a62d5d..c1689fc04 100644 --- a/src/client/reader/message/Relations.ts +++ b/src/client/reader/message/Relations.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rRelations { diff --git a/src/client/reader/message/Thread.ts b/src/client/reader/message/Thread.ts index 3f5685572..1029b4af0 100644 --- a/src/client/reader/message/Thread.ts +++ b/src/client/reader/message/Thread.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rThread { diff --git a/src/client/reader/message/ThumbnailInfo.ts b/src/client/reader/message/ThumbnailInfo.ts index 94f6a9ffa..16de9468c 100644 --- a/src/client/reader/message/ThumbnailInfo.ts +++ b/src/client/reader/message/ThumbnailInfo.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; import { MATRIX_BLUR_HASH_PROPERTY_NAME } from '../../../types/matrix/common'; diff --git a/src/client/reader/message/Unsigned.ts b/src/client/reader/message/Unsigned.ts index 1acc3ed9c..770cbdb24 100644 --- a/src/client/reader/message/Unsigned.ts +++ b/src/client/reader/message/Unsigned.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObjectReader } from 'neurone/lib/utils'; export class rUnsigned { diff --git a/src/client/reader/message/index.ts b/src/client/reader/message/index.ts index bf31acb51..bc7b9076b 100644 --- a/src/client/reader/message/index.ts +++ b/src/client/reader/message/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Content'; export * from './EncryptedFile'; export * from './Info'; diff --git a/src/client/request.ts b/src/client/request.ts index 45fa8179f..6dbbe616d 100644 --- a/src/client/request.ts +++ b/src/client/request.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatrixEndpointStruct } from 'neurone/lib/api/MatrixEndpoint'; import { makeRequest, diff --git a/src/client/responseProgress.ts b/src/client/responseProgress.ts index 08d925b98..532ed7412 100644 --- a/src/client/responseProgress.ts +++ b/src/client/responseProgress.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export type ProgressCallback = (receivedBytes: number, totalBytes?: number) => void; export const responseProgress = async (response: Response, onProgress: ProgressCallback) => { diff --git a/src/client/room/ThreadMeta.ts b/src/client/room/ThreadMeta.ts index 9ee56711a..907392f4b 100644 --- a/src/client/room/ThreadMeta.ts +++ b/src/client/room/ThreadMeta.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; export class ThreadMeta { diff --git a/src/client/room/ThreadTimeline.ts b/src/client/room/ThreadTimeline.ts index 015508193..17551df0f 100644 --- a/src/client/room/ThreadTimeline.ts +++ b/src/client/room/ThreadTimeline.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; import { Observable, ObservableValue } from 'neurone/lib/utils/observable'; diff --git a/src/client/room/Timeline.ts b/src/client/room/Timeline.ts index 33dd76217..3d6a17e4d 100644 --- a/src/client/room/Timeline.ts +++ b/src/client/room/Timeline.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { Observable, ObservableValue } from 'neurone/lib/utils/observable'; diff --git a/src/client/room/TimelineBatchManager.ts b/src/client/room/TimelineBatchManager.ts index f4bb84e52..1d90ce69b 100644 --- a/src/client/room/TimelineBatchManager.ts +++ b/src/client/room/TimelineBatchManager.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { ObservableValue } from 'neurone/lib/utils/observable'; import { MessageBatch, Messages, BatchInfo, BatchChange } from './messages'; diff --git a/src/client/room/TimelineUtils.ts b/src/client/room/TimelineUtils.ts index 55361cfe9..212e17383 100644 --- a/src/client/room/TimelineUtils.ts +++ b/src/client/room/TimelineUtils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { getContext, GetContextOK, diff --git a/src/client/room/TimelineView.ts b/src/client/room/TimelineView.ts index 774ae8fea..5c08af4a0 100644 --- a/src/client/room/TimelineView.ts +++ b/src/client/room/TimelineView.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObservableValue } from 'neurone/lib/utils/observable'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { MessageBatch, MessageRange } from './messages'; diff --git a/src/client/room/index.ts b/src/client/room/index.ts index 52857ff75..1a44468a6 100644 --- a/src/client/room/index.ts +++ b/src/client/room/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObservableValue } from 'neurone/lib/utils/observable'; import { Disposer } from 'neurone/lib/utils/disposable'; import { JoinRoom } from 'neurone/lib/api/matrix/client/v3/sync'; diff --git a/src/client/room/local-event/LocalEvent.ts b/src/client/room/local-event/LocalEvent.ts index 551c98756..65dc7219e 100644 --- a/src/client/room/local-event/LocalEvent.ts +++ b/src/client/room/local-event/LocalEvent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export class LocalMessage { constructor( public readonly roomId: string, diff --git a/src/client/room/local-event/LocalEventOutbox.ts b/src/client/room/local-event/LocalEventOutbox.ts index 73fe1c60d..5991bef78 100644 --- a/src/client/room/local-event/LocalEventOutbox.ts +++ b/src/client/room/local-event/LocalEventOutbox.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ObservableValue } from 'neurone/lib/utils/observable'; import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { EventSenderSuccess, LocalEventSender } from './LocalEventSender'; diff --git a/src/client/room/local-event/LocalEventSender.ts b/src/client/room/local-event/LocalEventSender.ts index ef1a6d37e..cea3cd605 100644 --- a/src/client/room/local-event/LocalEventSender.ts +++ b/src/client/room/local-event/LocalEventSender.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { putSend, PutSendOK } from 'neurone/lib/api/matrix/client/v3/rooms'; import { MatrixError, MatrixRequest, parseMatrixResp } from 'neurone/lib/matrix-request'; import { ObservableValue } from 'neurone/lib/utils/observable'; diff --git a/src/client/room/local-event/index.ts b/src/client/room/local-event/index.ts index 6da91b4b6..b9d9807f0 100644 --- a/src/client/room/local-event/index.ts +++ b/src/client/room/local-event/index.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './LocalEvent'; export * from './LocalEventSender'; diff --git a/src/client/room/messages/BatchChange.ts b/src/client/room/messages/BatchChange.ts index 8c16e42e1..ab85ee79e 100644 --- a/src/client/room/messages/BatchChange.ts +++ b/src/client/room/messages/BatchChange.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + type ChangeType = 'Grow' | 'Shrink'; type ChangeDirection = 'f' | 'b'; diff --git a/src/client/room/messages/BatchInfo.ts b/src/client/room/messages/BatchInfo.ts index 7bd6c7655..8d5d7410e 100644 --- a/src/client/room/messages/BatchInfo.ts +++ b/src/client/room/messages/BatchInfo.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export class BatchInfo { public readonly token?: string; diff --git a/src/client/room/messages/MessageBatch.ts b/src/client/room/messages/MessageBatch.ts index 2a3a5680c..a4eb07812 100644 --- a/src/client/room/messages/MessageBatch.ts +++ b/src/client/room/messages/MessageBatch.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { BatchChange } from './BatchChange'; import { BatchInfo } from './BatchInfo'; import { Messages } from '.'; diff --git a/src/client/room/messages/MessageRange.ts b/src/client/room/messages/MessageRange.ts index eb849c22a..8ada8d594 100644 --- a/src/client/room/messages/MessageRange.ts +++ b/src/client/room/messages/MessageRange.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; import { ObservableValue } from 'neurone/lib/utils/observable'; import { MessageBatch } from './MessageBatch'; diff --git a/src/client/room/messages/Messages.ts b/src/client/room/messages/Messages.ts index a4206e2d5..b46d61c7c 100644 --- a/src/client/room/messages/Messages.ts +++ b/src/client/room/messages/Messages.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; export class Messages { diff --git a/src/client/room/messages/index.ts b/src/client/room/messages/index.ts index de605a2ae..60c0996c1 100644 --- a/src/client/room/messages/index.ts +++ b/src/client/room/messages/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './BatchChange'; export * from './BatchInfo'; export * from './MessageBatch'; diff --git a/src/client/room/relations/Relations.ts b/src/client/room/relations/Relations.ts index 20fb707ec..8b35302b2 100644 --- a/src/client/room/relations/Relations.ts +++ b/src/client/room/relations/Relations.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; import { ObservableValue } from 'neurone/lib/utils/observable'; diff --git a/src/client/room/relations/RelationsProcessor.ts b/src/client/room/relations/RelationsProcessor.ts index b9d48f916..9f385322b 100644 --- a/src/client/room/relations/RelationsProcessor.ts +++ b/src/client/room/relations/RelationsProcessor.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { ClientEventWithoutRoomId, MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { ObservableValue } from 'neurone/lib/utils/observable'; import { Disposable, Disposer } from 'neurone/lib/utils/disposable'; diff --git a/src/client/room/relations/index.ts b/src/client/room/relations/index.ts index 4c4a49f55..656ed8d64 100644 --- a/src/client/room/relations/index.ts +++ b/src/client/room/relations/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './Relations'; export * from './RelationsProcessor'; export * from './utils'; diff --git a/src/client/room/relations/utils.ts b/src/client/room/relations/utils.ts index 028492f2c..0ff48fb68 100644 --- a/src/client/room/relations/utils.ts +++ b/src/client/room/relations/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MessageEventWithoutRoomId } from 'neurone/lib/api/types'; import { rContent, rUnsigned, rEvent, rRelatesTo, rRelations } from '../../reader'; import { RelationType } from '../../../types/matrix/common'; diff --git a/src/client/sessions.ts b/src/client/sessions.ts index 9116e85d1..ae8561524 100644 --- a/src/client/sessions.ts +++ b/src/client/sessions.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { getLocalStorageItem, setLocalStorageItem } from './localStorage'; export const CLIENT_SESSIONS_STORE_KEY = 'client-sessions'; diff --git a/src/client/storage/collections/AccountData.ts b/src/client/storage/collections/AccountData.ts index e4636ade8..df5088f8f 100644 --- a/src/client/storage/collections/AccountData.ts +++ b/src/client/storage/collections/AccountData.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { StorageDriver } from 'neurone/lib/storage'; import { Collection, Entry } from 'neurone/lib/storage/collection'; import { AccountDataEvent } from 'neurone/lib/api/types'; diff --git a/src/client/storage/collections/InviteRoom.ts b/src/client/storage/collections/InviteRoom.ts index c703cfc80..dcc5c08c7 100644 --- a/src/client/storage/collections/InviteRoom.ts +++ b/src/client/storage/collections/InviteRoom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IDBPDatabase } from 'idb'; import { Collection, Entry } from 'neurone/lib/storage/collection'; import { StrippedStateEvent } from 'neurone/lib/api/types'; diff --git a/src/client/storage/collections/JoinRoom.ts b/src/client/storage/collections/JoinRoom.ts index 55fc3ab54..390e89ad1 100644 --- a/src/client/storage/collections/JoinRoom.ts +++ b/src/client/storage/collections/JoinRoom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IDBPDatabase } from 'idb'; import { AccountDataEvent, diff --git a/src/client/storage/collections/KnockRoom.ts b/src/client/storage/collections/KnockRoom.ts index 4aa454793..525e092ad 100644 --- a/src/client/storage/collections/KnockRoom.ts +++ b/src/client/storage/collections/KnockRoom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IDBPDatabase } from 'idb'; import { Collection, Entry } from 'neurone/lib/storage/collection'; import { StrippedStateEvent } from 'neurone/lib/api/types'; diff --git a/src/client/storage/collections/LeaveRoom.ts b/src/client/storage/collections/LeaveRoom.ts index 5e79fa195..39612697b 100644 --- a/src/client/storage/collections/LeaveRoom.ts +++ b/src/client/storage/collections/LeaveRoom.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IDBPDatabase } from 'idb'; import { Collection, Entry } from 'neurone/lib/storage/collection'; import { AccountDataEvent, StateEventWithoutRoomId } from 'neurone/lib/api/types'; diff --git a/src/client/storage/collections/Presence.ts b/src/client/storage/collections/Presence.ts index 1a67594c3..0dfc5c076 100644 --- a/src/client/storage/collections/Presence.ts +++ b/src/client/storage/collections/Presence.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IDBPDatabase } from 'idb'; import { Presence, StatusContent } from 'neurone/lib/api/types'; import { StorageDriver } from 'neurone/lib/storage'; diff --git a/src/client/storage/collections/ReadReceipt.ts b/src/client/storage/collections/ReadReceipt.ts index aa797751c..cebbfc61b 100644 --- a/src/client/storage/collections/ReadReceipt.ts +++ b/src/client/storage/collections/ReadReceipt.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IDBPDatabase, IDBPTransaction } from 'idb'; import { StorageDriver } from 'neurone/lib/storage'; import { Collection, Entry } from 'neurone/lib/storage/collection'; diff --git a/src/client/storage/collections/SessionValue.ts b/src/client/storage/collections/SessionValue.ts index 56b6a29b1..93eb47ce3 100644 --- a/src/client/storage/collections/SessionValue.ts +++ b/src/client/storage/collections/SessionValue.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IDBPDatabase } from 'idb'; import { StorageDriver } from 'neurone/lib/storage'; import { Collection, Entry } from 'neurone/lib/storage/collection'; diff --git a/src/client/storage/collections/UnreadNotifications.ts b/src/client/storage/collections/UnreadNotifications.ts index fb92e5bf6..e187c5408 100644 --- a/src/client/storage/collections/UnreadNotifications.ts +++ b/src/client/storage/collections/UnreadNotifications.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { IDBPDatabase } from 'idb'; import { UnreadNotificationCounts } from 'neurone/lib/api/types'; import { StorageDriver } from 'neurone/lib/storage'; diff --git a/src/client/storage/collections/index.ts b/src/client/storage/collections/index.ts index a3451be5f..de1980dd8 100644 --- a/src/client/storage/collections/index.ts +++ b/src/client/storage/collections/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export * from './AccountData'; export * from './JoinRoom'; export * from './ReadReceipt'; diff --git a/src/client/storage/index.ts b/src/client/storage/index.ts index 81310c715..9e3363ae4 100644 --- a/src/client/storage/index.ts +++ b/src/client/storage/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { deleteDB, openDB, unwrap } from 'idb'; import { IndexedDBStorageDriver } from 'neurone/lib/storage/driver'; import { diff --git a/src/client/storage/utils.ts b/src/client/storage/utils.ts index a19e12528..abaddd3a8 100644 --- a/src/client/storage/utils.ts +++ b/src/client/storage/utils.ts @@ -1,2 +1,11 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export const encodeKey = (...args: string[]): string => args.join('+'); export const MAX_UNICODE = '\u{10FFFF}'; diff --git a/src/client/sync.ts b/src/client/sync.ts index 5099b386b..024194ff9 100644 --- a/src/client/sync.ts +++ b/src/client/sync.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { MatrixError, MatrixRequest, diff --git a/src/client/syncLatestEvent.ts b/src/client/syncLatestEvent.ts index 33bbe712c..90eba005b 100644 --- a/src/client/syncLatestEvent.ts +++ b/src/client/syncLatestEvent.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { getSync, GetSyncOK } from 'neurone/lib/api/matrix/client/v3/sync'; import { parseMatrixResp, printMatrixError } from 'neurone/lib/matrix-request'; import { getLatestEventSyncFilter } from './filter'; diff --git a/src/client/syncWriter/index.ts b/src/client/syncWriter/index.ts index 26b92b3c3..b8c37c5b8 100644 --- a/src/client/syncWriter/index.ts +++ b/src/client/syncWriter/index.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { GetSyncOK } from 'neurone/lib/api/matrix/client/v3/sync'; import { PresenceEvent, StatusContent } from 'neurone/lib/api/types'; import { ClientContext } from '../context'; diff --git a/src/client/syncWriter/utils.ts b/src/client/syncWriter/utils.ts index ba011f3bf..19e3fa324 100644 --- a/src/client/syncWriter/utils.ts +++ b/src/client/syncWriter/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { InviteRoom, JoinRoom, KnockRoom, LeaveRoom } from 'neurone/lib/api/matrix/client/v3/sync'; import { AccountDataEvent, diff --git a/src/client/txn.ts b/src/client/txn.ts index 39229963c..27a47c8db 100644 --- a/src/client/txn.ts +++ b/src/client/txn.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export type GetTxnId = () => string; export const getTxnIdFunc = (): GetTxnId => { diff --git a/src/colors.css.ts b/src/colors.css.ts index 268cbf788..89ed6a101 100644 --- a/src/colors.css.ts +++ b/src/colors.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createTheme } from '@vanilla-extract/css'; import { color } from 'folds'; diff --git a/src/config.css.ts b/src/config.css.ts index 5d63c34ab..89a32f2d4 100644 --- a/src/config.css.ts +++ b/src/config.css.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { createTheme } from '@vanilla-extract/css'; import { config } from 'folds'; diff --git a/src/ext.d.ts b/src/ext.d.ts index 72acc587d..f1bb83e73 100644 --- a/src/ext.d.ts +++ b/src/ext.d.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /// declare module 'browser-encrypt-attachment' { diff --git a/src/index.css b/src/index.css index 0b4e796a1..f12ce33f9 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + @font-face { font-family: Twemoji; src: url('../public/font/Twemoji.Mozilla.v15.1.0.woff2'), diff --git a/src/index.tsx b/src/index.tsx index 89c650b42..9c45bea4a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /* eslint-disable import/first */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/src/sw.ts b/src/sw.ts index d214c077b..2fc2a050a 100644 --- a/src/sw.ts +++ b/src/sw.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + /// export type {}; diff --git a/src/types/matrix/accountData.ts b/src/types/matrix/accountData.ts index 43a62998a..5f41b739c 100644 --- a/src/types/matrix/accountData.ts +++ b/src/types/matrix/accountData.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export enum AccountDataEvent { PushRules = 'm.push_rules', Direct = 'm.direct', diff --git a/src/types/matrix/common.ts b/src/types/matrix/common.ts index 4065c49eb..00f0060e8 100644 --- a/src/types/matrix/common.ts +++ b/src/types/matrix/common.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { EncryptedAttachmentInfo } from 'browser-encrypt-attachment'; export const MATRIX_BLUR_HASH_PROPERTY_NAME = 'xyz.amorgan.blurhash'; diff --git a/src/types/matrix/room.ts b/src/types/matrix/room.ts index 174a68580..bab99aa59 100644 --- a/src/types/matrix/room.ts +++ b/src/types/matrix/room.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + import { RoomMembership } from 'neurone/lib/api/types'; import { HistoryVisibility } from 'neurone/lib/crypto/machine'; import { IImageInfo } from './common'; diff --git a/src/types/utils.ts b/src/types/utils.ts index 353ace6eb..d2e60ab3a 100644 --- a/src/types/utils.ts +++ b/src/types/utils.ts @@ -1,3 +1,12 @@ +/* +Cinny Project +Copyright 2021-present Ajay Bura +SPDX-License-Identifier: AGPL-3.0-only +https://cinny.in + +Please see LICENSE file in root of repository for full details. +*/ + export type WithRequiredProp = Type & { [Property in Key]-?: Type[Property]; };