diff --git a/docs/GamUpdates.md b/docs/GamUpdates.md index f92b79c6..2f7cab38 100644 --- a/docs/GamUpdates.md +++ b/docs/GamUpdates.md @@ -10,6 +10,11 @@ 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.71.16 + +Updated `gam create|update sendas ... replyto ` +to allow uppercase letters in `sendas ` and `replyto `. + ### 6.71.15 Updated `gam create project` to handle the following error: diff --git a/docs/Groups.md b/docs/Groups.md index 3d2ae06a..9ad555e5 100644 --- a/docs/Groups.md +++ b/docs/Groups.md @@ -25,7 +25,7 @@ * https://cloud.google.com/identity/docs/reference/rest/v1/groups ## Name guidelines -* https://support.google.com/a/answer/9193374?hl=en +* https://support.google.com/a/answer/9193374 ## Query documentation * https://developers.google.com/admin-sdk/directory/v1/guides/search-groups diff --git a/docs/How-to-Upgrade-from-Standard-GAM.md b/docs/How-to-Upgrade-from-Standard-GAM.md index a73791e0..586cf031 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.71.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.71.16 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.2 64-bit final MacOS Sonoma 14.2.1 x86_64 @@ -1006,7 +1006,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.71.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.71.16 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.2 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/docs/Users.md b/docs/Users.md index 6e412d56..acdb52e4 100644 --- a/docs/Users.md +++ b/docs/Users.md @@ -46,7 +46,7 @@ * https://developers.google.com/admin-sdk/directory/reference/rest/v1/schemas ## Name guidelines -* https://support.google.com/a/answer/9193374?hl=en +* https://support.google.com/a/answer/9193374 ## Query documentation * https://developers.google.com/admin-sdk/directory/v1/guides/search-users diff --git a/docs/Version-and-Help.md b/docs/Version-and-Help.md index 23e36903..c97b63e9 100644 --- a/docs/Version-and-Help.md +++ b/docs/Version-and-Help.md @@ -3,7 +3,7 @@ Print the current version of Gam with details ``` gam version -GAMADV-XTD3 6.71.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.71.16 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.2 64-bit final MacOS Sonoma 14.2.1 x86_64 @@ -15,7 +15,7 @@ Time: 2023-06-02T21:10:00-07:00 Print the current version of Gam with details and time offset information ``` gam version timeoffset -GAMADV-XTD3 6.71.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.71.16 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.2 64-bit final MacOS Sonoma 14.2.1 x86_64 @@ -27,7 +27,7 @@ Your system time differs from www.googleapis.com by less than 1 second Print the current version of Gam with extended details and SSL information ``` gam version extended -GAMADV-XTD3 6.71.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.71.16 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.2 64-bit final MacOS Sonoma 14.2.1 x86_64 @@ -64,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gamadv-xtd3 Version Check: Current: 5.35.08 - Latest: 6.71.15 + Latest: 6.71.16 echo $? 1 ``` @@ -72,7 +72,7 @@ echo $? Print the current version number without details ``` gam version simple -6.71.15 +6.71.16 ``` In Linux/MacOS you can do: ``` @@ -82,7 +82,7 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 6.71.15 - https://github.com/taers232c/GAMADV-XTD3 +GAM 6.71.16 - https://github.com/taers232c/GAMADV-XTD3 Ross Scroggs Python 3.12.2 64-bit final MacOS Sonoma 14.2.1 x86_64 diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index 55f551df..ba972e6e 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -2,6 +2,11 @@ Merged GAM-Team version +6.71.16 + +Updated `gam create|update sendas ... replyto ` +to allow uppercase letters in `sendas ` and `replyto `. + 6.71.15 Updated `gam create project` to handle the following error: diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 7728ad76..468058b4 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -50878,6 +50878,7 @@ DRIVE_ACTIVITY_ACTION_MAP = { 'untrash': 'RESTORE', 'upload': 'CREATE', } + CONSOLIDATION_GROUPING_STRATEGY_CHOICE_MAP = {'driveui': 'legacy', 'legacy': 'legacy', 'none': 'none'} # gam print|show driveactivity [todrive *] @@ -69605,7 +69606,9 @@ def getSendAsAttributes(myarg, body, tagReplacements): elif myarg == 'name': body['displayName'] = getString(Cmd.OB_NAME, minLen=0) elif myarg == 'replyto': - body['replyToAddress'] = getEmailAddress(noUid=True, minLen=0) + body['replyToAddress'] = getString(Cmd.OB_EMAIL_ADDRESS, minLen=0) + if len(body['replyToAddress']) > 0: + body['replyToAddress'] = normalizeEmailAddressOrUID(body['replyToAddress'], noUid=True, noLower=True) elif myarg == 'default': body['isDefault'] = True elif myarg == 'treatasalias': @@ -69628,7 +69631,7 @@ SMTPMSA_REQUIRED_FIELDS = ['host', 'port', 'username', 'password'] # [html []] [replyto ] [default] [treatasalias ] def createUpdateSendAs(users): updateCmd = Act.Get() == Act.UPDATE - emailAddress = getEmailAddress(noUid=True) + emailAddress = normalizeEmailAddressOrUID(getString(Cmd.OB_EMAIL_ADDRESS), noUid=True, noLower=True) if not updateCmd: body = {'sendAsEmail': emailAddress} checkArgumentPresent(['name'])