diff --git a/CHANGELOG.md b/CHANGELOG.md
index 640ec77..2391f2a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# VINCE Changelog
+Version 2.0.6 2023-01-23
+
+* Removed Edit Vulnerability button superfluous GHIssue #77
+* Updates to CVE publish buttons and automatic close of CVE modal on error
+* Modify CVEAffectedProduct.version_affected vince models.py for CVE5JSON
+* Bug fix newcomment not new_comment in vince/views.py
+* Add "Notify anyway" button routine for already notified vendor.
## Version 2.0.5 2023-01-04
diff --git a/bigvince/settings_.py b/bigvince/settings_.py
index acb61f6..d48e592 100644
--- a/bigvince/settings_.py
+++ b/bigvince/settings_.py
@@ -56,7 +56,7 @@
ROOT_DIR = environ.Path(__file__) - 3
# any change that requires database migrations is a minor release
-VERSION = "2.0.5"
+VERSION = "2.0.6"
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
diff --git a/vince/models.py b/vince/models.py
index 475eeef..80342bf 100644
--- a/vince/models.py
+++ b/vince/models.py
@@ -3844,7 +3844,7 @@ class CVEAffectedProduct(models.Model):
_('Version Range Type'),
blank=True,
null=True,
- max_length=10)
+ max_length=25)
version_value = models.CharField(
_('Affected Version or Start'),
diff --git a/vince/static/vince/js/case.js b/vince/static/vince/js/case.js
index cd60b48..377c277 100644
--- a/vince/static/vince/js/case.js
+++ b/vince/static/vince/js/case.js
@@ -463,7 +463,6 @@ $(document).ready(function() {
var largemodal = $("#largemodal");
$(document).on("submit", '#addvendorform', function(event) {
- /* the jquery autocomplete should use UUID or PKIDs*/
event.preventDefault();
var reload = $(this).attr("reload");
var vendors = [];
@@ -1680,8 +1679,7 @@ $(document).ready(function() {
}
vendors_table = Tabulator.prototype.findTable("#vendors-table")[0]
approvemodal = $("#approvenote");
- $(document).off("click", '#notifyvendors')
- $(document).on("click", '#notifyvendors', function(event) {
+ function notify_vendors(event,bypass) {
event.preventDefault();
var vendors = [];
var selectedRows = vendors_table.getSelectedRows();
@@ -1691,7 +1689,7 @@ $(document).ready(function() {
if (selectedRows.length > 0) {
for (i=0; i < selectedRows.length; i++) {
var v = selectedRows[i].getData();
- if(v.contact_date) {
+ if(v.contact_date && (!bypass)) {
exceptions += "
Skipping Vendor "+ v.vendor +
" Already notified on "+ v.contact_date +
"
";
@@ -1699,13 +1697,23 @@ $(document).ready(function() {
}
vendors.push(v.id)
}
-
- }
- if (vendors.length < 1) {
- alertmodal(approvemodal, "No valid vendors to " +
- "notify!
All vendors have been " +
- "notified or none were selected that can be "+
- "notified.
");
+ if (vendors.length < 1) {
+ alertmodal(approvemodal, "No valid vendors to " +
+ "notify!
All vendors have been " +
+ "notified or none were selected that can be "+
+ "notified.
");
+ approvemodal.find(".modal-footer")
+ .prepend(" ")
+ .prepend($("