Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add backoff, add login with password, and add cookie handling. #26

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jensjacobt
Copy link

Add backoff: To avoid exceptions from due to ?timeouts? from the Google Calendar API.

Add login with password: The new flag "--login" takes the username from Lectio. If this flag is set then the user is asked for his/her password in the typical command-line way.

Add cookie handling: Upon succesful login the cookie is save to file. The calendar can then be updated without the "--login" flag until the Lectio session expires. The "--keepalive" flag is designed to be run such that session does not expire. It sufficient to run the script with "--keepalive" every 50 minutes, however, the session will expire every night.

@jensjacobt
Copy link
Author

Also updated for changes to the Lectio header section.

@Hanse00
Copy link
Owner

Hanse00 commented May 28, 2019

As I don't have a lectio user anymore, I'm unable to test if any of this will work right. @Sobuno any chance you could try it out for me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants