Skip to content

Commit f3ffcc7

Browse files
LulalabyOoLunarAurosChibi310Horstexplorer
committed
Squashed DisCatSharp's history due to it's size
Backup at https://github.com/Aiko-IT-Systems/DisCatSharp.Backup Co-Authored-By: Lunar Starstrum <[email protected]> Co-Authored-By: Auros Nexus <[email protected]> Co-Authored-By: Christopher Medina <[email protected]> Co-Authored-By: Horstexplorer <[email protected]> Co-Authored-By: J_M_Lutra <[email protected]> Co-Authored-By: Julie Johnston <[email protected]> Co-Authored-By: MightyNiko <[email protected]> Co-Authored-By: Kristalli <[email protected]> Co-Authored-By: Max Tuzov <[email protected]> Co-Authored-By: Badger <[email protected]> Co-Authored-By: Nyuw~ <[email protected]> Co-Authored-By: Stefan <[email protected]> Co-Authored-By: Fabi <[email protected]> Co-Authored-By: Geferon <[email protected]> Co-Authored-By: rand <[email protected]> Co-Authored-By: Benjamin K. <[email protected]> Co-Authored-By: mccoder.py <[email protected]> Co-Authored-By: Yoni Lerner <[email protected]> Co-Authored-By: JustaSqu1d <[email protected]> Co-Authored-By: Toπ <[email protected]> Co-Authored-By: BloodDragooner <[email protected]>
0 parents  commit f3ffcc7

File tree

1,416 files changed

+183932
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,416 files changed

+183932
-0
lines changed

Diff for: .devcontainer/devcontainer.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/universal:2",
3+
"features": {
4+
"ghcr.io/devcontainers/features/common-utils:2": {
5+
"version": "latest"
6+
},
7+
"ghcr.io/devcontainers/features/github-cli:1": {
8+
"version": "latest"
9+
},
10+
"ghcr.io/devcontainers/features/git-lfs:1": {
11+
"version": "latest"
12+
},
13+
"ghcr.io/devcontainers/features/sshd:1": {
14+
"version": "latest"
15+
}
16+
}
17+
}

Diff for: .editorconfig

+3,957
Large diffs are not rendered by default.

Diff for: .gitattributes

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
*.sln merge=binary
26+
*.csproj merge=binary
27+
*.vbproj merge=binary
28+
*.vcxproj merge=binary
29+
*.vcproj merge=binary
30+
*.dbproj merge=binary
31+
*.fsproj merge=binary
32+
*.lsproj merge=binary
33+
*.wixproj merge=binary
34+
*.modelproj merge=binary
35+
*.sqlproj merge=binary
36+
*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain
64+
65+
DisCatSharp.Docs/obj/.cache/build/** binary
66+
DisCatSharp.Docs/obj/.cache/build/**/** binary
67+
DisCatSharp.Docs/obj/.cache/build/**/* binary

Diff for: .github/CODEOWNERS

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
* @Aiko-IT-Systems/discatsharp @NyuwBot @Lulalaby
2+
3+
/DisCatSharp.Common/ @Lulalaby
4+
/DisCatSharp.Docs/dcs/ @Lulalaby
5+
/DisCatSharp.Docs/docfx.json @Lulalaby
6+
7+
*.yml @Lulalaby
8+
*.ps1 @Lulalaby
9+
10+
*.targets @Lulalaby
11+
LICENSE.md @Lulalaby
12+
README.md @Lulalaby
13+
14+
/.github/ @Lulalaby @NyuwBot
15+
16+
#/DisCatSharp.Configuration/ @JBraunsmaJr
17+
#/DisCatSharp.Configuration.Tests/ @JBraunsmaJr
18+
#/DisCatSharp.Hosting/ @JBraunsmaJr
19+
#/DisCatSharp.Hosting.DependencyInjection/ @JBraunsmaJr
20+
#/DisCatSharp.Tests/ @JBraunsmaJr

Diff for: .github/ISSUE_TEMPLATE/bug_report.yml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Bug Report
2+
description: Report broken or incorrect behaviour
3+
labels: unconfirmed bug
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: >
8+
Thanks for taking the time to fill out a bug. If you want real-time support,
9+
consider joining our Discord at DISCORD_INVITE instead.
10+
11+
Please note that this form is for bugs only!
12+
- type: input
13+
attributes:
14+
label: Summary
15+
description: A simple summary of your bug report
16+
validations:
17+
required: true
18+
- type: textarea
19+
attributes:
20+
label: Reproduction Steps
21+
description: >
22+
What you did to make it happen.
23+
validations:
24+
required: true
25+
- type: textarea
26+
attributes:
27+
label: Minimal Reproducible Code
28+
description: >
29+
A short snippet of code that showcases the bug.
30+
render: python
31+
- type: textarea
32+
attributes:
33+
label: Expected Results
34+
description: >
35+
What did you expect to happen?
36+
validations:
37+
required: true
38+
- type: textarea
39+
attributes:
40+
label: Actual Results
41+
description: >
42+
What actually happened?
43+
validations:
44+
required: true
45+
- type: textarea
46+
attributes:
47+
label: System Information
48+
description: >
49+
Send us all the information you can about your system.
50+
validations:
51+
required: true
52+
- type: checkboxes
53+
attributes:
54+
label: Checklist
55+
description: >
56+
Let's make sure you've properly done due diligence when reporting this issue!
57+
options:
58+
- label: I have searched the open issues for duplicates.
59+
required: true
60+
- label: I have shown the entire traceback, if possible.
61+
required: true
62+
- label: I have removed my token from display, if visible.
63+
required: true
64+
- type: textarea
65+
attributes:
66+
label: Additional Context
67+
description: If there is anything else to say, please do so here.

Diff for: .github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Discord Server
4+
about: Use our official Discord server to ask for help
5+
url: https://discord.gg/Uk7sggRBTm

Diff for: .github/ISSUE_TEMPLATE/feature_request.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Feature Request
2+
description: Suggest a feature for this library
3+
labels: feature request
4+
body:
5+
- type: input
6+
attributes:
7+
label: Summary
8+
description: >
9+
A short summary of what your feature request is.
10+
validations:
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: The Problem
15+
description: >
16+
What problem is your feature trying to solve? What becomes easier or possible
17+
when this feature is implemented?
18+
validations:
19+
required: true
20+
- type: textarea
21+
attributes:
22+
label: The Ideal Solution
23+
description: >
24+
What is your ideal solution to the problem? What would you like this feature to
25+
do?
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: The Current Solution
31+
description: >
32+
What is the current solution to the problem, if any?
33+
validations:
34+
required: false
35+
- type: textarea
36+
attributes:
37+
label: Additional Context
38+
description: If there is anything else to say, please do so here.

Diff for: .github/SECURITY.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| > 10.5 | :white_check_mark: |
8+
| > 10.4 | :white_check_mark: |
9+
| < 10.4 | :x: |
10+
11+
## Reporting a Vulnerability
12+
13+
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.
14+
15+
## Responsible Disclosure
16+
17+
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.
18+
19+
## Enforcement
20+
21+
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.
22+
23+
## Acknowledgment
24+
25+
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.

Diff for: .github/holopin.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
organization: aitsys
2+
defaultSticker: clo7y02ns18620gk0hnzuroa8
3+
stickers:
4+
-
5+
id: clo7y02ns18620gk0hnzuroa8
6+
alias: dcs

Diff for: .github/labeler.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: 1
2+
labels:
3+
- label: "ci/cd"
4+
files:
5+
- ".github/.*"
6+
- ".github/workflows/.*"
7+
- label: "branding"
8+
files:
9+
- ".*.jpg"
10+
- ".*.png"
11+
- ".*.svg"
12+
- ".*.jpeg"
13+
- ".*.gif"
14+
- ".*.css"
15+
- label: "documentation"
16+
files:
17+
- "DisCatSharp.Docs/.*"
18+
- label: "experimental"
19+
title: ^[Exp]:.*
20+
- label: "dependencies"
21+
files:
22+
- ".*.csproj"
23+
- ".*.sln"

Diff for: .github/pull_request_template.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Description
2+
3+
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.
4+
5+
<!-- If this relates to an aitsys.dev issue:
6+
Fixes {TXXX} (aitsys.dev issue)
7+
-->
8+
9+
## Type of change
10+
11+
Please delete options that are not relevant.
12+
13+
- [ ] Bug fix (non-breaking change which fixes an issue)
14+
- [ ] New feature (non-breaking change which adds functionality)
15+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
16+
- [ ] This change requires a documentation update
17+
18+
# How Has This Been Tested?
19+
20+
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
21+
22+
- [ ] Test A
23+
- [ ] Test B
24+
25+
**Test Configuration**:
26+
* Firmware version:
27+
* Hardware:
28+
* Toolchain:
29+
* SDK:
30+
31+
# Checklist:
32+
33+
- [ ] My code follows the style guidelines of this project
34+
- [ ] I have performed a self-review of my own code
35+
- [ ] I have commented my code, particularly in hard-to-understand areas
36+
- [ ] I have made corresponding changes to the documentation
37+
- [ ] My changes generate no new warnings
38+
- [ ] Any dependent changes have been merged and published in downstream modules
39+
40+
@Aiko-IT-Systems/discatsharp

Diff for: .github/workflows/build.yml

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: "Build Library"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- "DisCatSharp.Docs/**"
9+
- "DisCatSharp.Archive/**"
10+
- "DisCatSharp.Tools/**"
11+
- "DisCatSharp.Logos/**"
12+
- "DisCatSharp.Attributes/**"
13+
- "*.md"
14+
- "*.json"
15+
pull_request:
16+
merge_group:
17+
workflow_dispatch:
18+
19+
env:
20+
DOTNET_NOLOGO: true
21+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
22+
DOTNET_CLI_TELEMETRY_OPTOUT: true
23+
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: true
24+
25+
jobs:
26+
build:
27+
timeout-minutes: 15
28+
strategy:
29+
matrix:
30+
os: [ubuntu-latest, windows-latest]
31+
runs-on: ${{ matrix.os }}
32+
name: Build library
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@v4
36+
- name: Setup .NET
37+
uses: actions/[email protected]
38+
with:
39+
dotnet-version: |
40+
8.0.301
41+
7.0.404
42+
- name: Restore dependencies
43+
run: |
44+
dotnet restore --no-cache -f -v minimal DisCatSharp.sln
45+
dotnet restore --no-cache -f -v minimal DisCatSharp.Tools/DisCatSharp.Tools.sln
46+
- name: Build library
47+
run: dotnet build -c Release -v minimal --no-restore DisCatSharp.sln
48+
- name: Build tools
49+
run: dotnet build -c Release -v minimal --no-restore DisCatSharp.Tools/DisCatSharp.Tools.sln
50+
- name: Test library
51+
run: dotnet test -v minimal -c Release --no-restore --no-build DisCatSharp.sln
52+
pack:
53+
timeout-minutes: 15
54+
runs-on: ubuntu-latest
55+
name: "Pack and Artifact"
56+
needs: build
57+
steps:
58+
- name: Checkout repository
59+
uses: actions/checkout@v4
60+
- name: Setup .NET
61+
uses: actions/[email protected]
62+
with:
63+
dotnet-version: |
64+
8.0.301
65+
7.0.404
66+
- name: Restore Packages
67+
run: dotnet restore --no-cache -f -v minimal DisCatSharp.sln
68+
- name: Build library
69+
run: dotnet build -c Release -v minimal --no-restore DisCatSharp.sln
70+
- name: Publish library
71+
run: dotnet pack -c Release -v minimal --no-build --no-restore --include-symbols --include-source -o ./artifacts DisCatSharp.sln
72+
- name: Upload artifacts
73+
uses: actions/[email protected]
74+
with:
75+
name: DisCatSharp
76+
path: ./artifacts/

0 commit comments

Comments
 (0)