Large changes in the seperation of backend and google handler

- backend now takes care of all the recoloring, and communication with database
- google handler takes care of the entire communication with google
- colors selected on the front-end are now translated to the watch

- Calendars in the database now directly save the color the user has set
- only if the event has a different color than the calendar (event color from google is not 0)
  is the event color from google used.
- No more passing around of google color ids, hex colors all the way
This commit is contained in:
2020-05-30 23:05:46 +02:00
parent 98b09bb778
commit 70197ee393
5 changed files with 85 additions and 84 deletions

View File

@ -1,8 +1,5 @@
# Configuration
from server import app
from backend import routine
# routine.start()
if __name__ == "__main__":
context = ('certificate/xip.io.crt', 'certificate/xip.io.key')#certificate and key files