mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1c0a21699 | ||
|
|
8df0401fef | ||
|
|
2c7adf8188 |
3
.github/workflows/deploy1.yml
vendored
3
.github/workflows/deploy1.yml
vendored
@@ -12,6 +12,8 @@ jobs:
|
|||||||
|
|
||||||
update-versions:
|
update-versions:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
outputs:
|
||||||
|
skip: "${{ steps.check_recursive.outputs.skip || 'false' }}" # Default to false if not set
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v4"
|
- uses: "actions/checkout@v4"
|
||||||
with: # Ensure we are not in a detached HEAD state
|
with: # Ensure we are not in a detached HEAD state
|
||||||
@@ -56,6 +58,7 @@ jobs:
|
|||||||
|
|
||||||
deploy: # Makes sure all artifacts are updated and use the new version for the next deployment steps
|
deploy: # Makes sure all artifacts are updated and use the new version for the next deployment steps
|
||||||
needs: "update-versions"
|
needs: "update-versions"
|
||||||
|
if: "needs.update-versions.outputs.skip != 'true'" # Only run if the update-versions job did not skip
|
||||||
uses: "./.github/workflows/deploy2.yml"
|
uses: "./.github/workflows/deploy2.yml"
|
||||||
secrets: "inherit" # Inherit the secrets from the parent workflow
|
secrets: "inherit" # Inherit the secrets from the parent workflow
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -809,9 +809,9 @@ The above copyright notice and this permission notice shall be included in all c
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @img/sharp-linux-x64@0.33.5
|
- @img/sharp-linux-x64@0.34.3
|
||||||
- @img/sharp-linuxmusl-x64@0.33.5
|
- @img/sharp-linuxmusl-x64@0.34.3
|
||||||
- sharp@0.33.5
|
- sharp@0.34.3
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
@@ -1504,6 +1504,16 @@ SOFTWARE.
|
|||||||
|
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
|
- tanmayo7lock@1.0.18
|
||||||
|
|
||||||
|
This package contains the following license:
|
||||||
|
|
||||||
|
ISC
|
||||||
|
|
||||||
|
-----------
|
||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- picocolors@1.1.1
|
- picocolors@1.1.1
|
||||||
@@ -1530,8 +1540,8 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @img/sharp-libvips-linux-x64@1.0.4
|
- @img/sharp-libvips-linux-x64@1.2.0
|
||||||
- @img/sharp-libvips-linuxmusl-x64@1.0.4
|
- @img/sharp-libvips-linuxmusl-x64@1.2.0
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
@@ -1908,7 +1918,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- three@0.178.0
|
- three@0.179.1
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -2028,7 +2038,7 @@ SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- vuetify@3.9.2
|
- vuetify@3.9.3
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -2128,7 +2138,7 @@ SOFTWARE.
|
|||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- ndarray-lanczos@0.3.0
|
- ndarray-lanczos@0.3.0
|
||||||
- ndarray-pixels@4.1.0
|
- ndarray-pixels@5.0.1
|
||||||
- property-graph@3.0.0
|
- property-graph@3.0.0
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
@@ -2159,9 +2169,9 @@ SOFTWARE.
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @gltf-transform/core@4.2.0
|
- @gltf-transform/core@4.2.1
|
||||||
- @gltf-transform/extensions@4.2.0
|
- @gltf-transform/extensions@4.2.1
|
||||||
- @gltf-transform/functions@4.2.0
|
- @gltf-transform/functions@4.2.1
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
(globalThis as any).process = (globalThis as any).process || {};
|
import encryptCode from "tanmayo7lock/dist/index.js?raw";
|
||||||
(globalThis as any).process.env = (globalThis as any).env || {};
|
|
||||||
(globalThis as any).process.env.LOCK_SECRET = (globalThis as any).process.env.LOCK_SECRET || "hudfhgd8fghdfgh3uhuifdgh"; // Shhh, this is a secret key for the vouz.tech locker
|
function encrypt(msg: string, secret: string = "hudfhgd8fghdfgh3uhuifdgh"): string {
|
||||||
import {encrypt} from "tanmayo7lock";
|
let exports: any = {};
|
||||||
|
eval(encryptCode.replace("exports.encrypt = encrypt;", "exports.LargeDataCrypto = LargeDataCrypto;\nexports.encrypt = encrypt;"));
|
||||||
|
return exports.LargeDataCrypto.encrypt(msg, secret);
|
||||||
|
}
|
||||||
|
|
||||||
async function check(lockerName: string) {
|
async function check(lockerName: string) {
|
||||||
const fileUrl = `https://vouz-backend.onrender.com/api/check_key`;
|
const fileUrl = `https://vouz-backend.onrender.com/api/check_key`;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yet-another-cad-viewer",
|
"name": "yet-another-cad-viewer",
|
||||||
"version": "0.10.5",
|
"version": "0.10.6",
|
||||||
"description": "",
|
"description": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "yacv-server"
|
name = "yacv-server"
|
||||||
version = "0.10.5"
|
version = "0.10.6"
|
||||||
description = "Yet Another CAD Viewer (server)"
|
description = "Yet Another CAD Viewer (server)"
|
||||||
authors = ["Yeicor <4929005+Yeicor@users.noreply.github.com>"]
|
authors = ["Yeicor <4929005+Yeicor@users.noreply.github.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user