From a65e8fb4b919ca9efb834c68e23840ed79be1812 Mon Sep 17 00:00:00 2001 From: zifahm Date: Wed, 5 Jul 2023 07:39:43 +0530 Subject: [PATCH 1/2] docs: removing business licence --- BUSINESS_LICENSE.md | 115 ---------------------- LICENSE.md | 9 -- README.MD | 31 +++--- apps/web/app/routes/index/LandingPage.tsx | 8 +- apps/web/app/routes/pricing/FreePlan.tsx | 2 +- 5 files changed, 23 insertions(+), 142 deletions(-) delete mode 100644 BUSINESS_LICENSE.md diff --git a/BUSINESS_LICENSE.md b/BUSINESS_LICENSE.md deleted file mode 100644 index f621683..0000000 --- a/BUSINESS_LICENSE.md +++ /dev/null @@ -1,115 +0,0 @@ -> Please look at LICENCE for the usage of the software when the -> environment variable used to run the software is set to "true" for OPEN_SOURCE - -**This license only affects the usage of the software if the environment -variable used to run the software is set to "false" for "OPEN_SOURCE"** - -Business Source License 1.1 - -Parameters - -Licensor: Cartegan Software Pvt Ltd - -Licensed Work: Bespoke - -The Licensed Work is (c) 2023 Cartegan Software Pvt Ltd. -Additional Use Grant: You may make use of the Licensed Work, -provided that you do not use the Licensed Work for a Personalized -Recommendation and Marketing Platform. - -A "Personalized Recommendation and Marketing Platform" is a -commercial offering that allows third parties (other than your -employees or contractors) to access the functionality of the -Licensed Work, enabling these third parties to directly benefit -from the personalized recommendation and marketing features -provided by the Licensed Work. - -Change Date: 2033-07-01 - -Change License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 - -For information about alternative licensing arrangements for the Software, -please visit: https://bespoke.surf/pricing/ - -Notice - -The Business Source License (this document, or the "License") is not an Open -Source license. However, the Licensed Work will eventually be made available -under an Open Source License, as stated in this License. - -License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. -"Business Source License" is a trademark of MariaDB Corporation Ab. - ---- - -Business Source License 1.1 - -Terms - -The Licensor hereby grants you the right to copy, modify, create derivative -works, redistribute, and make non-production use of the Licensed Work. The -Licensor may make an Additional Use Grant, above, permitting limited -production use. - -Effective on the Change Date, or the tenth anniversary of the first publicly -available distribution of a specific version of the Licensed Work under this -License, whichever comes first, the Licensor hereby grants you rights under -the terms of the Change License, and the rights granted in the paragraph -above terminate. - -If your use of the Licensed Work does not comply with the requirements -currently in effect as described in this License, you must purchase a -commercial license from the Licensor, its affiliated entities, or authorized -resellers, or you must refrain from using the Licensed Work. - -All copies of the original and modified Licensed Work, and derivative works -of the Licensed Work, are subject to this License. This License applies -separately for each version of the Licensed Work and the Change Date may vary -for each version of the Licensed Work released by Licensor. - -You must conspicuously display this License on each original or modified copy -of the Licensed Work. If you receive the Licensed Work in original or -modified form from a third party, the terms and conditions set forth in this -License apply to your use of that work. - -Any use of the Licensed Work in violation of this License will automatically -terminate your rights under this License for the current and all other -versions of the Licensed Work. - -This License does not grant you any right in any trademark or logo of -Licensor or its affiliates (provided that you may use a trademark or logo of -Licensor as expressly required by this License). - -TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON -AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, -EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND -TITLE. - -MariaDB hereby grants you permission to use this License’s text to license -your works, and to refer to it using the trademark "Business Source License", -as long as you comply with the Covenants of Licensor below. - -Covenants of Licensor - -In consideration of the right to use this License’s text and the "Business -Source License" name and trademark, Licensor covenants to MariaDB, and to all -other recipients of the licensed work to be provided by Licensor: - -1. To specify as the Change License the GNU AFFERO GENERAL PUBLIC LICENSE Version - 3 or any later version, or a license that is compatible with GNU AFFERO GENERAL - PUBLIC LICENSE Version 3 or a later version, where "compatible" means that - software provided under the Change License can be included in a program with - software provided under GNU AFFERO GENERAL PUBLIC LICENSE Version 3 or a later - version. Licensor may specify additional Change Licenses without limitation. - -2. To either: (a) specify an additional grant of rights to use that does not - impose any additional restriction on the right granted in this License, as - the Additional Use Grant; or (b) insert the text "None". - -3. To specify a Change Date. - -4. Not to modify this License in any other way. - -Additionally, this license only affects the usage of the software if the environment -variable used to run the software is set to "false" for "OPEN_SOURCE". diff --git a/LICENSE.md b/LICENSE.md index dceb848..bc87d01 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,9 +1,3 @@ -> Please look at BUSINESS_LICENCE for the usage of the software when the -> environment variable used to run the software is set to "false" for OPEN_SOURCE - -**This license only affects the usage of the software if the environment -variable used to run the software is set to "true" for "OPEN_SOURCE"** - MIT License Copyright (c) 2023 Bespoke @@ -25,6 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Additionally, this license only affects the usage of the software if the environment -variable used to run the software is set to "true" for "OPEN_SOURCE". diff --git a/README.MD b/README.MD index 5bd8cab..aa3d790 100644 --- a/README.MD +++ b/README.MD @@ -50,21 +50,26 @@ We gather customer data through various means, including API's, behavioral inten > For full feature breakdown see Bespoke Cloud [Pricing Page](https://bespoke.surf/pricing) -## Documentation +## Documentation & Links - [API Reference](https://bespoke-api.readme.io/reference/introduction-to-bespoke) for Bespoke REST API - Details about Bespoke's [Suppression](https://bespoke-api.readme.io/reference/supression-hit-tier) process - -## Quick Links - -- 🆘 Join +- Join [Discord](https://discord.gg/h8gekTtq) to talk to devs -- 💡 Suggest +- Suggest [Feature and Integration Requests](https://feedback.bespoke.surf). -- 🐛 Open a [GitHub issue](https://github.com/bespoke-surf/bespoke/issues) to +- Open a [GitHub issue](https://github.com/bespoke-surf/bespoke/issues) to report a bug. +## OpenAPI and Postman + +Experience seamless integration with Bespoke's OpenAPI and Postman. Explore our latest OpenAPI specification. + +For quick and convenient interaction with our APIs, import the [OpenAPI spec](https://github.com/bespoke-surf/openapi/tree/main) into your preferred API tool, such as Postman. This will enable you to immediately begin working with our new APIs. + +To further simplify your workflow, we have created a dedicated [Postman Workspace](https://www.postman.com/bespoke-surf/workspace/bespoke-developers). By visiting our Postman Workspace, you will have access to our latest collection of requests, along with the comprehensive API definitions. + ## Developing Bespoke 1. Clone this repository @@ -185,6 +190,10 @@ We need to create a new configuration set and add the SNS subscription as the de For the `SES_SENDING_RATE` env variable, you can get the value from the SES dashboard. +### OPEN_SOURCE=true + +To get unlimited contacts and to send emails with no restriction and to create unlimited signup-forms, please set `OPEN_SOURCE=true` + ### Unlayer Project Id & Unlayer Secret Let's setup [Unlayer](https://unlayer.com/embed) for Signup-Forms and Email templates to work @@ -218,10 +227,6 @@ If you have any questions about Bespoke, would like to discuss a bug report, or Bespoke engineers are checking this regularly. -### License - -Bespoke is [MIT licensed](https://github.com/bespoke-surf/bespoke/blob/main/LICENSE.md) for env variabe `OPEN_SOURCE=true` - -Bespoke Cloud is [Business Source Licenced](https://github.com/bespoke-surf/bespoke/blob/main/BUSINESS_LICENSE.md) for env variable `OPEN_SOURCE=false` +## License -⚠️ You will be violating our [Business Source Licence](https://github.com/bespoke-surf/bespoke/blob/main/BUSINESS_LICENSE.md) if you have the environment variable `OPEN_SOURCE=false` +Bespoke is [MIT licensed](https://github.com/bespoke-surf/bespoke/blob/main/LICENSE.md) diff --git a/apps/web/app/routes/index/LandingPage.tsx b/apps/web/app/routes/index/LandingPage.tsx index eb1e458..fd37622 100644 --- a/apps/web/app/routes/index/LandingPage.tsx +++ b/apps/web/app/routes/index/LandingPage.tsx @@ -35,9 +35,9 @@ export default function LandingPage() { href: "/signup", }} secondaryAction={{ - label: "Github", - accessibilityLabel: "Github", - href: "https://github.com/bespoke-surf/bespoke", + label: "Guide", + accessibilityLabel: "Guide", + href: "https://github.com/bespoke-surf/bespoke#deploying-bespoke", }} /> )} @@ -48,7 +48,7 @@ export default function LandingPage() { title="Personalization Frontier" primaryAction={{ label: "Github", - accessibilityLabel: "Pricing", + accessibilityLabel: "Github", href: "https://github.com/bespoke-surf/bespoke", target: "blank", }} diff --git a/apps/web/app/routes/pricing/FreePlan.tsx b/apps/web/app/routes/pricing/FreePlan.tsx index a56a239..24f5805 100644 --- a/apps/web/app/routes/pricing/FreePlan.tsx +++ b/apps/web/app/routes/pricing/FreePlan.tsx @@ -74,7 +74,7 @@ export const FreePlanHosted = () => {