release: v0.13.0#79
Merged
PedroChaparro merged 62 commits intomainfrom Oct 20, 2023
Merged
Conversation
* 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>
* 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
* feat: delete file endpoint Endpoint to delete files, no tests implemented yet * fix: check format check format error * fix: Removing changes to init.py in controllers files_view.py files * fix: check-linter problem --------- Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>
Endpoint to unshare file using token, other user's name, and file id. Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>
* feat: Endpoint to obtain the list of shares, the tests are not yet implemented Receives the user's token and returns the list of shared files/folders and the user they were shared with. * feat: Shared list endpoint Receives the user's token and returns the list of shared files/folders that have been shared with them * fix: check-format * refactor: Added the missing "extension" field Added the missing "extension" field in addition to changing sharedFile to files --------- Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>
* feat: Get the users with whom a file is being shared Endpoint to get the users with whom a file is shared. Testing has not been implemented yet * refactor: Enpoint correction in addition to updating the spec --------- Co-authored-by: Andvelavi <54145562+Andvelavi@users.noreply.github.com>
* feat: Get the users with whom a file is being shared
Endpoint to get the users with whom a file is shared.
Testing has not been implemented yet
* refactor: Enpoint correction in addition to updating the spec
* feat: The init and view are added for the endpoint shared with whom, in addition to implementing the tests
The tests exceed the required 70%
* fix: check-linter problem
* docs(openapi): Update spec
* fix: Return plain usernames with whom a file is being shared
Return an array of strings instead of an array of:
```json
{
"username": "string"
}
```
* test: Minimally increase "shared with who" coverage
A new test case is added to test the SOAP domain error thrown when a file is not found
* style: Format 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>
Co-authored-by: Pedro Andrés Chaparro Quintero <62714297+PedroChaparro@users.noreply.github.com>
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.
Includes: