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

Update Staging branch #170

Merged
merged 16 commits into from
May 24, 2024
Merged

Update Staging branch #170

merged 16 commits into from
May 24, 2024

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    2d14d3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da491dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4be895 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2024

  1. Gitignore .nx (#123)

    giggio authored May 19, 2024
    Configuration menu
    Copy the full SHA
    32184e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0249985 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. docs: ajusta setup do ambiente em docker (#84)

    Co-authored-by: Giovanni Bassi <[email protected]>
    paulotrindade1 and giggio authored May 20, 2024
    Configuration menu
    Copy the full SHA
    b2bd24a View commit details
    Browse the repository at this point in the history
  2. Adiciona docs de contribuição (#151)

    Co-authored-by: Marciel Torres <[email protected]>
    giggio and marcieltorres authored May 20, 2024
    Configuration menu
    Copy the full SHA
    effeb8e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c6ca79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10fadd9 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Feat/dev dump (#160)

    Atualização do arquivo de DUMP sugerido pelo @rhuam.
    Fiz os testes e rodou tudo sem problemas.
    
    Segue as evidencias:
    
    ![image](https://github.com/SOS-RS/backend/assets/103279092/52c27341-a55c-4d7f-bbaa-3b5bd605d71d)
    
    Closes #156
    alanSxSx authored May 23, 2024
    Configuration menu
    Copy the full SHA
    28a6146 View commit details
    Browse the repository at this point in the history
  2. test: cover getMany and create for partners entity (#154)

    - Melhora a cobertura de testes para a entidade `Partner`
    BertBR authored May 23, 2024
    Configuration menu
    Copy the full SHA
    bc100dd View commit details
    Browse the repository at this point in the history
  3. Feat: Histórico de suprimentos (#162)

    1. **Criada Tabela de Registro de Histórico de Supplies dos abrigos**
    - Foi criada uma nova tabela no banco de dados para registrar o
    histórico de cada supply de cada abrigo, permitindo um melhor
    acompanhamento e gerenciamento dos recursos, incluindo dados como ip e
    user agent do usuário;
    
    2. **Criado Decorator para Registro de Log de Supplies**
    - Implementado um decorator para registro de log, separando a lógica do
    controller da lógica de registro de log. Isso melhora a organização e
    manutenção do código.
    
    3. **Removido Dependências Desnecessárias do Express**
    - As dependências desnecessárias do Express foram removidas,
    considerando que o projeto utiliza Fastify. Essa mudança reduz o peso e
    possíveis conflitos no projeto.
    
    4. **Atualizado o Hook do Prisma**
    - A lógica hard coded de criptografia de senhas de usuários foi removida
    do hook do Prisma e movida para um módulo separado. Esse módulo agora
    serve como exemplo para futuras implementações relacionadas a hooks do
    Prisma.
    
    5. **Adicionada Referência Singleton do Prisma**
    - Foi adicionada a referência singleton do Prisma, facilitando o uso em
    casos onde era necessário quebrar a cabeça para injetar dependências em
    funções utilitárias e afins.
    
    6. **Criado Endpoint para Listar Histórico de Suprimentos**
    - Um novo endpoint foi criado para listar o histórico de suprimentos de
    um abrigo de forma paginada, melhorando a eficiência na consulta e
    visualização dos dados.
    
    ---
    
    **Nota:** Essas mudanças visam melhorar a organização do código, a
    eficiência do sistema e a manutenção futura do projeto.
    fagundesjg authored May 23, 2024
    1 Configuration menu
    Copy the full SHA
    d5be560 View commit details
    Browse the repository at this point in the history
  4. feat: add min node version to install dependencies (#149)

    Co-authored-by: Rodrigo Oler <[email protected]>
    Mikael-R and rodrigooler authored May 23, 2024
    Configuration menu
    Copy the full SHA
    6388fce View commit details
    Browse the repository at this point in the history
  5. Feat/hmac (#164)

    - Added hmac decorator to protect endpoints
    fagundesjg authored May 23, 2024
    Configuration menu
    Copy the full SHA
    48d9e1b View commit details
    Browse the repository at this point in the history
  6. test: cover the whole session controler and service use cases (#159)

    - Coverage the whole session use case
    
    ---------
    
    Co-authored-by: Giovanni Bassi <[email protected]>
    BertBR and giggio authored May 23, 2024
    Configuration menu
    Copy the full SHA
    38cccef View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Configuration menu
    Copy the full SHA
    ab7b17d View commit details
    Browse the repository at this point in the history