Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v0.12.0 #73

Merged
merged 56 commits into from
Oct 20, 2023
Merged

release: v0.12.0 #73

merged 56 commits into from
Oct 20, 2023

Conversation

PedroChaparro
Copy link
Contributor

Includes:

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 <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
* 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 <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
AndreaVelasquezA and others added 23 commits October 14, 2023 09:25
* 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 <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
* 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 <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
* 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 <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
* 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 <[email protected]>
Endpoint to unshare file using token, other user's name, and file id.

Co-authored-by: Andvelavi <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
@PedroChaparro PedroChaparro added the cd Continuous deployment label Oct 20, 2023
@PedroChaparro PedroChaparro merged commit 14ef24a into main Oct 20, 2023
1 check passed
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