From 8ae54bbfd6324d72bab910c540eec6f69d108dbc Mon Sep 17 00:00:00 2001 From: wkl505997900 <2313665567@qq.com> Date: Tue, 14 Nov 2023 19:46:41 +0800 Subject: [PATCH] update version to 1.3.4 --- ...Resolve-upload-and-pagination-issues.patch | 51 -- ...-plugin-and-fingerprint-waveform-bar.patch | 4 +- 0002-Change-params-under-rpms-host.patch | 127 ----- ...f-leaving-the-page-polling-interface.patch | 155 ------ ...olving-the-problem-of-cve-fix-params.patch | 25 - ...login-key-to-asset-management-module.patch | 427 ---------------- 0007-Fix-five-issues.patch | 99 ---- ...with-polling-and-refreshing-displays.patch | 98 ---- ...-Correction-of-copyright-information.patch | 28 - ...Optimize-host-scanning-polling-logic.patch | 42 -- ...nt-for-generating-cve-and-repo-tasks.patch | 74 --- 0012-Fix-Upload-host-logic.patch | 278 ---------- ...Fix-the-issue-of-incorrect-parameter.patch | 29 -- ...m.d-directory-file-analytic-function.patch | 477 ------------------ aops-hermes-v1.3.3.tar.gz | Bin 756380 -> 0 bytes aops-hermes-v1.3.4.tar.gz | Bin 0 -> 758034 bytes aops-hermes.spec | 23 +- 17 files changed, 9 insertions(+), 1928 deletions(-) delete mode 100644 0001-Resolve-upload-and-pagination-issues.patch rename 0006-Temporarily-hide-the-plugin-and-fingerprint-waveform-bar.patch => 0001-Temporarily-hide-the-plugin-and-fingerprint-waveform-bar.patch (91%) delete mode 100644 0002-Change-params-under-rpms-host.patch delete mode 100644 0003-Solving-the-query-problem-of-leaving-the-page-polling-interface.patch delete mode 100644 0004-Solving-the-problem-of-cve-fix-params.patch delete mode 100644 0005-Add-login-key-to-asset-management-module.patch delete mode 100644 0007-Fix-five-issues.patch delete mode 100644 0008-Fix-issues-with-polling-and-refreshing-displays.patch delete mode 100644 0009-Correction-of-copyright-information.patch delete mode 100644 0010-Optimize-host-scanning-polling-logic.patch delete mode 100644 0011-Add-null-judgment-for-generating-cve-and-repo-tasks.patch delete mode 100644 0012-Fix-Upload-host-logic.patch delete mode 100644 0013-Fix-the-issue-of-incorrect-parameter.patch delete mode 100644 0014-add-pam.d-directory-file-analytic-function.patch delete mode 100644 aops-hermes-v1.3.3.tar.gz create mode 100644 aops-hermes-v1.3.4.tar.gz diff --git a/0001-Resolve-upload-and-pagination-issues.patch b/0001-Resolve-upload-and-pagination-issues.patch deleted file mode 100644 index 60c1c2a..0000000 --- a/0001-Resolve-upload-and-pagination-issues.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 05b4972808e22c2a9c2c36aa639e521e1a6d5809 Mon Sep 17 00:00:00 2001 -From: wkl505997900 <2313665567@qq.com> -Date: Wed, 20 Sep 2023 14:43:57 +0800 -Subject: [PATCH] solve some bug - ---- - src/vendor/ant-design-pro/utils/request.js | 6 +++++- - src/views/leaks/components/CvesTable.vue | 3 ++- - 2 files changed, 7 insertions(+), 2 deletions(-) - -diff --git a/src/vendor/ant-design-pro/utils/request.js b/src/vendor/ant-design-pro/utils/request.js -index 1f0fe84..c3307ce 100644 ---- a/src/vendor/ant-design-pro/utils/request.js -+++ b/src/vendor/ant-design-pro/utils/request.js -@@ -83,7 +83,11 @@ request.interceptors.request.use(config => { - const userName = localStorage.getItem('user_name') - userName && localStorage.setItem('user_name', userName); - } -- config.headers['Content-Type'] = 'application/json' -+ if (config.url === '/vulnerability/cve/advisory/upload' || config.url === '/vulnerability/cve/unaffected/upload') { -+ config.headers['Content-Type'] = 'application/x-www-form-urlencoded' -+ } else { -+ config.headers['Content-Type'] = 'application/json' -+ } - return config; - }, errorHandler); - -diff --git a/src/views/leaks/components/CvesTable.vue b/src/views/leaks/components/CvesTable.vue -index eae6a6b..72b4703 100644 ---- a/src/views/leaks/components/CvesTable.vue -+++ b/src/views/leaks/components/CvesTable.vue -@@ -705,7 +705,6 @@ export default { - this.pagination = pagination; - // 翻页时清楚展开状态 - this.expandedRowKeys = [] -- - this.filters = Object.assign({}, this.filters, filters); - if (this.filters['fixStatus'] != null) { - this.assignFiltersFixStatus(this.filters['fixStatus']) -@@ -1072,6 +1071,8 @@ export default { - pageSize: pagination.pageSize, - total: res.data.total_count || (res.data.total_count === 0 ? 0 : pagination.total) - }; -+ // 获取cve列表后清楚展开状态 -+ _this.expandedRowKeys = []; - }) - .catch(function (err) { - _this.$message.error(err.response.message); --- -Gitee - diff --git a/0006-Temporarily-hide-the-plugin-and-fingerprint-waveform-bar.patch b/0001-Temporarily-hide-the-plugin-and-fingerprint-waveform-bar.patch similarity index 91% rename from 0006-Temporarily-hide-the-plugin-and-fingerprint-waveform-bar.patch rename to 0001-Temporarily-hide-the-plugin-and-fingerprint-waveform-bar.patch index 5cb86f6..89a8007 100644 --- a/0006-Temporarily-hide-the-plugin-and-fingerprint-waveform-bar.patch +++ b/0001-Temporarily-hide-the-plugin-and-fingerprint-waveform-bar.patch @@ -1,6 +1,6 @@ -From 1d3c9795889773616ef2f5216512b03d8a95593a Mon Sep 17 00:00:00 2001 +From 94ca5547253fe7a804869351040d4401959f381f Mon Sep 17 00:00:00 2001 From: wkl505997900 <2313665567@qq.com> -Date: Wed, 18 Oct 2023 19:14:57 +0800 +Date: Tue, 14 Nov 2023 19:27:04 +0800 Subject: [PATCH] Temporarily hide the plugin and fingerprint waveform bar --- diff --git a/0002-Change-params-under-rpms-host.patch b/0002-Change-params-under-rpms-host.patch deleted file mode 100644 index 2a554f0..0000000 --- a/0002-Change-params-under-rpms-host.patch +++ /dev/null @@ -1,127 +0,0 @@ -From f67fbff8a0b1df63d220b9ec0864cdd276c42612 Mon Sep 17 00:00:00 2001 -From: wkl505997900 <2313665567@qq.com> -Date: Wed, 20 Sep 2023 19:23:01 +0800 -Subject: [PATCH] change rpm params - ---- - src/api/leaks.js | 2 ++ - src/views/leaks/components/CvesTable.vue | 18 ++++++++++++++++-- - src/views/leaks/components/HostInCveRpm.vue | 10 ++++++++++ - 3 files changed, 28 insertions(+), 2 deletions(-) - -diff --git a/src/api/leaks.js b/src/api/leaks.js -index 99f29c6..cd59dda 100644 ---- a/src/api/leaks.js -+++ b/src/api/leaks.js -@@ -86,6 +86,8 @@ export function getRpmUnderCve(parameters) { - page: parameters.page, - per_page: parameters.per_page, - cve_id: parameters.cve_id, -+ hp_status: parameters.hp_status, -+ fixed: parameters.fixed, - available_rpm: parameters.available_rpm === null ? undefined : parameters.available_rpm, - installed_rpm: parameters.installed_rpm === null ? undefined : parameters.installed_rpm, - direction: parameters.direction -diff --git a/src/views/leaks/components/CvesTable.vue b/src/views/leaks/components/CvesTable.vue -index 72b4703..47eed62 100644 ---- a/src/views/leaks/components/CvesTable.vue -+++ b/src/views/leaks/components/CvesTable.vue -@@ -149,6 +149,7 @@ - :locale="tablenodata" - :rowSelection="innerRowSelection" - :pagination="false"> -+
变更历史:
-文件大小不超过1MB
-+