From 63d69a955e65b4e1f5c1fb3134113061e9772df7 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Thu, 6 May 2021 10:14:06 +0800
Subject: [PATCH 01/11] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BA=93-=E6=8F=90?=
=?UTF-8?q?=E4=BA=A4=E6=8F=8F=E8=BF=B0=E6=9C=AA=E6=8D=A2=E8=A1=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/CoderDepot.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx
index 86a33246..752ff4a5 100644
--- a/src/forge/Main/CoderDepot.jsx
+++ b/src/forge/Main/CoderDepot.jsx
@@ -322,7 +322,7 @@ function CoderDepot(props){
lastCommit &&
-
{lastCommit && lastCommit.message}
+
{lastCommit && lastCommit.message}
{ hideBtn &&
changeHide(hide)}> }
{lastCommit && lastCommit.time_from_now}
From 2deb6f8f9d01fe4b91740fc87190909123d3d048 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Thu, 6 May 2021 10:56:09 +0800
Subject: [PATCH 02/11] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=89=80=E6=9C=89?=
=?UTF-8?q?=E6=A0=87=E7=AD=BE=E7=9A=84marginbottom=E4=B8=BA0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/css/edu-purge.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css
index ac97837f..7ada96f4 100644
--- a/public/css/edu-purge.css
+++ b/public/css/edu-purge.css
@@ -1307,6 +1307,7 @@ td,
span {
margin: 0;
padding: 0;
+ margin-bottom: 0px!important;
}
table,
From c33561c212f47519d2c4a4e5c1af0eb07bad2da9 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Thu, 6 May 2021 14:59:54 +0800
Subject: [PATCH 03/11] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E9=A1=B9=E7=9B=AE-maxl?=
=?UTF-8?q?ength?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package-lock.json | 241 +++++++++++++++---------------
src/forge/Main/CoderRootCommit.js | 2 +-
src/forge/New/Index.js | 6 +-
3 files changed, 125 insertions(+), 124 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 2bb26e24..9e662e1a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6,30 +6,35 @@
"dependencies": {
"@ant-design/colors": {
"version": "3.2.2",
- "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-3.2.2.tgz",
- "integrity": "sha512-YKgNbG2dlzqMhA9NtI3/pbY16m3Yl/EeWBRa+lB1X1YaYxHrxNexiQYCLTWO/uDvAjLFMEDU+zR901waBtMtjQ==",
+ "resolved": "https://registry.npm.taobao.org/@ant-design/colors/download/@ant-design/colors-3.2.2.tgz?cache=0&sync_timestamp=1612935637470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40ant-design%2Fcolors%2Fdownload%2F%40ant-design%2Fcolors-3.2.2.tgz",
+ "integrity": "sha1-WtQ9YZ6RHzSI66wwPWBuZqhCOQM=",
"requires": {
"tinycolor2": "^1.4.1"
}
},
"@ant-design/create-react-context": {
"version": "0.2.5",
- "resolved": "https://registry.npmjs.org/@ant-design/create-react-context/-/create-react-context-0.2.5.tgz",
- "integrity": "sha512-1rMAa4qgP2lfl/QBH9i78+Gjxtj9FTMpMyDGZsEBW5Kih72EuUo9958mV8PgpRkh4uwPSQ7vVZWXeyNZXVAFDg==",
+ "resolved": "https://registry.npm.taobao.org/@ant-design/create-react-context/download/@ant-design/create-react-context-0.2.5.tgz",
+ "integrity": "sha1-9fWpFjtHcgl3EoNzl60w4i55+Fg=",
"requires": {
"gud": "^1.0.0",
"warning": "^4.0.3"
}
},
+ "@ant-design/css-animation": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npm.taobao.org/@ant-design/css-animation/download/@ant-design/css-animation-1.7.3.tgz?cache=0&sync_timestamp=1596106749762&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40ant-design%2Fcss-animation%2Fdownload%2F%40ant-design%2Fcss-animation-1.7.3.tgz",
+ "integrity": "sha1-YKHJcAFOhrKPlAUQ1p5QPkKPETY="
+ },
"@ant-design/icons": {
"version": "2.1.1",
- "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-2.1.1.tgz",
- "integrity": "sha512-jCH+k2Vjlno4YWl6g535nHR09PwCEmTBKAG6VqF+rhkrSPRLfgpU2maagwbZPLjaHuU5Jd1DFQ2KJpQuI6uG8w=="
+ "resolved": "https://registry.npm.taobao.org/@ant-design/icons/download/@ant-design/icons-2.1.1.tgz",
+ "integrity": "sha1-e5wI3/1PXUHbZn2dvl4BB9C9mko="
},
"@ant-design/icons-react": {
"version": "2.0.1",
- "resolved": "https://registry.npmjs.org/@ant-design/icons-react/-/icons-react-2.0.1.tgz",
- "integrity": "sha512-r1QfoltMuruJZqdiKcbPim3d8LNsVPB733U0gZEUSxBLuqilwsW28K2rCTWSMTjmFX7Mfpf+v/wdiFe/XCqThw==",
+ "resolved": "https://registry.npm.taobao.org/@ant-design/icons-react/download/@ant-design/icons-react-2.0.1.tgz",
+ "integrity": "sha1-F6JRNXGrMXrKKSfljOol3THlNvs=",
"requires": {
"@ant-design/colors": "^3.1.0",
"babel-runtime": "^6.26.0"
@@ -446,8 +451,8 @@
},
"@types/react-slick": {
"version": "0.23.4",
- "resolved": "https://registry.npmjs.org/@types/react-slick/-/react-slick-0.23.4.tgz",
- "integrity": "sha512-vXoIy4GUfB7/YgqubR4H7RALo+pRdMYCeLgWwV3MPwl5pggTlEkFBTF19R7u+LJc85uMqC7RfsbkqPLMQ4ab+A==",
+ "resolved": "https://registry.npm.taobao.org/@types/react-slick/download/@types/react-slick-0.23.4.tgz",
+ "integrity": "sha1-yX4qnn49GTPGhZO46CdS+rHozlM=",
"requires": {
"@types/react": "*"
}
@@ -863,9 +868,9 @@
}
},
"antd": {
- "version": "3.26.16",
- "resolved": "https://registry.npmjs.org/antd/-/antd-3.26.16.tgz",
- "integrity": "sha512-EYRwlEf8FCPCVRk5yDcgjSZOC0exu+m75SwlSQU+Mh17f9wGhLeL2/DV7/Sra1r+BZlfiahFdkgrLY7UgMMBEQ==",
+ "version": "3.26.20",
+ "resolved": "https://registry.nlark.com/antd/download/antd-3.26.20.tgz",
+ "integrity": "sha1-8/Vw76qllQoUSULyHrKqqgiOlAc=",
"requires": {
"@ant-design/create-react-context": "^0.2.4",
"@ant-design/icons": "~2.1.1",
@@ -925,16 +930,16 @@
"dependencies": {
"raf": {
"version": "3.4.1",
- "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
- "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
+ "resolved": "https://registry.npm.taobao.org/raf/download/raf-3.4.1.tgz",
+ "integrity": "sha1-B0LpmkplUvRF1z4+4DKK8P8e3jk=",
"requires": {
"performance-now": "^2.1.0"
}
},
"rc-pagination": {
- "version": "1.20.14",
- "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-1.20.14.tgz",
- "integrity": "sha512-sNKwbFrxiqATqcIIShfrFs8BT03n4UUwTAMYae+JhHTmILQmXdvimEnZbVuWcno6G02DAJcLrFpmkn1h2tmEJw==",
+ "version": "1.20.15",
+ "resolved": "https://registry.npm.taobao.org/rc-pagination/download/rc-pagination-1.20.15.tgz",
+ "integrity": "sha1-zLTNDpvU5H9y8p6kMsA1C/ez2Ac=",
"requires": {
"babel-runtime": "6.x",
"classnames": "^2.2.6",
@@ -944,8 +949,8 @@
},
"rc-rate": {
"version": "2.5.1",
- "resolved": "https://registry.npmjs.org/rc-rate/-/rc-rate-2.5.1.tgz",
- "integrity": "sha512-3iJkNJT8xlHklPCdeZtUZmJmRVUbr6AHRlfSsztfYTXVlHrv2TcPn3XkHsH+12j812WVB7gvilS2j3+ffjUHXg==",
+ "resolved": "https://registry.npm.taobao.org/rc-rate/download/rc-rate-2.5.1.tgz?cache=0&sync_timestamp=1605573559401&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-rate%2Fdownload%2Frc-rate-2.5.1.tgz",
+ "integrity": "sha1-Vfxf0j6p3MciULmoiYA0efSEKWE=",
"requires": {
"classnames": "^2.2.5",
"prop-types": "^15.5.8",
@@ -955,8 +960,8 @@
},
"rc-select": {
"version": "9.2.3",
- "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-9.2.3.tgz",
- "integrity": "sha512-WhswxOMWiNnkXRbxyrj0kiIvyCfo/BaRPaYbsDetSIAU2yEDwKHF798blCP5u86KLOBKBvtxWLFCkSsQw1so5w==",
+ "resolved": "https://registry.nlark.com/rc-select/download/rc-select-9.2.3.tgz?cache=0&sync_timestamp=1618886345948&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frc-select%2Fdownload%2Frc-select-9.2.3.tgz",
+ "integrity": "sha1-ZDQOLW72TovDz8b0aP/ShiVYmsI=",
"requires": {
"babel-runtime": "^6.23.0",
"classnames": "2.x",
@@ -974,8 +979,8 @@
},
"rc-tree": {
"version": "2.1.4",
- "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-2.1.4.tgz",
- "integrity": "sha512-Xey794Iavgs8YldFlXcZLOhfcIhlX5Oz/yfKufknBXf2AlZCOkc7aHqSM9uTF7fBPtTGPhPxNEfOqHfY7b7xng==",
+ "resolved": "https://registry.npm.taobao.org/rc-tree/download/rc-tree-2.1.4.tgz?cache=0&sync_timestamp=1615350038621&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-tree%2Fdownload%2Frc-tree-2.1.4.tgz",
+ "integrity": "sha1-73WfPnmaIbQ8Hs+ceU6hwU5wtZs=",
"requires": {
"@ant-design/create-react-context": "^0.2.4",
"classnames": "2.x",
@@ -1083,8 +1088,8 @@
},
"array-tree-filter": {
"version": "2.1.0",
- "resolved": "https://registry.npmjs.org/array-tree-filter/-/array-tree-filter-2.1.0.tgz",
- "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw=="
+ "resolved": "https://registry.npm.taobao.org/array-tree-filter/download/array-tree-filter-2.1.0.tgz",
+ "integrity": "sha1-hzrAD+yDdJ8lWsjdCDgUtPYykZA="
},
"array-union": {
"version": "1.0.2",
@@ -3760,8 +3765,8 @@
},
"copy-to-clipboard": {
"version": "3.3.1",
- "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz",
- "integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==",
+ "resolved": "https://registry.npm.taobao.org/copy-to-clipboard/download/copy-to-clipboard-3.3.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcopy-to-clipboard%2Fdownload%2Fcopy-to-clipboard-3.3.1.tgz",
+ "integrity": "sha1-EVqhqZmP+rYZb5MHatbaO5E2Yq4=",
"requires": {
"toggle-selection": "^1.0.6"
}
@@ -4847,7 +4852,7 @@
},
"dom-closest": {
"version": "0.2.0",
- "resolved": "https://registry.npmjs.org/dom-closest/-/dom-closest-0.2.0.tgz",
+ "resolved": "https://registry.npm.taobao.org/dom-closest/download/dom-closest-0.2.0.tgz",
"integrity": "sha1-69n5HRvyLo1vR3h2u80+yQIWwM8=",
"requires": {
"dom-matches": ">=1.0.1"
@@ -4891,7 +4896,7 @@
},
"dom-matches": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/dom-matches/-/dom-matches-2.0.0.tgz",
+ "resolved": "https://registry.npm.taobao.org/dom-matches/download/dom-matches-2.0.0.tgz",
"integrity": "sha1-0nKLQWqHUzmA6wibhI0lPPI6dYw="
},
"dom-scroll-into-view": {
@@ -5013,8 +5018,8 @@
},
"draft-js": {
"version": "0.10.5",
- "resolved": "https://registry.npmjs.org/draft-js/-/draft-js-0.10.5.tgz",
- "integrity": "sha512-LE6jSCV9nkPhfVX2ggcRLA4FKs6zWq9ceuO/88BpXdNCS7mjRTgs0NsV6piUCJX9YxMsB9An33wnkMmU2sD2Zg==",
+ "resolved": "https://registry.npm.taobao.org/draft-js/download/draft-js-0.10.5.tgz",
+ "integrity": "sha1-v6m+sBj+BTPbsI1mdcNxprCPp0I=",
"requires": {
"fbjs": "^0.8.15",
"immutable": "~3.7.4",
@@ -5144,7 +5149,7 @@
},
"enquire.js": {
"version": "2.1.6",
- "resolved": "https://registry.npmjs.org/enquire.js/-/enquire.js-2.1.6.tgz",
+ "resolved": "https://registry.npm.taobao.org/enquire.js/download/enquire.js-2.1.6.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fenquire.js%2Fdownload%2Fenquire.js-2.1.6.tgz",
"integrity": "sha1-PoeAybi4NQhMP2DhZtvDwqPImBQ="
},
"entities": {
@@ -5663,7 +5668,7 @@
},
"eventlistener": {
"version": "0.0.1",
- "resolved": "https://registry.npmjs.org/eventlistener/-/eventlistener-0.0.1.tgz",
+ "resolved": "https://registry.npm.taobao.org/eventlistener/download/eventlistener-0.0.1.tgz",
"integrity": "sha1-7Suqu4UiJ68rz4iRUscsY8pTLrg="
},
"events": {
@@ -7920,7 +7925,7 @@
},
"hammerjs": {
"version": "2.0.8",
- "resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz",
+ "resolved": "https://registry.npm.taobao.org/hammerjs/download/hammerjs-2.0.8.tgz",
"integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE="
},
"handle-thing": {
@@ -8761,7 +8766,7 @@
},
"immutable": {
"version": "3.7.6",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-3.7.6.tgz",
+ "resolved": "https://registry.npm.taobao.org/immutable/download/immutable-3.7.6.tgz",
"integrity": "sha1-E7TTyxK++hVIKib+Gy665kAHHks="
},
"import-fresh": {
@@ -9175,9 +9180,9 @@
}
},
"is-mobile": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-2.2.1.tgz",
- "integrity": "sha512-6zELsfVFr326eq2CI53yvqq6YBanOxKBybwDT+MbMS2laBnK6Ez8m5XHSuTQQbnKRfpDzCod1CMWW5q3wZYMvA=="
+ "version": "2.2.2",
+ "resolved": "https://registry.nlark.com/is-mobile/download/is-mobile-2.2.2.tgz",
+ "integrity": "sha1-9snF1Q7gElTOBec5vdg18e1OmVQ="
},
"is-npm": {
"version": "1.0.0",
@@ -10349,7 +10354,7 @@
},
"lodash.throttle": {
"version": "4.1.1",
- "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",
+ "resolved": "https://registry.npm.taobao.org/lodash.throttle/download/lodash.throttle-4.1.1.tgz",
"integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="
},
"lodash.uniq": {
@@ -11404,8 +11409,8 @@
},
"omit.js": {
"version": "1.0.2",
- "resolved": "https://registry.npmjs.org/omit.js/-/omit.js-1.0.2.tgz",
- "integrity": "sha512-/QPc6G2NS+8d4L/cQhbk6Yit1WTB6Us2g84A7A/1+w9d/eRGHyEqC5kkQtHVoHZ5NFWGG7tUGgrhVZwgZanKrQ==",
+ "resolved": "https://registry.npm.taobao.org/omit.js/download/omit.js-1.0.2.tgz",
+ "integrity": "sha1-kaFPDrqEBm36AVvzDkdMR/MLyFg=",
"requires": {
"babel-runtime": "^6.23.0"
}
@@ -14208,9 +14213,9 @@
}
},
"rc-calendar": {
- "version": "9.15.10",
- "resolved": "https://registry.npmjs.org/rc-calendar/-/rc-calendar-9.15.10.tgz",
- "integrity": "sha512-xh1A3rYejKskAvkjnd9BcHXFbBnAYsHMGHBdtoAkbwp43B6yEieNL0g0Tzz8s1gApDZV2j5vF1jJ9IIpPYFNLw==",
+ "version": "9.15.11",
+ "resolved": "https://registry.npm.taobao.org/rc-calendar/download/rc-calendar-9.15.11.tgz",
+ "integrity": "sha1-zh5eqOTXdDW+ZqjHfbEvHw+aNF8=",
"requires": {
"babel-runtime": "6.x",
"classnames": "2.x",
@@ -14223,8 +14228,8 @@
},
"rc-cascader": {
"version": "0.17.5",
- "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-0.17.5.tgz",
- "integrity": "sha512-WYMVcxU0+Lj+xLr4YYH0+yXODumvNXDcVEs5i7L1mtpWwYkubPV/zbQpn+jGKFCIW/hOhjkU4J1db8/P/UKE7A==",
+ "resolved": "https://registry.npm.taobao.org/rc-cascader/download/rc-cascader-0.17.5.tgz?cache=0&sync_timestamp=1610107054432&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-cascader%2Fdownload%2Frc-cascader-0.17.5.tgz",
+ "integrity": "sha1-T96R0jt2CMQgJjw47unAaH+A99w=",
"requires": {
"array-tree-filter": "^2.1.0",
"prop-types": "^15.5.8",
@@ -14237,8 +14242,8 @@
},
"rc-checkbox": {
"version": "2.1.8",
- "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-2.1.8.tgz",
- "integrity": "sha512-6qOgh0/by0nVNASx6LZnhRTy17Etcgav+IrI7kL9V9kcDZ/g7K14JFlqrtJ3NjDq/Kyn+BPI1st1XvbkhfaJeg==",
+ "resolved": "https://registry.npm.taobao.org/rc-checkbox/download/rc-checkbox-2.1.8.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-checkbox%2Fdownload%2Frc-checkbox-2.1.8.tgz",
+ "integrity": "sha1-7t2e+cLzr1s7jlzeUlSqia0aiAo=",
"requires": {
"babel-runtime": "^6.23.0",
"classnames": "2.x",
@@ -14248,8 +14253,8 @@
},
"rc-collapse": {
"version": "1.11.8",
- "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-1.11.8.tgz",
- "integrity": "sha512-8EhfPyScTYljkbRuIoHniSwZagD5UPpZ3CToYgoNYWC85L2qCbPYF7+OaC713FOrIkp6NbfNqXsITNxmDAmxog==",
+ "resolved": "https://registry.npm.taobao.org/rc-collapse/download/rc-collapse-1.11.8.tgz?cache=0&sync_timestamp=1606217065785&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-collapse%2Fdownload%2Frc-collapse-1.11.8.tgz",
+ "integrity": "sha1-ZqQAidRpUZ6UJACasckn4hQEHYA=",
"requires": {
"classnames": "2.x",
"css-animation": "1.x",
@@ -14262,8 +14267,8 @@
},
"rc-dialog": {
"version": "7.6.1",
- "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-7.6.1.tgz",
- "integrity": "sha512-KUKf+2eZ4YL+lnXMG3hR4ZtIhC9glfH27NtTVz3gcoDIPAf3uUvaXVRNoDCiSi+OGKLyIb/b6EoidFh6nQC5Wg==",
+ "resolved": "https://registry.npm.taobao.org/rc-dialog/download/rc-dialog-7.6.1.tgz?cache=0&sync_timestamp=1614949683544&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-dialog%2Fdownload%2Frc-dialog-7.6.1.tgz",
+ "integrity": "sha1-EVRczAuUWTT6dgeXJuDYU+UtcF8=",
"requires": {
"babel-runtime": "6.x",
"rc-animate": "2.x",
@@ -14272,8 +14277,8 @@
},
"rc-drawer": {
"version": "3.1.3",
- "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-3.1.3.tgz",
- "integrity": "sha512-2z+RdxmzXyZde/1OhVMfDR1e/GBswFeWSZ7FS3Fdd0qhgVdpV1wSzILzzxRaT481ItB5hOV+e8pZT07vdJE8kg==",
+ "resolved": "https://registry.npm.taobao.org/rc-drawer/download/rc-drawer-3.1.3.tgz?cache=0&sync_timestamp=1614159639291&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-drawer%2Fdownload%2Frc-drawer-3.1.3.tgz",
+ "integrity": "sha1-y8sE1MB/C2by7OEdhH9KG9gOoLc=",
"requires": {
"classnames": "^2.2.6",
"rc-util": "^4.16.1",
@@ -14282,8 +14287,8 @@
},
"rc-dropdown": {
"version": "2.4.1",
- "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-2.4.1.tgz",
- "integrity": "sha512-p0XYn0wrOpAZ2fUGE6YJ6U8JBNc5ASijznZ6dkojdaEfQJAeZtV9KMEewhxkVlxGSbbdXe10ptjBlTEW9vEwEg==",
+ "resolved": "https://registry.npm.taobao.org/rc-dropdown/download/rc-dropdown-2.4.1.tgz?cache=0&sync_timestamp=1600332782526&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-dropdown%2Fdownload%2Frc-dropdown-2.4.1.tgz",
+ "integrity": "sha1-qu9us6UVLN2ZgolcKnjZtfBGzew=",
"requires": {
"babel-runtime": "^6.26.0",
"classnames": "^2.2.6",
@@ -14294,8 +14299,8 @@
},
"rc-editor-core": {
"version": "0.8.10",
- "resolved": "https://registry.npmjs.org/rc-editor-core/-/rc-editor-core-0.8.10.tgz",
- "integrity": "sha512-T3aHpeMCIYA1sdAI7ynHHjXy5fqp83uPlD68ovZ0oClTSc3tbHmyCxXlA+Ti4YgmcpCYv7avF6a+TIbAka53kw==",
+ "resolved": "https://registry.npm.taobao.org/rc-editor-core/download/rc-editor-core-0.8.10.tgz",
+ "integrity": "sha1-byFbxd+cM/+p9sWzDKc6favoq3w=",
"requires": {
"babel-runtime": "^6.26.0",
"classnames": "^2.2.5",
@@ -14308,8 +14313,8 @@
},
"rc-editor-mention": {
"version": "1.1.13",
- "resolved": "https://registry.npmjs.org/rc-editor-mention/-/rc-editor-mention-1.1.13.tgz",
- "integrity": "sha512-3AOmGir91Fi2ogfRRaXLtqlNuIwQpvla7oUnGHS1+3eo7b+fUp5IlKcagqtwUBB5oDNofoySXkLBxzWvSYNp/Q==",
+ "resolved": "https://registry.npm.taobao.org/rc-editor-mention/download/rc-editor-mention-1.1.13.tgz",
+ "integrity": "sha1-nxyrEGX4awFSOEAyF5DCqxKsXos=",
"requires": {
"babel-runtime": "^6.23.0",
"classnames": "^2.2.5",
@@ -14337,9 +14342,9 @@
}
},
"rc-hammerjs": {
- "version": "0.6.9",
- "resolved": "https://registry.npmjs.org/rc-hammerjs/-/rc-hammerjs-0.6.9.tgz",
- "integrity": "sha512-4llgWO3RgLyVbEqUdGsDfzUDqklRlQW5VEhE3x35IvhV+w//VPRG34SBavK3D2mD/UaLKaohgU41V4agiftC8g==",
+ "version": "0.6.10",
+ "resolved": "https://registry.npm.taobao.org/rc-hammerjs/download/rc-hammerjs-0.6.10.tgz",
+ "integrity": "sha1-GDGjvY8hmXAL/MWtayCjVjCuteA=",
"requires": {
"babel-runtime": "6.x",
"hammerjs": "^2.0.8",
@@ -14347,9 +14352,9 @@
}
},
"rc-input-number": {
- "version": "4.5.6",
- "resolved": "https://registry.npmjs.org/rc-input-number/-/rc-input-number-4.5.6.tgz",
- "integrity": "sha512-AXbL4gtQ1mSQnu6v/JtMv3UbGRCzLvQznmf0a7U/SAtZ8+dCEAqD4JpJhkjv73Wog53eRYhw4l7ApdXflc9ymg==",
+ "version": "4.5.9",
+ "resolved": "https://registry.nlark.com/rc-input-number/download/rc-input-number-4.5.9.tgz?cache=0&sync_timestamp=1619578110950&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frc-input-number%2Fdownload%2Frc-input-number-4.5.9.tgz",
+ "integrity": "sha1-HL9zXiT+I8TrmkMBAxcguV8qPj0=",
"requires": {
"babel-runtime": "6.x",
"classnames": "^2.2.0",
@@ -14360,8 +14365,8 @@
},
"rc-mentions": {
"version": "0.4.2",
- "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-0.4.2.tgz",
- "integrity": "sha512-DTZurQzacLXOfVuiHydGzqkq7cFMHXF18l2jZ9PhWUn2cqvOSY3W4osN0Pq29AOMOBpcxdZCzgc7Lb0r/bgkDw==",
+ "resolved": "https://registry.npm.taobao.org/rc-mentions/download/rc-mentions-0.4.2.tgz?cache=0&sync_timestamp=1610510822768&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-mentions%2Fdownload%2Frc-mentions-0.4.2.tgz",
+ "integrity": "sha1-wYq3Ae+55LdbOFGgwNLdaYZA4kY=",
"requires": {
"@ant-design/create-react-context": "^0.2.4",
"classnames": "^2.2.6",
@@ -14389,8 +14394,8 @@
},
"rc-notification": {
"version": "3.3.1",
- "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-3.3.1.tgz",
- "integrity": "sha512-U5+f4BmBVfMSf3OHSLyRagsJ74yKwlrQAtbbL5ijoA0F2C60BufwnOcHG18tVprd7iaIjzZt1TKMmQSYSvgrig==",
+ "resolved": "https://registry.npm.taobao.org/rc-notification/download/rc-notification-3.3.1.tgz?cache=0&sync_timestamp=1614675471156&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-notification%2Fdownload%2Frc-notification-3.3.1.tgz",
+ "integrity": "sha1-C6o+cPjUCrAVzo+njCYMSQ/HvrQ=",
"requires": {
"babel-runtime": "6.x",
"classnames": "2.x",
@@ -14411,9 +14416,9 @@
}
},
"rc-progress": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-2.5.2.tgz",
- "integrity": "sha512-ajI+MJkbBz9zYDuE9GQsY5gsyqPF7HFioZEDZ9Fmc+ebNZoiSeSJsTJImPFCg0dW/5WiRGUy2F69SX1aPtSJgA==",
+ "version": "2.5.3",
+ "resolved": "https://registry.npm.taobao.org/rc-progress/download/rc-progress-2.5.3.tgz",
+ "integrity": "sha1-APAblb2+GFbTpfgiQgUZAui3qOc=",
"requires": {
"babel-runtime": "6.x",
"prop-types": "^15.5.8"
@@ -14430,8 +14435,8 @@
},
"rc-resize-observer": {
"version": "0.1.3",
- "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-0.1.3.tgz",
- "integrity": "sha512-uzOQEwx83xdQSFOkOAM7x7GHIQKYnrDV4dWxtCxyG1BS1pkfJ4EvDeMfsvAJHSYkQXVBu+sgRHGbRtLG3qiuUg==",
+ "resolved": "https://registry.npm.taobao.org/rc-resize-observer/download/rc-resize-observer-0.1.3.tgz?cache=0&sync_timestamp=1608864858155&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-resize-observer%2Fdownload%2Frc-resize-observer-0.1.3.tgz",
+ "integrity": "sha1-CXGR+cOrGG7ZB7VTum71Zd8Rwkk=",
"requires": {
"classnames": "^2.2.1",
"rc-util": "^4.13.0",
@@ -14459,8 +14464,8 @@
},
"rc-slider": {
"version": "8.7.1",
- "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-8.7.1.tgz",
- "integrity": "sha512-WMT5mRFUEcrLWwTxsyS8jYmlaMsTVCZIGENLikHsNv+tE8ThU2lCoPfi/xFNUfJFNFSBFP3MwPez9ZsJmNp13g==",
+ "resolved": "https://registry.npm.taobao.org/rc-slider/download/rc-slider-8.7.1.tgz?cache=0&sync_timestamp=1616675519253&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-slider%2Fdownload%2Frc-slider-8.7.1.tgz",
+ "integrity": "sha1-ntBzYtyTSJo45lSyG4EirXD9PEI=",
"requires": {
"babel-runtime": "6.x",
"classnames": "^2.2.5",
@@ -14474,8 +14479,8 @@
},
"rc-steps": {
"version": "3.5.0",
- "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-3.5.0.tgz",
- "integrity": "sha512-2Vkkrpa7PZbg7qPsqTNzVDov4u78cmxofjjnIHiGB9+9rqKS8oTLPzbW2uiWDr3Lk+yGwh8rbpGO1E6VAgBCOg==",
+ "resolved": "https://registry.npm.taobao.org/rc-steps/download/rc-steps-3.5.0.tgz",
+ "integrity": "sha1-NrKn8fSZB7DZA2OISxhiPK+ftgA=",
"requires": {
"babel-runtime": "^6.23.0",
"classnames": "^2.2.3",
@@ -14484,9 +14489,9 @@
}
},
"rc-switch": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/rc-switch/-/rc-switch-1.9.0.tgz",
- "integrity": "sha512-Isas+egaK6qSk64jaEw4GgPStY4umYDbT7ZY93bZF1Af+b/JEsKsJdNOU2qG3WI0Z6tXo2DDq0kJCv8Yhu0zww==",
+ "version": "1.9.2",
+ "resolved": "https://registry.npm.taobao.org/rc-switch/download/rc-switch-1.9.2.tgz?cache=0&sync_timestamp=1603791200779&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-switch%2Fdownload%2Frc-switch-1.9.2.tgz",
+ "integrity": "sha1-eSHHZkEf6aZCZRDDQpAi1rpN/eI=",
"requires": {
"classnames": "^2.2.1",
"prop-types": "^15.5.6",
@@ -14495,8 +14500,8 @@
},
"rc-table": {
"version": "6.10.15",
- "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-6.10.15.tgz",
- "integrity": "sha512-LAr0M/gqt+irOjvPNBLApmQ0CUHNOfKsEBhu1uIuB3OlN1ynA9z+sdoTQyNd9+8NSl0MYnQOOfhtLChAY7nU0A==",
+ "resolved": "https://registry.nlark.com/rc-table/download/rc-table-6.10.15.tgz",
+ "integrity": "sha1-GB9McMT9dPZX7o8jGW5+sIoDZco=",
"requires": {
"classnames": "^2.2.5",
"component-classes": "^1.2.6",
@@ -14510,8 +14515,8 @@
},
"rc-tabs": {
"version": "9.7.0",
- "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-9.7.0.tgz",
- "integrity": "sha512-kvmgp8/MfLzFZ06hWHignqomFQ5nF7BqKr5O1FfhE4VKsGrep52YSF/1MvS5oe0NPcI9XGNS2p751C5v6cYDpQ==",
+ "resolved": "https://registry.npm.taobao.org/rc-tabs/download/rc-tabs-9.7.0.tgz?cache=0&sync_timestamp=1608866453009&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-tabs%2Fdownload%2Frc-tabs-9.7.0.tgz",
+ "integrity": "sha1-rglpW+9ZY9bmTnvBBSHHbf3YRIs=",
"requires": {
"@ant-design/create-react-context": "^0.2.4",
"babel-runtime": "6.x",
@@ -14528,8 +14533,8 @@
"dependencies": {
"raf": {
"version": "3.4.1",
- "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
- "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
+ "resolved": "https://registry.npm.taobao.org/raf/download/raf-3.4.1.tgz",
+ "integrity": "sha1-B0LpmkplUvRF1z4+4DKK8P8e3jk=",
"requires": {
"performance-now": "^2.1.0"
}
@@ -14538,8 +14543,8 @@
},
"rc-time-picker": {
"version": "3.7.3",
- "resolved": "https://registry.npmjs.org/rc-time-picker/-/rc-time-picker-3.7.3.tgz",
- "integrity": "sha512-Lv1Mvzp9fRXhXEnRLO4nW6GLNxUkfAZ3RsiIBsWjGjXXvMNjdr4BX/ayElHAFK0DoJqOhm7c5tjmIYpEOwcUXg==",
+ "resolved": "https://registry.npm.taobao.org/rc-time-picker/download/rc-time-picker-3.7.3.tgz?cache=0&sync_timestamp=1576572941972&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-time-picker%2Fdownload%2Frc-time-picker-3.7.3.tgz",
+ "integrity": "sha1-ZajekECTJQrpyCsCpJBeD5leI+I=",
"requires": {
"classnames": "2.x",
"moment": "2.x",
@@ -14551,8 +14556,8 @@
"dependencies": {
"raf": {
"version": "3.4.1",
- "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
- "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
+ "resolved": "https://registry.npm.taobao.org/raf/download/raf-3.4.1.tgz",
+ "integrity": "sha1-B0LpmkplUvRF1z4+4DKK8P8e3jk=",
"requires": {
"performance-now": "^2.1.0"
}
@@ -14561,8 +14566,8 @@
},
"rc-tooltip": {
"version": "3.7.3",
- "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-3.7.3.tgz",
- "integrity": "sha512-dE2ibukxxkrde7wH9W8ozHKUO4aQnPZ6qBHtrTH9LoO836PjDdiaWO73fgPB05VfJs9FbZdmGPVEbXCeOP99Ww==",
+ "resolved": "https://registry.npm.taobao.org/rc-tooltip/download/rc-tooltip-3.7.3.tgz?cache=0&sync_timestamp=1614588684791&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-tooltip%2Fdownload%2Frc-tooltip-3.7.3.tgz",
+ "integrity": "sha1-KArsavyqROjf8EgPuv+eh/wArsw=",
"requires": {
"babel-runtime": "6.x",
"prop-types": "^15.5.8",
@@ -14610,8 +14615,8 @@
},
"rc-tree-select": {
"version": "2.9.4",
- "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-2.9.4.tgz",
- "integrity": "sha512-0HQkXAN4XbfBW20CZYh3G+V+VMrjX42XRtDCpyv6PDUm5vikC0Ob682ZBCVS97Ww2a5Hf6Ajmu0ahWEdIEpwhg==",
+ "resolved": "https://registry.nlark.com/rc-tree-select/download/rc-tree-select-2.9.4.tgz",
+ "integrity": "sha1-aqeU4fDmXGbEBqoKKg50/QpVewk=",
"requires": {
"classnames": "^2.2.1",
"dom-scroll-into-view": "^1.2.1",
@@ -14628,8 +14633,8 @@
"dependencies": {
"rc-tree": {
"version": "2.1.4",
- "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-2.1.4.tgz",
- "integrity": "sha512-Xey794Iavgs8YldFlXcZLOhfcIhlX5Oz/yfKufknBXf2AlZCOkc7aHqSM9uTF7fBPtTGPhPxNEfOqHfY7b7xng==",
+ "resolved": "https://registry.npm.taobao.org/rc-tree/download/rc-tree-2.1.4.tgz?cache=0&sync_timestamp=1615350038621&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-tree%2Fdownload%2Frc-tree-2.1.4.tgz",
+ "integrity": "sha1-73WfPnmaIbQ8Hs+ceU6hwU5wtZs=",
"requires": {
"@ant-design/create-react-context": "^0.2.4",
"classnames": "2.x",
@@ -14642,8 +14647,8 @@
},
"rc-trigger": {
"version": "3.0.0",
- "resolved": "https://registry.npmjs.org/rc-trigger/-/rc-trigger-3.0.0.tgz",
- "integrity": "sha512-hQxbbJpo23E2QnYczfq3Ec5J5tVl2mUDhkqxrEsQAqk16HfADQg+iKNWzEYXyERSncdxfnzYuaBgy764mNRzTA==",
+ "resolved": "https://registry.nlark.com/rc-trigger/download/rc-trigger-3.0.0.tgz?cache=0&sync_timestamp=1619590696046&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frc-trigger%2Fdownload%2Frc-trigger-3.0.0.tgz",
+ "integrity": "sha1-9tmx2oomsrLR2RKgaHbBpIb1mA8=",
"requires": {
"babel-runtime": "6.x",
"classnames": "^2.2.6",
@@ -14655,18 +14660,14 @@
},
"dependencies": {
"rc-animate": {
- "version": "3.0.0-rc.6",
- "resolved": "https://registry.npmjs.org/rc-animate/-/rc-animate-3.0.0-rc.6.tgz",
- "integrity": "sha512-oBLPpiT6Q4t6YvD/pkLcmofBP1p01TX0Otse8Q4+Mxt8J+VSDflLZGIgf62EwkvRwsQUkLPjZVFBsldnPKLzjg==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npm.taobao.org/rc-animate/download/rc-animate-3.1.1.tgz?cache=0&sync_timestamp=1601018005635&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-animate%2Fdownload%2Frc-animate-3.1.1.tgz",
+ "integrity": "sha1-3v3YY/VoFsIiU05Nxo/t3s0IE4Y=",
"requires": {
- "babel-runtime": "6.x",
- "classnames": "^2.2.5",
- "component-classes": "^1.2.6",
- "fbjs": "^0.8.16",
- "prop-types": "15.x",
+ "@ant-design/css-animation": "^1.7.2",
+ "classnames": "^2.2.6",
"raf": "^3.4.0",
- "rc-util": "^4.5.0",
- "react-lifecycles-compat": "^3.0.4"
+ "rc-util": "^4.15.3"
}
}
}
@@ -15105,9 +15106,9 @@
}
},
"react-lazy-load": {
- "version": "3.0.13",
- "resolved": "https://registry.npmjs.org/react-lazy-load/-/react-lazy-load-3.0.13.tgz",
- "integrity": "sha1-OwqS0zbUPT8Nc8vm81sXBQsIuCQ=",
+ "version": "3.1.13",
+ "resolved": "https://registry.npm.taobao.org/react-lazy-load/download/react-lazy-load-3.1.13.tgz?cache=0&sync_timestamp=1593654792284&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact-lazy-load%2Fdownload%2Freact-lazy-load-3.1.13.tgz",
+ "integrity": "sha1-I2lD92twhMyEWHFtljKhyYU+pc0=",
"requires": {
"eventlistener": "0.0.1",
"lodash.debounce": "^4.0.0",
@@ -15245,8 +15246,8 @@
},
"react-slick": {
"version": "0.25.2",
- "resolved": "https://registry.npmjs.org/react-slick/-/react-slick-0.25.2.tgz",
- "integrity": "sha512-8MNH/NFX/R7zF6W/w+FS5VXNyDusF+XDW1OU0SzODEU7wqYB+ZTGAiNJ++zVNAVqCAHdyCybScaUB+FCZOmBBw==",
+ "resolved": "https://registry.nlark.com/react-slick/download/react-slick-0.25.2.tgz",
+ "integrity": "sha1-VjMbZ9R9i8/i3OtqyrHI/VvR9rw=",
"requires": {
"classnames": "^2.2.5",
"enquire.js": "^2.1.6",
@@ -16090,8 +16091,8 @@
},
"rmc-feedback": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/rmc-feedback/-/rmc-feedback-2.0.0.tgz",
- "integrity": "sha512-5PWOGOW7VXks/l3JzlOU9NIxRpuaSS8d9zA3UULUCuTKnpwBHNvv1jSJzxgbbCQeYzROWUpgKI4za3X4C/mKmQ==",
+ "resolved": "https://registry.npm.taobao.org/rmc-feedback/download/rmc-feedback-2.0.0.tgz",
+ "integrity": "sha1-y8bLOuY8emNe7w4l5PuvWsNm7qo=",
"requires": {
"babel-runtime": "6.x",
"classnames": "^2.2.5"
@@ -16674,8 +16675,8 @@
},
"shallow-equal": {
"version": "1.2.1",
- "resolved": "https://registry.npmjs.org/shallow-equal/-/shallow-equal-1.2.1.tgz",
- "integrity": "sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA=="
+ "resolved": "https://registry.npm.taobao.org/shallow-equal/download/shallow-equal-1.2.1.tgz",
+ "integrity": "sha1-TBar+lYEOqINBQMk76aJQLDaedo="
},
"shallowequal": {
"version": "1.1.0",
diff --git a/src/forge/Main/CoderRootCommit.js b/src/forge/Main/CoderRootCommit.js
index 5c509ecd..fc64aa01 100644
--- a/src/forge/Main/CoderRootCommit.js
+++ b/src/forge/Main/CoderRootCommit.js
@@ -108,7 +108,7 @@ class CoderRootCommit extends Component{
let branch = branchName || defaultBranch;
return(
-
+
+
)}
@@ -373,7 +373,7 @@ class Index extends Component {
required: true, message: '请填写项目简介'
}],
})(
-
+
)}
+
)}
Date: Thu, 6 May 2021 17:12:42 +0800
Subject: [PATCH 04/11] merge develop
---
public/css/edu-purge.css | 6 +
src/forge/Divert/DivertModal.jsx | 174 +++++++++++++++++++
src/forge/Head/Header.js | 8 +-
src/forge/Head/header.scss | 8 +-
src/forge/New/Index.js | 42 +++--
src/forge/Order/order_form.js | 2 +-
src/forge/Team/Group/GroupForm.jsx | 23 ++-
src/forge/Team/New.jsx | 30 ++--
src/forge/Team/Setting/TeamSettingCommon.jsx | 25 ++-
src/forge/users/Index.scss | 7 +-
src/forge/users/Team-item.jsx | 2 +-
11 files changed, 275 insertions(+), 52 deletions(-)
create mode 100644 src/forge/Divert/DivertModal.jsx
diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css
index 7ada96f4..fa09777e 100644
--- a/public/css/edu-purge.css
+++ b/public/css/edu-purge.css
@@ -6703,4 +6703,10 @@ ul.count_ul li:not(:last-child):after {
}
input.ant-input-lg::placeholder{
font-size: 14px !important;
+}
+.toprightNum{
+ position: absolute;
+ right: 0px;
+ top:4px;
+ color: #999;
}
\ No newline at end of file
diff --git a/src/forge/Divert/DivertModal.jsx b/src/forge/Divert/DivertModal.jsx
new file mode 100644
index 00000000..dd947501
--- /dev/null
+++ b/src/forge/Divert/DivertModal.jsx
@@ -0,0 +1,174 @@
+import React ,{ forwardRef, useEffect, useState } from 'react';
+import { Modal , Form , Input , Radio , Select } from 'antd';
+import SearchUser from '../Component/SearchUser';
+import './Index.scss';
+import Axios from 'axios';
+
+const { Option } = Select;
+function DivertModal({form , visible , onSuccess , onCancel,owner,repo}){
+ const { getFieldDecorator, validateFields , setFieldsValue } = form;
+ const [ cate , setCate ] = useState(0);
+ const [ value , setValue ] = useState(undefined);
+
+ const [ organizations , setOrganizations ] = useState(undefined);
+
+ useEffect(()=>{
+ setFieldsValue({goal:cate})
+ },[])
+
+ useEffect(()=>{
+ if(owner && repo && visible===true){
+ getTeam();
+ }
+ if(!visible){
+ setFieldsValue({
+ owner_name:undefined,
+ identifier:undefined
+ })
+ setValue(undefined)
+ }
+ },[repo,owner,visible])
+
+ function getTeam(){
+ const url = `/${owner}/${repo}/applied_transfer_projects/organizations.json`;
+ Axios.get(url).then(result=>{
+ if(result){
+ setOrganizations(result.data.organizations);
+ }
+ }).catch(error=>{})
+ }
+
+ // 确认转移
+ function onOk(){
+ validateFields((error,values)=>{
+ console.log(...values);
+ if(!error){
+ const url = `/${owner}/${repo}/applied_transfer_projects.json`;
+ Axios.post(url,{
+ ...values
+ }).then(result=>{
+ if(result){
+ onSuccess(result.data && result.data.owner);
+ }
+ }).catch(error=>{})
+ }
+ })
+
+ }
+ function changeType(e){
+ setCate(e.target.value);
+ setFieldsValue({
+ owner_name:undefined
+ })
+ }
+
+ function checkIdentifier(rule, value, callback){
+ if(!value){
+ callback();
+ }
+ if (repo && value !== repo) {
+ callback("请输入当前项目的标识!");
+ }
+ callback();
+ }
+
+ const layout = {
+ labelCol: { span: 5 },
+ wrapperCol: { span: 18 },
+ };
+
+ function getUser(id){
+ setValue(id);
+ setFieldsValue({
+ owner_name:id
+ })
+ }
+ return(
+
+
+ {
+ cate === 0 ?
+
+ 转移需对方确认接受,转移成功后你将被移出仓库,其他已有成员权限不变
+ 转移成功后,仓库的地址将变更至目标用户的命名空间下
+ 已有成员如需继续操作仓库,需更新本地仓库的remote,使之指向新的地址
+
+ :
+
+ 仓库仅可以转移到您已经加入的组织中,不可以转移到未加入的组织中
+ 涉及到仓库改名操作,请提前做好仓库备份并且在转移后对本地仓库的remote进行修改
+ 转移仓库到组织后,你和组织创建者/管理员同时拥有对该仓库的管理操作
+
+ }
+
+ {getFieldDecorator("goal",{
+ rules:[]
+ })(
+
+ 个人
+ 组织
+
+ )}
+
+ {
+ cate === 0 &&
+
+ {getFieldDecorator("owner_name",{
+ rules:[{required:true,message:"请输入目标用户名"}]
+ })(
+ //
+
+ )}
+
+ }
+ {
+ cate === 1 &&
+
+ {getFieldDecorator("owner_name",
+ {rules:[{required:true,message:"请选择目标组织"}]}
+ )(
+ trigger.parentNode}>
+ {
+ organizations && organizations.length > 0 ?
+ organizations.map((i,k)=>{
+ return(
+ {i.nickname}
+ )
+ })
+ :""
+ }
+
+ )}
+
+ }
+
+
+ {getFieldDecorator("identifier",
+ {
+ rules:[
+ {required:true,message:"请输入仓库名称"},
+ {
+ validator:checkIdentifier
+ }
+ ]
+ }
+ )(
+
+ )}
+
+
+
+
+ )
+}
+export default Form.create()(forwardRef(DivertModal));
\ No newline at end of file
diff --git a/src/forge/Head/Header.js b/src/forge/Head/Header.js
index 7260d114..043e5323 100644
--- a/src/forge/Head/Header.js
+++ b/src/forge/Head/Header.js
@@ -2,16 +2,14 @@ import React, { Component } from 'react';
import AccountProfile from "../../modules/user/AccountProfile";
import { getImageUrl } from 'educoder'
import axios from 'axios';
-import { Modal, Input, message, notification , Dropdown , Menu ,Divider } from 'antd';
+import { Modal, Input, message, notification , Dropdown , Menu } from 'antd';
import LoginDialog from '../../modules/login/LoginDialog';
import GotoQQgroup from '../../modal/GotoQQgroup'
-// import 'antd/lib/modal/style/index.css';
-// import 'antd/lib/checkbox/style/index.css';
-// import 'antd/lib/radio/style/index.css';
-// import 'antd/lib/input/style/index.css';
+
import '../../modules/tpm/TPMIndex.css';
import logo from '../../modules/tpm/images/logo.png';
+
import './header.scss';
const $ = window.$
// TODO 这部分脚本从公共脚本中直接调用
diff --git a/src/forge/Head/header.scss b/src/forge/Head/header.scss
index 130df4ca..0ae8f48e 100644
--- a/src/forge/Head/header.scss
+++ b/src/forge/Head/header.scss
@@ -5,7 +5,13 @@
background:#fff;
border-radius: 3px;
.ant-menu-vertical > .ant-menu-item{
- border:none
+ border:none;
+ height: 35px;
+ line-height: 35px;
+ margin:0px;
+ }
+ .ant-menu-vertical{
+ border:none;
}
}
diff --git a/src/forge/New/Index.js b/src/forge/New/Index.js
index 703e2cd3..381d7438 100644
--- a/src/forge/New/Index.js
+++ b/src/forge/New/Index.js
@@ -43,7 +43,8 @@ class Index extends Component {
project_language_name: undefined,
project_category_name: undefined,
license_name: undefined,
- ignore_name: undefined
+ ignore_name: undefined,
+ descNum:0
}
}
componentDidMount = () => {
@@ -254,6 +255,13 @@ class Index extends Component {
}
}
+ changeDesc=(e)=>{
+ let value = e.target.value;
+ this.setState({
+ descNum:value ? value.length :0
+ })
+ }
+
render() {
const { getFieldDecorator } = this.props.form;
// 项目类型:deposit-托管项目,mirror-镜像项目
@@ -273,7 +281,9 @@ class Index extends Component {
license_list,
ignore_list,
- mirrorCheck
+ mirrorCheck,
+
+ descNum
} = this.state;
return (
@@ -364,18 +374,20 @@ class Index extends Component {
)}
-
-
- {getFieldDecorator('description', {
- rules: [{
- required: true, message: '请填写项目简介'
- }],
- })(
-
- )}
-
+
+ {descNum}/200
+
+ {getFieldDecorator('description', {
+ rules: [{
+ required: true, message: '请填写项目简介'
+ }],
+ })(
+
+ )}
+
+
@@ -384,7 +396,7 @@ class Index extends Component {
required: true, message: '请填写仓库名称'
}],
})(
-
+
)}
)}
+ })(
)}
, true
)}
- {helper(
-
团队描述:(描述团队的目的或作用) ,
- "description",
- [],
-
- )}
+
+ {descNum}/200
+ {helper(
+ 团队描述:(描述团队的目的或作用) ,
+ "description",
+ [],
+
{helper(
'项目权限:',
diff --git a/src/forge/Team/New.jsx b/src/forge/Team/New.jsx
index c7e48e8c..f4a9880b 100644
--- a/src/forge/Team/New.jsx
+++ b/src/forge/Team/New.jsx
@@ -9,6 +9,8 @@ export default Form.create()(
forwardRef(({ form , showNotification , history })=>{
const [ image , setImage ] = useState(undefined);
const [ imageFlag , setImageFlag] = useState(false);
+ const [ descNum ,setDescNum ] = useState(0);
+
const { getFieldDecorator, validateFields , setFieldsValue } = form;
const radioStyle = {
display: 'block',
@@ -86,7 +88,7 @@ export default Form.create()(
],
)}
{helper(
@@ -94,24 +96,28 @@ export default Form.create()(
"nickname",
[{ required: true, message: "请输入组织名称" }],
)}
+
+ {descNum}/200
+ {helper(
+ '组织描述',
+ "description",
+ [{ required: true, message: "请输入组织描述" }],
+ {setDescNum(e.target.value ? e.target.value.length :0)}}
+ />
+ )}
+
- {helper(
- '组织描述',
- "description",
- [{ required: true, message: "请输入组织描述" }],
-
- )}
{helper(
'所在地区',
"location",
[],
-
,false
+
,false
)}
{helper(
'可见性',
diff --git a/src/forge/Team/Setting/TeamSettingCommon.jsx b/src/forge/Team/Setting/TeamSettingCommon.jsx
index 6a94beb5..5be03db0 100644
--- a/src/forge/Team/Setting/TeamSettingCommon.jsx
+++ b/src/forge/Team/Setting/TeamSettingCommon.jsx
@@ -25,6 +25,7 @@ export default Form.create()(
const [ password , setPassword ] = useState(undefined);
const [ passwordFlag , setPasswordFlag ] = useState(false);
const [ visible , setVisible ] = useState(false);
+ const [ descNum , setDescNum ] = useState(0);
const { getFieldDecorator , validateFields , setFieldsValue } = form;
useEffect(()=>{
@@ -33,6 +34,7 @@ export default Form.create()(
...organizeDetail
})
setImage(organizeDetail.avatar_url);
+ setDescNum(organizeDetail.description ? organizeDetail.description.length : 0);
}
},[organizeDetail])
@@ -119,20 +121,27 @@ export default Form.create()(
validator:checkname
}
],
-
,true
+
,true
)}
{helper(
"组织名称:",
"nickname",
[{ required: true, message: "请输入组织名称" }],
-
,true
- )}
- {helper(
- "组织描述:",
- "description",
- [],
-
+
,true
)}
+
+ {descNum}/200
+ {helper(
+ "组织描述:",
+ "description",
+ [],
+
{helper(
"官方网站:",
"website",
diff --git a/src/forge/users/Index.scss b/src/forge/users/Index.scss
index 3ea86108..d8d4ecd4 100644
--- a/src/forge/users/Index.scss
+++ b/src/forge/users/Index.scss
@@ -29,7 +29,7 @@ $flex:flex;
& > div{
margin-bottom: 20px;
display: $flex;
- align-items: flex-start;
+ align-items: center;
padding:20px 25px;
background-color:rgba(250,250,250,1);
.imgBox{
@@ -52,6 +52,11 @@ $flex:flex;
font-size: 12px;
color: #888;
margin-top: 3px;
+ margin-bottom: 0px;
+ }
+ .teamdesc{
+ word-break: break-all;
+ line-height: 20px;
}
}
.infosType{
diff --git a/src/forge/users/Team-item.jsx b/src/forge/users/Team-item.jsx
index f3dbc47c..251fe511 100644
--- a/src/forge/users/Team-item.jsx
+++ b/src/forge/users/Team-item.jsx
@@ -7,7 +7,7 @@ function TeamItem({item,history}){
{item.name}
-
+
{item.description}
From d783d998fc01758f01ece6a5193db17c84b2673d Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Sat, 8 May 2021 14:24:02 +0800
Subject: [PATCH 05/11] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=90=88=E5=B9=B6?=
=?UTF-8?q?=E8=AF=B7=E6=B1=82-url=E5=9C=B0=E5=9D=80=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/AppConfig.js | 2 +-
src/forge/Merge/MergeItem.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/AppConfig.js b/src/AppConfig.js
index bd24bb7d..034612ec 100644
--- a/src/AppConfig.js
+++ b/src/AppConfig.js
@@ -58,7 +58,7 @@ export function initAxiosInterceptors(props) {
},
err => {
return Promise.reject(err);
- });
+ });
axios.interceptors.response.use(function (response) {
if (response === undefined) {
diff --git a/src/forge/Merge/MergeItem.js b/src/forge/Merge/MergeItem.js
index 3b3504da..0873f5da 100644
--- a/src/forge/Merge/MergeItem.js
+++ b/src/forge/Merge/MergeItem.js
@@ -178,7 +178,7 @@ class MergeItem extends Component {
>
From 8baf2cb49c7bf40be50390791985a94ae38c3bf5 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Sat, 8 May 2021 17:28:14 +0800
Subject: [PATCH 06/11] install babel-polyfill
---
package-lock.json | 2 +-
package.json | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/package-lock.json b/package-lock.json
index 9e662e1a..4a85c71b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2076,7 +2076,7 @@
"dependencies": {
"regenerator-runtime": {
"version": "0.10.5",
- "resolved": "https://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.10.5.tgz?cache=0&sync_timestamp=1595456367497&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregenerator-runtime%2Fdownload%2Fregenerator-runtime-0.10.5.tgz",
+ "resolved": "https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.10.5.tgz",
"integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=",
"dev": true
}
diff --git a/package.json b/package.json
index 5ad75014..05a815ac 100644
--- a/package.json
+++ b/package.json
@@ -188,6 +188,7 @@
"babel-core": "^6.26.0",
"babel-plugin-import": "^1.13.0",
"babel-plugin-transform-runtime": "^6.23.0",
+ "babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
From eba6ed087628f117bf6ab3cca290e3cd6ac02d06 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Mon, 28 Jun 2021 10:44:42 +0800
Subject: [PATCH 07/11] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=9A=84=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E6=94=B9=E7=94=A8=E6=AD=A3=E5=BC=8F=E7=89=88=E5=AF=B9?=
=?UTF-8?q?=E5=BA=94=E7=9A=84=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=9C=B0=E5=9D=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/modules/search/index.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/search/index.jsx b/src/modules/search/index.jsx
index 483309d7..08331879 100644
--- a/src/modules/search/index.jsx
+++ b/src/modules/search/index.jsx
@@ -13,7 +13,7 @@ const { TabPane } = Tabs;
// const https = 'http://192.168.0.77:8081'; //曾伟内网后台
// const https = 'http://192.168.31.104:8081'; //曾伟外网后台
// const https='http://106.75.31.211:58081';
-const https = 'https://test-statistics.trustie.net';
+const https = "https://statistics.trustie.net";
const GlobalSearch = ({ location, showNotification, history }) => {
From ad7ab189b14da2fd3e50b038155347fe717aeb28 Mon Sep 17 00:00:00 2001
From: hc1913847458 <1422588487@qq.com>
Date: Wed, 4 Aug 2021 14:42:08 +0800
Subject: [PATCH 08/11] =?UTF-8?q?=E9=99=90=E5=88=B6=E5=AD=97=E7=AC=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/sub/UpdateDescModal.jsx | 2 +-
src/forge/Merge/merge_form.js | 2 +-
src/forge/Order/newMilepost.js | 4 ++--
src/forge/Settings/new_tags.js | 6 +++---
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/forge/Main/sub/UpdateDescModal.jsx b/src/forge/Main/sub/UpdateDescModal.jsx
index 5039123a..63e14fcd 100644
--- a/src/forge/Main/sub/UpdateDescModal.jsx
+++ b/src/forge/Main/sub/UpdateDescModal.jsx
@@ -53,7 +53,7 @@ function UpdateDescModal({form , visible , onCancel , onOk,desc,website,lesson_u
{getFieldDecorator("lesson_url",{
rules:[]
})(
-
+
)}
diff --git a/src/forge/Merge/merge_form.js b/src/forge/Merge/merge_form.js
index 1c75a9f9..95a38d95 100644
--- a/src/forge/Merge/merge_form.js
+++ b/src/forge/Merge/merge_form.js
@@ -264,7 +264,7 @@ class MergeForm extends Component {
},
],
initialValue: title,
- })( )}
+ })( )}
+
)}
@@ -113,7 +113,7 @@ class NewMilepost extends Component {
required: true, message: '请输入描述内容'
}],
})(
-
+
)}
diff --git a/src/forge/Settings/new_tags.js b/src/forge/Settings/new_tags.js
index d0affbc8..bc763f9c 100644
--- a/src/forge/Settings/new_tags.js
+++ b/src/forge/Settings/new_tags.js
@@ -445,7 +445,7 @@ class NewTags extends Component {
message: "请填写标签名字",
},
],
- })(
)}
+ })(
)}
@@ -507,8 +507,8 @@ class NewTags extends Component {
>
Date: Thu, 5 Aug 2021 10:47:22 +0800
Subject: [PATCH 09/11] =?UTF-8?q?=E9=99=90=E5=88=B6=E5=AD=97=E7=AC=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/sub/UpdateDescModal.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/forge/Main/sub/UpdateDescModal.jsx b/src/forge/Main/sub/UpdateDescModal.jsx
index 63e14fcd..5eb25fb2 100644
--- a/src/forge/Main/sub/UpdateDescModal.jsx
+++ b/src/forge/Main/sub/UpdateDescModal.jsx
@@ -53,7 +53,7 @@ function UpdateDescModal({form , visible , onCancel , onOk,desc,website,lesson_u
{getFieldDecorator("lesson_url",{
rules:[]
})(
-
+
)}
From 8f2df90555b9b7df095ace30babb173ca607a123 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Mon, 9 Aug 2021 10:36:15 +0800
Subject: [PATCH 10/11] =?UTF-8?q?=E4=BB=A3=E7=A0=81style?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/sub/UpdateDescModal.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/forge/Main/sub/UpdateDescModal.jsx b/src/forge/Main/sub/UpdateDescModal.jsx
index 63e14fcd..b0291f34 100644
--- a/src/forge/Main/sub/UpdateDescModal.jsx
+++ b/src/forge/Main/sub/UpdateDescModal.jsx
@@ -53,7 +53,7 @@ function UpdateDescModal({form , visible , onCancel , onOk,desc,website,lesson_u
{getFieldDecorator("lesson_url",{
rules:[]
})(
-
+
)}
From 0c180ace328970a64c6eeb7dd85f8f52ef8dfe36 Mon Sep 17 00:00:00 2001
From: jasder
Date: Fri, 22 Oct 2021 09:55:53 +0800
Subject: [PATCH 11/11] ADD MulanPSL-2.0 LICENSE
---
LICENSE | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 124 insertions(+)
create mode 100644 LICENSE
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..04a210b9
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,124 @@
+木兰宽松许可证, 第2版
+
+2020年1月 http://license.coscl.org.cn/MulanPSL2
+
+您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第2版(“本许可证”)的如下条款的约束:
+
+0. 定义
+
+“软件” 是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
+
+“贡献” 是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
+
+“贡献者” 是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
+
+“法人实体” 是指提交贡献的机构及其“关联实体”。
+
+“关联实体” 是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
+
+1. 授予版权许可
+
+每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可以复制、使用、修改、分发其“贡献”,不论修改与否。
+
+2. 授予专利许可
+
+每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权行动之日终止。
+
+3. 无商标许可
+
+“本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可,但您为满足第4条规定的声明义务而必须使用除外。
+
+4. 分发限制
+
+您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。
+
+5. 免责声明与责任限制
+
+“软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于何种法律理论,即使其曾被建议有此种损失的可能性。
+
+6. 语言
+
+“本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文版为准。
+
+条款结束
+
+如何将木兰宽松许可证,第2版,应用到您的软件
+
+如果您希望将木兰宽松许可证,第2版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:
+
+1, 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
+
+2, 请您在软件包的一级目录下创建以“LICENSE”为名的文件,将整个许可证文本放入该文件中;
+
+3, 请将如下声明文本放入每个源文件的头部注释中。
+
+Copyright (c) [Year] [name of copyright holder]
+[Software Name] is licensed under Mulan PSL v2.
+You can use this software according to the terms and conditions of the Mulan PSL v2.
+You may obtain a copy of Mulan PSL v2 at:
+ http://license.coscl.org.cn/MulanPSL2
+THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
+EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
+MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
+See the Mulan PSL v2 for more details.
+Mulan Permissive Software License,Version 2
+Mulan Permissive Software License,Version 2 (Mulan PSL v2)
+
+January 2020 http://license.coscl.org.cn/MulanPSL2
+
+Your reproduction, use, modification and distribution of the Software shall be subject to Mulan PSL v2 (this License) with the following terms and conditions:
+
+0. Definition
+
+Software means the program and related documents which are licensed under this License and comprise all Contribution(s).
+
+Contribution means the copyrightable work licensed by a particular Contributor under this License.
+
+Contributor means the Individual or Legal Entity who licenses its copyrightable work under this License.
+
+Legal Entity means the entity making a Contribution and all its Affiliates.
+
+Affiliates means entities that control, are controlled by, or are under common control with the acting entity under this License, ‘control’ means direct or indirect ownership of at least fifty percent (50%) of the voting power, capital or other securities of controlled or commonly controlled entity.
+
+1. Grant of Copyright License
+
+Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable copyright license to reproduce, use, modify, or distribute its Contribution, with modification or not.
+
+2. Grant of Patent License
+
+Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (except for revocation under this Section) patent license to make, have made, use, offer for sale, sell, import or otherwise transfer its Contribution, where such patent license is only limited to the patent claims owned or controlled by such Contributor now or in future which will be necessarily infringed by its Contribution alone, or by combination of the Contribution with the Software to which the Contribution was contributed. The patent license shall not apply to any modification of the Contribution, and any other combination which includes the Contribution. If you or your Affiliates directly or indirectly institute patent litigation (including a cross claim or counterclaim in a litigation) or other patent enforcement activities against any individual or entity by alleging that the Software or any Contribution in it infringes patents, then any patent license granted to you under this License for the Software shall terminate as of the date such litigation or activity is filed or taken.
+
+3. No Trademark License
+
+No trademark license is granted to use the trade names, trademarks, service marks, or product names of Contributor, except as required to fulfill notice requirements in section 4.
+
+4. Distribution Restriction
+
+You may distribute the Software in any medium with or without modification, whether in source or executable forms, provided that you provide recipients with a copy of this License and retain copyright, patent, trademark and disclaimer statements in the Software.
+
+5. Disclaimer of Warranty and Limitation of Liability
+
+THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+6. Language
+
+THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION SHALL PREVAIL.
+
+END OF THE TERMS AND CONDITIONS
+
+How to Apply the Mulan Permissive Software License,Version 2 (Mulan PSL v2) to Your Software
+
+To apply the Mulan PSL v2 to your work, for easy identification by recipients, you are suggested to complete following three steps:
+
+Fill in the blanks in following statement, including insert your software name, the year of the first publication of your software, and your name identified as the copyright owner;
+Create a file named "LICENSE" which contains the whole context of this License in the first directory of your software package;
+Attach the statement to the appropriate annotated syntax at the beginning of each source file.
+Copyright (c) [Year] [name of copyright holder]
+[Software Name] is licensed under Mulan PSL v2.
+You can use this software according to the terms and conditions of the Mulan PSL v2.
+You may obtain a copy of Mulan PSL v2 at:
+ http://license.coscl.org.cn/MulanPSL2
+THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
+EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
+MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
+See the Mulan PSL v2 for more details.