From da04ead86dd9cda1a01cfe916e46955b704cc0cb Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Fri, 20 Jun 2025 07:40:36 -0700 Subject: [PATCH] Updated `gam print|show forms` --- wiki/GamUpdates.md | 6 ++++++ wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md | 4 ++-- wiki/Users-Forms.md | 12 ++++++++---- wiki/Version-and-Help.md | 12 ++++++------ 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/wiki/GamUpdates.md b/wiki/GamUpdates.md index 90acf83f..4e5084fa 100644 --- a/wiki/GamUpdates.md +++ b/wiki/GamUpdates.md @@ -10,6 +10,12 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation +### 7.10.02 + +Updated `gam print|show forms` to always display `isPublished` and +`isAcceptingResponses` in `publishSettings/publishState` regardless of their value; +the API doesn't return these values when they are False. + ### 7.10.01 Added options `ispublished []` and `isacceptingresponses []` to diff --git a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md index 195bd579..5a95de82 100644 --- a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md +++ b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md @@ -251,7 +251,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin$ gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAM 7.10.01 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.10.02 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -989,7 +989,7 @@ writes the credentials into the file oauth2.txt. C:\>del C:\GAMConfig\oauth2.txt C:\>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAM 7.10.01 - https://github.com/GAM-team/GAM - pythonsource +GAM 7.10.02 - https://github.com/GAM-team/GAM - pythonsource GAM Team Python 3.13.5 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/wiki/Users-Forms.md b/wiki/Users-Forms.md index 21d87fa9..ce22f1a2 100644 --- a/wiki/Users-Forms.md +++ b/wiki/Users-Forms.md @@ -54,11 +54,13 @@ gam create form [(csv [todrive *]) | returnidonly] ``` -When applicable, both `ispublished` and `isacceptingresponses` must be specified; -the valid combinations are: +The valid combinations of `ispublished` and `isacceptingresponses` are: * `ispublished true isacceptingresponses true` * `ispublished true isacceptingresponses false` * `ispublished false isacceptingresponses false` +* `ispublished false` - Sets `isacceptingresponses false` +* `isacceptingresponses false` - Sets `ispublished false` +* `isacceptingresponses true` - Sets `ispublished true` `` is a list of form update requests. @@ -89,11 +91,13 @@ gam update form [ispublished [] isacceptingresponses []] ``` -When applicable, both `ispublished` and `isacceptingresponses` must be specified; -the valid combinations are: +The valid combinations of `ispublished` and `isacceptingresponses` are: * `ispublished true isacceptingresponses true` * `ispublished true isacceptingresponses false` * `ispublished false isacceptingresponses false` +* `ispublished false` - Sets `isacceptingresponses false` +* `isacceptingresponses false` - Sets `ispublished false` +* `isacceptingresponses true` - Sets `ispublished true` `` is a list of form update requests. diff --git a/wiki/Version-and-Help.md b/wiki/Version-and-Help.md index 592f1b40..f369be5b 100644 --- a/wiki/Version-and-Help.md +++ b/wiki/Version-and-Help.md @@ -3,7 +3,7 @@ Print the current version of Gam with details ``` gam version -GAM 7.10.01 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.10.02 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 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 -GAM 7.10.01 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.10.02 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 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 -GAM 7.10.01 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.10.02 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -64,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gam7 Version Check: Current: 5.35.08 - Latest: 7.10.01 + Latest: 7.10.02 echo $? 1 ``` @@ -72,7 +72,7 @@ echo $? Print the current version number without details ``` gam version simple -7.10.01 +7.10.02 ``` 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 7.10.01 - https://github.com/GAM-team/GAM +GAM 7.10.02 - https://github.com/GAM-team/GAM GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64