From 7d91cf5a1bd0b8cb98e63c9de4dd8270d77dbc73 Mon Sep 17 00:00:00 2001 From: Tadeas Kmenta Date: Tue, 30 Nov 2021 18:38:52 +0700 Subject: [PATCH 1/2] remove need for zelid whitelist add additional type checks bump version --- HomeUI/src/views/apps/RegisterFluxApp.vue | 2 +- ZelBack/src/services/appsService.js | 28 +++++++++++++++++++++-- package.json | 2 +- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/HomeUI/src/views/apps/RegisterFluxApp.vue b/HomeUI/src/views/apps/RegisterFluxApp.vue index 29a01231c..27b459fd2 100644 --- a/HomeUI/src/views/apps/RegisterFluxApp.vue +++ b/HomeUI/src/views/apps/RegisterFluxApp.vue @@ -2,7 +2,7 @@
- Note: Only verified developers and images can currently run on Flux. To become a verified developer with whitelisted images, please contact the Flux Team via + Note: Only verified images can currently run on Flux. To whitelist your image, please contact the Flux Team via { + if (typeof appComponent.name !== 'string') { + throw new Error('Invalid Flux App component name'); + } + if (typeof appComponent.description !== 'string') { + throw new Error(`Invalid Flux App component ${appComponent.name} description`); + } if (Array.isArray(appComponent.ports)) { appComponent.ports.forEach((parameter) => { if (typeof parameter !== 'number') { @@ -3255,8 +3277,10 @@ async function verifyAppSpecifications(appSpecifications, height) { }); }); } - // check ZelID whitelisted - await generalService.checkWhitelistedZelID(appSpecifications.owner); + if (height < 1004000) { + // check ZelID whitelisted + await generalService.checkWhitelistedZelID(appSpecifications.owner); + } } async function assignedPortsApps() { diff --git a/package.json b/package.json index ef44723ce..62d7ddb36 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flux", - "version": "3.0.3", + "version": "3.0.4", "description": "Flux, Your Gateway to a Decentralized World", "repository": { "type": "git", From f51b5104bb2149c827bbe57bf4692d310b956fca Mon Sep 17 00:00:00 2001 From: Tadeas Kmenta Date: Tue, 30 Nov 2021 18:39:45 +0700 Subject: [PATCH 2/2] rebuild home --- HomeUI/dist/css/chunk-2917bda4.css | 1 + HomeUI/dist/css/chunk-74da2b58.css | 1 - HomeUI/dist/index.html | 2 +- HomeUI/dist/js/chunk-2917bda4.js | 1 + HomeUI/dist/js/chunk-74da2b58.js | 1 - HomeUI/dist/js/index.js | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 HomeUI/dist/css/chunk-2917bda4.css delete mode 100644 HomeUI/dist/css/chunk-74da2b58.css create mode 100644 HomeUI/dist/js/chunk-2917bda4.js delete mode 100644 HomeUI/dist/js/chunk-74da2b58.js diff --git a/HomeUI/dist/css/chunk-2917bda4.css b/HomeUI/dist/css/chunk-2917bda4.css new file mode 100644 index 000000000..041d05746 --- /dev/null +++ b/HomeUI/dist/css/chunk-2917bda4.css @@ -0,0 +1 @@ +.inline[data-v-3763b48c]{display:inline}[dir=ltr] .inline[data-v-3763b48c]{padding-left:5px}[dir=rtl] .inline[data-v-3763b48c]{padding-right:5px}.zelidLogin[data-v-3763b48c]{height:100px}.zelidLogin img[data-v-3763b48c]{-webkit-app-region:no-drag;transition:.1s}a img[data-v-3763b48c]{transition:all .05s ease-in-out}a:hover img[data-v-3763b48c]{filter:opacity(70%)}[dir] a:hover img[data-v-3763b48c]{transform:scale(1.1)} \ No newline at end of file diff --git a/HomeUI/dist/css/chunk-74da2b58.css b/HomeUI/dist/css/chunk-74da2b58.css deleted file mode 100644 index c40c64094..000000000 --- a/HomeUI/dist/css/chunk-74da2b58.css +++ /dev/null @@ -1 +0,0 @@ -.inline[data-v-15269f86]{display:inline}[dir=ltr] .inline[data-v-15269f86]{padding-left:5px}[dir=rtl] .inline[data-v-15269f86]{padding-right:5px}.zelidLogin[data-v-15269f86]{height:100px}.zelidLogin img[data-v-15269f86]{-webkit-app-region:no-drag;transition:.1s}a img[data-v-15269f86]{transition:all .05s ease-in-out}a:hover img[data-v-15269f86]{filter:opacity(70%)}[dir] a:hover img[data-v-15269f86]{transform:scale(1.1)} \ No newline at end of file diff --git a/HomeUI/dist/index.html b/HomeUI/dist/index.html index b35b0a2ba..a3d985411 100644 --- a/HomeUI/dist/index.html +++ b/HomeUI/dist/index.html @@ -83,7 +83,7 @@ transform: rotate(1turn); opacity: 1; } -}FluxOS Dashboard