derekantrican / GAS-ICS-Sync

A Google Apps Script for syncing ICS/ICAL files faster than the current Google Calendar speed
GNU General Public License v3.0
1.48k stars 189 forks source link

[Future] Rules #69

Open derekantrican opened 4 years ago

derekantrican commented 4 years ago

This is a future feature that probably won't be implemented for a while. We have bigger things to focus on before then

Filter Rules: only process events that match certain criteria

Examples (some of these may be multiple rules):

Modification rules: modify event properties before processing the event

Examples (some of these may be multiple rules):


Rules should be able to access the following properties: Title, Location, Description, Start, End, Duration

They should also have the following variables available:

derekantrican commented 4 years ago

Some people may also desire in the future the ability to automatically modify the colors of the events. This could also be done via rules. For instance:

jstride commented 4 years ago

The modification use cases could potentially be split into two features, rules and regexs.

The first modifications (Remove FW:, and others such as replace X with Y, or remove that annoying 'Invitation/Updated' Google adds to events sent to other calendars) could be solved by having a config option as a regex to run for title and description, as a thought.

derekantrican commented 4 years ago

Yeah, these will probably support regex (or at least have an option to make the modification rule "regex" or "non regex")