- form added to push new device id to backend
- device added to db model (needs to be pushed still)
- form return right now just prints
- design for device list created, still needs some updates
- 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
- database updated to save google credentials
- database updated to save json calendar information
- json still saved as a json file under userinfo/<user.id>/calendarevents.json
- using flask-wtf forms to create login and registration
- saves and compares input data with database
- generates user if need-be
- same user form as google user
- the color picker is from 'colorPick' which makes implementation easy. It's only a .js and a .css file
which need to be included and the color-picker is simple enough to handle on the client side.
The only main problem with it, is that accessing the 'id' information of the css it was called from is not straightforward
- the toggle switch which is just implemented in .css currently has the checklist inverted, works but ugly
- The Client sends this information back to the server via a json file, which defines the calendar id and either
color or the toggle information. The server currently just prints this information.great stuff.
- imports caltojson from calendarwatch_server
- gets the user info from google api
- gets user information and compares them to the user database
- returns to login page and shows user information as well as 'api test' button
- api test button uses 'calendarwatch_server' to get calendars and calculate todays events
- basic login button on website frontend
- index.html hosting using python
- posting google oauth token from javascript on client side
- passing token id to python hoster
- verifying token, and returning a string to client