diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 4603c9e..9576c56 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,4 @@ # These are supported funding model platforms github: [donaldzou] +patreon: DonaldDonnyZou diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..59c192e --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,70 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ main ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ main ] + schedule: + - cron: '30 5 * * 4' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'javascript', 'python' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://git.io/codeql-language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + # ℹī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 diff --git a/README.md b/README.md index aa87fef..21bc86a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,25 @@ +### Development on v4 +Hi Everyone, I've decided to promote the long time working `v3.1` to `v4`! This version will be a huge update on the structure of the app. The frontend will be completely handle on the client side with Vue.js, and communicate with the server via REST Api. With this design, it could be possible for the frontend app to connect to multiple server in the future. Stay tune to this new verion, I'm working very hard on this while balancing school and work. If you would like know whats going on, you can check out [this branch](https://github.com/donaldzou/WGDashboard/tree/v4) 😊 + +> For more information, you can visit: https://github.com/donaldzou/WGDashboard/issues/293 + +> If you're interested in the Desktop App of v4.0, please visit [WGDashboard Desktop](https://github.com/donaldzou/WGDashboard-Desktop) ;) + +#### A preview on v4.0 đŸĨš + + + +> Working example of API Key and CORS ;) + + + + +
+ +##### Known issue on WGDashboard `v3.0 - v3.0.6` +- [IPv6 in WireGuard might not fully support.](https://github.com/donaldzou/WGDashboard/issues/167) +
+

WGDashboard

@@ -14,7 +36,7 @@

- wakatime + wakatime

Monitoring WireGuard is not convenient, need to remote access to server and type wg show. That's why this project is being created, to view all configurations and manage them in a easy way.

diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..6917480 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,10 @@ +# Security Policy + +## Supported Versions + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | diff --git a/src/static/app/dist/ScreenRecording2024-07-31at2.16.15AM-ezgif.com-video-to-gif-converter.gif b/src/static/app/dist/ScreenRecording2024-07-31at2.16.15AM-ezgif.com-video-to-gif-converter.gif new file mode 100644 index 0000000..7d3e9b7 Binary files /dev/null and b/src/static/app/dist/ScreenRecording2024-07-31at2.16.15AM-ezgif.com-video-to-gif-converter.gif differ diff --git a/src/static/app/dist/v4.0Preview.gif b/src/static/app/dist/v4.0Preview.gif new file mode 100644 index 0000000..422403e Binary files /dev/null and b/src/static/app/dist/v4.0Preview.gif differ diff --git a/src/static/app/proxy.js b/src/static/app/proxy.js new file mode 100644 index 0000000..c65fc32 --- /dev/null +++ b/src/static/app/proxy.js @@ -0,0 +1 @@ +export const proxy = "http://wg.local:10086/" \ No newline at end of file diff --git a/src/static/js/configuration.js b/src/static/js/configuration.js index 11870f5..fd1c771 100644 --- a/src/static/js/configuration.js +++ b/src/static/js/configuration.js @@ -1016,4 +1016,4 @@ let peers = []; stillLoadingProgressBar: () => { stillLoadingProgressBar(); }, endProgressBar: () => { endProgressBar(); } }; -})(); \ No newline at end of file +})();