Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
840ceb4
Update softprops/action-gh-release digest to f2352b9 (#41)
renovate[bot] Jul 30, 2025
4ddf97e
feat/auto_gen_certs (#42)
illyrius666 Jul 30, 2025
1cc16d3
refactor
illyrius666 Jul 30, 2025
f37d2ff
refactor utils get exec path
illyrius666 Jul 30, 2025
ad1e4c0
workflow cleanup
illyrius666 Jul 30, 2025
3be3e66
improve ci_cd
illyrius666 Jul 30, 2025
e80e505
more improvements
illyrius666 Jul 30, 2025
2ebca7f
added check branch to so we dont push to pr to main (only dev is allo…
illyrius666 Jul 30, 2025
f423525
Merge branch 'main' into dev
illyrius666 Jul 30, 2025
66146a9
woops
illyrius666 Jul 30, 2025
c0eacba
Update actions/download-artifact action to v5 (#44)
renovate[bot] Aug 6, 2025
f680a0f
fix security stuff
illyrius666 Aug 6, 2025
9cfb02a
Update softprops/action-gh-release digest to f82d31e (#45)
renovate[bot] Aug 6, 2025
c51ffeb
Update actions/cache action to v4.2.4 (#46)
renovate[bot] Aug 7, 2025
0c59f30
Update actions/checkout action to v4.3.0 (#47)
renovate[bot] Aug 11, 2025
534405e
Update softprops/action-gh-release digest to 126b1e7 (#49)
renovate[bot] Aug 18, 2025
c424037
Update actions/checkout action to v5 (#48)
renovate[bot] Aug 18, 2025
dd7fe6b
Update actions-rust-lang/setup-rust-toolchain digest to ab68452 (#50)
renovate[bot] Aug 23, 2025
93139aa
Update softprops/action-gh-release digest to fbadcc9 (#51)
renovate[bot] Aug 24, 2025
5fa1e4e
Update actions-rust-lang/setup-rust-toolchain digest to ac90e63 (#53)
renovate[bot] Aug 28, 2025
bd17dd8
Update actions-rust-lang/setup-rust-toolchain digest to 7659442 (#54)
renovate[bot] Aug 31, 2025
25af525
Update softprops/action-gh-release digest to 6cbd405 (#56)
renovate[bot] Sep 8, 2025
0246aaf
Update actions-rust-lang/setup-rust-toolchain digest to 1812c7d (#55)
renovate[bot] Sep 8, 2025
4f2220c
Update softprops/action-gh-release digest to 5d1b0b1 (#57)
renovate[bot] Sep 9, 2025
5e20ccb
Update softprops/action-gh-release digest to 19cd0bc (#58)
renovate[bot] Sep 11, 2025
a91655c
Update actions-rust-lang/setup-rust-toolchain digest to 2fcdc49 (#59)
renovate[bot] Sep 15, 2025
28902be
Update softprops/action-gh-release digest to 97d42c1 (#60)
renovate[bot] Sep 19, 2025
18e36eb
Update actions-rust-lang/setup-rust-toolchain digest to 69e4802 (#61)
renovate[bot] Sep 22, 2025
002ba09
Update actions-rust-lang/setup-rust-toolchain digest to 02be93d (#62)
renovate[bot] Sep 24, 2025
743f11d
Update actions/cache action to v4.3.0 (#63)
renovate[bot] Sep 24, 2025
6570dda
Merge branch 'main' into dev
illyrius666 Oct 2, 2025
a82d2e9
Update softprops/action-gh-release digest to 62c96d0 (#64)
renovate[bot] Oct 4, 2025
f60d09f
Update softprops/action-gh-release digest to f38efde (#66)
renovate[bot] Oct 7, 2025
8c7916f
Update actions-rust-lang/setup-rust-toolchain digest to 1780873 (#65)
renovate[bot] Oct 7, 2025
977baa8
Update softprops/action-gh-release digest to 6da8fa9 (#67)
renovate[bot] Oct 11, 2025
d0145cc
Update softprops/action-gh-release digest to 5434409 (#68)
renovate[bot] Oct 17, 2025
c17fece
Update softprops/action-gh-release digest to aa05f9d (#69)
renovate[bot] Oct 24, 2025
42f03d5
Update GitHub Artifact Actions (major) (#70)
renovate[bot] Oct 25, 2025
056a931
Update softprops/action-gh-release digest to 0adea5a (#71)
renovate[bot] Oct 31, 2025
85f0cc4
Add files via upload
illyrius666 Oct 31, 2025
85a900e
Delete .github/workflows/check.yml
illyrius666 Oct 31, 2025
4c9c353
Update softprops/action-gh-release digest to 00362be (#72)
renovate[bot] Nov 8, 2025
0f95934
Update softprops/action-gh-release digest to 5be0e66 (#73)
renovate[bot] Nov 9, 2025
d72d427
Refactor issue templates to improve structure and clarity
illyrius666 Nov 12, 2025
4a0bf78
Update documentation to use em dashes for argument descriptions
illyrius666 Nov 12, 2025
0578ce8
Update dependencies in Cargo.toml to latest versions
illyrius666 Nov 12, 2025
b4c1e5d
cleanup
illyrius666 Nov 12, 2025
1551cef
init
illyrius666 Nov 12, 2025
563e799
Refactor app.rs to improve clarity and update footer information
illyrius666 Nov 12, 2025
90151af
Enhance documentation with detailed comments and improve footer rende…
illyrius666 Nov 12, 2025
7ec4ae8
Refactor menu button logic in app.rs for improved readability and fun…
illyrius666 Nov 12, 2025
a47d1b6
Refactor authentication logic in app.rs and move footer rendering to …
illyrius666 Nov 12, 2025
badfe9f
Clear username on logout and during app initialization if persist_use…
illyrius666 Nov 12, 2025
fdc1806
Refactor app.rs to use a separate menu component and improve footer r…
illyrius666 Nov 12, 2025
3f4f2c0
Refactor authentication flow by introducing LoginForm and AuthService…
illyrius666 Nov 12, 2025
bf468a8
Enhance authentication and login form components with detailed docume…
illyrius666 Nov 12, 2025
c8851f2
Refactor app.rs to use crate-level imports for components and services
illyrius666 Nov 12, 2025
a052dcf
Refactor app.rs and lib.rs to use crate-level imports for components …
illyrius666 Nov 12, 2025
47ee9fd
Refactor App struct to replace persist_username with current_username…
illyrius666 Nov 12, 2025
1678574
setup async oauth
illyrius666 Nov 12, 2025
f202445
Update actions/checkout action to v5.0.1 (#74)
renovate[bot] Nov 18, 2025
c29d94a
Update actions/checkout action to v6 (#75)
renovate[bot] Nov 20, 2025
bc404f4
Update actions-rust-lang/setup-rust-toolchain digest to ca4a643 (#76)
renovate[bot] Nov 24, 2025
2e15555
Update softprops/action-gh-release digest to a06a81a (#77)
renovate[bot] Dec 1, 2025
d7b835d
Update actions-rust-lang/setup-rust-toolchain digest to b598bed (#78)
renovate[bot] Dec 1, 2025
614ee8a
Update actions/checkout action to v6.0.1 (#79)
renovate[bot] Dec 3, 2025
47014e1
Implement OAuth2 authentication flow with OAuthService struct
illyrius666 Dec 5, 2025
3f46d56
Remove unused code and clean up oauth.rs
illyrius666 Dec 5, 2025
a81f308
Update dependencies and add user info fetching to OAuthService
illyrius666 Dec 5, 2025
b16825c
Refactor handle_login function to remove async implementation and add…
illyrius666 Dec 5, 2025
74b662b
Remove webbrowser and tokio dependencies from Cargo.toml
illyrius666 Dec 5, 2025
01ba785
+
illyrius666 Dec 5, 2025
12fc76b
Update softprops/action-gh-release digest to 60cfd9a (#80)
renovate[bot] Dec 7, 2025
2693af4
Update actions/cache action to v5 (#81)
renovate[bot] Dec 12, 2025
4f926a0
Update actions/cache action to v5.0.1 (#82)
renovate[bot] Dec 12, 2025
27b382e
Update GitHub Artifact Actions (major) (#83)
renovate[bot] Dec 13, 2025
535f391
Remove unused Database module and related references from app.rs and …
illyrius666 Dec 17, 2025
f51c570
Update softprops/action-gh-release digest to 5122b4e (#84)
renovate[bot] Dec 20, 2025
81032ef
Update actions-rust-lang/setup-rust-toolchain digest to 806aa7d (#85)
renovate[bot] Dec 25, 2025
068d6b0
Update Rust crate reqwest to 0.13.0 (#86)
renovate[bot] Dec 30, 2025
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
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Bug Report
description: File a bug report
labels: [ Bug ]
type: "Bug"
assignees: [ "illyrius666" ]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill this out!
- type: textarea
id: how
attributes:
label: Problem
description: Please give a text description of how you reached the problem
Expand All @@ -19,23 +19,20 @@ body:
validations:
required: true
- type: textarea
id: what
attributes:
label: Solution (if any)
description: Explain where you think the problem comes from (optional)
placeholder: The code to place a is missing b and c...
validations:
required: false
- type: input
id: version
attributes:
label: Version
description: What version are you running?
placeholder: DO NOT SAY "LATEST"
validations:
required: true
- type: input
id: logs
attributes:
label: Log
description: Paste a full log. Always use [Pastebin](https://pastebin.com/). Must not be a crash report. Must be a full log. Must not be a screenshot of a log.
Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Community Support
url: https://discord.gg/CWy6JxNXP4
about: Please ask and answer questions here.
# contact_links:
# - name: Community Support
# url: https://discord.gg/CWy6JxNXP4
# about: Please ask and answer questions here.
18 changes: 4 additions & 14 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,30 @@
name: Feature Request
description: File a feature request.
labels: [ Feature ]
type: "Feature"
assignees: [ "illyrius666" ]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill this out!
- type: dropdown
id: arc
attributes:
label: Adding, Removing, or Changing
description: What are you doing
label: Type of Modification
description: What are you doing?
options:
- Adding
- Removing
- Changing
validations:
required: true
- type: input
id: type
attributes:
label: Type of Modification
description: What is it for?
placeholder: I want to ...
validations:
required: true
- type: textarea
id: desc
attributes:
label: What are you trying to modify
description: Give as detailed of a description as you can for the skill that you want (include pictures/Videos if applicable)
placeholder: The way I would implement this is ...
validations:
required: true
- type: textarea
id: alternative
attributes:
label: Alternatives
description: What alternatives have you considered?
Expand Down
22 changes: 10 additions & 12 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
## Description

Please include a summary of the changes and the related issue. Explain the motivation behind these changes.

## 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
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
<!-- sample: `Closes #100` -->

## How Has This Been Tested?

<!-- Describe tests run to verify the changes. -->

- [ ] Unit tests
- [ ] Integration tests
- [ ] Manual testing
- [ ] Other (please describe)
6 changes: 2 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
"extends": [
"config:recommended"
],
"labels": [
"Dependencies"
],
"prHeader": "Xodium Dependencies Updater"
"prHeader": "Dependencies Updater",
"commitMessagePrefix": "[ci-skip]"
}
93 changes: 59 additions & 34 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,52 @@
name: Xodium CI/CD
run-name: "Xodium CI/CD"

on: { push: { branches: [ main ], paths: [ "../../server/src/**" ] }, workflow_dispatch }
on:
push:
branches: [ main ]
paths: [ "src/**" ]

permissions: { contents: write, packages: write }
permissions:
contents: read
packages: write

concurrency:
{
group: "${{ github.workflow }}-${{ github.ref }}",
cancel-in-progress: true,
}
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
environment:
{
name: "${{ github.ref_name }}",
url: "${{ steps.upload_artifact.outputs.artifact-url }}",
}
name: "${{ github.ref_name }}"
url: "${{ steps.upload_artifact.outputs.artifact-url }}"
outputs: { VERSION: "${{ steps.get_version.outputs.VERSION }}" }
steps:
- id: checkout
name: Checkout
uses: actions/checkout@main
uses: actions/checkout@v6.0.1

- id: cache_deps
name: Cache dependencies
uses: actions/cache@v5.0.1
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}


- id: setup_rust
name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48
with: { toolchain: stable }
uses: actions-rust-lang/setup-rust-toolchain@806aa7ddf5d59f36fb30048411f6bde29364a53f
with:
toolchain: stable
components: rustfmt, clippy

- id: build_artifact
name: Build Artefact
run: cargo build --release
run: cargo build --release --locked --timings
shell: bash

- id: install_toml_cli
name: Install toml-cli
Expand All @@ -41,55 +55,66 @@ jobs:
- id: get_version
name: Get Version
run: echo "VERSION=$(toml get Cargo.toml package.version | tr -d '\"')" >> $GITHUB_OUTPUT
shell: bash

- id: upload_artifact
name: Upload Artifact
uses: actions/upload-artifact@main
with: { name: xbim, path: target/release/xBIM }
uses: actions/upload-artifact@v6.0.0
with:
name: xbim
path: target/release/xbim
retention-days: 7

test:
needs: [ build ]
runs-on: ubuntu-latest
environment:
{
name: "${{ github.ref_name }}",
url: "${{ steps.upload_artifact.outputs.artifact-url }}",
}
name: "${{ github.ref_name }}"
steps:
- id: checkout
name: Checkout
uses: actions/checkout@main
uses: actions/checkout@v6.0.1

- id: setup_rust
name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48
with: { toolchain: stable }
uses: actions-rust-lang/setup-rust-toolchain@806aa7ddf5d59f36fb30048411f6bde29364a53f
with:
toolchain: stable

- id: run_tests
name: Run Tests
run: cargo test --all
run: |
cargo test --all --no-fail-fast
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --all -- --check
shell: bash

release:
needs: [ build, test ]
runs-on: ubuntu-latest
environment:
{
name: "${{ github.ref_name }}",
url: "${{ steps.create_release.outputs.url }}",
}
name: "${{ github.ref_name }}"
url: "${{ steps.create_release.outputs.url }}"
steps:
- id: download_artifact
name: Download Artefact
uses: actions/download-artifact@main
with: { name: xbim }
uses: actions/download-artifact@v7.0.0
with:
name: xbim

- id: verify_binary
name: Verify Binary
run: ./xbim --version
shell: bash

- id: create_release
name: Create Release
uses: softprops/action-gh-release@f37a2f9143791b88da06f2c143d376e00fce81dc
env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" }
uses: softprops/action-gh-release@5122b4edc95f85501a71628a57dc180a03ec7588
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
draft: ${{ contains(github.event.head_commit.message, '.draft') }}
generate_release_notes: true
prerelease: ${{ contains(github.event.head_commit.message, '.pre') }}
tag_name: v${{ needs.build.outputs.VERSION }}
files: xBIM
files: xbim
50 changes: 50 additions & 0 deletions .github/workflows/enforce_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Xodium CI/CD - Enforce Target Branch

on:
pull_request_target:
types: [ opened, reopened, synchronize, edited, ready_for_review ]

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

jobs:
enforce-branch:
runs-on: ubuntu-latest
steps:
- id: enforce_branch
name: Enforce and Auto-fix Target Branch
env:
HEAD_REF: ${{ github.head_ref }}
BASE_REF: ${{ github.base_ref }}
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
REPO: ${{ github.repository }}
run: |
if [ "$BASE_REF" == "main" ] && [ "$HEAD_REF" != "dev" ]; then
echo "❌ PR is targeting 'main' but not from 'dev'. Changing target to 'dev'..."

gh pr edit "$PR_NUMBER" --repo "$REPO" --base dev

echo "changed=true" >> $GITHUB_OUTPUT
echo "✅ Target branch automatically changed to 'dev'"
echo "⚠️ To merge to 'main', please create a PR from 'dev' branch"
else
echo "changed=false" >> $GITHUB_OUTPUT
echo "✅ Target branch is correct"
fi

- id: notify_user
name: Notify User
if: steps.enforce_branch.outputs.changed == true
env:
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
REPO: ${{ github.repository }}
run: |
gh pr comment "$PR_NUMBER" --repo "$REPO" --body \
"🤖 The target branch has been automatically changed from \`main\` to \`dev\`.\n\nPRs to \`main\` are only allowed from the \`dev\` branch. Please merge to \`dev\` first."
6 changes: 6 additions & 0 deletions .idea/copilot.data.migration.agent.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/copilot.data.migration.ask.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/copilot.data.migration.ask2agent.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/copilot.data.migration.edit.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/dictionaries/project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading