Added input_dir directory variable to gam.cfg

Added support for the new resource calendar setting `autoAcceptInvitations`.
This commit is contained in:
Ross Scroggs
2025-12-10 18:35:47 -08:00
parent 185386e5e7
commit c477dbf67e
9 changed files with 37 additions and 22 deletions

View File

@@ -27,12 +27,14 @@ Client access works when accessing Resource calendars.
See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
<CalendarSettings> ::= <CalendarSettings> ::=
(autoacceptinvitations [<Boolean>])|
(description <String>)| (description <String>)|
(location <String>)| (location <String>)|
(summary <String>)| (summary <String>)|
(timezone <TimeZone>) (timezone <TimeZone>)
<CalendarSettingsField> ::= <CalendarSettingsField> ::=
autoacceptinvitations|3
conferenceproperties| conferenceproperties|
dataowner| dataowner|
description| description|

View File

@@ -29,11 +29,11 @@
<UserGoogleDoc> ::= <UserGoogleDoc> ::=
<EmailAddress> <DriveFileIDEntity>|<DriveFileNameEntity>|(<SharedDriveEntity> <SharedDriveFileNameEntity>) <EmailAddress> <DriveFileIDEntity>|<DriveFileNameEntity>|(<SharedDriveEntity> <SharedDriveFileNameEntity>)
<NoteContent> ::= <ContactNoteContent> ::=
((<String>)| (<String>)|
(file <FileName> [charset <Charset>])| (file|textfile <FileName> [charset <Charset>])|
(gdoc <UserGoogleDoc>)| (gdoc <UserGoogleDoc>)|
(gcsdoc <StorageBucketObjectName>)) (gcsdoc <StorageBucketObjectName>)
<Date> ::= <Date> ::=
<Year>-<Month>-<Day> | <Year>-<Month>-<Day> |
@@ -79,7 +79,7 @@
(mileage <String>)| (mileage <String>)|
(name <String>)| (name <String>)|
(nickname <String>)| (nickname <String>)|
(note <NoteContent>)| (note <ContactNoteContent>)|
(occupation <String>)| (occupation <String>)|
(prefix <String>)| (prefix <String>)|
(priority low|normal|high) (priority low|normal|high)

View File

@@ -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 See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
### Added `input_dir` directory variable to `gam.cfg` that is used to select a directory for reading files with non-absolute file names.
The default is an empty string that matches the current behavior where these files are read from the current working directory.
This will be most useful in multiple domain situations where each domain will have distinct `drive_dir` and `input_dir` values.
Added support for the new resource calendar setting `autoAcceptInvitations`.
### 7.29.04 ### 7.29.04
Updated `gam delete chromepolicy chrome.users.apps.InstallType ou <OrgUnitItem> appid <AppID>` Updated `gam delete chromepolicy chrome.users.apps.InstallType ou <OrgUnitItem> appid <AppID>`

View File

@@ -252,7 +252,7 @@ writes the credentials into the file oauth2.txt.
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
admin@server:/Users/admin$ gam version 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 WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
GAM 7.29.04 - https://github.com/GAM-team/GAM - pyinstaller GAM 7.30.00 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final Python 3.14.1 64-bit final
macOS Tahoe 26.1 x86_64 macOS Tahoe 26.1 x86_64
@@ -990,7 +990,7 @@ writes the credentials into the file oauth2.txt.
C:\>del C:\GAMConfig\oauth2.txt C:\>del C:\GAMConfig\oauth2.txt
C:\>gam version C:\>gam version
WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found
GAM 7.29.04 - https://github.com/GAM-team/GAM - pythonsource GAM 7.30.00 - https://github.com/GAM-team/GAM - pythonsource
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final Python 3.14.1 64-bit final
Windows 11 10.0.26200 AMD64 Windows 11 10.0.26200 AMD64

View File

@@ -84,6 +84,7 @@ See [Collections of Items](Collections-of-Items)
(zipcode|postalcode <String>) (zipcode|postalcode <String>)
<ResourceAttribute> ::= <ResourceAttribute> ::=
(autoacceptinvitations [<Boolean>])|
(addfeatures <FeatureNameList>)| (addfeatures <FeatureNameList>)|
(buildingid <BuildingID>)| (buildingid <BuildingID>)|
(capacity <Number>)| (capacity <Number>)|
@@ -99,6 +100,7 @@ See [Collections of Items](Collections-of-Items)
<ResourceFieldName> ::= <ResourceFieldName> ::=
acls| acls|
autoacceptinvitations|
buildingid| buildingid|
calendar| calendar|
capacity| capacity|

View File

@@ -42,12 +42,14 @@
editor|freebusy|freebusyreader|owner|reader|writer editor|freebusy|freebusyreader|owner|reader|writer
<CalendarSettings> ::= <CalendarSettings> ::=
(autoacceptinvitations [<Boolean>])|
(description <String>)| (description <String>)|
(location <String>)| (location <String>)|
(summary <String>)| (summary <String>)|
(timezone <TimeZone>) (timezone <TimeZone>)
<CalendarSettingsField> ::= <CalendarSettingsField> ::=
autoacceptinvitations|3
conferenceproperties| conferenceproperties|
dataowner| dataowner|
description| description|

View File

@@ -40,12 +40,12 @@ gam user user@domain.com update serviceaccount
<JSONData> ::= <JSONData> ::=
(json [charset <Charset>] <String>) | (json file <FileName> [charset <Charset>]) | (json [charset <Charset>] <String>) | (json file <FileName> [charset <Charset>]) |
<NoteContent> ::= <KeepNoteContent> ::=
((text <String>)| (text <String>)|
(textfile <FileName> [charset <Charset>])| (textfile <FileName> [charset <Charset>])|
(gdoc <UserGoogleDoc>)| (gdoc <UserGoogleDoc>)|
(gcsdoc <StorageBucketObjectName>)| (gcsdoc <StorageBucketObjectName>)|
<JSONData>) <JSONData>
<NotesName> ::= notes/<String> <NotesName> ::= notes/<String>
<NotesNameList> ::= "<NotesName>(,<NotesName)*" <NotesNameList> ::= "<NotesName>(,<NotesName)*"
@@ -84,11 +84,11 @@ you will use wherever `<NotesName>` is required.
``` ```
gam <UserTypeEntity> create note [title <String>] gam <UserTypeEntity> create note [title <String>]
[missingtextvalue <String>] [missingtextvalue <String>]
<NoteContent> <KeepNoteContent>
[copyacls [copyowneraswriter]] [copyacls [copyowneraswriter]]
[compact|formatjson|nodetails] [compact|formatjson|nodetails]
``` ```
`<NoteContent>` is the note text, there are four ways to specify it: `<KeepNoteContent>` is the note text, there are four ways to specify it:
* `message|textmessage|htmlmessage <String>` - Use `<String>` as the note text * `message|textmessage|htmlmessage <String>` - Use `<String>` as the note text
* `file|htmlfile <FileName> [charset <Charset>]` - Read the note text from `<FileName>` * `file|htmlfile <FileName> [charset <Charset>]` - Read the note text from `<FileName>`
* `gdoc|ghtml <UserGoogleDoc>` - Read the note text from `<UserGoogleDoc>` * `gdoc|ghtml <UserGoogleDoc>` - Read the note text from `<UserGoogleDoc>`

View File

@@ -3,7 +3,7 @@
Print the current version of Gam with details Print the current version of Gam with details
``` ```
gam version gam version
GAM 7.29.04 - https://github.com/GAM-team/GAM - pyinstaller GAM 7.30.00 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final Python 3.14.1 64-bit final
macOS Tahoe 26.1 x86_64 macOS Tahoe 26.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 Print the current version of Gam with details and time offset information
``` ```
gam version timeoffset gam version timeoffset
GAM 7.29.04 - https://github.com/GAM-team/GAM - pyinstaller GAM 7.30.00 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final Python 3.14.1 64-bit final
macOS Tahoe 26.1 x86_64 macOS Tahoe 26.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 Print the current version of Gam with extended details and SSL information
``` ```
gam version extended gam version extended
GAM 7.29.04 - https://github.com/GAM-team/GAM - pyinstaller GAM 7.30.00 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final Python 3.14.1 64-bit final
macOS Tahoe 26.1 x86_64 macOS Tahoe 26.1 x86_64
@@ -68,7 +68,7 @@ MacOS High Sierra 10.13.6 x86_64
Path: /Users/Admin/bin/gam7 Path: /Users/Admin/bin/gam7
Version Check: Version Check:
Current: 5.35.08 Current: 5.35.08
Latest: 7.29.04 Latest: 7.30.00
echo $? echo $?
1 1
``` ```
@@ -76,7 +76,7 @@ echo $?
Print the current version number without details Print the current version number without details
``` ```
gam version simple gam version simple
7.29.04 7.30.00
``` ```
In Linux/MacOS you can do: In Linux/MacOS you can do:
``` ```
@@ -86,7 +86,7 @@ echo $VER
Print the current version of Gam and address of this Wiki Print the current version of Gam and address of this Wiki
``` ```
gam help gam help
GAM 7.29.04 - https://github.com/GAM-team/GAM GAM 7.30.00 - https://github.com/GAM-team/GAM
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final Python 3.14.1 64-bit final
macOS Tahoe 26.1 x86_64 macOS Tahoe 26.1 x86_64

View File

@@ -367,6 +367,9 @@ gmail_cse_incert_dir
gmail_cse_inkey_dir gmail_cse_inkey_dir
Directory for the Key Access Control List (KACL) wrapped private key data files used by Gmail Client Side Encryption. Directory for the Key Access Control List (KACL) wrapped private key data files used by Gmail Client Side Encryption.
Default: Blank Default: Blank
input_dir
Directory for <CSVFileInput>, <FileSelector>, <BatchContent> specifying non-absolute file names.
Default: Blank
inter_batch_wait inter_batch_wait
When processing items in batches, how many seconds should GAM wait between batches When processing items in batches, how many seconds should GAM wait between batches
Default: 0 Default: 0