App for teleworking days control
gcloud app deploy
pip install -r requirements.txt
flask run
pip install -r requirements-tests.txt
./check_app.sh
or
coverage run -m pytest -v && coverage html --omit=*/venv/*,*/tests/*
ENV_PRO=N
LEVEL_LOG=["DEBUG", "INFO", "WARNING", "ERROR"]
SECRET_KEY=
DATABASE_URL=
DB_SQLITE_URL=sqlite://
DB_SQLITE_NAME=primazon.db
- 1.7.0 New functionality to search between two dates
- 1.6.0 Date to calculate period percent
- 1.5.0 Save data with logged user
- 1.4.0 Adding new calendar component
- 1.3.0 Adding calendar
- 1.2.0 Include login module and new design
- 1.0.1 Including tests
- 1.0.0 Application
- flash(): By calling flash function, you can send a message to the next request.
- UserMixin: Flask-Login can manage user sessions.
- LoginManager: A user loader tells Flask-Login how to find a specific user from the ID that is stored in their session cookie.
- @login-required: Decorator to protect a page when using Flask-Login.
- current_user: Object that represents the user from the database and provides access all of the attributes of that user with dot notation.
- Bulma: CSS framework (https://bulma.io/)
- Help to apply Flask-Login (https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login)
- Calendar component (https://fullcalendar.io/)