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

feat(servidor): autorización #91

Open
wants to merge 62 commits into
base: develop
Choose a base branch
from

Commits on Dec 18, 2019

  1. feat: renombrar login como cliente login

    La aplicación va a tener un login para los clientes y otro para los empleados
    MatiasOlivera committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    f336298 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb43313 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    163b1d8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3be4e3d View commit details
    Browse the repository at this point in the history
  5. refactor(servidor): renombrar User como ClienteUsuario

    Utilizar un nombre de modelo más específico y no tan genérico
    MatiasOlivera committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    1f84757 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9e83072 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b01c3c1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4076f05 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    707aad6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7f80efd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3d40f27 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    145e6a8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    141209e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    414c1c6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    37135de View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fd416bd View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    01cd32a View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2019

  1. Configuration menu
    Copy the full SHA
    e7c1d22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98dc095 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f162daa View commit details
    Browse the repository at this point in the history
  4. feat(servidor): crear y asociar un cliente con el usuario generado

    El cliente usuario debe tener asociado un cliente
    MatiasOlivera committed Dec 27, 2019
    Configuration menu
    Copy the full SHA
    2eb7b56 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5cd78dc View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. Configuration menu
    Copy the full SHA
    ff6197a View commit details
    Browse the repository at this point in the history
  2. feat(servidor): agregar el rol super administrador

    Este rol se va a utilizar para testing y va a ser asignado a nuestro usuario del sistema
    MatiasOlivera committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    b5a5ec1 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2019

  1. test(servidor): usar usuario con todos los permisos

    Evitar probar la autorización (permisos) y la lógica de negocio en el mismo archivo
    MatiasOlivera committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    296298d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7e891e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b13ce27 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2020

  1. feat(servidor): agregar el trait HayRelacionUsuarioYCliente

    La comprobación va a ser utilizada en todas las políticas de los modelos relacionados con cliente
    MatiasOlivera committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    a0bab85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb43623 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b070699 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9391508 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    36ee0a0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    50244e6 View commit details
    Browse the repository at this point in the history
  7. fix(servidor): evitar consultar la relación localidad ya que no existe

    "Call to undefined relationship [localidad] on model [App\\Cliente]."
    MatiasOlivera committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    bf68b49 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2020

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

Commits on Jan 21, 2020

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

Commits on Jan 22, 2020

  1. test(servidor): evitar ejecutar el middleware que limita las peticiones

    Los tests estaban superando el límite de peticiones por minuto configurado en Laravel.
    
    https://phpunit.readthedocs.io/en/8.5/fixtures.html#sharing-fixture
    MatiasOlivera committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    3cbb654 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3a4f10 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86258ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5af6c76 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

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

Commits on Jan 24, 2020

  1. Configuration menu
    Copy the full SHA
    4661610 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85ba4b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. Configuration menu
    Copy the full SHA
    9406d65 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27a8b7b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a145ab4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee32dd0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba9e731 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2020

  1. Configuration menu
    Copy the full SHA
    a0a2fc5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd60776 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e81794 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. Configuration menu
    Copy the full SHA
    b92d058 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf4df78 View commit details
    Browse the repository at this point in the history
  3. test(servidor): usar number_format para convertir el precio a string

    Al convertir un float a string, usando el cast (string) se eliminan los ceros de la parte decimal. Si se usa el método number_format se puede establecer los digitos de la parte decimal.
    
    (string) 10.50 // "10.5"
    number_format(10.50, 2, '.', '') // "10.50"
    MatiasOlivera committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    74810c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    33bf896 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3b79e8c View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

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

Commits on Feb 13, 2020

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

Commits on Feb 14, 2020

  1. Configuration menu
    Copy the full SHA
    d764d38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29e2eca View commit details
    Browse the repository at this point in the history