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

sync develop #13

Merged
merged 69 commits into from
Sep 20, 2023
Merged

sync develop #13

merged 69 commits into from
Sep 20, 2023

Conversation

viniciuscosmome
Copy link
Contributor

No description provided.

viniciuscosmome and others added 30 commits August 28, 2023 21:14
…ckages

chore(main): configure useGlobalPipes
LOR 116 Feature: request password reset
* chore(deps): includes helmet and nestjs/config dependencies

* chore(sec): configure cors and helmet

* refactor: remove unnecessary imports

* chore: updates date example

* fix(birthdate): fixes format validation
@viniciuscosmome viniciuscosmome merged commit d0cd007 into homologation Sep 20, 2023
1 check passed
@viniciuscosmome viniciuscosmome deleted the develop branch September 20, 2023 01:23
viniciuscosmome added a commit that referenced this pull request Nov 1, 2023
* build: initial setup

* feat: setup swagger

* chore: changes the structure of the database

* refactor: simplify method names

* style: includes recommendations

* build: setup deploy homologation

* chore: changes jest root dir

* test: creates services tests

* build: setup husky

* chore(deps): includes husky

* chore: uses pre-push event

* feat(submodule): includes mail-templates submodule

* chore: specify what JSX code is generated

* chore(deps): install @react-email/render and submodule dependencies

* chore(deps): install resend dependencies

* chore(dev-deps): install ` dotenv-cli ` and ` @types-react ` packages

* feat: creates mail service

* docs: updates swagger documentation and example files

* chore(onerror): shows error when trying to load html

* styles: variable destructuring

* chore(deps): install ` class-validator ` and ` class-transformer ` packages

chore(main): configure useGlobalPipes

* refactor: renames properties

* feat: creates new account method

* chore(dev-deps): install the faker-js package to generate test values

* test: creates simple tests for newAccountPropsProcessing method

* chore: changes container name

* chore: shows the port on which the server is running

* docs: updates description

* build(`ci-cd`): configure testing.yml for unit tests

* docs: updates api description

* chore(submodule): updates email-templates

* refactor: changes file name

* chore: updates mail loader

* chore: sync submodule

* chore: updates templates

* chore: updates validation messages

* chore: creates encryptData method

* refactor: updates prisma known errors

* chore: encrypt password and hash email

* docs: add new environment variable descrition

* chore: import bcrypt

* chore: updates create account expect

* chore: changes messages and examples

* feat: creates reset password information scheme

* chore: log known errors

* refactor: change log type

* chore: includes default error

* chore: removes prismaKnownValidationErrors

* chore: updates error messages

* feat: creates and saves token to reset password

* chore: await send mail

* feat: send link to reset password

* chore: changes description

* test: create reset password tests

* chore: changes setup

* chore: await save token

* styles: changes file name

* styles: rename folders

* feat: creates set password route

* feat: saves the new password and deletes the old recovery token

* refactor: changes the way errors are handled

* refactor: move files

* fix: sets 5 minutes to expires the token

* chore: update config (#12)

* chore(deps): includes helmet and nestjs/config dependencies

* chore(sec): configure cors and helmet

* refactor: remove unnecessary imports

* chore: updates date example

* fix(birthdate): fixes format validation

* Update README.md

translation up to "Clone the repository" part

* sync develop (#13)

* build: setup deploy homologation

* chore: changes jest root dir

* test: creates services tests

* build: setup husky

* chore(deps): includes husky

* chore: uses pre-push event

* feat(submodule): includes mail-templates submodule

* chore: specify what JSX code is generated

* chore(deps): install @react-email/render and submodule dependencies

* chore(deps): install resend dependencies

* chore(dev-deps): install ` dotenv-cli ` and ` @types-react ` packages

* feat: creates mail service

* docs: updates swagger documentation and example files

* chore(onerror): shows error when trying to load html

* styles: variable destructuring

* chore(deps): install ` class-validator ` and ` class-transformer ` packages

chore(main): configure useGlobalPipes

* refactor: renames properties

* feat: creates new account method

* chore(dev-deps): install the faker-js package to generate test values

* test: creates simple tests for newAccountPropsProcessing method

* chore: changes container name

* chore: shows the port on which the server is running

* docs: updates description

* build(`ci-cd`): configure testing.yml for unit tests

* docs: updates api description

* chore(submodule): updates email-templates

* refactor: changes file name

* chore: updates mail loader

* chore: sync submodule

* chore: updates templates

* chore: updates validation messages

* chore: creates encryptData method

* refactor: updates prisma known errors

* chore: encrypt password and hash email

* docs: add new environment variable descrition

* chore: import bcrypt

* chore: updates create account expect

* chore: changes messages and examples

* feat: creates reset password information scheme

* chore: log known errors

* refactor: change log type

* chore: includes default error

* chore: removes prismaKnownValidationErrors

* chore: updates error messages

* feat: creates and saves token to reset password

* chore: await send mail

* feat: send link to reset password

* chore: changes description

* test: create reset password tests

* chore: changes setup

* chore: await save token

* styles: changes file name

* styles: rename folders

* feat: creates set password route

* feat: saves the new password and deletes the old recovery token

* refactor: changes the way errors are handled

* refactor: move files

* fix: sets 5 minutes to expires the token

* chore: update config (#12)

* chore(deps): includes helmet and nestjs/config dependencies

* chore(sec): configure cors and helmet

* refactor: remove unnecessary imports

* chore: updates date example

* fix(birthdate): fixes format validation

---------

Co-authored-by: Daiane Bolzan <[email protected]>

* Update README.md

* Update README.md

Co-authored-by: Cosmo <[email protected]>

* Update README.md

Co-authored-by: Cosmo <[email protected]>

* docs: update readme.md (#15)

changes `Testes unitários` to `Unit tests`

* FIX: ajuste temporário para teste

* chore: reset password homologation (#18)

* Revert "FIX: ajuste temporário para teste"

* chore(homologation): returns the recovery link in the response

* chore: creates exceptions

* chore: adds responses to Swagger

* chore: update headers

* refactor: updates validation responses

* docs: license description

* refactor: updates error responses

* docs: includes schemas

* refactor: show specific errors in the development environment

* refactor: removes unecessary types

* refactor: use custom exceptions

* refactor: move custom exceptions

* chore: use custom exception

* style: removes unnecessary variables

* chore: creates new unauthorized exception

* refactor: use custom exceptions

* adicionando jwt

* chore: creates responses and schemas

* docs: changes swagger config

* docs: use new swagger responses

* docs: includes description & bump app version to 0.3.2

* chore: creates email exception

* chore: use email exception

* test: updates to use new email exception

* REFACTOR: retira imports não utilizados

* CHORE: altera retorno do endpoint de login

* FIX: resolução de conflitos

* FIX: bump prisma version

* REFACTOR: altera nome variável secret

Co-authored-by: viniciuscosmome <[email protected]>

* CHORE: upgrade prisma para 5.3.1

* CHORE: remove o jwtModule

Co-authored-by: Cosmo <[email protected]>

* STYLE: altera nome da função handleErrors

* REFACTOR: remove o AuthModule

Co-authored-by: Cosmo <[email protected]>

* FEAT: cria uma nova exception para credenciais inválidas.
Co-authored-by: Cosmo <[email protected]>

* FEAT: adiciona login ao Account Module

Co-authored-by: Cosmo <[email protected]>

* chore: changes validation response

* style: format responses

* chore: updates response structure

* docs: format response properties

* chore: updates response

* chore: updates terms exception

* chore: update test to accept new structure

* docs: changes responses schema

* chore: format enum

* chore: add task categories model

* feat: seed database

* chore: transform to lower case enums

* feat: task model

* chore: changes enums validation responses

* chore: updates authTokens payload

* chore: set static id

* chore: add database error

* chore: update prisma errors

* feat: task module

* test: format stubs

* test: updates test

* chore: updates token payload

* chore: updates token payload

* chore: configure variables environment

* chore: update vars

* chore load local variables

* test: import modules

* feat: creates authorization guard

* choer: updates token config

* chore: generate refresh token

* chore: use parent id from payload

* 🎃

---------

Co-authored-by: viniciuscosmome <[email protected]>
Co-authored-by: Daiane Bolzan <[email protected]>
Co-authored-by: Lauane Gonçalves <[email protected]>
Co-authored-by: Lauane Gonçalves <[email protected]>
Co-authored-by: Daiane Bolzan <[email protected]>
Co-authored-by: Cosmo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants