From 46d4e78b7900682e49157f454bfe1a672acb7b02 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sat, 25 Nov 2023 09:18:06 -0800 Subject: [PATCH] Multiple updates/fixes --- docs/GamUpdates.md | 18 +++ docs/How-to-Upgrade-from-Standard-GAM.md | 4 +- docs/Users-Calendars-Events.md | 134 ++++++++++++++++++++++- docs/Users-Drive-Permissions.md | 7 ++ docs/Users-Gmail-Messages-Threads.md | 9 +- docs/Version-and-Help.md | 12 +- src/GamCommands.txt | 6 +- src/GamUpdate.txt | 18 +++ src/gam/__init__.py | 72 +++++++++--- 9 files changed, 248 insertions(+), 32 deletions(-) diff --git a/docs/GamUpdates.md b/docs/GamUpdates.md index 3524c71a..90f9c8c6 100644 --- a/docs/GamUpdates.md +++ b/docs/GamUpdates.md @@ -10,6 +10,24 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads) for Windows or other options, including manual installation +### 6.65.17 + +Added the option `mappermissionsdomain ` to `gam create drivefileacl ` +that maps `` to `` in the `user )|(group )|(domain )` options; +`` and `` must specify email addresses for the mapping to succeed. +The option can be specified multiple times to provide different mappings. This option will be most useful +when reading a CSV file containing ACLs referencing `` and you want a new ACL with the same options but in ``. + +### 6.65.16 + +Fixed bug in `gam print filecounts` where `Item Cap` showed an incorrect value. + +Added option `addorigfieldstosubject` to `gam forward messages|threads` that causes GAM +to append the original `from`, `to` and `date` fields to the message subject. +``` +Fwd: Ross to TestUser (Original From: Ross Scroggs To: testuser@domain.com Date: Thu, 23 Nov 2023 07:01:59 -0800) +``` + ### 6.65.15 Added additional options to `gam print|show youtubechannels`. diff --git a/docs/How-to-Upgrade-from-Standard-GAM.md b/docs/How-to-Upgrade-from-Standard-GAM.md index f004d125..7a85ee0e 100644 --- a/docs/How-to-Upgrade-from-Standard-GAM.md +++ b/docs/How-to-Upgrade-from-Standard-GAM.md @@ -334,7 +334,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin/bin/gamadv-xtd3$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin/bin/gamadv-xtd3$ ./gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAMADV-XTD3 6.65.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.65.17 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.10.8 64-bit final MacOS High Sierra 10.13.6 x86_64 @@ -1002,7 +1002,7 @@ writes the credentials into the file oauth2.txt. C:\GAMADV-XTD3>del C:\GAMConfig\oauth2.txt C:\GAMADV-XTD3>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAMADV-XTD3 6.65.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.65.17 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.0 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/docs/Users-Calendars-Events.md b/docs/Users-Calendars-Events.md index f6a37404..62b346a3 100644 --- a/docs/Users-Calendars-Events.md +++ b/docs/Users-Calendars-Events.md @@ -17,6 +17,12 @@ - [Empty calendar trash](#empty-calendar-trash) - [Display calendar events](#display-calendar-events) - [Update calendar event attendees](#update-calendar-event-attendees) +- [Focus time events](#focus-time-events) + - [Manage focus time events](#manage-focus-time-events) + - [Display focus time events](#display-focus-time-events) +- [Out of officeevents](#out-of-office-events) + - [Manage Out of office events](#manage-out-of-office-events) + - [Display Out of officeevents](#display-out-of-office-events) - [Working location events](#working-location-events) - [Manage working location events](#manage-working-location-events) - [Display working location events](#display-working-location-events) @@ -166,12 +172,21 @@ creator.id| creator.self + ::= + focustimeproperties.chatstatus| + focustimeproperties.declinemode| + focustimeproperties.declinemessage + ::= organizer.displayname| organizer.email| organizer.id| organizer.self + ::= + outofoffice.declinemode| + outofoffice.declinemessage + ::= workinglocationproperties.homeoffice| workinglocationproperties.customlocation| @@ -195,6 +210,7 @@ endtimeunspecified| extendedproperties| eventtype| + gadget| guestscaninviteothers| guestscanmodify| @@ -208,6 +224,7 @@ organizer| | originalstart|originalstarttime| + privatecopy| recurrence| recurringeventid| @@ -228,9 +245,17 @@ ::= accepted|declined|needsaction|tentative ``` ``` + ::= + default| + focustime| + outofoffice| + workinglocation + ::= "(,)*" + ::= (after|starttime|timemin