@underpostnet/underpost 2.8.1 → 2.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +1 -0
- package/.github/workflows/ghpkg.yml +20 -50
- package/.github/workflows/npmpkg.yml +67 -0
- package/.github/workflows/publish.yml +5 -5
- package/.github/workflows/pwa-microservices-template.page.yml +13 -5
- package/.github/workflows/pwa-microservices-template.test.yml +2 -2
- package/.vscode/extensions.json +17 -71
- package/.vscode/settings.json +14 -3
- package/AUTHORS.md +16 -5
- package/CHANGELOG.md +79 -3
- package/Dockerfile +24 -66
- package/README.md +1 -28
- package/bin/build.js +161 -0
- package/bin/db.js +2 -24
- package/bin/deploy.js +111 -82
- package/bin/file.js +59 -16
- package/bin/index.js +168 -58
- package/bin/ssl.js +19 -11
- package/bin/util.js +9 -97
- package/bin/vs.js +25 -2
- package/conf.js +31 -138
- package/docker-compose.yml +1 -1
- package/manifests/core/kustomization.yaml +11 -0
- package/manifests/core/underpost-engine-backup-access.yaml +16 -0
- package/manifests/core/underpost-engine-backup-pv-pvc.yaml +22 -0
- package/manifests/core/underpost-engine-headless-service.yaml +10 -0
- package/manifests/core/underpost-engine-mongodb-backup-cronjob.yaml +40 -0
- package/manifests/core/underpost-engine-mongodb-configmap.yaml +26 -0
- package/manifests/core/underpost-engine-pv-pvc.yaml +23 -0
- package/manifests/core/underpost-engine-statefulset.yaml +91 -0
- package/manifests/deployment/mongo-express/deployment.yaml +60 -0
- package/manifests/deployment/phpmyadmin/deployment.yaml +54 -0
- package/manifests/kind-config.yaml +12 -0
- package/manifests/letsencrypt-prod.yaml +15 -0
- package/manifests/mariadb/config.yaml +10 -0
- package/manifests/mariadb/kustomization.yaml +9 -0
- package/manifests/mariadb/pv.yaml +12 -0
- package/manifests/mariadb/pvc.yaml +10 -0
- package/manifests/mariadb/secret.yaml +8 -0
- package/manifests/mariadb/service.yaml +10 -0
- package/manifests/mariadb/statefulset.yaml +55 -0
- package/manifests/mongodb/backup-access.yaml +16 -0
- package/manifests/mongodb/backup-cronjob.yaml +42 -0
- package/manifests/mongodb/backup-pv-pvc.yaml +22 -0
- package/manifests/mongodb/configmap.yaml +26 -0
- package/manifests/mongodb/headless-service.yaml +10 -0
- package/manifests/mongodb/kustomization.yaml +11 -0
- package/manifests/mongodb/pv-pvc.yaml +23 -0
- package/manifests/mongodb/statefulset.yaml +125 -0
- package/manifests/valkey/kustomization.yaml +7 -0
- package/manifests/valkey/service.yaml +17 -0
- package/manifests/valkey/statefulset.yaml +39 -0
- package/manifests/valkey/underpost-engine-valkey-service.yaml +17 -0
- package/manifests/valkey/underpost-engine-valkey-statefulset.yaml +39 -0
- package/package.json +26 -31
- package/src/api/core/core.service.js +1 -1
- package/src/api/user/user.model.js +16 -3
- package/src/api/user/user.service.js +1 -1
- package/src/cli/cluster.js +154 -0
- package/src/cli/cron.js +90 -0
- package/src/cli/db.js +148 -0
- package/src/cli/deploy.js +277 -0
- package/src/cli/env.js +52 -0
- package/src/cli/image.js +125 -0
- package/src/cli/repository.js +104 -0
- package/src/cli/script.js +29 -0
- package/src/cli/secrets.js +37 -0
- package/src/cli/test.js +83 -0
- package/src/client/components/core/Auth.js +22 -4
- package/src/client/components/core/CalendarCore.js +115 -49
- package/src/client/components/core/CommonJs.js +231 -19
- package/src/client/components/core/Css.js +1 -0
- package/src/client/components/core/CssCore.js +6 -0
- package/src/client/components/core/DropDown.js +5 -1
- package/src/client/components/core/Input.js +18 -4
- package/src/client/components/core/Modal.js +10 -6
- package/src/client/components/core/Panel.js +84 -25
- package/src/client/components/core/PanelForm.js +4 -18
- package/src/client/components/core/Scroll.js +1 -0
- package/src/client/components/core/Translate.js +47 -9
- package/src/client/components/core/Validator.js +9 -1
- package/src/client/components/core/VanillaJs.js +0 -9
- package/src/client/components/core/Worker.js +34 -31
- package/src/client/services/default/default.management.js +4 -2
- package/src/client/ssr/body/CacheControl.js +2 -2
- package/src/db/mongo/MongooseDB.js +13 -1
- package/src/index.js +77 -19
- package/src/runtime/lampp/Lampp.js +1 -13
- package/src/runtime/xampp/Xampp.js +0 -13
- package/src/server/auth.js +3 -3
- package/src/server/backup.js +49 -93
- package/src/server/client-build.js +4 -23
- package/src/server/client-formatted.js +5 -3
- package/src/server/conf.js +193 -45
- package/src/server/dns.js +49 -67
- package/src/server/logger.js +15 -10
- package/src/server/network.js +17 -43
- package/src/server/process.js +25 -2
- package/src/server/proxy.js +4 -26
- package/src/server/runtime.js +14 -29
- package/src/server/ssl.js +1 -1
- package/src/server/valkey.js +2 -0
- package/src/dns.js +0 -22
- package/src/server/prompt-optimizer.js +0 -28
- package/startup.js +0 -11
package/.dockerignore
CHANGED
|
@@ -9,48 +9,8 @@ permissions:
|
|
|
9
9
|
packages: write
|
|
10
10
|
id-token: write
|
|
11
11
|
jobs:
|
|
12
|
-
pwa-microservices-template:
|
|
13
|
-
if: github.repository == 'underpostnet/engine' && startsWith(github.event.head_commit.message, '[ci][package][pwa-microservices-template]')
|
|
14
|
-
name: Update github repo package Jobs
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
permissions:
|
|
17
|
-
contents: write
|
|
18
|
-
packages: write
|
|
19
|
-
id-token: write
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v3
|
|
22
|
-
- uses: actions/setup-node@v4
|
|
23
|
-
with:
|
|
24
|
-
node-version: '22.x'
|
|
25
|
-
|
|
26
|
-
- name: Install dependencies
|
|
27
|
-
run: |
|
|
28
|
-
npm install
|
|
29
|
-
|
|
30
|
-
- name: Set git credentials
|
|
31
|
-
run: |
|
|
32
|
-
git config --global credential.helper ""
|
|
33
|
-
git config credential.helper ""
|
|
34
|
-
git config --global user.name 'underpostnet'
|
|
35
|
-
git config --global user.email 'fcoverdugoa@underpost.net'
|
|
36
|
-
git config --global credential.interactive always
|
|
37
|
-
git config user.name 'underpostnet'
|
|
38
|
-
git config user.email 'fcoverdugoa@underpost.net'
|
|
39
|
-
git config credential.interactive always
|
|
40
|
-
|
|
41
|
-
- name: Clone github package repository
|
|
42
|
-
run: |
|
|
43
|
-
cd .. && git clone https://github.com/underpostnet/pwa-microservices-template.git
|
|
44
|
-
cd engine
|
|
45
|
-
npm run update-template
|
|
46
|
-
cd ../pwa-microservices-template
|
|
47
|
-
git remote set-url origin git@github.com:underpostnet/pwa-microservices-template.git
|
|
48
|
-
git add .
|
|
49
|
-
git commit -m "Update github repo package"
|
|
50
|
-
git push https://${{ secrets.GIT_AUTH_TOKEN }}@github.com/underpostnet/pwa-microservices-template.git
|
|
51
|
-
|
|
52
12
|
pwa-microservices-template-ghpk:
|
|
53
|
-
if: github.repository == 'underpostnet/pwa-microservices-template'
|
|
13
|
+
if: github.repository == 'underpostnet/pwa-microservices-template' && startsWith(github.event.head_commit.message, 'ci(package-pwa-microservices-template-ghpkg)')
|
|
54
14
|
name: Update github repo package Jobs
|
|
55
15
|
runs-on: ubuntu-latest
|
|
56
16
|
permissions:
|
|
@@ -59,9 +19,10 @@ jobs:
|
|
|
59
19
|
id-token: write
|
|
60
20
|
steps:
|
|
61
21
|
- uses: actions/checkout@v3
|
|
22
|
+
|
|
62
23
|
- uses: actions/setup-node@v4
|
|
63
24
|
with:
|
|
64
|
-
node-version: '
|
|
25
|
+
node-version: '23.x'
|
|
65
26
|
|
|
66
27
|
# - name: Get npm root
|
|
67
28
|
# run: sudo npm root -g
|
|
@@ -80,36 +41,45 @@ jobs:
|
|
|
80
41
|
|
|
81
42
|
- name: Install dependencies and set repo configuration
|
|
82
43
|
run: |
|
|
83
|
-
npm install
|
|
44
|
+
npm install -g underpost
|
|
45
|
+
underpost config set GITHUB_TOKEN ${{ secrets.GIT_AUTH_TOKEN }}
|
|
46
|
+
underpost install
|
|
84
47
|
node ./bin/deploy rename-package @underpostnet/underpost
|
|
85
48
|
node ./bin/deploy set-repo underpostnet/pwa-microservices-template-ghpkg
|
|
86
49
|
|
|
87
50
|
- name: Clone github package repository
|
|
88
51
|
run: |
|
|
89
|
-
|
|
52
|
+
underpost clone --bare underpostnet/pwa-microservices-template-ghpkg
|
|
90
53
|
rm -rf ./.git
|
|
91
|
-
cp -a
|
|
92
|
-
rm -rf ./pwa-microservices-template-ghpkg
|
|
54
|
+
cp -rf -a ./pwa-microservices-template-ghpkg.git ./.git
|
|
55
|
+
rm -rf ./pwa-microservices-template-ghpkg.git
|
|
93
56
|
|
|
94
57
|
- name: Set git credentials
|
|
95
58
|
run: |
|
|
96
59
|
git config --global credential.helper ""
|
|
97
60
|
git config credential.helper ""
|
|
98
61
|
git config --global user.name 'underpostnet'
|
|
99
|
-
git config --global user.email '
|
|
62
|
+
git config --global user.email 'development@underpost.net'
|
|
100
63
|
git config --global credential.interactive always
|
|
101
64
|
git config user.name 'underpostnet'
|
|
102
|
-
git config user.email '
|
|
65
|
+
git config user.email 'development@underpost.net'
|
|
103
66
|
git config credential.interactive always
|
|
104
67
|
|
|
105
68
|
- name: Push to github package repository
|
|
106
69
|
run: |
|
|
107
70
|
pwd
|
|
71
|
+
git init
|
|
108
72
|
git status
|
|
109
73
|
git remote set-url origin git@github.com:underpostnet/pwa-microservices-template-ghpkg.git
|
|
110
74
|
git add .
|
|
111
|
-
|
|
112
|
-
|
|
75
|
+
underpost cmt . ci package-pwa-microservices-template-ghpkg 'Update github repo package'
|
|
76
|
+
underpost push . underpostnet/pwa-microservices-template-ghpkg
|
|
77
|
+
|
|
78
|
+
# git clone --bare https://github.com/underpostnet/engine.git
|
|
79
|
+
# mkdir engine
|
|
80
|
+
# mv ./engine.git ./engine/.git
|
|
81
|
+
# cd engine
|
|
82
|
+
# git init
|
|
113
83
|
|
|
114
84
|
# git push -u origin https://${{ secrets.GIT_AUTH_TOKEN }}@github.com/underpostnet/pwa-microservices-template-ghpkg.git
|
|
115
85
|
# git push -u origin master
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: Update npm repo package
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: ['master']
|
|
5
|
+
pull_request:
|
|
6
|
+
branches: ['master']
|
|
7
|
+
permissions:
|
|
8
|
+
contents: write
|
|
9
|
+
packages: write
|
|
10
|
+
id-token: write
|
|
11
|
+
jobs:
|
|
12
|
+
pwa-microservices-template:
|
|
13
|
+
if: github.repository == 'underpostnet/engine' && startsWith(github.event.head_commit.message, 'ci(package-pwa-microservices-template)')
|
|
14
|
+
name: Update npm repo package Jobs
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
permissions:
|
|
17
|
+
contents: write
|
|
18
|
+
packages: write
|
|
19
|
+
id-token: write
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v3
|
|
22
|
+
|
|
23
|
+
- uses: actions/setup-node@v4
|
|
24
|
+
with:
|
|
25
|
+
node-version: '23.x'
|
|
26
|
+
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: |
|
|
29
|
+
npm install -g underpost
|
|
30
|
+
underpost config set GITHUB_TOKEN ${{ secrets.GIT_AUTH_TOKEN }}
|
|
31
|
+
underpost install
|
|
32
|
+
|
|
33
|
+
- name: Set git credentials
|
|
34
|
+
run: |
|
|
35
|
+
git config --global credential.helper ""
|
|
36
|
+
git config credential.helper ""
|
|
37
|
+
git config --global user.name 'underpostnet'
|
|
38
|
+
git config --global user.email 'development@underpost.net'
|
|
39
|
+
git config --global credential.interactive always
|
|
40
|
+
git config user.name 'underpostnet'
|
|
41
|
+
git config user.email 'development@underpost.net'
|
|
42
|
+
git config credential.interactive always
|
|
43
|
+
|
|
44
|
+
- name: Clone github package repository
|
|
45
|
+
run: |
|
|
46
|
+
cd .. && underpost clone underpostnet/pwa-microservices-template
|
|
47
|
+
cd engine
|
|
48
|
+
npm run update-template
|
|
49
|
+
cd ../pwa-microservices-template
|
|
50
|
+
git remote set-url origin git@github.com:underpostnet/pwa-microservices-template.git
|
|
51
|
+
git add .
|
|
52
|
+
underpost cmt . ci package-pwa-microservices-template-ghpkg 'Update npm repo package'
|
|
53
|
+
underpost push . underpostnet/pwa-microservices-template
|
|
54
|
+
# cd ../engine
|
|
55
|
+
# git commit --allow-empty -m "ci(engine-core-repo-build): ⚙️ Update engine core repository"
|
|
56
|
+
# git commit --allow-empty -m "ci(engine-cyberia-repo-build): ⚙️ Update engine cyberia repository"
|
|
57
|
+
# git commit --allow-empty -m "ci(engine-lampp-repo-build): ⚙️ Update engine lampp repository"
|
|
58
|
+
# git push https://${{ secrets.GIT_AUTH_TOKEN }}@github.com/underpostnet/engine.git
|
|
59
|
+
|
|
60
|
+
# git clone --bare https://github.com/underpostnet/engine.git
|
|
61
|
+
# mkdir engine
|
|
62
|
+
# mv ./engine.git ./engine/.git
|
|
63
|
+
# cd engine
|
|
64
|
+
# git init
|
|
65
|
+
|
|
66
|
+
# git push -u origin https://${{ secrets.GIT_AUTH_TOKEN }}@github.com/underpostnet/pwa-microservices-template-ghpkg.git
|
|
67
|
+
# git push -u origin master
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
- uses: actions/checkout@v4
|
|
15
15
|
- uses: actions/setup-node@v4
|
|
16
16
|
with:
|
|
17
|
-
node-version: '
|
|
17
|
+
node-version: '23.x'
|
|
18
18
|
registry-url: 'https://registry.npmjs.org'
|
|
19
19
|
|
|
20
20
|
- name: Install Dependencies
|
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
# Publish to npm
|
|
26
26
|
- uses: actions/setup-node@v4
|
|
27
27
|
with:
|
|
28
|
-
node-version: '
|
|
28
|
+
node-version: '23.x'
|
|
29
29
|
registry-url: 'https://registry.npmjs.org'
|
|
30
30
|
# Defaults to the user or organization that owns the workflow file
|
|
31
31
|
# scope: '@underpostnet'
|
|
@@ -45,7 +45,7 @@ jobs:
|
|
|
45
45
|
- uses: actions/checkout@v4
|
|
46
46
|
- uses: actions/setup-node@v4
|
|
47
47
|
with:
|
|
48
|
-
node-version: '
|
|
48
|
+
node-version: '23.x'
|
|
49
49
|
registry-url: 'https://registry.npmjs.org'
|
|
50
50
|
|
|
51
51
|
- name: Install Dependencies
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
# Publish to npm git hub package
|
|
57
57
|
- uses: actions/setup-node@v4
|
|
58
58
|
with:
|
|
59
|
-
node-version: '
|
|
59
|
+
node-version: '23.x'
|
|
60
60
|
registry-url: 'https://registry.npmjs.org'
|
|
61
61
|
# Defaults to the user or organization that owns the workflow file
|
|
62
62
|
scope: '@underpostnet'
|
|
@@ -70,7 +70,7 @@ jobs:
|
|
|
70
70
|
- name: Setup node to publish to GitHub Packages
|
|
71
71
|
uses: actions/setup-node@v4
|
|
72
72
|
with:
|
|
73
|
-
node-version:
|
|
73
|
+
node-version: 23.x
|
|
74
74
|
registry-url: 'https://npm.pkg.github.com'
|
|
75
75
|
# Defaults to the user or organization that owns the workflow file
|
|
76
76
|
scope: '@underpostnet'
|
|
@@ -32,16 +32,24 @@ jobs:
|
|
|
32
32
|
steps:
|
|
33
33
|
- name: Checkout
|
|
34
34
|
uses: actions/checkout@v4
|
|
35
|
+
# with:
|
|
36
|
+
# lfs: true
|
|
37
|
+
# - name: Checkout LFS objects
|
|
38
|
+
# run: git lfs checkout
|
|
35
39
|
- uses: actions/setup-node@v4
|
|
36
40
|
with:
|
|
37
|
-
node-version: '
|
|
41
|
+
node-version: '23.x'
|
|
38
42
|
|
|
39
43
|
- name: Build the site
|
|
40
44
|
run: |
|
|
41
|
-
npm install
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
npm install -g underpost
|
|
46
|
+
underpost install
|
|
47
|
+
node bin/deploy update-default-conf ghpkg
|
|
48
|
+
env-cmd -f .env.production node bin/deploy build-full-client github-pages underpostnet.github.io /pwa-microservices-template-ghpkg
|
|
49
|
+
# git lfs install
|
|
50
|
+
# git lfs track
|
|
51
|
+
# git lfs ls-files
|
|
52
|
+
# git lfs pull
|
|
45
53
|
- name: Setup Pages
|
|
46
54
|
uses: actions/configure-pages@v5
|
|
47
55
|
- name: Upload artifact
|
|
@@ -2,12 +2,12 @@ name: Test
|
|
|
2
2
|
on: [push]
|
|
3
3
|
jobs:
|
|
4
4
|
test:
|
|
5
|
-
if: (github.repository == 'underpostnet/pwa-microservices-template') || (github.repository == 'underpostnet/pwa-microservices-template-ghpkg')
|
|
5
|
+
# if: (github.repository == 'underpostnet/pwa-microservices-template') || (github.repository == 'underpostnet/pwa-microservices-template-ghpkg')
|
|
6
6
|
name: Node ${{ matrix.node }} on ${{ matrix.os }}
|
|
7
7
|
runs-on: ${{ matrix.os }}
|
|
8
8
|
strategy:
|
|
9
9
|
matrix:
|
|
10
|
-
node-version: [
|
|
10
|
+
node-version: [23.x]
|
|
11
11
|
os: [ubuntu-latest]
|
|
12
12
|
# os: [ubuntu-latest, windows-latest]
|
|
13
13
|
|
package/.vscode/extensions.json
CHANGED
|
@@ -1,72 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"jeff-hykin.better-cpp-syntax",
|
|
20
|
-
"jinxdash.prettier-rust",
|
|
21
|
-
"johnpapa.vscode-peacock",
|
|
22
|
-
"juanblanco.solidity",
|
|
23
|
-
"julialang.language-julia",
|
|
24
|
-
"kevinrose.vsc-python-indent",
|
|
25
|
-
"mechatroner.rainbow-csv",
|
|
26
|
-
"mintlify.document",
|
|
27
|
-
"ms-azuretools.vscode-docker",
|
|
28
|
-
"ms-dotnettools.vscode-dotnet-runtime",
|
|
29
|
-
"ms-kubernetes-tools.vscode-kubernetes-tools",
|
|
30
|
-
"ms-python.black-formatter",
|
|
31
|
-
"ms-python.debugpy",
|
|
32
|
-
"ms-python.isort",
|
|
33
|
-
"ms-python.python",
|
|
34
|
-
"ms-python.vscode-pylance",
|
|
35
|
-
"ms-toolsai.jupyter",
|
|
36
|
-
"ms-toolsai.jupyter-keymap",
|
|
37
|
-
"ms-toolsai.jupyter-renderers",
|
|
38
|
-
"ms-toolsai.vscode-jupyter-cell-tags",
|
|
39
|
-
"ms-toolsai.vscode-jupyter-slideshow",
|
|
40
|
-
"ms-vscode-remote.remote-containers",
|
|
41
|
-
"ms-vscode-remote.remote-wsl",
|
|
42
|
-
"ms-vscode.cmake-tools",
|
|
43
|
-
"ms-vscode.cpptools",
|
|
44
|
-
"ms-vscode.cpptools-extension-pack",
|
|
45
|
-
"ms-vscode.cpptools-themes",
|
|
46
|
-
"ms-vscode.makefile-tools",
|
|
47
|
-
"msjsdiag.cordova-tools",
|
|
48
|
-
"nicolasvuillamy.vscode-groovy-lint",
|
|
49
|
-
"nucllear.vscode-extension-auto-import",
|
|
50
|
-
"pinkpotato.ionic-essentials",
|
|
51
|
-
"redhat.java",
|
|
52
|
-
"redhat.vscode-xml",
|
|
53
|
-
"redhat.vscode-yaml",
|
|
54
|
-
"rust-lang.rust-analyzer",
|
|
55
|
-
"steoates.autoimport",
|
|
56
|
-
"streetsidesoftware.code-spell-checker",
|
|
57
|
-
"tabnine.tabnine-vscode",
|
|
58
|
-
"tamasfe.even-better-toml",
|
|
59
|
-
"tobermory.es6-string-html",
|
|
60
|
-
"twxs.cmake",
|
|
61
|
-
"visualstudioexptteam.intellicode-api-usage-examples",
|
|
62
|
-
"visualstudioexptteam.vscodeintellicode",
|
|
63
|
-
"vscjava.vscode-gradle",
|
|
64
|
-
"vscjava.vscode-java-debug",
|
|
65
|
-
"vscjava.vscode-java-dependency",
|
|
66
|
-
"vscjava.vscode-java-pack",
|
|
67
|
-
"vscjava.vscode-java-test",
|
|
68
|
-
"vscjava.vscode-maven",
|
|
69
|
-
"vscode-icons-team.vscode-icons",
|
|
70
|
-
"xabikos.javascriptsnippets"
|
|
71
|
-
]
|
|
72
|
-
}
|
|
2
|
+
"recommendations": [
|
|
3
|
+
"antiantisepticeye.vscode-color-picker",
|
|
4
|
+
"bashmish.es6-string-css",
|
|
5
|
+
"eamodio.gitlens",
|
|
6
|
+
"esbenp.prettier-vscode",
|
|
7
|
+
"foxundermoon.shell-format",
|
|
8
|
+
"github.vscode-github-actions",
|
|
9
|
+
"mintlify.document",
|
|
10
|
+
"ms-python.black-formatter",
|
|
11
|
+
"ms-python.debugpy",
|
|
12
|
+
"ms-python.python",
|
|
13
|
+
"ms-python.vscode-pylance",
|
|
14
|
+
"streetsidesoftware.code-spell-checker",
|
|
15
|
+
"tabnine.tabnine-vscode",
|
|
16
|
+
"tobermory.es6-string-html"
|
|
17
|
+
]
|
|
18
|
+
}
|
package/.vscode/settings.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"Microdata",
|
|
49
49
|
"minami",
|
|
50
50
|
"MMORPG",
|
|
51
|
+
"mongosh",
|
|
51
52
|
"mysqldump",
|
|
52
53
|
"neodrag",
|
|
53
54
|
"nexodev",
|
|
@@ -58,9 +59,11 @@
|
|
|
58
59
|
"runas",
|
|
59
60
|
"Scatterplot",
|
|
60
61
|
"sortablejs",
|
|
62
|
+
"statefulset",
|
|
61
63
|
"supervisord",
|
|
62
64
|
"Tokenomics",
|
|
63
65
|
"underpost",
|
|
66
|
+
"underpostnet",
|
|
64
67
|
"Unequip",
|
|
65
68
|
"uuidv",
|
|
66
69
|
"Valkey",
|
|
@@ -69,9 +72,6 @@
|
|
|
69
72
|
"xfwd",
|
|
70
73
|
"youtu"
|
|
71
74
|
],
|
|
72
|
-
"[dockerfile]": {
|
|
73
|
-
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
|
|
74
|
-
},
|
|
75
75
|
"[php]": {
|
|
76
76
|
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
|
|
77
77
|
},
|
|
@@ -107,5 +107,16 @@
|
|
|
107
107
|
},
|
|
108
108
|
"[solidity]": {
|
|
109
109
|
"editor.defaultFormatter": "JuanBlanco.solidity"
|
|
110
|
+
},
|
|
111
|
+
"[dockerfile]": {
|
|
112
|
+
"editor.defaultFormatter": "foxundermoon.shell-format"
|
|
113
|
+
},
|
|
114
|
+
"[ignore]": {
|
|
115
|
+
"editor.defaultFormatter": "foxundermoon.shell-format"
|
|
116
|
+
},
|
|
117
|
+
"docwriter.progress.trackTypes": true,
|
|
118
|
+
"docwriter.hotkey.mac": "⌘ + .",
|
|
119
|
+
"[dotenv]": {
|
|
120
|
+
"editor.defaultFormatter": "foxundermoon.shell-format"
|
|
110
121
|
}
|
|
111
122
|
}
|
package/AUTHORS.md
CHANGED
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
# Authors
|
|
2
2
|
|
|
3
|
-
#### Ordered by first contribution.
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
Author: fcoverdugoa <52893447+underpostnet@users.noreply.github.com>
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Author: fcoverdugoa <fcoverdugoa@underpost.net>
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Author: fcoverdugo <fcoverdugoa@underpost.net>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Author: underpost.net <52893447+underpostnet@users.noreply.github.com>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Author: underpostnet <fcoverdugoa@underpost.net>
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
9
20
|
|
|
10
21
|
#### Generated by [underpost.net](https://underpost.net)
|
package/CHANGELOG.md
CHANGED
|
@@ -4,13 +4,89 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [v2.
|
|
7
|
+
#### [v2.8.44](https://github.com/underpostnet/engine/compare/v2.8.42...v2.8.44)
|
|
8
|
+
|
|
9
|
+
> 18 February 2025
|
|
10
|
+
|
|
11
|
+
- ci(package-pwa-microservices-template): ⚙️ update version 2.8.44 [`1d1731d`](https://github.com/underpostnet/engine/commit/1d1731d8c81389f9ba6a308af9a66e455baa8fad)
|
|
12
|
+
- ci(package-pwa-microservices-template): ⚙️ Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) [`1c2cc3e`](https://github.com/underpostnet/engine/commit/1c2cc3ed8c96c1d7d219f112692397de14aea172)
|
|
13
|
+
- ci(package-pwa-microservices-template): ⚙️ add underpost cli root env management [`1923fb6`](https://github.com/underpostnet/engine/commit/1923fb6b32c1d2df1564fb94d3475b4ef0400f99)
|
|
14
|
+
|
|
15
|
+
#### [v2.8.42](https://github.com/underpostnet/engine/compare/v2.8.31...v2.8.42)
|
|
16
|
+
|
|
17
|
+
> 18 February 2025
|
|
18
|
+
|
|
19
|
+
- ci(engine-lampp-repo-build): ⚙️ Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) [`cd076c0`](https://github.com/underpostnet/engine/commit/cd076c095fde19caf744e5e04e419973670fbc6c)
|
|
20
|
+
- ci(engine-cyberia-repo-build): ⚙️ Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) [`69d55e2`](https://github.com/underpostnet/engine/commit/69d55e2d9f8f93252561c17747472f12c6369e1c)
|
|
21
|
+
- ci(engine-core-repo-build): ⚙️ Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) [`b031b0f`](https://github.com/underpostnet/engine/commit/b031b0f65884d9d908143e2d609ea8b0f30828a0)
|
|
22
|
+
|
|
23
|
+
#### [v2.8.31](https://github.com/underpostnet/engine/compare/v2.8.1...v2.8.31)
|
|
24
|
+
|
|
25
|
+
> 5 February 2025
|
|
26
|
+
|
|
27
|
+
- build(clipboardy): 🛠 add cli copy paste [`18acbde`](https://github.com/underpostnet/engine/commit/18acbded151da88499a3a0f1c1bfdbdef2abfc6b)
|
|
28
|
+
- HealthcareAppointmentService advance [`228257c`](https://github.com/underpostnet/engine/commit/228257c0aa2d875014e72f2550bb44aa6b009bed)
|
|
29
|
+
- healthcare appoiment service advance [`207a299`](https://github.com/underpostnet/engine/commit/207a299ffc815870a574524907d5b6b3d9924f1a)
|
|
30
|
+
|
|
31
|
+
#### [v2.8.1](https://github.com/underpostnet/engine/compare/v2.8.0...v2.8.1)
|
|
32
|
+
|
|
33
|
+
> 20 January 2025
|
|
34
|
+
|
|
35
|
+
- [ci][docker-image][engine] v2.8.1 [`1c44f4c`](https://github.com/underpostnet/engine/commit/1c44f4cb53d1e197866e6ef768287f618fbe79b4)
|
|
36
|
+
- version refactor [`1aeaca2`](https://github.com/underpostnet/engine/commit/1aeaca200c8003915d3ef422f2bb2818e7438b8d)
|
|
37
|
+
- add bymyelectrics client components [`f2d3e8c`](https://github.com/underpostnet/engine/commit/f2d3e8c888b2b8573b25965b549fcb8e6b2e86e7)
|
|
38
|
+
|
|
39
|
+
#### [v2.8.0](https://github.com/underpostnet/engine/compare/v2.7.94...v2.8.0)
|
|
40
|
+
|
|
41
|
+
> 31 December 2024
|
|
42
|
+
|
|
43
|
+
- add vectorized lore cyberia [`166e021`](https://github.com/underpostnet/engine/commit/166e0210470e6a0fbaf755320c56105932138e28)
|
|
44
|
+
- cyberia biome engine advance [`e8bbce7`](https://github.com/underpostnet/engine/commit/e8bbce7cf2154c6de67840132cebc50349b1ab67)
|
|
45
|
+
- update src v2.8.0 [`3fa3aa1`](https://github.com/underpostnet/engine/commit/3fa3aa12db3609bd14ac526626707a152d69bd32)
|
|
46
|
+
|
|
47
|
+
#### [v2.7.94](https://github.com/underpostnet/engine/compare/v2.7.93...v2.7.94)
|
|
48
|
+
|
|
49
|
+
> 17 December 2024
|
|
50
|
+
|
|
51
|
+
- cyberia server character server transport refactor [`d302a5a`](https://github.com/underpostnet/engine/commit/d302a5ab02d789226d9ef84bf00c19358f83b5cb)
|
|
52
|
+
- healthcare nutrition-tips advance [`f97ca58`](https://github.com/underpostnet/engine/commit/f97ca58344d9d9da656155deaaac54c621e927f8)
|
|
53
|
+
- scroll top refresh refactor [`b9fc99f`](https://github.com/underpostnet/engine/commit/b9fc99f413b8a177242c9e6538eb70c73f97747e)
|
|
54
|
+
|
|
55
|
+
#### [v2.7.93](https://github.com/underpostnet/engine/compare/v2.7.92...v2.7.93)
|
|
56
|
+
|
|
57
|
+
> 12 December 2024
|
|
58
|
+
|
|
59
|
+
- [ci][docker-image][engine] [`0d209f7`](https://github.com/underpostnet/engine/commit/0d209f7336b33d56db290e6816152a29194f224f)
|
|
60
|
+
- add pul refresh reload [`93c2929`](https://github.com/underpostnet/engine/commit/93c29298e322181ef320644a97731b90efed1811)
|
|
61
|
+
- update get lang function [`895df49`](https://github.com/underpostnet/engine/commit/895df49c150c09f3f2c0d96921f3529a097f5f83)
|
|
62
|
+
|
|
63
|
+
#### [v2.7.92](https://github.com/underpostnet/engine/compare/v2.7.91...v2.7.92)
|
|
64
|
+
|
|
65
|
+
> 12 December 2024
|
|
66
|
+
|
|
67
|
+
- ssr refactor advance [`9c1be61`](https://github.com/underpostnet/engine/commit/9c1be61a48c7fe343c38008fc81854713c239388)
|
|
68
|
+
- [ci][docker-image][engine] v2.7.92 [`719efb7`](https://github.com/underpostnet/engine/commit/719efb7486c2651450ad698f9d5770042ed4c060)
|
|
69
|
+
- cyberia biome instance refactor [`44e56ed`](https://github.com/underpostnet/engine/commit/44e56ed7cebccacbf7439ffb6857f12afa52edeb)
|
|
70
|
+
|
|
71
|
+
#### [v2.7.91](https://github.com/underpostnet/engine/compare/v2.7.83...v2.7.91)
|
|
72
|
+
|
|
73
|
+
> 7 December 2024
|
|
74
|
+
|
|
75
|
+
- [ci][docker-image][engine] v2.7.91 [`9616635`](https://github.com/underpostnet/engine/commit/9616635c12d4eba7e7597a81f6ff6760fc9fb937)
|
|
76
|
+
- add gemini creator quest [`5f1bbec`](https://github.com/underpostnet/engine/commit/5f1bbeca4698879043c7d4abb1341c8ac08b859c)
|
|
77
|
+
- update to version 2.7.9 [`41b96b6`](https://github.com/underpostnet/engine/commit/41b96b63e48759a3bb8ab54c0573536db8ef4143)
|
|
78
|
+
|
|
79
|
+
#### [v2.7.83](https://github.com/underpostnet/engine/compare/v2.7.9...v2.7.83)
|
|
8
80
|
|
|
9
81
|
> 28 October 2024
|
|
10
82
|
|
|
83
|
+
#### [v2.7.9](https://github.com/underpostnet/engine/compare/v2.7.7...v2.7.9)
|
|
84
|
+
|
|
85
|
+
> 14 November 2024
|
|
86
|
+
|
|
11
87
|
- update version 2.7.83 [`3d22671`](https://github.com/underpostnet/engine/commit/3d22671a23f25767cc01c244090e237ab3a300da)
|
|
12
|
-
-
|
|
13
|
-
-
|
|
88
|
+
- remove unnecesary packages [`4c0e029`](https://github.com/underpostnet/engine/commit/4c0e029509331fb718554d595d7de9e042eb2b54)
|
|
89
|
+
- add item-skin-08 tile engine logic [`b72c64f`](https://github.com/underpostnet/engine/commit/b72c64f218d013653c1c800473f768dc38fe5607)
|
|
14
90
|
|
|
15
91
|
#### [v2.7.7](https://github.com/underpostnet/engine/compare/v2.7.6...v2.7.7)
|
|
16
92
|
|
package/Dockerfile
CHANGED
|
@@ -2,89 +2,47 @@ ARG BASE_DEBIAN=buster
|
|
|
2
2
|
|
|
3
3
|
FROM debian:${BASE_DEBIAN}
|
|
4
4
|
|
|
5
|
-
ENV DEBIAN_FRONTEND
|
|
5
|
+
ENV DEBIAN_FRONTEND=noninteractive
|
|
6
6
|
|
|
7
|
-
WORKDIR /
|
|
7
|
+
WORKDIR /home/dd
|
|
8
8
|
|
|
9
9
|
# Set root password to root, format is 'user:password'.
|
|
10
10
|
RUN echo 'root:root' | chpasswd
|
|
11
11
|
|
|
12
|
-
RUN apt-get update --fix-missing
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
RUN apt-get update --fix-missing
|
|
13
|
+
RUN apt-get upgrade -y
|
|
14
|
+
# install sudo
|
|
15
|
+
RUN apt-get -y install sudo
|
|
16
|
+
# net-tools provides netstat commands
|
|
17
|
+
RUN apt-get -y install curl net-tools
|
|
18
|
+
RUN apt-get -yq install openssh-server supervisor
|
|
19
|
+
# Few handy utilities which are nice to have
|
|
20
|
+
RUN apt-get -y install nano vim less --no-install-recommends
|
|
21
|
+
RUN apt-get clean
|
|
22
22
|
|
|
23
23
|
# install ssh
|
|
24
|
-
RUN mkdir -p /var/run/sshd
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
RUN mkdir -p /var/run/sshd
|
|
25
|
+
# Allow root login via password
|
|
26
|
+
RUN sed -ri 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config
|
|
27
27
|
|
|
28
28
|
# copy supervisor config file to start openssh-server
|
|
29
29
|
COPY supervisord-openssh-server.conf /etc/supervisor/conf.d/supervisord-openssh-server.conf
|
|
30
30
|
|
|
31
31
|
# install open ssl git and others tools
|
|
32
|
-
RUN apt-get install -yq --no-install-recommends
|
|
33
|
-
libssl-dev \
|
|
34
|
-
curl \
|
|
35
|
-
wget \
|
|
36
|
-
git \
|
|
37
|
-
gnupg
|
|
32
|
+
RUN apt-get install -yq --no-install-recommends libssl-dev curl wget git gnupg
|
|
38
33
|
|
|
39
34
|
# install nodejs https://github.com/nodesource/distributions/blob/master/README.md#deb
|
|
40
|
-
RUN curl -fsSL https://deb.nodesource.com/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
npm --version
|
|
35
|
+
RUN curl -fsSL https://deb.nodesource.com/setup_23.x | bash -
|
|
36
|
+
RUN apt-get install -y nodejs build-essential
|
|
37
|
+
RUN node --version
|
|
38
|
+
RUN npm --version
|
|
45
39
|
|
|
46
|
-
|
|
47
|
-
# install lampp
|
|
48
|
-
RUN curl -Lo xampp-linux-installer.run https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/7.4.30/xampp-linux-x64-7.4.30-1-installer.run?from_af=true && \
|
|
49
|
-
chmod +x xampp-linux-installer.run && \
|
|
50
|
-
bash -c './xampp-linux-installer.run' && \
|
|
51
|
-
ln -sf /opt/lampp/lampp /usr/bin/lampp && \
|
|
52
|
-
# Enable XAMPP web interface(remove security checks)
|
|
53
|
-
sed -i.bak s'/Require local/Require all granted/g' /opt/lampp/etc/extra/httpd-xampp.conf && \
|
|
54
|
-
# Enable error display in php
|
|
55
|
-
sed -i.bak s'/display_errors=Off/display_errors=On/g' /opt/lampp/etc/php.ini && \
|
|
56
|
-
# Enable includes of several configuration files
|
|
57
|
-
mkdir /opt/lampp/apache2/conf.d && \
|
|
58
|
-
echo "IncludeOptional /opt/lampp/apache2/conf.d/*.conf" >> /opt/lampp/etc/httpd.conf && \
|
|
59
|
-
# Create a /www folder and a symbolic link to it in /opt/lampp/htdocs. It'll be accessible via http://localhost:[port]/www/
|
|
60
|
-
# This is convenient because it doesn't interfere with xampp, phpmyadmin or other tools in /opt/lampp/htdocs
|
|
61
|
-
# /opt/lampp/etc/httpd.conf
|
|
62
|
-
mkdir /www && \
|
|
63
|
-
ln -s /www /opt/lampp/htdocs
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
# Install mongodb necessary libs
|
|
67
|
-
RUN apt-get update && apt-get install -y apt-utils wget gnupg gnupg2 curl
|
|
68
|
-
|
|
69
|
-
# Install mongodb
|
|
70
|
-
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
|
|
71
|
-
RUN echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list
|
|
72
|
-
RUN apt-get update
|
|
73
|
-
RUN apt-get install -y mongodb-org
|
|
74
|
-
|
|
75
|
-
# BIND TO ALL ADAPTERS IN CONTAINER
|
|
76
|
-
RUN sed -i "s,\\(^[[:blank:]]*bindIp:\\) .*,\\1 0.0.0.0," /etc/mongod.conf
|
|
77
|
-
|
|
78
|
-
# Bundle app source
|
|
79
|
-
# COPY . .
|
|
80
|
-
|
|
81
|
-
# Install underpost cli
|
|
82
40
|
RUN npm install -g underpost
|
|
83
41
|
|
|
42
|
+
VOLUME [ "/home/dd/engine/logs" ]
|
|
84
43
|
|
|
85
|
-
|
|
44
|
+
EXPOSE 22
|
|
86
45
|
|
|
87
|
-
EXPOSE
|
|
88
|
-
EXPOSE 3000-3020
|
|
46
|
+
EXPOSE 4000-4004
|
|
89
47
|
|
|
90
|
-
CMD [ "
|
|
48
|
+
CMD [ "underpost", "new", "service" ]
|