-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squash history to allow smaller clone size
- Loading branch information
Showing
1,416 changed files
with
183,932 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"image": "mcr.microsoft.com/devcontainers/universal:2", | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"version": "latest" | ||
}, | ||
"ghcr.io/devcontainers/features/github-cli:1": { | ||
"version": "latest" | ||
}, | ||
"ghcr.io/devcontainers/features/git-lfs:1": { | ||
"version": "latest" | ||
}, | ||
"ghcr.io/devcontainers/features/sshd:1": { | ||
"version": "latest" | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
*.sln merge=binary | ||
*.csproj merge=binary | ||
*.vbproj merge=binary | ||
*.vcxproj merge=binary | ||
*.vcproj merge=binary | ||
*.dbproj merge=binary | ||
*.fsproj merge=binary | ||
*.lsproj merge=binary | ||
*.wixproj merge=binary | ||
*.modelproj merge=binary | ||
*.sqlproj merge=binary | ||
*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain | ||
|
||
DisCatSharp.Docs/obj/.cache/build/** binary | ||
DisCatSharp.Docs/obj/.cache/build/**/** binary | ||
DisCatSharp.Docs/obj/.cache/build/**/* binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
* @Aiko-IT-Systems/discatsharp @NyuwBot @Lulalaby | ||
|
||
/DisCatSharp.Common/ @Lulalaby | ||
/DisCatSharp.Docs/dcs/ @Lulalaby | ||
/DisCatSharp.Docs/docfx.json @Lulalaby | ||
|
||
*.yml @Lulalaby | ||
*.ps1 @Lulalaby | ||
|
||
*.targets @Lulalaby | ||
LICENSE.md @Lulalaby | ||
README.md @Lulalaby | ||
|
||
/.github/ @Lulalaby @NyuwBot | ||
|
||
#/DisCatSharp.Configuration/ @JBraunsmaJr | ||
#/DisCatSharp.Configuration.Tests/ @JBraunsmaJr | ||
#/DisCatSharp.Hosting/ @JBraunsmaJr | ||
#/DisCatSharp.Hosting.DependencyInjection/ @JBraunsmaJr | ||
#/DisCatSharp.Tests/ @JBraunsmaJr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Bug Report | ||
description: Report broken or incorrect behaviour | ||
labels: unconfirmed bug | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: > | ||
Thanks for taking the time to fill out a bug. If you want real-time support, | ||
consider joining our Discord at DISCORD_INVITE instead. | ||
Please note that this form is for bugs only! | ||
- type: input | ||
attributes: | ||
label: Summary | ||
description: A simple summary of your bug report | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Reproduction Steps | ||
description: > | ||
What you did to make it happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Minimal Reproducible Code | ||
description: > | ||
A short snippet of code that showcases the bug. | ||
render: python | ||
- type: textarea | ||
attributes: | ||
label: Expected Results | ||
description: > | ||
What did you expect to happen? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Actual Results | ||
description: > | ||
What actually happened? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: System Information | ||
description: > | ||
Send us all the information you can about your system. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Checklist | ||
description: > | ||
Let's make sure you've properly done due diligence when reporting this issue! | ||
options: | ||
- label: I have searched the open issues for duplicates. | ||
required: true | ||
- label: I have shown the entire traceback, if possible. | ||
required: true | ||
- label: I have removed my token from display, if visible. | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Additional Context | ||
description: If there is anything else to say, please do so here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Discord Server | ||
about: Use our official Discord server to ask for help | ||
url: https://discord.gg/Uk7sggRBTm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Feature Request | ||
description: Suggest a feature for this library | ||
labels: feature request | ||
body: | ||
- type: input | ||
attributes: | ||
label: Summary | ||
description: > | ||
A short summary of what your feature request is. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: The Problem | ||
description: > | ||
What problem is your feature trying to solve? What becomes easier or possible | ||
when this feature is implemented? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: The Ideal Solution | ||
description: > | ||
What is your ideal solution to the problem? What would you like this feature to | ||
do? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: The Current Solution | ||
description: > | ||
What is the current solution to the problem, if any? | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Additional Context | ||
description: If there is anything else to say, please do so here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| > 10.5 | :white_check_mark: | | ||
| > 10.4 | :white_check_mark: | | ||
| < 10.4 | :x: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you discover a security vulnerability, we would like to know about it so we can take steps to address it as quickly as possible. Please report any security vulnerabilities to us by writing an email to [[email protected]](mailto:[email protected]) or by opening a ticket in our Discord server. | ||
|
||
## Responsible Disclosure | ||
|
||
We believe in responsible disclosure. Please give us adequate time to investigate and mitigate an issue before publicly disclosing any security vulnerabilities. This helps protect our users and ensure the issue is properly addressed. | ||
|
||
## Enforcement | ||
|
||
We take security seriously at DisCatSharp. Attempts to flood or overload our systems, or any other form of attack, will not be tolerated and will be met with strict enforcement actions, including potential bans. | ||
|
||
## Acknowledgment | ||
|
||
By contributing to this project, you agree to abide by this Security Policy and understand that violations may result in enforcement actions, including bans or removal from the community. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
organization: aitsys | ||
defaultSticker: clo7y02ns18620gk0hnzuroa8 | ||
stickers: | ||
- | ||
id: clo7y02ns18620gk0hnzuroa8 | ||
alias: dcs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: 1 | ||
labels: | ||
- label: "ci/cd" | ||
files: | ||
- ".github/.*" | ||
- ".github/workflows/.*" | ||
- label: "branding" | ||
files: | ||
- ".*.jpg" | ||
- ".*.png" | ||
- ".*.svg" | ||
- ".*.jpeg" | ||
- ".*.gif" | ||
- ".*.css" | ||
- label: "documentation" | ||
files: | ||
- "DisCatSharp.Docs/.*" | ||
- label: "experimental" | ||
title: ^[Exp]:.* | ||
- label: "dependencies" | ||
files: | ||
- ".*.csproj" | ||
- ".*.sln" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Description | ||
|
||
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. | ||
|
||
<!-- If this relates to an aitsys.dev issue: | ||
Fixes {TXXX} (aitsys.dev issue) | ||
--> | ||
|
||
## Type of change | ||
|
||
Please delete options that are not relevant. | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
# How Has This Been Tested? | ||
|
||
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration | ||
|
||
- [ ] Test A | ||
- [ ] Test B | ||
|
||
**Test Configuration**: | ||
* Firmware version: | ||
* Hardware: | ||
* Toolchain: | ||
* SDK: | ||
|
||
# Checklist: | ||
|
||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my own code | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] My changes generate no new warnings | ||
- [ ] Any dependent changes have been merged and published in downstream modules | ||
|
||
@Aiko-IT-Systems/discatsharp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: "Build Library" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "DisCatSharp.Docs/**" | ||
- "DisCatSharp.Archive/**" | ||
- "DisCatSharp.Tools/**" | ||
- "DisCatSharp.Logos/**" | ||
- "DisCatSharp.Attributes/**" | ||
- "*.md" | ||
- "*.json" | ||
pull_request: | ||
merge_group: | ||
workflow_dispatch: | ||
|
||
env: | ||
DOTNET_NOLOGO: true | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
DOTNET_CLI_TELEMETRY_OPTOUT: true | ||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: true | ||
|
||
jobs: | ||
build: | ||
timeout-minutes: 15 | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
name: Build library | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
8.0.301 | ||
7.0.404 | ||
- name: Restore dependencies | ||
run: | | ||
dotnet restore --no-cache -f -v minimal DisCatSharp.sln | ||
dotnet restore --no-cache -f -v minimal DisCatSharp.Tools/DisCatSharp.Tools.sln | ||
- name: Build library | ||
run: dotnet build -c Release -v minimal --no-restore DisCatSharp.sln | ||
- name: Build tools | ||
run: dotnet build -c Release -v minimal --no-restore DisCatSharp.Tools/DisCatSharp.Tools.sln | ||
- name: Test library | ||
run: dotnet test -v minimal -c Release --no-restore --no-build DisCatSharp.sln | ||
pack: | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-latest | ||
name: "Pack and Artifact" | ||
needs: build | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
8.0.301 | ||
7.0.404 | ||
- name: Restore Packages | ||
run: dotnet restore --no-cache -f -v minimal DisCatSharp.sln | ||
- name: Build library | ||
run: dotnet build -c Release -v minimal --no-restore DisCatSharp.sln | ||
- name: Publish library | ||
run: dotnet pack -c Release -v minimal --no-build --no-restore --include-symbols --include-source -o ./artifacts DisCatSharp.sln | ||
- name: Upload artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: DisCatSharp | ||
path: ./artifacts/ |
Oops, something went wrong.