Skip to content

Commit 110b408

Browse files
authored
Merge branch 'release/1.20.2' into fix-masonry-space
2 parents be0902d + 8ba7532 commit 110b408

File tree

7 files changed

+24
-36
lines changed

7 files changed

+24
-36
lines changed

.github/workflows/swagger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
- uses: actions/checkout@v2
2424

2525
- name: openapi-lint
26-
uses: mhiew/redoc-lint-github-action@v2
26+
uses: mbowman100/swagger-validator-action@master
2727
with:
28-
args: 'public/swagger.yml --skip-rule operation-operationId'
28+
files: public/swagger.yml

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## Unreleased
8+
## 1.20.2 - 2022-04-30
99

1010
### Fixed
11+
- swagger lint action
12+
- When downloading a file with a `'` in the name it would save the file as blob
1113
- Fix for a rare race condition with masonry where tiles could end up overlapping in space page.
1214

15+
### Changed
16+
- Changed `Enabled By SuperAdmin` to read `Enabled by Server Admin` [#344](https://github.com/clowder-framework/clowder/issues/344)
17+
1318
## 1.20.1 - 2022-04-04
1419

1520
### Fixed

app/util/FileUtils.scala

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -856,37 +856,20 @@ object FileUtils {
856856
//Download CONTENT-DISPOSITION encoding
857857
//
858858
def encodeAttachment(filename: String, userAgent: String) : String = {
859-
val filenameStar = if (userAgent.indexOf("MSIE") > -1) {
860-
URLEncoder.encode(filename, "UTF-8")
861-
} else if (userAgent.indexOf("Edge") > -1){
862-
MimeUtility.encodeText(filename
863-
.replaceAll(",","%2C")
864-
.replaceAll("\"","%22")
865-
.replaceAll("/","%2F")
866-
.replaceAll("=","%3D")
867-
.replaceAll("&","%26")
868-
.replaceAll(":","%3A")
869-
.replaceAll(";","%3B")
870-
.replaceAll("\\?","%3F")
871-
.replaceAll("\\*","%2A")
859+
val filenameStar = MimeUtility.encodeText(filename
860+
.replaceAll("%","%25")
861+
.replaceAll(" ","%20")
862+
.replaceAll("\"","%22")
863+
.replaceAll("'","%27")
864+
.replaceAll(",","%2C")
865+
.replaceAll("/","%2F")
866+
.replaceAll("=","%3D")
867+
.replaceAll(":","%3A")
868+
.replaceAll(";","%3B")
869+
.replaceAll("\\*","%2A")
872870
,"utf-8","Q")
873-
} else {
874-
MimeUtility.encodeText(filename
875-
.replaceAll("%","%25")
876-
.replaceAll(" ","%20")
877-
.replaceAll("\"","%22")
878-
.replaceAll(",","%2C")
879-
.replaceAll("/","%2F")
880-
.replaceAll("=","%3D")
881-
.replaceAll(":","%3A")
882-
.replaceAll(";","%3B")
883-
.replaceAll("\\*","%2A")
884-
,"utf-8","Q")
885-
}
886-
Logger.debug(userAgent + ": " + filenameStar)
887871

888872
//Return the complete attachment header info
889873
"attachment; filename*=UTF-8''" + filenameStar
890874
}
891-
892875
}

app/views/spaces/updateExtractors.scala.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ <h1>Space Extractors</h1>
3535
<th>Name</th>
3636
<th>Description</th>
3737
<th>Process Triggers</th>
38-
<th class="text-center" title="Extractors marked for execution in all spaces">Enabled By SuperAdmin</th>
39-
<th class="text-center" title="Follow selection in 'Enabled By SuperAdmin' column">Use Default</th>
38+
<th class="text-center" title="Extractors marked for execution in all spaces">Enabled by Server Admin</th>
39+
<th class="text-center" title="Follow selection in 'Enabled by Server Admin' column">Use Default</th>
4040
<th class="text-center" title="Always trigger execution in this space">Enable in Space</th>
4141
<th class="text-center" title="Never trigger execution in this space">Disable in Space</th>
4242
</tr>

doc/src/sphinx/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Luigi Marini'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '1.20.1'
25+
release = '1.20.2'
2626

2727

2828
# -- General configuration ---------------------------------------------------

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import NativePackagerKeys._
1313
object ApplicationBuild extends Build {
1414

1515
val appName = "clowder"
16-
val version = "1.20.1"
16+
val version = "1.20.2"
1717
val jvm = "1.7"
1818

1919
def appVersion: String = {

public/swagger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ info:
99
Clowder is a customizable and scalable data management system to support any
1010
data format and multiple research domains. It is under active development
1111
and deployed for a variety of research projects.
12-
version: 1.20.1
12+
version: 1.20.2
1313
termsOfService: https://clowder.ncsa.illinois.edu/clowder/tos
1414
contact:
1515
name: Clowder

0 commit comments

Comments
 (0)