Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# clang-format configuration for visualization.matrix
# Based on LLVM style with custom adjustments

BasedOnStyle: LLVM
IndentWidth: 2
TabWidth: 2
UseTab: Never
BreakBeforeBraces: Allman
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
IndentCaseLabels: true
ColumnLimit: 100
AllowAllParametersOfDeclarationOnNextLine: true
AllowAllArgumentsOnNextLine: true
SpacesBeforeTrailingComments: 2
Cpp11BracedListStyle: true
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
ContinuationIndentWidth: 2
BinPackParameters: false
BinPackArguments: false
PenaltyBreakBeforeFirstCallParameter: 10000
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000
PenaltyReturnTypeOnItsOwnLine: 200

# C++ specific settings
Standard: Cpp17
DerivePointerAlignment: true
PointerAlignment: Right
ReferenceAlignment: Right

# OpenGL/GLSL specific
# Keep GLSL shader code formatting simple
69 changes: 69 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Git directory
.git
.gitignore

# Build artifacts
build/
*.o
*.a
*.so
*.dll
*.exe
*.lib
*.dylib

# CMake files
CMakeCache.txt
CMakeFiles/

# IDE specific files
.idea/
.vscode/
*.swp
*.swo
*~

# OS specific files
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db

# Documentation (not needed in image)
*.md
LICENSE*
CHANGELOG*
README*
CONTRIBUTING*
CODE_OF_CONDUCT*
SECURITY*
DEPENDENCY_POLICY*

# GitHub specific files
.github/
.gitattributes

# Editor files
*.project
*.cproject
.classpath
.settings/

# Debian build files
debian/
*.deb

# Kodi specific
xbmc/
kodi/

# Addon output
visualization.matrix/addon.xml
*.zip

# Logs
*.log

# Temporary files
tmp/
temp/
19 changes: 19 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Code Owners for visualization.matrix

# Default owners for the entire repository
* @MarcelRaschke

# Specific paths
/src/ @MarcelRaschke
/lib/ @MarcelRaschke
/visualization.matrix/ @MarcelRaschke

# Documentation
*.md @MarcelRaschke

# GitHub Workflows
.github/workflows/ @MarcelRaschke

# Security files
SECURITY.md @MarcelRaschke
CONTRIBUTING.md @MarcelRaschke
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Bug Report
about: Create a report to help us improve
labels: bug
assignees: ''
---

### πŸ› Bug Description
A clear and concise description of what the bug is.

### πŸ” Steps to Reproduce
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

### πŸ“‹ Expected Behavior
A clear description of what you expected to happen.

### πŸ–₯️ Environment
- **Kodi Version**: [e.g., 20.0]
- **Operating System**: [e.g., Ubuntu 22.04, Windows 11]
- **Addon Version**: [e.g., 1.0.0]
- **Hardware**: [e.g., NVIDIA GTX 1080, Intel i7-12700K]

### πŸ“ Additional Context
Add any other context about the problem here (e.g., logs, screenshots).

### πŸ“Ž Attachments
- [ ] Screenshot
- [ ] Log file (`kodi.log`)
- [ ] Crash report

---

**Note**: For **security vulnerabilities**, please follow the instructions in **[SECURITY.md](SECURITY.md)**.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Feature Request
about: Suggest an idea for this project
labels: enhancement
assignees: ''
---

### ✨ Feature Description
A clear and concise description of the feature you would like to see.

### 🎯 Use Case
Describe the **use case** for this feature. Why is it needed?

### πŸ’‘ Proposed Solution
If you have a specific implementation in mind, describe it here.

### πŸ“‹ Alternatives Considered
Have you considered any alternative solutions or workarounds?

### πŸ“Ž Additional Context
Add any other context or screenshots about the feature request here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/security_vulnerability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Security Vulnerability Report
about: Report a security vulnerability in visualization.matrix
labels: security, vulnerability
assignees: ''
---

**⚠️ DO NOT USE THIS FORM FOR PUBLIC SECURITY VULNERABILITIES!**

If you have discovered a **security vulnerability**, please **do not** open a public issue.
Instead, follow the instructions in **[SECURITY.md](https://github.com/MarcelRaschke/visualization.matrix/blob/master/SECURITY.md)**.

---

### For Non-Security Bugs

If this is a **non-security bug**, please use the [Bug Report](https://github.com/MarcelRaschke/visualization.matrix/issues/new/choose) template instead.
43 changes: 43 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## πŸ“Œ Pull Request Description

**Please fill out the following sections to help reviewers understand your changes.**

---

### βœ… What does this PR do?
*A clear and concise description of the changes.*

### 🎯 Why is this change needed?
*Explain the motivation and context for this PR.*

### πŸ”— Related Issues or PRs
*Link to any related issues (e.g., `Closes #123`) or pull requests.*

---

## πŸ“ Checklist

- [ ] **Code**: Follows the [coding standards](CONTRIBUTING.md#coding-standards).
- [ ] **Tests**: All existing tests pass (if applicable).
- [ ] **Security**: No hardcoded secrets or sensitive data.
- [ ] **Documentation**: Updated (if applicable).
- [ ] **Build**: Successfully builds on Linux/Windows.

---

## πŸ›‘οΈ Security Considerations

- [ ] This PR does **not** introduce new dependencies.
- [ ] This PR does **not** modify security-critical code (e.g., authentication, encryption).
- [ ] This PR has been **scanned** with:
- [ ] CodeQL
- [ ] clang-tidy
- [ ] cppcheck
- [ ] Trivy

If this PR introduces **security-relevant changes**, please describe them below:

---

## πŸ“Ž Additional Context
*Add any other context, screenshots, or references here.*
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "security"

- package-ecosystem: "cmake"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "security"
60 changes: 60 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# GitHub Labeler Configuration

# Labels to apply based on file paths
labels:
- name: "security"
color: "d73a4a"
description: "Security-related changes or vulnerabilities"
files:
- SECURITY.md
- .github/workflows/codeql.yml
- .github/workflows/trivy.yml
- .github/workflows/fuzzing.yml

- name: "documentation"
color: "0075ca"
description: "Changes to documentation"
files:
- README.md
- CONTRIBUTING.md
- LICENSE.md
- .github/ISSUE_TEMPLATE/*
- .github/PULL_REQUEST_TEMPLATE.md

- name: "ci/cd"
color: "000000"
description: "Changes to CI/CD pipelines"
files:
- .github/workflows/*
- azure-pipelines.yml
- .travis.yml
- appveyor.yml

- name: "bug"
color: "d73a4a"
description: "Bug fixes"
files:
- src/*
- lib/*

- name: "enhancement"
color: "a2eeef"
description: "New features or improvements"
files:
- src/*
- lib/*

- name: "dependencies"
color: "0366d6"
description: "Dependency updates"
files:
- CMakeLists.txt
- depends/*

- name: "build"
color: "000000"
description: "Build-related changes"
files:
- CMakeLists.txt
- Find*.cmake
- debian/*
Loading
Loading