Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add audit-fix #2967

Closed
wants to merge 35 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
80605f3
Add zmount unit tests
zaelgohary Jun 6, 2024
ef86eb5
Adding planetry ip to all solutions
maayarosama Jun 6, 2024
0860e49
Add farms alert
zaelgohary Jun 6, 2024
00611b3
Merge pull request #2902 from threefoldtech/development_2.6_farms_det…
zaelgohary Jun 6, 2024
f7e01b9
Replace v-autocomplete w v-select
zaelgohary Jun 6, 2024
bbbf728
Merge pull request #2901 from threefoldtech/development_2.6_planetary
maayarosama Jun 6, 2024
90a647c
Fix public ip delete btn
samaradel Jun 6, 2024
b433d30
Merge pull request #2905 from threefoldtech/development_2.6_deleteBtn
samaradel Jun 6, 2024
6ff03ea
Merge pull request #2903 from threefoldtech/development_2.6_fix_flist…
zaelgohary Jun 6, 2024
82dc3ad
Merge pull request #2894 from threefoldtech/development_2.6_zmount_tests
zaelgohary Jun 9, 2024
f66c4fe
Adding an alert and a retry button in case of failure of retrieving n…
maayarosama Jun 9, 2024
b90af91
Change memory rules to accept decimals and edit min value
zaelgohary Jun 9, 2024
9c46686
Merge branch 'development' into development_2.6
AhmedHanafy725 Jun 9, 2024
1ed4c1d
Add branch development_2.6 to trigger the workflow
AhmedHanafy725 Jun 9, 2024
9e8bcbd
Merge pull request #2921 from threefoldtech/development_2.6_node_find…
maayarosama Jun 9, 2024
52589ac
Fix search your farms
zaelgohary Jun 9, 2024
ae31f76
Remove unused code
zaelgohary Jun 9, 2024
4392893
Merge pull request #2927 from threefoldtech/development_2.6_memory_rules
zaelgohary Jun 10, 2024
a87b0e7
Merge pull request #2938 from threefoldtech/development_2.6_search_farm
zaelgohary Jun 10, 2024
62f5da4
Fix farm finder table pagination
samaradel Jun 10, 2024
a2b967a
Fix profile manager inputs autocomplete
samaradel Jun 10, 2024
d96641b
Added a Mine filter in node finder to retrieve nodes rented by me
maayarosama Jun 10, 2024
f36b8ff
Merge pull request #2946 from threefoldtech/development_2.6_inputs
samaradel Jun 10, 2024
19da6d3
Merge pull request #2949 from threefoldtech/development_2.6_add__mine…
maayarosama Jun 11, 2024
c8aeac8
Merge pull request #2942 from threefoldtech/development_2.6_farm_finder
samaradel Jun 11, 2024
d9a3d28
feat: Enhance the contracts list page and support sorting: (#2950)
Mahmoud-Emad Jun 11, 2024
ae864d9
Merge branch 'development' into development_2.6
AhmedHanafy725 Jun 11, 2024
4b75cbc
Fix too expensive box flashing
samaradel Jun 11, 2024
b53f20f
Fix nodes last deployment timestamp
samaradel Jun 11, 2024
3fec702
rm script push by mistake
samaradel Jun 11, 2024
5b92ddd
fix check node status condition
samaradel Jun 11, 2024
539dac6
Merge pull request #2957 from threefoldtech/development_2.6_deploymen…
samaradel Jun 11, 2024
ce6cb3b
Merge pull request #2956 from threefoldtech/development_2.6_pricing_c…
samaradel Jun 11, 2024
0d9ac3f
Fix the scroll of the main page when dashboard logger is opened
samaradel Jun 11, 2024
a4f899e
Merge pull request #2959 from threefoldtech/development_2.6_logger
samaradel Jun 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions packages/playground/src/calculator/pricing_calculator.vue
Original file line number Diff line number Diff line change
@@ -171,7 +171,11 @@
</p>
</input-tooltip>
</div>
<section class="card mt-5" v-if="priceTask.data?.dedicatedPackage.package !== 'gold'">

<section
class="card mt-5"
v-if="!priceTask.loading && priceTask.data?.dedicatedPackage.package !== 'gold'"
>
<p class="card-info pa-2">
<b>Too expensive?</b> can upgrade to <b>Gold package</b> to get discount up to 60% when you fund your
wallet with <b>{{ dedicatedUpgradePrice }}</b> TFT
@@ -198,7 +202,10 @@
</p>
</input-tooltip>
</div>
<section class="card mt-5 pa-2" v-if="priceTask.data?.sharedPackage.package !== 'gold'">
<section
class="card mt-5 pa-2"
v-if="!priceTask.loading && priceTask.data?.sharedPackage.package !== 'gold'"
>
<p class="card-info">
<b>Too expensive?</b> can upgrade to <b>Gold package</b> to get discount up to 60% when you fund your
wallet with <b>{{ sharedUpgradePrice }}</b> TFT

Unchanged files with check annotations Beta

const verify = async (payload: Payload) => {
try {
const hash = MD5(payload.content!).toString();

Check warning on line 30 in packages/UI/examples/server-example/nodejs-server/src/server.ts

GitHub Actions / lint (18.x)

Forbidden non-null assertion

Check warning on line 30 in packages/UI/examples/server-example/nodejs-server/src/server.ts

GitHub Actions / lint (18.x)

Forbidden non-null assertion
const messageBytes = Uint8Array.from(Buffer.from(hash.toString(), "hex"));
const keyring = new Keyring({ type: payload.keypairType });
if (config.pdfData) {
data = await sign(config.pdfData, account?.mnemonic ?? "", config.keypairType);
} else {
data = await sign(config.scriptContent!, account?.mnemonic ?? "", config.keypairType);

Check warning on line 60 in packages/UI/src/utils/threefoldConnectorProvider.ts

GitHub Actions / lint (18.x)

Forbidden non-null assertion

Check warning on line 60 in packages/UI/src/utils/threefoldConnectorProvider.ts

GitHub Actions / lint (18.x)

Forbidden non-null assertion
}
if (!data.publicKey || !data.signature) {
Account,
ArrayWhere,
BaseWhere,
BigInt,

Check warning on line 6 in packages/graphql_client/src/clients/list_queries.ts

GitHub Actions / lint (18.x)

'BigInt' is defined but never used

Check warning on line 6 in packages/graphql_client/src/clients/list_queries.ts

GitHub Actions / lint (18.x)

'BigInt' is defined but never used
BoolWhere,
BurnTransaction,
City,
import { ValidationError } from "@threefold/types";
type AssertReturn = void | never;
function panic(message: string): never {

Check warning on line 3 in packages/graphql_client/src/utils/index.ts

GitHub Actions / lint (18.x)

'panic' is defined but never used

Check warning on line 3 in packages/graphql_client/src/utils/index.ts

GitHub Actions / lint (18.x)

'panic' is defined but never used
throw new Error(message);
}
log("================= Getting deployment information =================");
}
async function cancel(client, vms) {

Check warning on line 19 in packages/grid_client/scripts/applications/algorand.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used

Check warning on line 19 in packages/grid_client/scripts/applications/algorand.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used
const resultVM = await client.machines.delete(vms);
log("================= Canceling the deployment =================");
log(resultVM);
log("================= Getting deployment information =================");
}
async function cancel(client, vms, gw) {

Check warning on line 36 in packages/grid_client/scripts/applications/casberlabs.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used

Check warning on line 36 in packages/grid_client/scripts/applications/casberlabs.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used
const resultVM = await client.machines.delete(vms);
const resultGateway = await client.gateway.delete_name(gw);
log("================= Canceling the deployment =================");
log("================= Getting deployment information =================");
}
async function cancel(client, vms, gw) {

Check warning on line 39 in packages/grid_client/scripts/applications/discourse.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used

Check warning on line 39 in packages/grid_client/scripts/applications/discourse.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used
const resultVM = await client.machines.delete(vms);
const resultGateway = await client.gateway.delete_name(gw);
log("================= Canceling the deployment =================");
log("================= Getting deployment information =================");
}
async function cancel(client, vms, gw) {

Check warning on line 36 in packages/grid_client/scripts/applications/funkwhale.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used

Check warning on line 36 in packages/grid_client/scripts/applications/funkwhale.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used
const resultVM = await client.machines.delete(vms);
const resultGateway = await client.gateway.delete_name(gw);
log("================= Canceling the deployment =================");
log("================= Getting deployment information =================");
}
async function cancel(client, vms, gw) {

Check warning on line 36 in packages/grid_client/scripts/applications/mattermost.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used

Check warning on line 36 in packages/grid_client/scripts/applications/mattermost.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used
const resultVM = await client.machines.delete(vms);
const resultGateway = await client.gateway.delete_name(gw);
log("================= Canceling the deployment =================");
log("================= Getting deployment information =================");
}
async function cancel(client, vms, gw) {

Check warning on line 36 in packages/grid_client/scripts/applications/nextcloud.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used

Check warning on line 36 in packages/grid_client/scripts/applications/nextcloud.ts

GitHub Actions / lint (18.x)

'cancel' is defined but never used
const resultVM = await client.machines.delete(vms);
const resultGateway = await client.gateway.delete_name(gw);
log("================= Canceling the deployment =================");