Skip to content

Commit 060c690

Browse files
authored
Merge pull request #33 from CodeBeamOrg/dev
Merge Dev To Master
2 parents 4229f6d + 3db4d38 commit 060c690

1,495 files changed

Lines changed: 136575 additions & 106 deletions

File tree

Some content is hidden

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

.docker/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# BUILD
2+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
3+
WORKDIR /src
4+
5+
ENV CI=true
6+
7+
COPY docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm/*.csproj CodeBeam.Website/
8+
COPY docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.Client/*.csproj CodeBeam.Website.Client/
9+
10+
RUN dotnet restore CodeBeam.Website/CodeBeam.UltimateAuth.Docs.Wasm.csproj
11+
12+
COPY . .
13+
14+
RUN dotnet publish docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.csproj \
15+
-c Release -o /app/publish
16+
17+
# RUNTIME
18+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
19+
WORKDIR /app
20+
COPY --from=build /app/publish .
21+
22+
EXPOSE 8080
23+
ENTRYPOINT ["dotnet", "CodeBeam.UltimateAuth.Docs.Wasm.dll"]

.docker/docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
services:
2+
ultimateauth:
3+
build:
4+
context: ..
5+
dockerfile: .docker/Dockerfile
6+
container_name: ultimateauth
7+
restart: always
8+
ports:
9+
- "8081:8080"
10+
networks:
11+
- edge
12+
13+
networks:
14+
edge:
15+
external: true

.github/FUNDING.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# These are supported funding model platforms
2+
3+
github: CodeBeamOrg
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12+
polar: # Replace with a single Polar username
13+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14+
thanks_dev: # Replace with a single thanks.dev username
15+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: "🐞 Bug Report"
3+
about: Report a reproducible issue to help us improve UltimateAuth
4+
title: "[Bug]: "
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
## 🐞 Bug Description
10+
A clear and concise description of the issue.
11+
12+
13+
14+
## 📌 Steps to Reproduce
15+
1. Go to '...'
16+
2. Call method '...'
17+
3. Observe behavior '...'
18+
19+
20+
21+
## 🧪 Expected Behavior
22+
What should have happened?
23+
24+
25+
## 📷 Screenshots / Logs (if applicable)
26+
Paste stack traces, console logs, or screenshots.
27+
28+
29+
30+
## 🧩 Environment
31+
- UltimateAuth version:
32+
- .NET version:
33+
- Platform: (Blazor / MAUI / ASP.NET Core / Other)
34+
- OS:
35+
36+
37+
38+
## ✔ Additional Context
39+
Add any other relevant context about the problem here.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: "🧠 Design Proposal"
3+
about: Propose a high-level design for a new component, flow, or architectural change
4+
title: "[Design]: "
5+
labels: design
6+
assignees: ""
7+
---
8+
9+
## 🧠 Summary
10+
Briefly describe the concept or design you're proposing.
11+
12+
---
13+
14+
## 🎯 Goals
15+
What problem does this design solve?
16+
What are the objectives?
17+
18+
---
19+
20+
## 🧩 Proposed Architecture
21+
Describe how this feature or change should work:
22+
- Components involved
23+
- Flow diagrams (optional)
24+
- Key abstractions
25+
- Input/output expectations
26+
27+
---
28+
29+
## 🧪 Alternatives Considered
30+
List alternative designs and why they were not chosen.
31+
32+
---
33+
34+
## 🔥 Risks / Trade-offs
35+
Any potential drawbacks or complexities?
36+
37+
---
38+
39+
## 🔗 Related Issues
40+
(Optional) Provide related bugs, features, or discussions.
41+
42+
---
43+
44+
## ✔ Additional Notes
45+
Add anything else that may help the maintainers evaluate this proposal.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: "✨ Feature Request"
3+
about: Suggest a new idea or enhancement for UltimateAuth
4+
title: "[Feature]: "
5+
labels: enhancement
6+
assignees: ""
7+
---
8+
9+
## ✨ Feature Description
10+
Describe the feature you'd like to see.
11+
12+
---
13+
14+
## 💡 Why Is This Needed?
15+
Explain the problem this feature solves or the value it provides.
16+
17+
---
18+
19+
## 🛠 Suggested Implementation
20+
If you have any implementation ideas, describe them:
21+
- Proposed API shape
22+
- Example usage
23+
- Integration points
24+
25+
---
26+
27+
## 🔗 Related Issues / Discussions
28+
(Optional) Link any related issues or design proposals.
29+
30+
---
31+
32+
## ✔ Additional Notes
33+
Anything else we should know?

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# 🚀 Pull Request
2+
3+
Thank you for contributing to **UltimateAuth**!
4+
Please complete the following checklist to help us review your PR effectively.
5+
6+
---
7+
8+
## 📘 Summary
9+
Describe what this PR does and why it’s needed.
10+
11+
---
12+
13+
## 🔍 Details
14+
Explain any important implementation details, design decisions, or considerations.
15+
16+
---
17+
18+
## 🧩 Related Issues
19+
Link any related issues:
20+
<!-- Example: Fixes #42 -->
21+
22+
---
23+
24+
## 🛠 Changes
25+
- [ ] New feature
26+
- [ ] Bug fix
27+
- [ ] Documentation
28+
- [ ] Refactoring
29+
- [ ] Breaking change
30+
31+
---
32+
33+
## ✔ Checklist
34+
- [ ] I’ve tested my changes
35+
- [ ] I’ve added comments or documentation where needed
36+
- [ ] I’ve followed the project’s coding conventions
37+
- [ ] I’ve validated that the API surface is stable

.github/codecov.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
comment:
2+
require_changes: yes
3+
4+
coverage:
5+
status:
6+
project:
7+
default:
8+
target: 50%
9+
threshold: 5%
10+
patch:
11+
default:
12+
target: 20%
13+
threshold: 0%

.github/workflows/deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy UltimateAuth
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Deploy via SSH
15+
uses: appleboy/ssh-action@v1.0.3
16+
with:
17+
host: ${{ secrets.SERVER_HOST }}
18+
username: ${{ secrets.SERVER_USER }}
19+
key: ${{ secrets.SSH_PRIVATE_KEY }}
20+
script: |
21+
cd ~/apps/UltimateAuth
22+
git pull origin master
23+
cd .docker
24+
docker compose down
25+
docker compose up -d --build
26+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: UltimateAuth CI
2+
3+
on:
4+
push:
5+
branches: [ dev ]
6+
pull_request:
7+
branches: [ dev ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build-test-coverage:
12+
name: Build, Test & Coverage
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
dotnet-version: ['8.0.x', '9.0.x', '10.0.x']
19+
20+
steps:
21+
- name: 📥 Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: 🧰 Setup .NET SDK ${{ matrix.dotnet-version }}
25+
uses: actions/setup-dotnet@v4
26+
with:
27+
dotnet-version: ${{ matrix.dotnet-version }}
28+
29+
- name: 📦 Restore dependencies
30+
run: dotnet restore
31+
32+
- name: 🏗️ Build
33+
run: dotnet build --configuration Release --no-restore
34+
35+
- name: 🧪 Test with coverage
36+
run: |
37+
dotnet test \
38+
--configuration Release \
39+
--no-build \
40+
--collect:"XPlat Code Coverage"
41+
42+
- name: Upload coverage reports to Codecov
43+
uses: codecov/codecov-action@v5
44+
with:
45+
token: ${{ secrets.CODECOV_TOKEN }}
46+
slug: CodeBeamOrg/UltimateAuth

0 commit comments

Comments
 (0)