Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

release: v0.12.0 #90

Merged
merged 75 commits into from
Oct 22, 2023
Merged

release: v0.12.0 #90

merged 75 commits into from
Oct 22, 2023

Conversation

PedroChaparro
Copy link
Contributor

Includes:

PedroChaparro and others added 30 commits August 20, 2023 15:06
* 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
PedroChaparro and others added 27 commits September 21, 2023 09:13
* 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>
@PedroChaparro PedroChaparro added the cd Continuous deployment label Oct 22, 2023
@PedroChaparro PedroChaparro merged commit 08ee51e into main Oct 22, 2023
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cd Continuous deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants