akarri2001 / Notion-and-Google-Calendar-2-Way-Sync

2 Way Sync Between Notion Database and Google Calendar
GNU General Public License v3.0
352 stars 50 forks source link

Misc Changes #21

Open hk21702 opened 2 years ago

hk21702 commented 2 years ago

Migrated most of the configuration to an INI file which should make it more friendly for users. Also did a lot of refactoring using an automated tool that should cut down on redundancies.

Changed the calendar token generation process to use a local server instead of client. This removes the need to copy paste in a token key yourself into the console. The client system also had some errors on my side on not recognizing scope.

Fixed a bug where it would look for organizers instead of creator when creating gCal_calendarId. Organizer is unrelated to the actual calendar itself, and if this were an autogenerated event, from say an email invite or from Google, the organizer would be from an email not registered in the dictionary resulting in an error.