release: v0.11.0#67
Merged
MiguelMRojas merged 49 commits intomainfrom Oct 15, 2023
Merged
Conversation
Member
MiguelMRojas
commented
Oct 15, 2023
- Download file Feat: download file #60
- Share a file with another user feat: share a file with another user #61
- List user files feat: list user files #64
- Get file by UUID feat: Get file by UUID #66
* 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>
* 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.