This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
This file contains 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
* feat(db): Configure database migrations * feat(db): Sample PostgreSQL queries * docs: Add information about ports and env variables
* docs: Initial openapi spec
* feat(db): Initial database scheme * feat: Endpoint to save metadata of a given file * fix: Save metadata of a given directory * fix(cd): Define main class to be runned from Docker * docs: Add examples of REST request for the new endpoint * style: Format files with `scalafmt` * chore: Remove sample package * chore: Delete sample tests package
* docs(openapi): Add new endpoints * chore(db): Add unique index for the shared files table
* feat: Endpoint to share a file * fix: Get file metadata without the owner UUID * test: Add tests for the new endpoint * docs: Update HTTP examples
* feat: Endpoint to check if an user can read a file * refactor(tests): Create shared function to save metadata * refactor(tests): Create shared function to share files * test: Can read endpoint * docs: Add rest example for the new endpoint * chore: Remove clean step in the coverage report script
* feat: Endpoint to mark an archive as ready * refactor: Create base domain exception class * chore: Remove message field validation in tests * docs(openapi): Update /ready endpoint spec
* fix: Use a transaction to update the is_shared column * refactor: Add is_shared column to get metadata endpoint response * chore: Update docker-compose images versions * fix: Include is_shared column in select statements
* fix: Skip directories ready check * fix: Use transaction to update volume and ready columns * fix: Update query to obtain files shared with an user * test: Update tests
* refactor: Print log when non-domain exceptions are caught * fix: Caught ujson parse exception as a bad request error
* feat: Add `isShared` field to `FileExtendedMeta` entity * refactor: Add domain exception to throw when an user cannot read a file * feat: Add new method to the repository to list files * feat: Create endpoint to list files * fix: Fix query to list directories to include nested directories * test: Add tests to the endpoint to list directories * refactor: Remove redundant if statements * docs(http): Add http examples for the new endpoint * docs(openapi): Update parent uuid parameter in the openapi spec * fix: Update function to parse nullable strings to ujson value
* refactor(logs): Create basic stdout logger * refactor: Remove unused request object in get methods * style: Fix typos and remove unneeded enclosing blocks
* docs(http): Add bruno collection
* docs(openapi): Update spec * fix: Include files size when listing files * fix: Use `int` instead of `long` to store files size
* feat: add unshare file method to the repository * feat: add endpoint unshare file * fix: repair path route unshare metadata * feat: add utils unshare and generate Unshare * feat: add test unshare * refactor: add format code * refactor: repair messages exeptions * docs(http): Update bruno collection --------- Co-authored-by: Pedro Andrés Chaparro Quintero <pedro.chaparro.2020@upb.edu.co>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: