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

fetch read-only google calendars #11

Merged
merged 3 commits into from Mar 20, 2024

Conversation

Karry
Copy link
Contributor

@Karry Karry commented Feb 20, 2024

Right now, I cannot see calendars of my family members shared with me as read-only. I would like to make it possible.

Not sure if this change is enough :-)

@Karry Karry marked this pull request as draft February 20, 2024 00:55
@pvuorela
Copy link
Contributor

On quick check at least one thing missing is setting the notebook as read-only so that the user is not able to create new events on it or make modifications. Suppose that should be somewhere around GoogleCalendarSyncAdaptor::setCalendarProperties().

Did you test this yourself already?

@Karry
Copy link
Contributor Author

Karry commented Feb 22, 2024

Did you test this yourself already?

Not yet :-) It is late-nigh proposal, installation failed on the first attempt. But I will continue to work on that...

@Karry
Copy link
Contributor Author

Karry commented Mar 16, 2024

It is working finally :-)

@Karry Karry marked this pull request as ready for review March 16, 2024 22:56
Google calendar id may contain some characters
that has special meaning in Url, like '#'.
For example: "cs.czech#holiday@group.v.calendar.google.com".
So, it is necessary to percent encode it, before usage
un url.
@Karry Karry force-pushed the read-only-google-calendars branch from d820bdc to 13a6b1b Compare March 16, 2024 22:58
Copy link
Contributor

@pvuorela pvuorela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Getting new calendar synced here. Some more annoying ones now too, but those can be disabled.

@pvuorela pvuorela merged commit 17b85e9 into sailfishos:master Mar 20, 2024
@Karry Karry deleted the read-only-google-calendars branch March 20, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants