Skip to content

Commit b8a5c36

Browse files
committed
Merge branch 'release/v1.18.1' into 187-Special-tags-in-welcome-message-breaks-swagger-file
2 parents ddb83a3 + b90d95c commit b8a5c36

File tree

11 files changed

+1492
-733
lines changed

11 files changed

+1492
-733
lines changed

.github/workflows/swagger.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: swagger
2+
3+
# This will run when:
4+
# - when new code is pushed to master/develop to make sure the
5+
# code does compile.
6+
# - when a pull request is created and updated to make sure the
7+
# code does compile.
8+
on:
9+
push:
10+
branches:
11+
- master
12+
- develop
13+
14+
pull_request:
15+
16+
# Check to make sure swagger document is valid
17+
jobs:
18+
19+
# downloads all the dependencies and compiles the scala code
20+
lint:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
25+
- name: openapi-lint
26+
uses: mhiew/redoc-lint-github-action@v2
27+
with:
28+
args: 'public/swagger.yml --skip-rule operation-operationId'

CHANGELOG.md

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,42 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7-
## Unreleased
8-
- Added folder and folder id to api datasets files list [#34](https://github.com/clowder-framework/clowder/issues/34)
7+
## 1.18.1 - 2021-08-16
98

10-
### Added
11-
- Ability to queue archive / unarchive for full datasets.
9+
This release fixes a critical issue where invalid zip files could result in the files not being uploaded correctly. To check to see if you are affected, please use the following query:
10+
11+
```
12+
db.uploads.find({"status": "CREATED", "contentType": "application/x-zip-compressed"}, {"author.fullName": 1, "author.email": 1, "filename": 1, "uploadDate": 1, "length": 1})
13+
```
14+
15+
If any files are returned, you should check to see if these files affected and are missing from clowder.
1216

1317
### Fixed
14-
- RabbitMQ will not use connection if None exists
15-
- previews returns 404 if preview is not found
16-
- When uploading a file, it would ignore any extractors marked disabled at the space level. [#246](https://github.com/clowder-framework/clowder/issues/246)
17-
- Added index for comments, will speed up index creation
18-
- If using S3 storage in docker, it was not reflected correctly in the docker-compose file
18+
- When zip file is uploaded, it will parse the file to check if it is a valid zip file, this couuld result in files not stored in final storage space [#264](https://github.com/clowder-framework/clowder/issues/264)
19+
- Updated swagger documentation
20+
- Return 404 not found when calling file/dataset/space api endpoints with an invalid ID [#251](https://github.com/clowder-framework/clowder/issues/251)
1921
- Line breaks in welcome message breaks swagger build [#187](https://github.com/clowder-framework/clowder/issues/187)
2022

23+
### Changed
24+
- Added more information when writing files to make sure files are written correctly
25+
- Made cilogon group check debug message instead of error message
26+
27+
## 1.18.0 - 2021-07-08
28+
2129
### Added
22-
- Status endpoint will now show what storage is used
23-
- `GET /api/files/bulkRemove` now returns status of files deleted, not found, no permission, errors.
30+
- Added folder and folder id to API call `GET /api/datasets/:id/files`. [#34](https://github.com/clowder-framework/clowder/issues/34)
31+
- Ability to queue archive / unarchive for full datasets.
32+
- API status endpoint `GET /api/status` will now show what storage type is used and for superadmins will show more
33+
information about the backend storage.
34+
- `GET /api/files/bulkRemove` now returns status of files deleted, not found, no permission, or errors.
2435

2536
### Fixed
26-
- Docker image for mongo-init now based on python:3.7-slim reduces size
37+
- When uploading a file, any extractors marked disabled at the space level would be ignored. [#246](https://github.com/clowder-framework/clowder/issues/246)
38+
- RabbitMQ will not use connection if it does not exist.
39+
- Previews returns 404 if preview is not found `GET /api/previews/:id`.
40+
- Added index for comments, will speed up index creation.
41+
- If using S3 storage in docker, it was not reflected correctly in the docker-compose file.
42+
- Docker image for mongo-init now based on python:3.7-slim to reduce size.
2743

2844
## 1.17.0 - 2021-04-29
2945

0 commit comments

Comments
 (0)