Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Con este set de cambios se logra lo siguiente: - Funcionalidad del curso avanzada (WIP). - Mas de 80% de cobertura de pruebas unitarias. - MyPy passed - PyLint passed - Flake8 passed - Bandit passed - OCI image build ========================================================================= * refactor Signed-off-by: William Moreno <[email protected]> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <[email protected]> * Agrega codigo para agregar seccion a un curso. Signed-off-by: William Moreno <[email protected]> * Utiliza codigos uuid para secciones y recursos Signed-off-by: William Moreno <[email protected]> * fix: Corrige error al crear la DB en potgres Signed-off-by: William Moreno <[email protected]> * style: Corrige errores reportados por pylint. pylint now_lms ************* Module now_lms now_lms/__init__.py:795:8: W0622: Redefining built-in 'id' (redefined-builtin) now_lms/__init__.py:796:8: W0621: Redefining name 'nuevo_seccion' from outer scope (line 790) (redefined-outer-name) now_lms/__init__.py:822:8: W0622: Redefining built-in 'id' (redefined-builtin) now_lms/__init__.py:823:8: W0621: Redefining name 'nuevo_recurso' from outer scope (line 817) (redefined-outer-name) now_lms/__init__.py:817:31: W0613: Unused argument 'seccion' (unused-argument) ----------------------------------- Your code has been rated at 9.89/10 Signed-off-by: William Moreno <[email protected]> * refactor: Reduce cantidad de markup repetido Signed-off-by: William Moreno <[email protected]> * build: Actualiza Bootstrap Icons Signed-off-by: William Moreno <[email protected]> * feat: Acordeon para mostrar contenido del curso Signed-off-by: William Moreno <[email protected]> * refactor: Pagina tipo de recurso Signed-off-by: William Moreno <[email protected]> * fix: Not require POST Signed-off-by: William Moreno <[email protected]> * refactor Signed-off-by: William Moreno <[email protected]> * Agrega indice Signed-off-by: William Moreno <[email protected]> * Agrega info a usuarios predterminados Signed-off-by: William Moreno <[email protected]> * Feat: Agrego macro para notificaciones Signed-off-by: William Moreno <[email protected]> * fix: Notify Signed-off-by: William Moreno <[email protected]> * setup tet Signed-off-by: William Moreno <[email protected]> * test unitarios Signed-off-by: William Moreno <[email protected]> * pruebas unitarias Signed-off-by: William Moreno <[email protected]> * test Signed-off-by: William Moreno <[email protected]> * build: Deploy to DO Signed-off-by: William Moreno <[email protected]> * build: Deploy to Heroku Signed-off-by: William Moreno <[email protected]> * build: Deploy to DO Signed-off-by: William Moreno <[email protected]> * build: Deploy to Heroku Signed-off-by: William Moreno <[email protected]> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <[email protected]> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <[email protected]> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <[email protected]> * build: Heroku likes psycopg Signed-off-by: William Moreno <[email protected]> * Update README.md * build: Minimal nginx configuration Signed-off-by: William Moreno <[email protected]> * Update readme Signed-off-by: William Moreno <[email protected]> * fix: Corrige permisos instructor Signed-off-by: William Moreno Reyes <[email protected]> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <[email protected]> * test: Agrega pruebas Signed-off-by: William Moreno Reyes <[email protected]> * Agrega metodo para eliminar curso. Signed-off-by: William Moreno <[email protected]> * fixup Signed-off-by: William Moreno <[email protected]> * build: Actualiza configuración de gitpod Signed-off-by: William Moreno <[email protected]> * style: Correcciones de estilo Signed-off-by: William Moreno <[email protected]> * fix: Typo Signed-off-by: William Moreno <[email protected]> * refactor: Ejecuta un query menos Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * style: pass mypy Signed-off-by: William Moreno <[email protected]> * style: Sonarcube Signed-off-by: William Moreno <[email protected]> * feat: Corrige direcciones de base de datos Signed-off-by: William Moreno <[email protected]> * Update README.md * build: Minimal nginx configuration Signed-off-by: William Moreno <[email protected]> * Update readme Signed-off-by: William Moreno <[email protected]> * fix: Corrige permisos instructor Signed-off-by: William Moreno Reyes <[email protected]> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <[email protected]> * test: Agrega pruebas Signed-off-by: William Moreno Reyes <[email protected]> * Agrega metodo para eliminar curso. Signed-off-by: William Moreno <[email protected]> * fixup Signed-off-by: William Moreno <[email protected]> * build: Actualiza configuración de gitpod Signed-off-by: William Moreno <[email protected]> * style: Correcciones de estilo Signed-off-by: William Moreno <[email protected]> * fix: Typo Signed-off-by: William Moreno <[email protected]> * refactor: Ejecuta un query menos Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * style: pass mypy Signed-off-by: William Moreno <[email protected]> * build: Heroku likes psycopg Signed-off-by: William Moreno <[email protected]> * build: PG8000 por defecto Signed-off-by: William Moreno <[email protected]> * build: Test python3.11 Signed-off-by: William Moreno <[email protected]> * Revert "build: Test python3.11" This reverts commit b804e0d. * Update README.md * test: agrega test Signed-off-by: William Moreno Reyes <[email protected]> * test: agrega test Signed-off-by: William Moreno Reyes <[email protected]> * test: agrega test Signed-off-by: William Moreno Reyes <[email protected]> * test: Mejora covertura Signed-off-by: William Moreno <[email protected]> * style: Correciones de estilo Signed-off-by: William Moreno <[email protected]> * test: Mejor covertura Signed-off-by: William Moreno <[email protected]> * test: Mejor covertura Signed-off-by: William Moreno <[email protected]> * test: mejor cobertura Signed-off-by: William Moreno <[email protected]> * Update README.md * Update README.md * Update README.md * test: Crear usuario Signed-off-by: William Moreno <[email protected]> * test: Fix test Signed-off-by: William Moreno <[email protected]> * test: Fix test Signed-off-by: William Moreno <[email protected]> * test: Agrega mas test unitarios Signed-off-by: William Moreno <[email protected]> * feat: Crear curso demo Signed-off-by: William Moreno <[email protected]> * test: Update test Signed-off-by: William Moreno <[email protected]> * feat: Arregla relaciones entre tablas Signed-off-by: William Moreno <[email protected]> * test: Agrega test unitarios Signed-off-by: William Moreno <[email protected]> * Update README.md * test: Agrega pruebas unitarias Signed-off-by: William Moreno <[email protected]> * fix: Eliminar seccion Signed-off-by: William Moreno <[email protected]> * test: Agrega pruebas unitarias Signed-off-by: William Moreno <[email protected]> * feat: Seccion publica Signed-off-by: William Moreno <[email protected]> * test: Actualiza test Signed-off-by: William Moreno <[email protected]> * test: Actualiza test Signed-off-by: William Moreno <[email protected]> * style: CSS fixes Signed-off-by: William Moreno <[email protected]> * style: Fixes Signed-off-by: William Moreno <[email protected]> * style: CCS fixes Signed-off-by: William Moreno <[email protected]> * fix: Log message Signed-off-by: William Moreno <[email protected]> * feat: Asigna indice a nueva seccion Signed-off-by: William Moreno <[email protected]> * feat: Agrega metodos para modificar indice seccion Signed-off-by: William Moreno <[email protected]> * style: Fixes Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * test: Update test Signed-off-by: William Moreno <[email protected]> * test: Update test Signed-off-by: William Moreno <[email protected]> * Revert "test: Update test" This reverts commit 8ed7065. * fix: Reorganiza indice de seccion Signed-off-by: William Moreno Reyes <[email protected]> * fix: Reordenar indice Signed-off-by: William Moreno Reyes <[email protected]> * fix: Pagina inicio Signed-off-by: William Moreno Reyes <[email protected]> * fix: Reorganizar indice Signed-off-by: William Moreno Reyes <[email protected]> * Fix typo Signed-off-by: William Moreno Reyes <[email protected]> * feat: Agrega recurso en youtube Signed-off-by: William Moreno <[email protected]> * update Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * refactor: Reorganice project Signed-off-by: William Moreno <[email protected]> * build: Development server Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * Fix node_modules Signed-off-by: William Moremo <[email protected]> * Actualiza mensajes del log Signed-off-by: William José Moreno Reyes <[email protected]> * Python 3.11 * Python 3.11 Signed-off-by: William José Moreno Reyes <[email protected]> * Clean pylint conf References: - pylint-dev/pylint#4942 Signed-off-by: William José Moreno Reyes <[email protected]> * Corrige mensaje de error References: - https://github.com/bmosoluciones/now-lms/actions/runs/3652369567 now_lms/__init__.py:358:53: E712 comparison to True should be 'if cond is True:' or 'if cond:' Se sigue la sintaxis aceptada por Flask-SqlAlchemy Signed-off-by: William José Moreno Reyes <[email protected]> * Fix test Signed-off-by: William José Moreno Reyes <[email protected]> * Disable pylint Signed-off-by: William José Moreno Reyes <[email protected]> * Disable pylint Signed-off-by: William José Moreno Reyes <[email protected]> * lint Signed-off-by: William José Moreno Reyes <[email protected]> * Support Python 3.9 and above References: - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/installing_and_using_dynamic_programming_languages/assembly_installing-and-using-python_installing-and-using-dynamic-programming-languages Signed-off-by: William José Moreno Reyes <[email protected]> * UBI 9 Signed-off-by: William José Moreno Reyes <[email protected]> * UBI 9 Signed-off-by: William José Moreno Reyes <[email protected]> * UBI 9 Signed-off-by: William José Moreno Reyes <[email protected]> * UBI 9 Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Update README file Signed-off-by: William José Moreno Reyes <[email protected]> * Update Docker file Signed-off-by: William José Moreno Reyes <[email protected]> * Enable type chequing Signed-off-by: William José Moreno Reyes <[email protected]> * All test passed Signed-off-by: William José Moreno Reyes <[email protected]> * Fix mypy not interactive Signed-off-by: William José Moreno Reyes <[email protected]> * Fix bandit Signed-off-by: William José Moreno Reyes <[email protected]> * Ignore bandit errors Signed-off-by: William José Moreno Reyes <[email protected]> * Check python 3.7 Signed-off-by: William José Moreno Reyes <[email protected]> Signed-off-by: William Moreno <[email protected]> Signed-off-by: William Moreno Reyes <[email protected]> Signed-off-by: William Moreno Reyes <[email protected]> Signed-off-by: William Moremo <[email protected]> Signed-off-by: William José Moreno Reyes <[email protected]> Co-authored-by: William Moremo <[email protected]>
- Loading branch information