Skip to content

Commit

Permalink
Development (#46)
Browse files Browse the repository at this point in the history
* Next release (#41)

* Tests: Valida more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Validate more tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: validate more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Update password hasher to argon2 (#37)

* feat: Replace bcryp with argon2 for password hash

References:
 - https://passlib.readthedocs.io/en/stable/narr/quickstart.html#recommended-hashes
 - https://pypi.org/project/argon2-cffi/
 - https://pypi.org/project/bcrypt/

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: Update docs

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove setup.py file

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* chore: Update copyrithg notice

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove black from test requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update dev dependencies

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: cleanup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update build metadata

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update docker base image

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update coverga report

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* buil: clean

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update atributes

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update setup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Test coverage update

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test: More tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240223

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* feat: Configure mail backend with Flask-Mailman (#39)

* Update password hasher to argon2 (#37)

* feat: Replace bcryp with argon2 for password hash

References:
 - https://passlib.readthedocs.io/en/stable/narr/quickstart.html#recommended-hashes
 - https://pypi.org/project/argon2-cffi/
 - https://pypi.org/project/bcrypt/

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: Update docs

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240223 (#35)

* Tests: Valida more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Validate more tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: validate more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Update password hasher to argon2 (#37)

* feat: Replace bcryp with argon2 for password hash

References:
 - https://passlib.readthedocs.io/en/stable/narr/quickstart.html#recommended-hashes
 - https://pypi.org/project/argon2-cffi/
 - https://pypi.org/project/bcrypt/

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: Update docs

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove setup.py file

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* chore: Update copyrithg notice

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove black from test requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update dev dependencies

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: cleanup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update build metadata

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update docker base image

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update coverga report

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* buil: clean

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update atributes

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update setup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Test coverage update

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test: More tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240223

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Use flask-mailman

Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>

* feat: Setup email backend with Flask-Mailman

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>
Signed-off-by: William Moreno <williamjmorenor@gmail.com>

* build: Update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update entrypoint

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Clean

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240302

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Add huey and gevent as dependencies

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>
Signed-off-by: William Moreno <williamjmorenor@gmail.com>

* Calendar (#43)

* build: Remove setup.py

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* feat: initial work in calendar view

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Fix: import errors

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Update password hasher to argon2 (#37)

* feat: Replace bcryp with argon2 for password hash

References:
 - https://passlib.readthedocs.io/en/stable/narr/quickstart.html#recommended-hashes
 - https://pypi.org/project/argon2-cffi/
 - https://pypi.org/project/bcrypt/

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: Update docs

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240223 (#35)

* Tests: Valida more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Validate more tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: validate more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Update password hasher to argon2 (#37)

* feat: Replace bcryp with argon2 for password hash

References:
 - https://passlib.readthedocs.io/en/stable/narr/quickstart.html#recommended-hashes
 - https://pypi.org/project/argon2-cffi/
 - https://pypi.org/project/bcrypt/

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: Update docs

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove setup.py file

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* chore: Update copyrithg notice

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove black from test requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update dev dependencies

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: cleanup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update build metadata

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update docker base image

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update coverga report

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* buil: clean

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update atributes

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update setup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Test coverage update

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test: More tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240223

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240302 (#38)

* Tests: Valida more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Validate more tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: validate more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Update password hasher to argon2 (#37)

* feat: Replace bcryp with argon2 for password hash

References:
 - https://passlib.readthedocs.io/en/stable/narr/quickstart.html#recommended-hashes
 - https://pypi.org/project/argon2-cffi/
 - https://pypi.org/project/bcrypt/

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: Update docs

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove setup.py file

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* chore: Update copyrithg notice

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove black from test requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update dev dependencies

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: cleanup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update build metadata

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update docker base image

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update coverga report

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* buil: clean

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update atributes

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update setup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Test coverage update

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test: More tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240223

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* feat: Configure mail backend with Flask-Mailman (#39)

* Update password hasher to argon2 (#37)

* feat: Replace bcryp with argon2 for password hash

References:
 - https://passlib.readthedocs.io/en/stable/narr/quickstart.html#recommended-hashes
 - https://pypi.org/project/argon2-cffi/
 - https://pypi.org/project/bcrypt/

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: Update docs

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240223 (#35)

* Tests: Valida more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Validate more tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: validate more views

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Update password hasher to argon2 (#37)

* feat: Replace bcryp with argon2 for password hash

References:
 - https://passlib.readthedocs.io/en/stable/narr/quickstart.html#recommended-hashes
 - https://pypi.org/project/argon2-cffi/
 - https://pypi.org/project/bcrypt/

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: Update docs

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove setup.py file

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* chore: Update copyrithg notice

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Remove black from test requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update dev dependencies

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: cleanup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update requeriments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update build metadata

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* docs: update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update docker base image

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update coverga report

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* buil: clean

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update atributes

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update setup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Test coverage update

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test: More tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240223

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Use flask-mailman

Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>

* feat: Setup email backend with Flask-Mailman

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>
Signed-off-by: William Moreno <williamjmorenor@gmail.com>

* build: Update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: update

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update entrypoint

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Clean

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240302

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>
Signed-off-by: William Moreno <williamjmorenor@gmail.com>

* build: Update config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>
Signed-off-by: William Moreno <williamjmorenor@gmail.com>

* Pagos (#42)

* feat: initial work in payments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* feat: Inital work in payments

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Update python-package.yml

Signed-off-by: William Moreno <williamjmorenor@gmail.com>

* Update python-package.yml

Signed-off-by: William Moreno <williamjmorenor@gmail.com>

* Update publish.yml

Signed-off-by: William Moreno <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Signed-off-by: William Moreno <williamjmorenor@gmail.com>

* test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update coverage

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update coverage

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a14.dev20240303

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* refactor: Update database schema

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* fix:  Mapper Mapper[Configuracion(configuracion)] could not assemble any primary key columns for mapped table 'configuracion'

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* fix: Errors in user profile

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* buil: Fix date format

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* refactor: Fernet key

Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>

* refactor: isort imports

Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>

* refactor: Mail check

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Clean out

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* refactor: Mail setup

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* fix: Update mail config

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: clean out

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* fix: Set smtp mail backend

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* chore: Find smtp error

Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>

* tests: Update tests

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* feat: Update project

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* Clean

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* release: v0.0.1a15.dev20240405

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* test: Update test

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

* build: Update build

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>

---------

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org>
Signed-off-by: William Moreno <williamjmorenor@gmail.com>
  • Loading branch information
williamjmorenor authored Apr 6, 2024
1 parent adab6b4 commit c88cef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 44 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Publish to PyPi

on:
push:
branches:
- main
workflow_run:
workflows: ["CI"]
types: [completed]
workflow_run:
workflows: ["CI"]
types: [completed]main

jobs:
build:
Expand All @@ -29,7 +26,6 @@ jobs:
cd ..
python -m build --sdist --wheel --outdir dist/ .
- name: Publish distribution to PyPI
if: contains(github.event.head_commit.message, 'release:')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
37 changes: 0 additions & 37 deletions tests/test_vistas.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,40 +227,3 @@ def test_demo_course(request, lms_application):

else:
pytest.skip("Not running slow test.")


def test_email_backend(request, lms_application):
if request.config.getoption("--slow") == "True":
from now_lms import database, initial_setup

with lms_application.app_context():

database.drop_all()
initial_setup(with_tests=False, with_examples=False)

with lms_application.test_client() as client:
client.get("/setting/mail")
client.get("/setting/mail_check")
data = {
"MAIL_HOST": "smtp.server.domain",
"MAIL_PORT": "465",
"MAIL_USERNAME": "user@server.domain",
"MAIL_PASSWORD": "ello123ass",
"MAIL_USE_TLS": True,
"MAIL_USE_SSL": True,
"email": True,
}
client.post(
"/setting/mail",
data=data,
follow_redirects=True,
)

from now_lms.auth import proteger_secreto, descifrar_secreto

password = b"testing123abcqwerty"

assert password == descifrar_secreto(proteger_secreto(password))

else:
pytest.skip("Not running slow test.")

0 comments on commit c88cef1

Please sign in to comment.