Skip to content

Commit

Permalink
Merge pull request #167 from FederatedAI/develop-1.11.2
Browse files Browse the repository at this point in the history
Develop 1.11.2
  • Loading branch information
mgqa34 authored Sep 8, 2023
2 parents f4db190 + b1597d6 commit a5a52ab
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 14 deletions.
8 changes: 8 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Release 1.11.2

#### Major Features and Improvements
**Major Features**

* Dependencies updated
* Display details optimization

# Release 1.11.1

#### Major Features and Improvements
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fateboard</groupId>
<artifactId>fateboard</artifactId>
<version>1.11.1</version>
<version>1.11.2</version>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.4</version>
<version>2.7.10</version>
<relativePath/>
</parent>

Expand Down Expand Up @@ -93,7 +93,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
<version>32.0.1-android</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -186,7 +186,7 @@
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.33</version>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
Expand Down
1 change: 1 addition & 0 deletions resources-front-end/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
<script src="./static/jsencrypt.min.js"></script>
</body>
</html>
4 changes: 1 addition & 3 deletions resources-front-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
"file-saver": "^2.0.1",
"hmac_sha1": "^0.1.1",
"js-cookie": "2.2.0",
"jsencrypt": "^3.2.1",
"jsencrypter": "^1.2.1",
"jszip": "^3.7.1",
"jszip": "^3.8.0",
"lodash": "^4.17.21",
"mockjs": "1.0.1-beta3",
"normalize.css": "7.0.0",
Expand Down
16 changes: 9 additions & 7 deletions resources-front-end/src/utils/encrypt.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { JSEncrypt } from 'jsencrypt'

export default function rsa(publicKet, origin) {
const jsencrypt = new JSEncrypt()
jsencrypt.setPublicKey(publicKet)
return jsencrypt.encrypt(origin)
}
export default function rsa(publicKet, origin) {
if (window.JSEncrypt) {
const jsencrypt = new window.JSEncrypt()
jsencrypt.setPublicKey(publicKet)
return jsencrypt.encrypt(origin)
} else {
return origin
}
}
2 changes: 2 additions & 0 deletions resources-front-end/static/jsencrypt.min.js

Large diffs are not rendered by default.

0 comments on commit a5a52ab

Please sign in to comment.