Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 941f3de
Author: Aviion Gibbs <[email protected]>
Date:   Thu Jul 20 23:43:58 2023 +0930

    Add: Github files

    Added various github template files, and added an info popup alongside a back button on the login page.

commit bf2d00f
Author: Aviion Gibbs <[email protected]>
Date:   Thu Jul 20 22:27:32 2023 +0930

    Fix: Network test freezing gui

commit 4705b0a
Author: Aviion Gibbs <[email protected]>
Date:   Thu Jul 20 21:00:00 2023 +0930

    Update main.rs

commit ad3e697
Author: Aviion Gibbs <[email protected]>
Date:   Thu Jul 20 19:05:10 2023 +0930

    Update main.rs

commit 935a06a
Author: Aviion Gibbs <[email protected]>
Date:   Thu Jul 20 18:10:11 2023 +0930

    Fix!: Fix information not parsing correctly

    I tried to fix the information passing correctly by referring to self.tx at line 109 but now I'm receiving errors at line 102 which i have to find a way to fix too.

commit f064576
Author: Aviion Gibbs <[email protected]>
Date:   Thu Jul 20 17:58:23 2023 +0930

    Fix!: Freezing application

    Trying to fix the app from freezing when probing an ip for a valid connection
  • Loading branch information
Zephira58 committed Jul 20, 2023
1 parent 0451ecd commit 5f9070f
Show file tree
Hide file tree
Showing 8 changed files with 267 additions and 37 deletions.
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
**Note: for support questions, please use stackoverflow**. This repository's issues are reserved for feature requests and bug reports.

* **I'm submitting a ...**
- [ ] bug report
- [ ] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.


* **Do you want to request a *feature* or report a *bug*?**



* **What is the current behavior?**



* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem**



* **What is the expected behavior?**



* **What is the motivation / use case for changing the behavior?**



* **Please tell us about your environment:**

- Version: v1.0.0
- OS: [Windows | Linux | Mac]

* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug Report
about: Create a report to help us improve
title: "Bug: <Info>"
labels: bug
assignees: Xanthus58
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Command to reproduce this behaviour:
`<command>`

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Fedora Linux]
- Version [e.g. 6.0.0]

**Additional context**
Add any other context about the problem here.
Binary file added .github/ISSUE_TEMPLATE/feature-request.md
Binary file not shown.
29 changes: 29 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--
name: Pull Request
about: Create a PR and assist the development team
title: "<Tags:> <Info>"
assignees: Xanthus58

---

* **Please check if the PR fulfills these requirements**
- [ ] The commit message follows our guidelines and licences


* **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)



* **What is the current behavior?** (You can also link to an open issue here)



* **What is the new behavior (if this is a feature change)?**



* **Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this PR?)



* **Other information**:
28 changes: 28 additions & 0 deletions .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
release:
types: [created]

name: Build-Artifacts
jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-unknown-linux-musl
archive: tar.gz tar.xz tar.zst
- target: x86_64-apple-darwin
archive: zip
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
98 changes: 98 additions & 0 deletions .github/workflows/rust-core.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# A custom github action for all of the core jobs i want done across all of my repos
# Made by @Xanthus58

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support.

name: Rust-Core

on:
push:
branches: [ "*" ]

jobs:
# Ensure the application can be built and run successfully
build:
name: Run Cargo build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

# Ensures theres no security vulnerabilities in the programs dependencies
security_audit:
name: Run Security-audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

# Runs rust clippy for any and all suggestions
rust-clippy-analyze:
name: Run rust-clippy analyzing
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Rust toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
with:
profile: minimal
toolchain: stable
components: clippy
override: true

- name: Install required cargo
run: cargo install clippy-sarif sarif-fmt

- name: Run rust-clippy
run:
cargo clippy
--all-features
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true

# Runs cargo fmt and pushes any changes to the github repo
format:
name: Run Cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}

# Runs cargo update to update the cargo.lock file
update:
name: Run Cargo update
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: update
args:
12 changes: 6 additions & 6 deletions Cargo.lock

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

Loading

0 comments on commit 5f9070f

Please sign in to comment.