Thank you for your interest in contributing to this project! This document explains how to contribute and what you need to know about our AGPL license.
This project uses the GNU Affero General Public License v3 (AGPL-3.0-or-later).
-
Your contributions are also AGPL-3.0
- Any code you submit is automatically licensed under the AGPL.
- There is nothing special you need to do — licensing is applied automatically.
-
If you use our code in a service, you must share improvements
- If you deploy improvements in a service, you must make the source available to users.
- This is the core of AGPL: improvements benefit the community.
-
License compatibility
- Our dependencies (MIT, BSD, ISC, Apache-2.0 dev-only) are compatible.
- Your new code will be AGPL, which is compatible with those licenses.
- ✅ Transparency: Service source code is visible to users.
- ✅ Community: Improvements benefit everyone.
- ✅ Trust: Users can audit the code.
- ✅ Open philosophy: Reflects our commitment to open-source tournaments.
git clone https://github.com/your-username/wesnoth_tournament_manager.git
cd wesnoth_tournament_managergit checkout -b feature/your-feature-name
# or for bug fixes:
# git checkout -b fix/brief-bug-description# Edit files and commit
git commit -m "Clear description of changes"git push origin feature/your-feature-nameThen open a Pull Request on GitHub.
Use clear commit messages in English or Spanish:
- ✅ "Fix avatar display on user profile page"
- ✅ "Add AGPL license disclaimer to footer"
- ❌ "fix stuff"
- ❌ "asdfgh"
-
Backend (TypeScript / Node.js)
- Use strict TypeScript.
- Follow the existing code style.
- Add explicit types where needed.
-
Frontend (React / TypeScript)
- Use functional components.
- Prefer React hooks.
- Keep components small and reusable.
- Add stable
data-help-idhooks to new or functionally changed controls so Wiki Help can capture and document them without relying on translated text or CSS structure. - Use semantic
action-,field-, andoption-prefixes for controls, and reserveregion-for large documentation areas that need an independent screenshot.
-
Tests
- Include tests for critical new code.
- Ensure tests pass locally.
- Update README.md if configuration changes.
- Document new APIs.
- Write all source-code comments/JSDoc and Markdown documentation in English.
- Treat comments/JSDoc in the source code as the detailed documentation for functions and implementation behavior.
- Keep Markdown documentation high-level and stable: describe architecture, responsibilities, configuration, workflows, and policies without duplicating volatile code details.
- Add concise comments for complex code, focusing on intent and non-obvious behavior.
Please use GitHub Issues and include:
**Description:**
[Clear description of the bug]
**Steps to reproduce:**
1.
2.
3.
**Expected result:**
[What should happen]
**Actual result:**
[What happens]
**Environment:**
- OS:
- Node.js version:
- Browser:Open an Issue and include:
**Improvement description:**
[What you want to add or change]
**Why is it useful?**
[How it benefits the project]
**Possible implementation:**
[Ideas on how to implement it]- ARCHITECTURE.md describes the components, the rules that must not change silently, and the release workflow.
- README.md explains how to run the backend and frontend locally.
- Feature behavior for players and staff is documented in the in-app wiki.
- Code follows project style
- Commit messages are clear
-
npm run verifypasses (the pre-push hook runs it; see TESTING.md); integration tests follow TESTING.md - No unnecessary console.log() calls
- No unused dependencies
- Documentation updated
- You understand your code will be AGPL-3.0
- ARCHITECTURE.md - Components, rules, and release workflow
- TESTING.md - Verification baseline and integration-test constraints
- AGENTS.md - Repository engineering policies
- LICENSE - Full AGPL-3.0 text
- README.md - Project overview
- Open an Issue for questions about the code.
- Check existing issues before opening a new one.
- Be respectful and constructive in discussions.
Thank you for considering contributing to this project! Every contribution, no matter the size, helps improve the software for the entire Wesnoth community.
Legal Note: By contributing you agree that your code will be licensed under AGPL-3.0-or-later, the same as the rest of the project.