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.16.0 #85

Merged
merged 71 commits into from
Oct 25, 2023
Merged

release: v0.16.0 #85

merged 71 commits into from
Oct 25, 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]>
shoriwe and others added 26 commits October 15, 2023 21:20
* 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]>
* 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 <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[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

* refactor: init file and file_views

The endpoint is complemented by adding the handler to the init file, in addition to adding the path in the file_views file

* feat: Tests for shared_files endpoint

The endpoint shared files is completed, adding the tests, which exceed 70%

* docs(http): Add new request to bruno collection

---------

Co-authored-by: Andvelavi <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
* 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

* refactor: remove endpont init and view files

* feat: remove endpoint

Endpoint to remove file completed, in addition to adding tests

* fix: format error

* docs(http): Update bruno collection

* test: Minimally increase coverage of remove file handler

Add test with a not valid file UUID

---------

Co-authored-by: Andvelavi <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
* feat: Endpoint for unshare file, tests not yet implemented

Endpoint to unshare file using token, other user's name, and file id.

* refactor: endpoint unshare file

* fix: init and view

* feat: endpoint unshare

Unshared endpoint finished, additional testing is done

* fix: format errors

* chore: Log unexpected errors in the unshare endpoint

* docs(http): Update bruno collection

* test: Increment unshare handler coverage

All lines, except the last Exception are covered.

---------

Co-authored-by: Andvelavi <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
@PedroChaparro PedroChaparro added the cd Continuous deployment label Oct 25, 2023
@PedroChaparro PedroChaparro merged commit 1f67ebb into main Oct 25, 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