added codebase, project rules and sec audit

This commit is contained in:
2026-11-08 19:03:59 -05:00
parent 4816038d49
commit bcd424f91a
1798 changed files with 801283 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import AddBugWizard from "/src/js/components/modules/wizards/AddBugWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('AddBugWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(AddBugWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import AddCustomerWizard from "/src/js/components/modules/wizards/AddCustomerWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('AddCustomerWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(AddCustomerWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import AddFolderWizard from "/src/js/components/modules/wizards/AddFolderWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('AddFolderWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(AddFolderWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import AddGroupWizard from "/src/js/components/modules/wizards/AddGroupWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('AddGroupWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(AddGroupWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import AddLinkWizard from "/src/js/components/modules/wizards/AddLinkWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('AddLinkWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(AddLinkWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import AddTagWizard from "/src/js/components/modules/wizards/AddTagWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('AddTagWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(AddTagWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import AddUserWizard from "/src/js/components/modules/wizards/AddUserWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('AddUserWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(AddUserWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import ConfirmFileDelete from "/src/js/components/modules/wizards/ConfirmFileDelete.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('ConfirmFileDelete.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(ConfirmFileDelete, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import ConfirmLinkDelete from "/src/js/components/modules/wizards/ConfirmLinkDelete.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('ConfirmLinkDelete.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(ConfirmLinkDelete, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import NewChangeTaskLinkWizard from "/src/js/components/modules/wizards/NewChangeTaskLinkWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('NewChangeTaskLinkWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(NewChangeTaskLinkWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import NewHistoryNoteWizard from "/src/js/components/modules/wizards/NewHistoryNoteWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('NewHistoryNoteWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(NewHistoryNoteWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,32 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import NewKanbanCard from "/src/js/components/modules/wizards/NewKanbanCard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('NewKanbanCard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(NewKanbanCard, {
props: {
columnResults:[{"model":"NearBeach.kanbancolumn","pk":31,"fields":{"kanban_column_name":"Backlog","kanban_column_property":"Normal","kanban_column_sort_number":0,"kanban_board":7,"date_created":"2023-11-06T09:29:54.639Z","date_modified":"2023-11-06T09:29:54.639Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":32,"fields":{"kanban_column_name":"Blocked","kanban_column_property":"Blocked","kanban_column_sort_number":1,"kanban_board":7,"date_created":"2023-11-06T09:29:54.640Z","date_modified":"2023-11-06T09:29:54.640Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":33,"fields":{"kanban_column_name":"In Progress","kanban_column_property":"Normal","kanban_column_sort_number":2,"kanban_board":7,"date_created":"2023-11-06T09:29:54.642Z","date_modified":"2023-11-06T09:29:54.642Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":34,"fields":{"kanban_column_name":"Review and QA","kanban_column_property":"Normal","kanban_column_sort_number":3,"kanban_board":7,"date_created":"2023-11-06T09:29:54.644Z","date_modified":"2023-11-06T09:29:54.644Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":35,"fields":{"kanban_column_name":"Completed","kanban_column_property":"Closed","kanban_column_sort_number":4,"kanban_board":7,"date_created":"2023-11-06T09:29:54.646Z","date_modified":"2023-11-06T09:29:54.646Z","change_user":2,"is_deleted":false}}],
kanbanBoardResults:[{"model":"NearBeach.kanbanboard","pk":7,"fields":{"kanban_board_name":"Opened KAB","requirement":null,"kanban_board_status":"Open","date_created":"2023-11-06T09:29:54.636Z","date_modified":"2023-11-06T09:29:54.636Z","change_user":2,"creation_user":2,"is_deleted":false}}],
kanbanCardResults:[{"model":"NearBeach.kanbancard","pk":24,"fields":{"kanban_card_text":"asdf","kanban_card_description":"undefined","kanban_card_sort_number":0,"kanban_level":19,"kanban_column":31,"kanban_board":7,"kanban_card_priority":0,"project":null,"task":null,"requirement":null,"is_archived":false,"date_created":"2023-11-06T09:29:58.470Z","date_modified":"2023-11-08T10:24:14.130Z","change_user":2,"is_deleted":false}}],
levelResults:[{"model":"NearBeach.kanbanlevel","pk":18,"fields":{"kanban_level_name":"Sprint 1","kanban_level_sort_number":0,"kanban_board":7,"date_created":"2023-11-06T09:29:54.648Z","date_modified":"2023-11-06T09:29:54.648Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbanlevel","pk":19,"fields":{"kanban_level_name":"Sprint 2","kanban_level_sort_number":1,"kanban_board":7,"date_created":"2023-11-06T09:29:54.650Z","date_modified":"2023-11-06T09:29:54.650Z","change_user":2,"is_deleted":false}}],
},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,31 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import NewKanbanLinkWizard from "/src/js/components/modules/wizards/NewKanbanLinkWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('NewKanbanLinkWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(NewKanbanLinkWizard, {
props: {
columnResults: [{"model":"NearBeach.kanbancolumn","pk":31,"fields":{"kanban_column_name":"Backlog","kanban_column_property":"Normal","kanban_column_sort_number":0,"kanban_board":7,"date_created":"2023-11-06T09:29:54.639Z","date_modified":"2023-11-06T09:29:54.639Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":32,"fields":{"kanban_column_name":"Blocked","kanban_column_property":"Blocked","kanban_column_sort_number":1,"kanban_board":7,"date_created":"2023-11-06T09:29:54.640Z","date_modified":"2023-11-06T09:29:54.640Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":33,"fields":{"kanban_column_name":"In Progress","kanban_column_property":"Normal","kanban_column_sort_number":2,"kanban_board":7,"date_created":"2023-11-06T09:29:54.642Z","date_modified":"2023-11-06T09:29:54.642Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":34,"fields":{"kanban_column_name":"Review and QA","kanban_column_property":"Normal","kanban_column_sort_number":3,"kanban_board":7,"date_created":"2023-11-06T09:29:54.644Z","date_modified":"2023-11-06T09:29:54.644Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":35,"fields":{"kanban_column_name":"Completed","kanban_column_property":"Closed","kanban_column_sort_number":4,"kanban_board":7,"date_created":"2023-11-06T09:29:54.646Z","date_modified":"2023-11-06T09:29:54.646Z","change_user":2,"is_deleted":false}}],
levelResults: [{"model":"NearBeach.kanbanlevel","pk":18,"fields":{"kanban_level_name":"Sprint 1","kanban_level_sort_number":0,"kanban_board":7,"date_created":"2023-11-06T09:29:54.648Z","date_modified":"2023-11-06T09:29:54.648Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbanlevel","pk":19,"fields":{"kanban_level_name":"Sprint 2","kanban_level_sort_number":1,"kanban_board":7,"date_created":"2023-11-06T09:29:54.650Z","date_modified":"2023-11-06T09:29:54.650Z","change_user":2,"is_deleted":false}}],
locationId: 1,
},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import NewLinkWizard from "/src/js/components/modules/wizards/NewLinkWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('NewLinkWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(NewLinkWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import NewRequirementItemWizard from "/src/js/components/modules/wizards/NewRequirementItemWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('NewRequirementItemWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(NewRequirementItemWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import NewRequirementLinkWizard from "/src/js/components/modules/wizards/NewRequirementLinkWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('NewRequirementLinkWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(NewRequirementLinkWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import UpdateChangeLead from "/src/js/components/modules/wizards/UpdateChangeLead.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('UpdateChangeLead.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(UpdateChangeLead, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import UploadDocumentWizard from "/src/js/components/modules/wizards/UploadDocumentWizard.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe('UploadDocumentWizard.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(UploadDocumentWizard, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})