From b4daa85f20aa08006401a51f18ea94686acd093a Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Wed, 25 Dec 2019 10:32:17 +0800 Subject: [PATCH] replace cookie.js with js-cookie, add js-cookie license (#1561) * Password verification and v-for add key * DAG automatic layout * combo.js replacement * combo.js replacement * webpack upgrade to 4 * packjson has a file name that has not changed * Solve jertty packing garbled * Modify dashboard color * Remove iconfont, awesome, replace with ans-ui icon * Menu arrow style fix * Script input box style fix * console.log('Front-end third-party js, css introduced using npm * Front-end supplemental license * Modify naming * Repair license * replace cookie.js with js-cookie, add js-cookie license --- dolphinscheduler-dist/release-docs/LICENSE | 1 + .../licenses/ui-licenses/LICENSE-js-cookie | 21 +++++ dolphinscheduler-ui/package.json | 1 + .../dag/_source/formModel/tasks/http.vue | 4 +- dolphinscheduler-ui/src/js/conf/login/App.vue | 4 +- .../src/js/module/components/nav/nav.vue | 6 +- .../src/js/module/i18n/index.js | 8 +- dolphinscheduler-ui/src/js/module/io/index.js | 4 +- .../src/js/module/util/cookie.js | 88 ------------------- 9 files changed, 36 insertions(+), 101 deletions(-) create mode 100644 dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-js-cookie delete mode 100644 dolphinscheduler-ui/src/js/module/util/cookie.js diff --git a/dolphinscheduler-dist/release-docs/LICENSE b/dolphinscheduler-dist/release-docs/LICENSE index 3341cc6cbe..97946d1172 100644 --- a/dolphinscheduler-dist/release-docs/LICENSE +++ b/dolphinscheduler-dist/release-docs/LICENSE @@ -515,6 +515,7 @@ MIT licenses html2canvas 0.5.0-beta4: https://github.com/niklasvh/html2canvas MIT jquery 3.3.1: https://github.com/jquery/jquery MIT jquery-ui 1.12.1: https://github.com/jquery/jquery-ui MIT + js-cookie 2.2.1: https://github.com/js-cookie/js-cookie MIT jsplumb 2.8.6: https://github.com/jsplumb/jsplumb MIT and GPLv2 lodash 4.17.11: https://github.com/lodash/lodash MIT vue 2.5.17: https://github.com/vuejs/vue MIT diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-js-cookie b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-js-cookie new file mode 100644 index 0000000000..69ed677563 --- /dev/null +++ b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-js-cookie @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Copyright 2018 Klaus Hartl, Fagner Brack, GitHub Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-ui/package.json b/dolphinscheduler-ui/package.json index 9d91b09922..7827e5c1c0 100644 --- a/dolphinscheduler-ui/package.json +++ b/dolphinscheduler-ui/package.json @@ -23,6 +23,7 @@ "html2canvas": "^0.5.0-beta4", "jquery": "3.3.1", "jquery-ui": "^1.12.1", + "js-cookie": "^2.2.1", "jsplumb": "^2.8.6", "lodash": "^4.17.11", "vue": "^2.5.17", diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/http.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/http.vue index 2617c44032..adb5441e78 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/http.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/http.vue @@ -101,7 +101,7 @@