Skip to content

Release 0.11.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 22:08
d2ab13a
release: v0.11.0 (#67)

* test: Increment save file endpoint coverage (#54)

* refactor(files): Remove unreachable block

Since JSON is not being used in the endpoint, the block is unreachable

* test(files): Increment upload handler coverage to 88%

All lines, except the `500` status code error, are covered now

* test(files): Fix broken tests related to file upload (#58)

* fix: Add extra validations for UUIDs (#65)

* fix(files): Update endpoint to create directories

* fix(files): Add extra validations for UUIDs

* feat: share a file with another user (#61)

* feat: share a file with another user

Endpoint to share files with another user who is registered

* fix: fixed integration issues.

* refactor(files): Add extra validations to the share endpoint

* test(files): Add missing test cases to the endpoint to share a file

File is fully covered (87%) except for the internal server error response

---------

Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>
Co-authored-by: Pedro Andrés Chaparro Quintero <pedro.chaparro.2020@upb.edu.co>

* feat: download file (#60)

* feat: download file endpont

folder creation: download_file

download_file contains the .py files _handler.py and _download_files_test, at the moment there is no test.

Additionally, the path is added to the _file_views.py file.

* fix: import but unused

Fixed check-linter errors where unused imports were found

* feat(files): Return file instead of JSON when downloading a file

According to the openapi spec, the download endpoint should return the file itself

* test(files): Update tests to download a file

* fix: invalid except valueError

Removal of unnecessary exception

* style(files): Format views file

---------

Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>
Co-authored-by: Pedro Andrés Chaparro Quintero <pedro.chaparro.2020@upb.edu.co>
Co-authored-by: Pedro Andrés Chaparro Quintero <62714297+PedroChaparro@users.noreply.github.com>

* feat: list user files (#64)

* feat: Get file by UUID (#66)

* docs(openapi): Update spec

* feat(files): Add endpoint to get file by its UUID

* test(files): Add tests to the new endpoint


---------

Co-authored-by: Antonio Donis <antoniojosedonishung@gmail.com>
Co-authored-by: Pedro Andrés Chaparro Quintero <62714297+PedroChaparro@users.noreply.github.com>
Co-authored-by: Pedro Andrés Chaparro Quintero <pedro.chaparro.2020@upb.edu.co>
Co-authored-by: Andrea Velasquez <55466005+andre154@users.noreply.github.com>
Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>