Skip to content

Remove v1 code - #2469

Open
TG1999 wants to merge 6 commits into
mainfrom
remove_v1_code
Open

TG1999 wants to merge 6 commits into
mainfrom
remove_v1_code

Conversation

@TG1999

@TG1999 TG1999 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

This PR removes vulnerability model and related importers/improvers completely from VCIO codebase.

@TG1999

TG1999 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

#2469 PR is in progress here

@keshav-space keshav-space left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @TG1999, see few nits below.

Comment thread vulnerabilities/templates/base.html Resolved
Comment on lines +26 to +39
<script>
function goToTab(tabName) {
var tabs = document.getElementById('tabs');
if (!tabs) return false;
var targetLink = tabs.querySelector('[data-tab="' + tabName + '"]');
var targetContent = document.querySelector('#tab-content > .tab-div[data-content="' + tabName + '"]');
if (!targetLink || !targetContent) return false;
tabs.querySelectorAll('li.is-active').forEach(function (el) { el.classList.remove('is-active'); });
document.querySelectorAll('#tab-content > .tab-div.is-active').forEach(function (el) { el.classList.remove('is-active'); });
targetLink.classList.add('is-active');
targetContent.classList.add('is-active');
return false;
}
</script>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to move script to the middle? It should be at the bottom of template, inside {% block scripts %}. Moreover we should not duplicate this script, we should instead reuse <script src="{% static 'js/main.js' %}"></script>

Comment thread vulnerabilities/pipes/risk_score.py Resolved
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants