Skip to content

Commit 97c53a2

Browse files
Smilefounderclaude
andcommitted
Implement AGPL-3.0 + Dual Licensing + CLA + Trademark protection
- Change license from MIT to AGPL-3.0 for stronger copyleft protection - Add COMMERCIAL-LICENSE.md for dual licensing options - Add CLA.md (Contributor License Agreement) for contributor rights - Add TRADEMARKS.md for trademark usage guidelines - Add CONTRIBUTING.md with CLA signing instructions - Add NOTICE file for third-party attributions - Add Directory.Build.props with license metadata - Add LICENSE-HEADER.txt template for source files - Update README.md with licensing information - Update mix.heart.csproj with package metadata - Add license headers to key source files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3d6f054 commit 97c53a2

File tree

13 files changed

+1127
-25
lines changed

13 files changed

+1127
-25
lines changed

CLA.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Mix Heart Contributor License Agreement (CLA)
2+
3+
Thank you for your interest in contributing to Mix Heart ("Project"), maintained by the Mixcore Foundation ("We" or "Us").
4+
5+
This Contributor License Agreement ("Agreement") documents the rights granted by contributors to Us.
6+
7+
## 1. Definitions
8+
9+
**"You" (or "Your")** means the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Us.
10+
11+
**"Contribution"** means any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to Us for inclusion in the Project.
12+
13+
## 2. Grant of Copyright License
14+
15+
Subject to the terms and conditions of this Agreement, You hereby grant to Us and to recipients of software distributed by Us a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to:
16+
17+
- Reproduce Your Contributions
18+
- Prepare derivative works of Your Contributions
19+
- Publicly display and perform Your Contributions
20+
- Distribute Your Contributions
21+
- Sublicense the foregoing rights through multiple tiers of sublicensees
22+
23+
This license includes the right to license Contributions under any license, including proprietary licenses for commercial purposes under Our dual-licensing model.
24+
25+
## 3. Grant of Patent License
26+
27+
Subject to the terms and conditions of this Agreement, You hereby grant to Us and to recipients of software distributed by Us a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Contribution.
28+
29+
## 4. Representations and Warranties
30+
31+
You represent and warrant that:
32+
33+
- You are legally entitled to grant the above licenses
34+
- Each of Your Contributions is Your original creation
35+
- Your Contribution does not violate any third-party's intellectual property rights
36+
- If Your employer has rights to intellectual property that You create, You have received permission to make Contributions on behalf of that employer
37+
38+
## 5. Dual Licensing Acknowledgment
39+
40+
You acknowledge and agree that:
41+
42+
- The Project is dual-licensed under AGPL-3.0 and commercial licenses
43+
- Your Contributions may be distributed under both licenses
44+
- We may offer Your Contributions as part of commercial products
45+
- You will not receive compensation for commercial licensing of Your Contributions
46+
47+
## 6. How to Sign This CLA
48+
49+
**For Individual Contributors:**
50+
Include the following statement in your first pull request:
51+
```
52+
I have read the CLA document and I hereby sign the CLA.
53+
```
54+
55+
**For Corporate Contributors:**
56+
Contact [cla@mixcore.org](mailto:cla@mixcore.org) to sign a Corporate CLA.
57+
58+
## 7. Questions
59+
60+
If you have questions about this CLA, please contact us at [cla@mixcore.org](mailto:cla@mixcore.org).
61+
62+
---
63+
64+
## CLA Signatures
65+
66+
### Individual Contributors
67+
68+
| Name | GitHub Username | Email | Date |
69+
|------|-----------------|-------|------|
70+
| <!-- Add your name here --> | <!-- @username --> | <!-- email --> | <!-- YYYY-MM-DD --> |
71+
72+
---
73+
74+
*Version 1.0 - December 2024*

COMMERCIAL-LICENSE.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Mix Heart Commercial License
2+
3+
## Overview
4+
5+
Mix Heart is the core framework library of Mixcore CMS and is dual-licensed:
6+
7+
1. **Open Source License**: [GNU Affero General Public License v3.0 (AGPL-3.0)](LICENSE)
8+
2. **Commercial License**: This document describes commercial licensing options
9+
10+
## When You Need a Commercial License
11+
12+
The AGPL-3.0 license requires that if you modify Mix Heart and make it available to users over a network, you must release your complete source code under the AGPL-3.0 license.
13+
14+
**You need a commercial license if you want to:**
15+
16+
- Use Mix Heart in proprietary/closed-source applications
17+
- Distribute Mix Heart as part of a commercial product without source code disclosure
18+
- Build commercial frameworks or libraries on top of Mix Heart
19+
- Integrate Mix Heart into SaaS offerings without AGPL-3.0 obligations
20+
- Remove AGPL-3.0 copyleft requirements for your deployments
21+
22+
## Commercial License Options
23+
24+
### 1. Library License
25+
26+
- Use Mix Heart in **one** commercial application
27+
- No source code disclosure required
28+
- Includes 12 months of updates and security patches
29+
- Email support included
30+
31+
### 2. Enterprise License
32+
33+
- Unlimited applications within your organization
34+
- No source code disclosure required
35+
- Priority support with SLAs
36+
- Access to enterprise features
37+
- Custom development assistance available
38+
39+
### 3. OEM/Framework License
40+
41+
- Build commercial products on top of Mix Heart
42+
- Redistribute as part of your own framework
43+
- White-label options available
44+
- Volume pricing for multiple deployments
45+
46+
## What's Included in Commercial Licenses
47+
48+
| Feature | AGPL-3.0 | Commercial |
49+
|---------|----------|------------|
50+
| Full source code access | Yes | Yes |
51+
| Use in open-source projects | Yes | Yes |
52+
| Use in proprietary projects | No* | Yes |
53+
| Source code disclosure required | Yes | No |
54+
| Build commercial frameworks | No* | Yes |
55+
| Priority support | No | Yes |
56+
| SLA guarantees | No | Yes |
57+
| Security patches | Yes | Priority |
58+
59+
*Unless you comply with AGPL-3.0 source code disclosure requirements
60+
61+
## Pricing
62+
63+
Commercial license pricing is based on:
64+
65+
- Deployment type (single app, enterprise, OEM)
66+
- Number of instances/applications
67+
- Support level required
68+
69+
**Contact us for a quote:**
70+
- Email: [licensing@mixcore.org](mailto:licensing@mixcore.org)
71+
- Website: [https://mixcore.org/licensing](https://mixcore.org/licensing)
72+
73+
## Relationship with Mixcore CMS
74+
75+
Mix Heart is the foundational library for Mixcore CMS. Commercial licenses for Mixcore CMS typically include Mix Heart licensing. Contact us for bundled pricing.
76+
77+
## Contact
78+
79+
**Mixcore Foundation**
80+
81+
- Licensing: [licensing@mixcore.org](mailto:licensing@mixcore.org)
82+
- General Inquiries: [info@mixcore.org](mailto:info@mixcore.org)
83+
- Website: [https://mixcore.org](https://mixcore.org)
84+
85+
---
86+
87+
*Last updated: December 2024*

CONTRIBUTING.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Contributing to Mix Heart
2+
3+
Thank you for your interest in contributing to Mix Heart! We welcome contributions from the community.
4+
5+
## Contributor License Agreement (CLA)
6+
7+
**Important:** Before your contribution can be accepted, you must agree to our [Contributor License Agreement (CLA)](CLA.md).
8+
9+
### Why We Require a CLA
10+
11+
Mix Heart uses a dual-licensing model:
12+
- **AGPL-3.0** for open-source use
13+
- **Commercial licenses** for proprietary use
14+
15+
The CLA ensures that:
16+
1. You have the right to contribute the code
17+
2. The Mixcore Foundation can continue to offer both licensing options
18+
3. Your contributions can be included in both open-source and commercial distributions
19+
4. The project remains legally sustainable
20+
21+
### How to Sign the CLA
22+
23+
**For Individual Contributors:**
24+
Include the following statement in your first pull request:
25+
```
26+
I have read the CLA document and I hereby sign the CLA.
27+
```
28+
29+
**For Corporate Contributors:**
30+
Contact [cla@mixcore.org](mailto:cla@mixcore.org) to sign a Corporate CLA.
31+
32+
## Pull Request Process
33+
34+
1. Fork the repository and create your branch from `master`
35+
2. If you've added code that should be tested, add tests
36+
3. Ensure your code follows the existing code style
37+
4. Update documentation if needed
38+
5. Issue the pull request
39+
40+
## Code Style
41+
42+
- Use PascalCase for classes, methods, and public members
43+
- Use camelCase for local variables and private fields
44+
- Use UPPERCASE for constants
45+
- Prefix interfaces with "I" (e.g., `IRepository`)
46+
- Use async/await for I/O-bound operations
47+
- Follow existing patterns in the codebase
48+
49+
## Reporting Issues
50+
51+
- Use GitHub Issues to report bugs
52+
- Describe the bug clearly with steps to reproduce
53+
- Include version information and environment details
54+
55+
## Code of Conduct
56+
57+
Please be respectful and constructive in all interactions. We are committed to providing a welcoming environment for all contributors.
58+
59+
## Licensing
60+
61+
By contributing to Mix Heart, you agree that your contributions will be licensed under the [AGPL-3.0 License](LICENSE), and you grant the Mixcore Foundation the rights outlined in the [CLA](CLA.md) to also distribute your contributions under commercial licenses.
62+
63+
## Questions?
64+
65+
- **CLA questions:** [cla@mixcore.org](mailto:cla@mixcore.org)
66+
- **General questions:** [info@mixcore.org](mailto:info@mixcore.org)

Directory.Build.props

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<Project>
2+
<PropertyGroup>
3+
<!-- Language Version -->
4+
<LangVersion>latest</LangVersion>
5+
6+
<!-- Build Settings -->
7+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
8+
<Deterministic>true</Deterministic>
9+
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
10+
11+
<!-- Assembly Information -->
12+
<Company>Mixcore Foundation</Company>
13+
<Product>Mix Heart</Product>
14+
<Copyright>Copyright (c) 2019-2024 Mixcore Foundation. All rights reserved.</Copyright>
15+
16+
<!-- Package Information (for NuGet packages) -->
17+
<Authors>Mixcore Foundation</Authors>
18+
<Description>ASP.NET Core Web/Service development framework - Core library for Mixcore CMS</Description>
19+
<PackageLicenseExpression>AGPL-3.0-only</PackageLicenseExpression>
20+
<PackageProjectUrl>https://github.com/mixcore/mix.heart</PackageProjectUrl>
21+
<RepositoryUrl>https://github.com/mixcore/mix.heart</RepositoryUrl>
22+
<RepositoryType>git</RepositoryType>
23+
<PackageTags>framework;dotnet;aspnetcore;mixcore;repository-pattern;entity-framework</PackageTags>
24+
<PackageReadmeFile>README.md</PackageReadmeFile>
25+
26+
<!-- Suppress common warnings -->
27+
<NoWarn>$(NoWarn);CS1591</NoWarn>
28+
</PropertyGroup>
29+
30+
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
31+
<DebugType>embedded</DebugType>
32+
<DebugSymbols>true</DebugSymbols>
33+
</PropertyGroup>
34+
35+
<ItemGroup>
36+
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
37+
</ItemGroup>
38+
</Project>

0 commit comments

Comments
 (0)