Skip to content

release: v0.11.0#67

Merged
MiguelMRojas merged 49 commits intomainfrom
dev
Oct 15, 2023
Merged

release: v0.11.0#67
MiguelMRojas merged 49 commits intomainfrom
dev

Conversation

@MiguelMRojas
Copy link
Copy Markdown
Member

shoriwe and others added 30 commits August 24, 2023 15:25
* chore: Add missing env variables and services to docker-compose

* chore: Use worker default env variables
* chore: Add recommended vscode extensions

* chore(deps): Install black formatter and ruff linter

* style: Lint and format files

* docs: Add linting and formatting commands to README

* ci: Add linter and style checks to integration pipeline
* refactor: Create reusable middleware to get and inject the jwt

* refactor: Update login and challenge endpoints

* docs(openapi): Update login and refresh endpoints in spec

* refactor: Update login and refresh endpoints according to the spec

* test: Update tests using random data

* refactor: Remove unreachable block

* chore(deps): Update dependencies
* feat: enpoint registration coverage 57%

Implementation of the registration endpoint, 57% coverage is achieved

* style: Fix formatter and linter warnings

* test: Use random data in register tests

* refactor: Update register endpoint according to the `.net` spec

* test: Fix broken test

---------

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

* fix: Enable all origins in CORS config
* refactor: Remove exception from responses

* ci: Remove unnecessary field in tagging pipeline

* fix: Update metadata base url in docker-compose

* feat(file): Endpoint to get the state of a file

* test(file): Add tests to the endpoint to get file state

* chore: Set current version
* feat: Endpoint to update password + tests

Endpoint to update password, with 42% coverage.  Problems when querying with an invalid token

* fix(account): Update endpoint to change the password

* test(account): Update tests related to update password

Increment coverage to 83%

---------

Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>
Co-authored-by: Pedro Andrés Chaparro Quintero <pedro.chaparro.2020@upb.edu.co>
MiguelMRojas and others added 19 commits October 13, 2023 22:16
* feat: file upload endpoint.

Start of file upload endpoint , testing is still pending, in addition to possible changes according to the API update

* feat: Progress and small corrections in upload_endpoint

Progress is made in the endpoint in addition to correcting syntax and .py file creation problems

* fix: upload file endpont corrections

Corrections are made to the endpoint upload_file according to API update

* fix: error message

* fix: error messages in upload controller

* feat: Create helper function to check if an UUID is valid

* fix(files): Use multipart form data instead of JSON

* test(files): Add success case test to the endpoint to upload files

---------

Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>
Co-authored-by: Pedro Andrés Chaparro Quintero <pedro.chaparro.2020@upb.edu.co>
* 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
* fix(files): Update endpoint to create directories

* fix(files): Add extra validations for UUIDs
* 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 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>
* docs(openapi): Update spec

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

* test(files): Add tests to the new endpoint
@MiguelMRojas MiguelMRojas added the cd Continuous deployment label Oct 15, 2023
@MiguelMRojas MiguelMRojas self-assigned this Oct 15, 2023
Copy link
Copy Markdown
Contributor

@PedroChaparro PedroChaparro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@MiguelMRojas MiguelMRojas merged commit d2ab13a into main Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cd Continuous deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants