Commit Graph

11 Commits

Author SHA1 Message Date
c9cbb53eea routing updated to be more variable and on demand
- calendar json file now generated on demand at download request
- device fingerprint route now added
2020-05-24 13:26:41 +02:00
98a78f2102 adds delete account function 2020-05-22 10:47:28 +02:00
3c6d950bbc adds device page and form for new device
- 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
2020-05-21 18:33:58 +02:00
46eece9b98 adds view mode design 2020-05-21 15:38:22 +02:00
4a8ac52201 backend now uses calendar_id and this is the frontend upgrade
- calendar_id is unique and therefore creates less problems
- changing id of DOM from item.name to calendar_id
2020-05-18 23:52:18 +02:00
ee54dd5daa updates color generation, tries fixing credentials bug
- 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
2020-05-17 22:59:12 +02:00
2ecb5a4b71 updates routines script and google certification handling 2020-05-15 16:00:54 +02:00
dbb6d170da adds structure for virtual environment uwsgi and http communication
- 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
2020-05-10 20:31:42 +02:00
c89ecd7134 adds backend script which can be run as a cronjob every n minutes to generate new json files for google calendars
- 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
2020-04-24 17:54:56 +00:00
a071193959 adds email login and registration forms
- 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
2020-04-23 17:11:23 +00:00
f156d38739 adds more advanced database handling unsing sql alchemy
- moves app into package
- adds sql alchemy equipment
- moves templates into server package
- add app.db sqlite file
2020-04-22 20:15:21 +00:00