From 12c150f64d5ead02f67d6b8b0f9bc3f48dbfd3b8 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 12 Jun 2024 20:57:36 -0700 Subject: [PATCH] Fixed bug in `gam print|show filesharecounts --- docs/GamUpdates.md | 6 ++++++ docs/How-to-Upgrade-from-Standard-GAM.md | 4 ++-- docs/Other-Resources.md | 3 ++- docs/Reports.md | 4 ++++ docs/Users-Gmail-Messages-Threads.md | 4 ++-- docs/Version-and-Help.md | 12 ++++++------ src/GamUpdate.txt | 15 ++++----------- src/gam/__init__.py | 6 +++--- src/gam/gamlib/glentity.py | 2 ++ src/gam/gamlib/glmsgs.py | 1 + 10 files changed, 32 insertions(+), 25 deletions(-) diff --git a/docs/GamUpdates.md b/docs/GamUpdates.md index 54378abb..d55101d4 100644 --- a/docs/GamUpdates.md +++ b/docs/GamUpdates.md @@ -10,6 +10,12 @@ 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.76.15 + +Fixed bug in `gam print|show filesharecounts summary only summaryuser ` +that printed an erroneous row if `` specified a single user and `` matched +the user's email address. + ### 6.76.14 Added the following Gemini License SKUs: diff --git a/docs/How-to-Upgrade-from-Standard-GAM.md b/docs/How-to-Upgrade-from-Standard-GAM.md index ca6b58bb..cb1d5a8c 100644 --- a/docs/How-to-Upgrade-from-Standard-GAM.md +++ b/docs/How-to-Upgrade-from-Standard-GAM.md @@ -335,7 +335,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.76.14 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.76.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.3 64-bit final MacOS Sonoma 14.4.1 x86_64 @@ -1009,7 +1009,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.76.14 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.76.15 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.3 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/docs/Other-Resources.md b/docs/Other-Resources.md index 3d771c66..f6074833 100644 --- a/docs/Other-Resources.md +++ b/docs/Other-Resources.md @@ -10,7 +10,8 @@ Thank you. * Goldy Arora - https://www.goldyarora.com/license-notifier/ * Iain Macleod - https://docs.google.com/document/d/1QxWAPdhROcx70OXLpSD9Trh3vs-nJKSMiaMZCTwOOTg/edit?pli=1#heading=h.2a2azzpy36k0 * James Seymour - https://sites.google.com/jis.edu.bn/gam-commands/home -* Kevin Melillo - https://github.com/KevinMelilloIEEE/gam-script +* Kevin Melillo - https://github.com/KevinMelilloIEEE/gam-script +* Korey Rideout - https://chatgpt.com/g/g-PTxxnVPMG-gam-assist - A helpful tool to assist with, GAM (+Advance) and GYB commands to assist with syntax for Google Workspace Administrators. * Paul Ogier (Taming.Tech) - GAMADV-XTD3 Course on Udemy https://taming.tech/GAMCourse * Paul Ogier (Taming.Tech) - GAMADV-XTD3 Tutorials https://www.youtube.com/watch?v=g9LDeyXQNLI&list=PL_dLiK09pJVhKJxZHNk9CHK0q5hkZ856w * Paul Ogier (Taming.Tech) - https://taming.tech/taming-gam-a-practical-guide-to-gam-and-gamadv-xtd3/ diff --git a/docs/Reports.md b/docs/Reports.md index a8333c57..a8e5f407 100644 --- a/docs/Reports.md +++ b/docs/Reports.md @@ -391,6 +391,10 @@ Report on users Google Drive usage. ``` gam report users parameters accounts:drive_used_quota_in_mb,accounts:total_quota_in_mb,accounts:used_quota_in_mb,accounts:used_quota_in_percentage ``` +Report on users total storage usage. +``` +gam report users parameters accounts:drive_used_quota_in_mb,accounts:gmail_used_quota_in_mb,accounts:gplus_photos_used_quota_in_mb,accounts:total_quota_in_mb,accounts:used_quota_in_mb,accounts:used_quota_in_percentage +``` Report on email activity for individual users. ``` $ gam report users select users testuser1,testuser2,testuser3 fields gmail:num_emails_received,gmail:num_emails_sent range 2023-07-01 2023-07-07 diff --git a/docs/Users-Gmail-Messages-Threads.md b/docs/Users-Gmail-Messages-Threads.md index 250d1771..4dd1d57f 100644 --- a/docs/Users-Gmail-Messages-Threads.md +++ b/docs/Users-Gmail-Messages-Threads.md @@ -244,7 +244,7 @@ gam draft message * `file|htmlfile [charset ]` - Read the message from `` * `gdoc|ghtml ` - Read the message from `` * `gcsdoc|gcshtml ` - Read the message from the Google Cloud Storage file `` -* `emlfile [charset ]` - Read the message from the EML message file ``. SMTP headers specified in the command will replace those in the message file. The default `chatser` is `ascii`. +* `emlfile [charset ]` - Read the message from the EML message file ``. SMTP headers specified in the command will replace those in the message file. The default `charset` is `ascii`. The `