Skip to content

Commit ca4d9d8

Browse files
authored
Merge branch 'develop' into 232-upload-file-to-folder
2 parents ee1b820 + 3e27a54 commit ca4d9d8

29 files changed

+3347
-2795
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: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +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
8+
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.
916

1017
### Fixed
11-
- When uploading a file, it would ignore any extractors marked disabled at the space level. [#246](https://github.com/clowder-framework/clowder/issues/246)
12-
- Added index for comments, will speed up index creation
13-
- 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)
21+
- Line breaks in welcome message breaks swagger build [#187](https://github.com/clowder-framework/clowder/issues/187)
22+
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
1428

1529
### Added
16-
- Status endpoint will now show what storage is used
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.
1735

1836
### Fixed
19-
- 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.
2043

2144
### Added
2245
- Endpoint '/api/files/uploadToDataset' now allows folder_id for uploading file to folder. [#232](https://github.com/clowder-framework/clowder/issues/232)
@@ -36,6 +59,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3659
### Changed
3760
- Updated Sphinx dependencies due to security and changes in required packages.
3861

62+
- Updated the three.js libraries for the FBX previewer
63+
3964
## 1.16.0 - 2021-03-31
4065

4166
### Fixed
@@ -103,6 +128,7 @@ script to fix this.
103128
## 1.14.0 - 2021-01-07
104129

105130
### Added
131+
- Added a previewer for FBX files.
106132
- Added a new `/api/reports/metrics/extractors` report for summarizing extractor usage by user. Database administrators
107133
can use `scripts/updates/UpdateUserId.js` to assign user IDs to older extraction event records based on resource ownership
108134
in order to improve the accuracy of the report for older data.

0 commit comments

Comments
 (0)