- the icalHandler in the backend is used in two instances. First, when
the user adds a new ical calendar into the database, routes.py passes
the information (name and url) to the ical Handler. The calendars are
saved in the database as type 'ical'.
Then, when a connected device pulls current events, all the calendars
which are of type 'ical' are pulled and parsed for current events.
See the backend commit for details on what happens there.
- All google Calendar related functions now have an additional check,
to make sure that the calendar they are working on is of type 'Google'.
- uses existing wsgi.py file
- adds wsgi.ini file
- sets socket
- defines application to be run, which it gets from wsgi.py file
- uses http communication to nginx server
- some random number of workers
- updates Dockerfile and docker-entrypoint
- fingerprint generated first time device connects
- saved to database and served to device
- connection status set to true, once device requests first package
- user can link device via online form
- credentials still lost the refresh token after a certain event
- this was now fixed by completely removing any saves past the first one
- https://trello.com/c/iORYLYHl/44-1-check-on-credentials
- Color Coding is now updated
- fixed an incorrect color mapping in the colors.json
- updates some calls to functions to correctly get the natural colors
- the incorrect red -> yellow mapping might have to do with the previous credentials error
- starts uwsgi and flask in virtual environment instead of docker
- sets oauth2 https error to false (OAUTHLIB_INSECURE_TRANSPORT=1)
- this setup works, but
- moving it into docker
- removing the venv
- and allowing https connection internally?
would be better