From 21d69c54dc8420b069d298f35b7f0c28ea684181 Mon Sep 17 00:00:00 2001 From: ashutosh1206 Date: Thu, 25 Aug 2022 14:54:12 +0530 Subject: [PATCH] feat: add copyright and AGPLv3 license to files --- src/backend/auth.ts | 16 ++++++++++++++++ src/backend/bookmarks.ts | 16 ++++++++++++++++ src/backend/comment.ts | 16 ++++++++++++++++ src/backend/crypto.ts | 16 ++++++++++++++++ src/backend/discordRevoke.ts | 16 ++++++++++++++++ src/backend/following.ts | 16 ++++++++++++++++ src/backend/funder.ts | 16 ++++++++++++++++ src/backend/getPhoto.ts | 16 ++++++++++++++++ src/backend/near.ts | 16 ++++++++++++++++ src/backend/payment.ts | 16 ++++++++++++++++ src/backend/photos.ts | 16 ++++++++++++++++ src/backend/post.ts | 16 ++++++++++++++++ src/backend/postDeletion.ts | 16 ++++++++++++++++ src/backend/privateKey.ts | 16 ++++++++++++++++ src/backend/profile.ts | 16 ++++++++++++++++ src/backend/reposts.ts | 16 ++++++++++++++++ src/backend/shareable_links.ts | 16 ++++++++++++++++ src/backend/subscription.ts | 16 ++++++++++++++++ src/backend/tokenAuth.ts | 16 ++++++++++++++++ src/backend/utilities/caching.ts | 16 ++++++++++++++++ src/backend/utilities/config.ts | 16 ++++++++++++++++ src/backend/utilities/helpers.ts | 16 ++++++++++++++++ src/backend/utilities/keys.ts | 16 ++++++++++++++++ src/backend/utilities/request.ts | 16 ++++++++++++++++ src/backend/utilities/text_limits.ts | 16 ++++++++++++++++ src/config/avatars.ts | 16 ++++++++++++++++ src/config/backgrounds.ts | 16 ++++++++++++++++ src/config/colors.ts | 16 ++++++++++++++++ src/config/config.ts | 16 ++++++++++++++++ src/config/faces.ts | 16 ++++++++++++++++ src/errors.ts | 16 ++++++++++++++++ src/interfaces/Comment.ts | 16 ++++++++++++++++ src/interfaces/HTMLInputEvent.ts | 16 ++++++++++++++++ src/middleware/auth.ts | 16 ++++++++++++++++ src/pages/post/quillExtensions.ts | 16 ++++++++++++++++ src/pages/post/readerExtensions.ts | 16 ++++++++++++++++ src/plugins/backend.ts | 16 ++++++++++++++++ src/plugins/background.ts | 16 ++++++++++++++++ src/plugins/color.ts | 16 ++++++++++++++++ src/plugins/colormode.ts | 16 ++++++++++++++++ src/plugins/helpers.ts | 16 ++++++++++++++++ src/plugins/quality.ts | 16 ++++++++++++++++ src/plugins/toast.ts | 16 ++++++++++++++++ src/plugins/vuex-persist.ts | 16 ++++++++++++++++ src/store/draft.ts | 16 ++++++++++++++++ src/store/index.ts | 16 ++++++++++++++++ src/store/paymentProfile.ts | 16 ++++++++++++++++ src/store/session.ts | 16 ++++++++++++++++ src/store/settings.ts | 16 ++++++++++++++++ src/store/subscriptionTiers.ts | 16 ++++++++++++++++ src/store/subscriptions.ts | 16 ++++++++++++++++ src/store/widgets.ts | 16 ++++++++++++++++ src/tailwind.config.js | 16 ++++++++++++++++ 53 files changed, 848 insertions(+) diff --git a/src/backend/auth.ts b/src/backend/auth.ts index 36e5a226c..3f19ccee7 100644 --- a/src/backend/auth.ts +++ b/src/backend/auth.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import { getED25519Key } from '@toruslabs/openlogin-ed25519' import { base_decode as baseDecode, base_encode as baseEncode } from 'near-api-js/lib/utils/serialize' import { PublicKey } from 'near-api-js/lib/utils/key_pair' diff --git a/src/backend/bookmarks.ts b/src/backend/bookmarks.ts index deb8f4d71..e5887d044 100644 --- a/src/backend/bookmarks.ts +++ b/src/backend/bookmarks.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import libsodium from './utilities/keys' import { nodeUrl } from './utilities/config' diff --git a/src/backend/comment.ts b/src/backend/comment.ts index 8b20087f8..61f066fef 100644 --- a/src/backend/comment.ts +++ b/src/backend/comment.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import ipfs from '@capsulesocial/ipfs-wrapper' import { nodeUrl } from './utilities/config' diff --git a/src/backend/crypto.ts b/src/backend/crypto.ts index f73063dee..df0eeed58 100644 --- a/src/backend/crypto.ts +++ b/src/backend/crypto.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import { hexStringToUint8Array, uint8ArrayToHexString } from './utilities/helpers' import { IEncryptedPost } from './post' import libsodium from './utilities/keys' diff --git a/src/backend/discordRevoke.ts b/src/backend/discordRevoke.ts index 7b3f1f432..d4566b0a1 100644 --- a/src/backend/discordRevoke.ts +++ b/src/backend/discordRevoke.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import { capsuleServer } from './utilities/config' diff --git a/src/backend/following.ts b/src/backend/following.ts index 85c68fd60..4abef5cd1 100644 --- a/src/backend/following.ts +++ b/src/backend/following.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import { nodeUrl } from './utilities/config' import libsodium from './utilities/keys' diff --git a/src/backend/funder.ts b/src/backend/funder.ts index 6debf8d4a..d0e48d604 100644 --- a/src/backend/funder.ts +++ b/src/backend/funder.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import { checkAccountStatus, getIsAccountIdOnboarded } from './near' import { capsuleServer, sufficientFunds } from './utilities/config' diff --git a/src/backend/getPhoto.ts b/src/backend/getPhoto.ts index 97eb31c7b..8c7ee2001 100644 --- a/src/backend/getPhoto.ts +++ b/src/backend/getPhoto.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import ipfs from '@capsulesocial/ipfs-wrapper' import cache from './utilities/caching' import { validFileTypes } from './utilities/helpers' diff --git a/src/backend/near.ts b/src/backend/near.ts index 0718467e3..5ba9cc2fa 100644 --- a/src/backend/near.ts +++ b/src/backend/near.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import { Account, connect, Contract, keyStores, Near, providers, WalletConnection } from 'near-api-js' import { KeyPairEd25519 } from 'near-api-js/lib/utils' import { base_decode as baseDecode, base_encode as baseEncode } from 'near-api-js/lib/utils/serialize' diff --git a/src/backend/payment.ts b/src/backend/payment.ts index 20deebe6d..e8cae7b89 100644 --- a/src/backend/payment.ts +++ b/src/backend/payment.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios, { AxiosError } from 'axios' import { capsuleServer } from './utilities/config' import { genericRequest } from './utilities/request' diff --git a/src/backend/photos.ts b/src/backend/photos.ts index aaf917d5d..b9ce96efb 100644 --- a/src/backend/photos.ts +++ b/src/backend/photos.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import ipfs from '@capsulesocial/ipfs-wrapper' import { nodeUrl, sigValidity } from './utilities/config' diff --git a/src/backend/post.ts b/src/backend/post.ts index fb4e45eff..5d51092a2 100644 --- a/src/backend/post.ts +++ b/src/backend/post.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import ipfs from '@capsulesocial/ipfs-wrapper' diff --git a/src/backend/postDeletion.ts b/src/backend/postDeletion.ts index 63a309057..661a5184c 100644 --- a/src/backend/postDeletion.ts +++ b/src/backend/postDeletion.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import libsodium from './utilities/keys' import { nodeUrl } from './utilities/config' diff --git a/src/backend/privateKey.ts b/src/backend/privateKey.ts index e0edeff51..1180aa574 100644 --- a/src/backend/privateKey.ts +++ b/src/backend/privateKey.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import { scrypt } from 'scrypt-js' import { base_decode as baseDecode, base_encode as baseEncode } from 'near-api-js/lib/utils/serialize' import { getNearPrivateKey } from './near' diff --git a/src/backend/profile.ts b/src/backend/profile.ts index aca8cf72c..fa383ffa6 100644 --- a/src/backend/profile.ts +++ b/src/backend/profile.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import ipfs from '@capsulesocial/ipfs-wrapper' diff --git a/src/backend/reposts.ts b/src/backend/reposts.ts index 6c77a56f5..f80a2fdbc 100644 --- a/src/backend/reposts.ts +++ b/src/backend/reposts.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import ipfs from '@capsulesocial/ipfs-wrapper' import libsodium from './utilities/keys' diff --git a/src/backend/shareable_links.ts b/src/backend/shareable_links.ts index aa1c82b46..0a7ffa6f5 100644 --- a/src/backend/shareable_links.ts +++ b/src/backend/shareable_links.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import { capsuleServer } from './utilities/config' diff --git a/src/backend/subscription.ts b/src/backend/subscription.ts index f966b83c8..1fd17c512 100644 --- a/src/backend/subscription.ts +++ b/src/backend/subscription.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import { genericRequest } from './utilities/request' export interface ISubscriptionResponse { diff --git a/src/backend/tokenAuth.ts b/src/backend/tokenAuth.ts index 7494f2ec0..2340f8ab5 100644 --- a/src/backend/tokenAuth.ts +++ b/src/backend/tokenAuth.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios from 'axios' import { capsuleServer } from './utilities/config' import { getExpTimestamp, uint8ArrayToHexString } from './utilities/helpers' diff --git a/src/backend/utilities/caching.ts b/src/backend/utilities/caching.ts index 95fd08c6e..a1760fb7f 100644 --- a/src/backend/utilities/caching.ts +++ b/src/backend/utilities/caching.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ function promiseCache() { const _promiseCache = new Map>() diff --git a/src/backend/utilities/config.ts b/src/backend/utilities/config.ts index cecb9723e..300a9c6e3 100644 --- a/src/backend/utilities/config.ts +++ b/src/backend/utilities/config.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { SubVerifierDetails, TORUS_NETWORK_TYPE } from '@toruslabs/customauth' import type { ILocalNetNearConfig, INearConfig } from '../near' diff --git a/src/backend/utilities/helpers.ts b/src/backend/utilities/helpers.ts index b026ee5e6..25d6245c3 100644 --- a/src/backend/utilities/helpers.ts +++ b/src/backend/utilities/helpers.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export interface ISignedIPFSObject { data: T sig: string diff --git a/src/backend/utilities/keys.ts b/src/backend/utilities/keys.ts index 9317cbef9..589abb9d7 100644 --- a/src/backend/utilities/keys.ts +++ b/src/backend/utilities/keys.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ /* eslint-disable camelcase */ import type { crypto_sign_verify_detached, crypto_sign_detached } from 'libsodium-wrappers' import { keyStores } from 'near-api-js' diff --git a/src/backend/utilities/request.ts b/src/backend/utilities/request.ts index 7f1c39477..353021d10 100644 --- a/src/backend/utilities/request.ts +++ b/src/backend/utilities/request.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import axios, { Method, AxiosError, AxiosRequestConfig } from 'axios' import { getToken } from '../tokenAuth' import { capsuleServer } from './config' diff --git a/src/backend/utilities/text_limits.ts b/src/backend/utilities/text_limits.ts index 789b29b22..f61c9f94e 100644 --- a/src/backend/utilities/text_limits.ts +++ b/src/backend/utilities/text_limits.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ const textLimits = { post_title: { min: 12, diff --git a/src/config/avatars.ts b/src/config/avatars.ts index 2fafc4067..319774536 100644 --- a/src/config/avatars.ts +++ b/src/config/avatars.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export const avatars = [ require(`@/assets/images/avatars/beats.webp`), require(`@/assets/images/avatars/cassete.webp`), diff --git a/src/config/backgrounds.ts b/src/config/backgrounds.ts index d8fc59f0c..eaab5eedf 100644 --- a/src/config/backgrounds.ts +++ b/src/config/backgrounds.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export interface IBackground { id: string type: string diff --git a/src/config/colors.ts b/src/config/colors.ts index ba0712c38..4866b26f4 100644 --- a/src/config/colors.ts +++ b/src/config/colors.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export interface IMode { image: unknown label: `Light` | `Dark` | `OS` diff --git a/src/config/config.ts b/src/config/config.ts index cc2d341be..4d77a8977 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export const feelings = { positive: new Set([ `curious`, diff --git a/src/config/faces.ts b/src/config/faces.ts index cdf776bd4..4e79100e1 100644 --- a/src/config/faces.ts +++ b/src/config/faces.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export interface IFace { label: string light: any diff --git a/src/errors.ts b/src/errors.ts index 25484a88d..e61eaf0ca 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export type ErrorTypes = `ValidationError` export interface CapsuleError { diff --git a/src/interfaces/Comment.ts b/src/interfaces/Comment.ts index 69e612412..30ff5f2f8 100644 --- a/src/interfaces/Comment.ts +++ b/src/interfaces/Comment.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export interface Comment { authorID: string authorAvatarCID: string diff --git a/src/interfaces/HTMLInputEvent.ts b/src/interfaces/HTMLInputEvent.ts index 041625104..cc881370b 100644 --- a/src/interfaces/HTMLInputEvent.ts +++ b/src/interfaces/HTMLInputEvent.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export interface HTMLInputEvent extends Event { target: HTMLInputElement & EventTarget } diff --git a/src/middleware/auth.ts b/src/middleware/auth.ts index ccdcd4659..fb44df249 100644 --- a/src/middleware/auth.ts +++ b/src/middleware/auth.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ export default function ({ store }: any) { // Clear store if no localStorage key const accountId: string | null = window.localStorage.getItem(`accountId`) diff --git a/src/pages/post/quillExtensions.ts b/src/pages/post/quillExtensions.ts index c6e20eb1e..3bfb9e335 100644 --- a/src/pages/post/quillExtensions.ts +++ b/src/pages/post/quillExtensions.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { RangeStatic, Quill } from 'quill' import TurndownService from 'turndown' diff --git a/src/pages/post/readerExtensions.ts b/src/pages/post/readerExtensions.ts index 44357ae48..7fece6411 100644 --- a/src/pages/post/readerExtensions.ts +++ b/src/pages/post/readerExtensions.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ // Turndown import hljs from 'highlight.js/lib/common' diff --git a/src/plugins/backend.ts b/src/plugins/backend.ts index da7dd0aa1..f214c6a36 100644 --- a/src/plugins/backend.ts +++ b/src/plugins/backend.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import { Plugin } from '@nuxt/types' import { initIPFS } from '@capsulesocial/ipfs-wrapper' import { initLibSodium } from '@/backend/utilities/keys' diff --git a/src/plugins/background.ts b/src/plugins/background.ts index c3e87ec4a..50a38045b 100644 --- a/src/plugins/background.ts +++ b/src/plugins/background.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { Plugin } from '@nuxt/types' import { IBackground, backgrounds } from '@/config/backgrounds' diff --git a/src/plugins/color.ts b/src/plugins/color.ts index 5f10b2579..756ae89dc 100644 --- a/src/plugins/color.ts +++ b/src/plugins/color.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { Plugin } from '@nuxt/types' import VueInstance from 'vue' diff --git a/src/plugins/colormode.ts b/src/plugins/colormode.ts index e90a779a9..426a48e7c 100644 --- a/src/plugins/colormode.ts +++ b/src/plugins/colormode.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { Plugin } from '@nuxt/types' import VueInstance from 'vue' diff --git a/src/plugins/helpers.ts b/src/plugins/helpers.ts index 0aabf5346..25b3a7ee2 100644 --- a/src/plugins/helpers.ts +++ b/src/plugins/helpers.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import DOMPurify from 'dompurify' import { AxiosError } from 'axios' import type { Plugin } from '@nuxt/types' diff --git a/src/plugins/quality.ts b/src/plugins/quality.ts index 2ee7026d3..f2a04893b 100644 --- a/src/plugins/quality.ts +++ b/src/plugins/quality.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { Plugin } from '@nuxt/types' import { Tag } from '@/backend/post' import textLimits from '@/backend/utilities/text_limits' diff --git a/src/plugins/toast.ts b/src/plugins/toast.ts index 85df8928e..a94f4509a 100644 --- a/src/plugins/toast.ts +++ b/src/plugins/toast.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { Plugin } from '@nuxt/types' import Toastify from 'toastify-js' diff --git a/src/plugins/vuex-persist.ts b/src/plugins/vuex-persist.ts index 410810612..5e2e58423 100644 --- a/src/plugins/vuex-persist.ts +++ b/src/plugins/vuex-persist.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import { Plugin } from '@nuxt/types' import VuexPersistence from 'vuex-persist' diff --git a/src/store/draft.ts b/src/store/draft.ts index 1abd2d3be..2d9cda84e 100644 --- a/src/store/draft.ts +++ b/src/store/draft.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { GetterTree, MutationTree } from 'vuex' import type { RootState } from './index' import { Tag, Post } from '@/backend/post' diff --git a/src/store/index.ts b/src/store/index.ts index 320809c50..d6945f6df 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { MutationTree } from 'vuex' export interface RepostLink { diff --git a/src/store/paymentProfile.ts b/src/store/paymentProfile.ts index 49626d57a..26ea9a1cb 100644 --- a/src/store/paymentProfile.ts +++ b/src/store/paymentProfile.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { GetterTree, MutationTree } from 'vuex' import { ActionContext } from 'vuex' import Vue from 'vue' diff --git a/src/store/session.ts b/src/store/session.ts index a6ce402c0..761eaaf57 100644 --- a/src/store/session.ts +++ b/src/store/session.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ // import type { Context } from '@nuxt/types' import type { GetterTree, MutationTree } from 'vuex' import type { RootState } from './index' diff --git a/src/store/settings.ts b/src/store/settings.ts index e2e24ba72..2d973c058 100644 --- a/src/store/settings.ts +++ b/src/store/settings.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { Context } from '@nuxt/types' import type { GetterTree, ActionTree, MutationTree } from 'vuex' import type { RootState } from './index' diff --git a/src/store/subscriptionTiers.ts b/src/store/subscriptionTiers.ts index 19876a53b..bd9af31c9 100644 --- a/src/store/subscriptionTiers.ts +++ b/src/store/subscriptionTiers.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import { ActionContext } from 'vuex' import type { GetterTree, MutationTree } from 'vuex' import { RootState } from '.' diff --git a/src/store/subscriptions.ts b/src/store/subscriptions.ts index 8c13db032..d35ce09ca 100644 --- a/src/store/subscriptions.ts +++ b/src/store/subscriptions.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { MutationTree } from 'vuex' import { ActionContext } from 'vuex' import { RootState } from '.' diff --git a/src/store/widgets.ts b/src/store/widgets.ts index 4d5fcfde8..55ac98e5c 100644 --- a/src/store/widgets.ts +++ b/src/store/widgets.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ import type { MutationTree } from 'vuex' interface Widgets { diff --git a/src/tailwind.config.js b/src/tailwind.config.js index e0b15a7d9..cd09de50d 100644 --- a/src/tailwind.config.js +++ b/src/tailwind.config.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2021-2022 Capsule Social, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ const config = require(`@capsulesocial/capsule-config`).config config.content.push(`./src/pages/**`)