groton-school / colorize-schoolcal Goto Github PK
View Code? Open in Web Editor NEWGoogle Calendar Add-on to set the block color of events synced by SchoolCal
License: GNU General Public License v3.0
Google Calendar Add-on to set the block color of events synced by SchoolCal
License: GNU General Public License v3.0
Blindly picking the first user calendar at this line is unsafe. A student, let's call her Alice Groton, both synced in her personal Google calendar as Personal Calendar
and renamed the root calendar in her Groton Google account to School Calendar
, with the result that getting the [0]
calendar resulted in calendar
being undefined.
Google has undocumented limits on API usage (because of course they do). Not clear how batch requests are counted, but it seems like as a total of the batched requests. Which, it seems, may expose users to 403 and 429 errors. Google recommends an exponential backoff approach to handling those.
Currently only in the dev
branch, but this would allow runs that are longer than the documented 30 second run time for scripts on the CardService (although empirically it's closer to 45 seconds). This would also allow for more elbow room for exponential backoff in #2.
Currently if the Colorize actions time out, they can be safely re-run repeatedly until all items are complete (items with the correct color are skipped in subsequent runs).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.