gam7 7.3.8__tar.gz → 7.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of gam7 might be problematic. Click here for more details.

Files changed (109) hide show
  1. {gam7-7.3.8 → gam7-7.4.0}/.github/workflows/build.yml +7 -6
  2. {gam7-7.3.8 → gam7-7.4.0}/PKG-INFO +1 -1
  3. {gam7-7.3.8 → gam7-7.4.0}/src/GamCommands.txt +2 -35
  4. {gam7-7.3.8 → gam7-7.4.0}/src/GamUpdate.txt +47 -0
  5. {gam7-7.3.8 → gam7-7.4.0}/src/gam/__init__.py +117 -882
  6. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glapi.py +0 -11
  7. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glclargs.py +4 -0
  8. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glentity.py +0 -4
  9. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glglobals.py +5 -2
  10. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glmsgs.py +1 -0
  11. {gam7-7.3.8 → gam7-7.4.0}/.github/ISSUE_TEMPLATE/aa-question.md +0 -0
  12. {gam7-7.3.8 → gam7-7.4.0}/.github/ISSUE_TEMPLATE/za-bug-report.md +0 -0
  13. {gam7-7.3.8 → gam7-7.4.0}/.github/ISSUE_TEMPLATE/zz-feature-request.md +0 -0
  14. {gam7-7.3.8 → gam7-7.4.0}/.github/ISSUE_TEMPLATE.txt +0 -0
  15. {gam7-7.3.8 → gam7-7.4.0}/.github/actions/creds.tar.xz.gpg +0 -0
  16. {gam7-7.3.8 → gam7-7.4.0}/.github/actions/decrypt.sh +0 -0
  17. {gam7-7.3.8 → gam7-7.4.0}/.github/actions/entitlements.plist +0 -0
  18. {gam7-7.3.8 → gam7-7.4.0}/.github/actions/package_exclusions.txt +0 -0
  19. {gam7-7.3.8 → gam7-7.4.0}/.github/stale.yml +0 -0
  20. {gam7-7.3.8 → gam7-7.4.0}/.github/workflows/codeql-analysis.yml +0 -0
  21. {gam7-7.3.8 → gam7-7.4.0}/.github/workflows/get-cacerts.yml +0 -0
  22. {gam7-7.3.8 → gam7-7.4.0}/.github/workflows/pypi.yml +0 -0
  23. {gam7-7.3.8 → gam7-7.4.0}/.pre-commit-config.yaml +0 -0
  24. {gam7-7.3.8 → gam7-7.4.0}/LICENSE +0 -0
  25. {gam7-7.3.8 → gam7-7.4.0}/README.md +0 -0
  26. {gam7-7.3.8 → gam7-7.4.0}/pyproject.toml +0 -0
  27. {gam7-7.3.8 → gam7-7.4.0}/src/.gitignore +0 -0
  28. {gam7-7.3.8 → gam7-7.4.0}/src/LICENSE +0 -0
  29. {gam7-7.3.8 → gam7-7.4.0}/src/cacerts.pem +0 -0
  30. {gam7-7.3.8 → gam7-7.4.0}/src/callgam.py +0 -0
  31. {gam7-7.3.8 → gam7-7.4.0}/src/gam/__main__.py +0 -0
  32. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/__init__.py +0 -0
  33. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/auth.py +0 -0
  34. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/client.py +0 -0
  35. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/core.py +0 -0
  36. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/data.py +0 -0
  37. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/http.py +0 -0
  38. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/http_core.py +0 -0
  39. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/http_interface.py +0 -0
  40. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/mock_http.py +0 -0
  41. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/mock_http_core.py +0 -0
  42. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/mock_service.py +0 -0
  43. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/service.py +0 -0
  44. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/token_store.py +0 -0
  45. {gam7-7.3.8 → gam7-7.4.0}/src/gam/atom/url.py +0 -0
  46. {gam7-7.3.8 → gam7-7.4.0}/src/gam/cacerts.pem +0 -0
  47. {gam7-7.3.8 → gam7-7.4.0}/src/gam/cbcm-v1.1beta1.json +0 -0
  48. {gam7-7.3.8 → gam7-7.4.0}/src/gam/contactdelegation-v1.json +0 -0
  49. {gam7-7.3.8 → gam7-7.4.0}/src/gam/datastudio-v1.json +0 -0
  50. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/__init__.py +0 -0
  51. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glaction.py +0 -0
  52. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glcfg.py +0 -0
  53. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glgapi.py +0 -0
  54. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glgdata.py +0 -0
  55. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glindent.py +0 -0
  56. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glskus.py +0 -0
  57. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/gluprop.py +0 -0
  58. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/glverlibs.py +0 -0
  59. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gamlib/yubikey.py +0 -0
  60. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/__init__.py +0 -0
  61. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/alt/__init__.py +0 -0
  62. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/alt/app_engine.py +0 -0
  63. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/alt/appengine.py +0 -0
  64. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/apps/__init__.py +0 -0
  65. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/apps/audit/__init__.py +0 -0
  66. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/apps/audit/service.py +0 -0
  67. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/apps/contacts/__init__.py +0 -0
  68. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/apps/contacts/service.py +0 -0
  69. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/apps/service.py +0 -0
  70. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/apps/sites/__init__.py +0 -0
  71. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/apps/sites/service.py +0 -0
  72. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/service.py +0 -0
  73. {gam7-7.3.8 → gam7-7.4.0}/src/gam/gdata/urlfetch.py +0 -0
  74. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/__init__.py +0 -0
  75. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/_auth.py +0 -0
  76. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/_helpers.py +0 -0
  77. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/channel.py +0 -0
  78. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/discovery.py +0 -0
  79. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/discovery_cache/__init__.py +0 -0
  80. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/discovery_cache/appengine_memcache.py +0 -0
  81. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/discovery_cache/base.py +0 -0
  82. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/discovery_cache/file_cache.py +0 -0
  83. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/errors.py +0 -0
  84. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/http.py +0 -0
  85. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/mimeparse.py +0 -0
  86. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/model.py +0 -0
  87. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/schema.py +0 -0
  88. {gam7-7.3.8 → gam7-7.4.0}/src/gam/googleapiclient/version.py +0 -0
  89. {gam7-7.3.8 → gam7-7.4.0}/src/gam/iso8601/__init__.py +0 -0
  90. {gam7-7.3.8 → gam7-7.4.0}/src/gam/iso8601/iso8601.py +0 -0
  91. {gam7-7.3.8 → gam7-7.4.0}/src/gam/serviceaccountlookup-v1.json +0 -0
  92. {gam7-7.3.8 → gam7-7.4.0}/src/gam/six.py +0 -0
  93. {gam7-7.3.8 → gam7-7.4.0}/src/gam-install.sh +0 -0
  94. {gam7-7.3.8 → gam7-7.4.0}/src/gam-setup.bat +0 -0
  95. {gam7-7.3.8 → gam7-7.4.0}/src/gam.exe.manifest +0 -0
  96. {gam7-7.3.8 → gam7-7.4.0}/src/gam.py +0 -0
  97. {gam7-7.3.8 → gam7-7.4.0}/src/gam.spec +0 -0
  98. {gam7-7.3.8 → gam7-7.4.0}/src/gam.wxs +0 -0
  99. {gam7-7.3.8 → gam7-7.4.0}/src/license.rtf +0 -0
  100. {gam7-7.3.8 → gam7-7.4.0}/src/project-apis.txt +0 -0
  101. {gam7-7.3.8 → gam7-7.4.0}/src/requirements-dev.txt +0 -0
  102. {gam7-7.3.8 → gam7-7.4.0}/src/requirements.txt +0 -0
  103. {gam7-7.3.8 → gam7-7.4.0}/src/setup.cfg +0 -0
  104. {gam7-7.3.8 → gam7-7.4.0}/src/setup.py +0 -0
  105. {gam7-7.3.8 → gam7-7.4.0}/src/tools/a_atleast_b.py +0 -0
  106. {gam7-7.3.8 → gam7-7.4.0}/src/tools/gen-wix-xml-filelist.py +0 -0
  107. {gam7-7.3.8 → gam7-7.4.0}/src/tools/mkGamRef.py +0 -0
  108. {gam7-7.3.8 → gam7-7.4.0}/src/tools/openssl.props +0 -0
  109. {gam7-7.3.8 → gam7-7.4.0}/src/version_info.txt.in +0 -0
@@ -5,6 +5,7 @@ on:
5
5
  pull_request:
6
6
  schedule:
7
7
  - cron: '37 22 * * *'
8
+ workflow_dispatch:
8
9
 
9
10
  permissions:
10
11
  contents: read
@@ -756,7 +757,7 @@ jobs:
756
757
 
757
758
  - name: Attest that gam package files were generated from this Action
758
759
  uses: actions/attest-build-provenance@v1
759
- if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal == 'build'
760
+ if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && matrix.goal == 'build'
760
761
  with:
761
762
  subject-path: |
762
763
  gam*.tar.xz
@@ -765,7 +766,7 @@ jobs:
765
766
 
766
767
  - name: Archive production artifacts
767
768
  uses: actions/upload-artifact@v4
768
- if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal != 'test'
769
+ if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && matrix.goal != 'test'
769
770
  with:
770
771
  name: gam-binaries-${{ env.GAMOS }}-${{ env.arch }}-${{ matrix.jid }}
771
772
  path: |
@@ -793,8 +794,8 @@ jobs:
793
794
  fi
794
795
  echo "We successfully compiled Python ${this_python} and OpenSSL ${this_openssl}"
795
796
 
796
- - name: Live API tests push only
797
- if: (github.event_name == 'push' || github.event_name == 'schedule')
797
+ - name: Live API tests
798
+ if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
798
799
  run: |
799
800
  export gam_user="gam-gha-${JID}@pdl.jaylee.us"
800
801
  echo "gam_user=${gam_user}" >> $GITHUB_ENV
@@ -1004,7 +1005,7 @@ jobs:
1004
1005
  tar cJvvf cache.tar.xz $tar_folders
1005
1006
 
1006
1007
  merge:
1007
- if: (github.event_name == 'push' || github.event_name == 'schedule')
1008
+ if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
1008
1009
  runs-on: ubuntu-24.04
1009
1010
  needs: build
1010
1011
  permissions:
@@ -1018,7 +1019,7 @@ jobs:
1018
1019
  pattern: gam-binaries-*
1019
1020
 
1020
1021
  publish:
1021
- if: github.event_name == 'push'
1022
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
1022
1023
  runs-on: ubuntu-24.04
1023
1024
  needs: merge
1024
1025
  permissions:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gam7
3
- Version: 7.3.8
3
+ Version: 7.4.0
4
4
  Summary: CLI tool to manage Google Workspace
5
5
  Project-URL: Homepage, https://github.com/GAM-team/GAM
6
6
  Project-URL: Issues, https://github.com/GAM-team/GAM/issues
@@ -4742,41 +4742,6 @@ gam <UserTypeEntity> sendemail from <EmailAddress>
4742
4742
  [newuser <EmailAddress> firstname|givenname <String> lastname|familyname <string> password <Password>]
4743
4743
  (<SMTPDateHeader> <Time>)* (<SMTPHeader> <String>)* (header <String> <String>)*
4744
4744
 
4745
- # Sites
4746
-
4747
- <SiteACLRole> ::= editor|owner|reader|writer
4748
- <SiteACLRoleList> ::= "<SiteACLRole>(,<SiteACLRole>)*"
4749
-
4750
- <SiteACLScope> ::=
4751
- <EmailAddress>|user:<EmailAddress>|group:<EmailAddress>|domain:<DomainName>|domain|default
4752
- <SiteACLScopeList> ::= "<SiteACLScope>(,<SiteACLScope>)*"
4753
- <SiteACLScopeEntity> ::=
4754
- <SiteACLScopeList> | <FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector>
4755
-
4756
- <SiteAttribute> ::=
4757
- (categories <String>)|
4758
- (name <String>)|
4759
- (sourcelink <URI>])|
4760
- (summary <String>)|
4761
- (theme <String>)
4762
-
4763
- gam [<UserTypeEntity>] create|add site <SiteItem> <SiteAttribute>*
4764
- gam [<UserTypeEntity>] update sites <SiteEntity> <SiteAttribute>+
4765
- gam [<UserTypeEntity>] info sites <SiteEntity> [withmappings] [role|roles all|<SiteACLRoleList>]
4766
- gam [<UserTypeEntity>] show sites [domain|domains <DomainNameEntity>] [includeallsites]
4767
- [withmappings] [role|roles all|<SiteACLRoleList>] [startindex <Number>] [maxresults <Number>]
4768
- gam [<UserTypeEntity>] print sites [todrive <ToDriveAttribute>*] [domain|domains <DomainNameEntity>] [includeallsites]
4769
- [withmappings] [role|roles all|<SiteACLRoleList>] [startindex <Number>] [maxresults <Number>] [convertcrnl] [delimiter <Character>]
4770
-
4771
- gam [<UserTypeEntity>] print siteactivity <SiteEntity> [todrive <ToDriveAttribute>*] [startindex <Number>] [maxresults <Number>] [updated_min <Date>] [updated_max <Date>]
4772
-
4773
- gam [<UserTypeEntity>] create|add siteacls <SiteEntity> <SiteACLRole> <SiteACLScopeEntity>
4774
- gam [<UserTypeEntity>] update siteacls <SiteEntity> <SiteACLRole> <SiteACLScopeEntity>
4775
- gam [<UserTypeEntity>] delete siteacls <SiteEntity> <SiteACLScopeEntity>
4776
- gam [<UserTypeEntity>] info siteacls <SiteEntity> <SiteACLScopeEntity>
4777
- gam [<UserTypeEntity>] show siteacls <SiteEntity>
4778
- gam [<UserTypeEntity>] print siteacls <SiteEntity> [todrive <ToDriveAttribute>*]
4779
-
4780
4745
  # Shared Drives - Administrator
4781
4746
 
4782
4747
  <SharedDriveFieldName> ::=
@@ -7606,6 +7571,7 @@ gam <UserTypeEntity> show messages|threads
7606
7571
  [countsonly|positivecountsonly] [useronly]
7607
7572
  [headers all|<SMTPHeaderList>] [dateheaderformat iso|rfc2822|<String>] [dateheaderconverttimezone [<Boolean>]]
7608
7573
  [showlabels] [delimiter <Character>] [showbody] [showhtml] [showdate] [showsize] [showsnippet]
7574
+ [maxmessagesperthread <Number>]
7609
7575
  [[attachmentnamepattern <RegularExpression>]
7610
7576
  [showattachments [noshowtextplain]]
7611
7577
  [saveattachments [targetfolder <FilePath>] [overwrite [<Boolean>]]]
@@ -7617,6 +7583,7 @@ gam <UserTypeEntity> print messages|threads [todrive <ToDriveAttribute>*]
7617
7583
  [countsonly|positivecountsonly] [useronly]
7618
7584
  [headers all|<SMTPHeaderList>] [dateheaderformat iso|rfc2822|<String> [dateheaderconverttimezone [<Boolean>]]]
7619
7585
  [showlabels] [delimiter <Character>] [showbody] [showhtml] [showdate] [showsize] [showsnippet]
7586
+ [maxmessagesperthread <Number>]
7620
7587
  [convertcrnl] [delimiter <Character>]
7621
7588
  [[attachmentnamepattern <RegularExpression>]
7622
7589
  [showattachments [noshowtextplain]]]
@@ -1,3 +1,50 @@
1
+ 7.04.00
2
+
3
+ The Classic Sites API no longer functions, the following commands are deprecated:
4
+ ```
5
+ gam [<UserTypeEntity>] create site
6
+ gam [<UserTypeEntity>] update site
7
+ gam [<UserTypeEntity>] info site
8
+ gam [<UserTypeEntity>] print sites
9
+ gam [<UserTypeEntity>] show sites
10
+ gam [<UserTypeEntity>] create siteacls
11
+ gam [<UserTypeEntity>] update siteacls
12
+ gam [<UserTypeEntity>] delete siteacls
13
+ gam [<UserTypeEntity>] info siteacls
14
+ gam [<UserTypeEntity>] show siteacls
15
+ gam [<UserTypeEntity>] print siteacls
16
+ gam [<UserTypeEntity>] print siteactivity
17
+ ```
18
+
19
+ 7.03.09
20
+
21
+ Added option `maxmessagesperthread <Number>` to `gam <UserTypeEntity> print|show threads`
22
+ that limits the number of messages displayed per thread. The default is 0, there is no limit.
23
+ For example, this can be used if you only want to see the first message of each thread.
24
+ ```
25
+ gam user user@domain.com print|show threads maxmessagesperthread 1
26
+ ```
27
+
28
+ Fixed bug in `gam <UserTypeEntity> print filelist countsonly` where extraneous columns
29
+ were displayed.
30
+
31
+ Fixed bug in `gam <UserTypeEntity> print filelist countsonly showsize` where sizes were
32
+ all shown as 0 unless`sizefield size` was specified.
33
+
34
+ 7.03.08
35
+
36
+ Improved pip install.
37
+
38
+ Yubikey as optional should now be working also. So:
39
+
40
+ pip install --upgrade gam7
41
+
42
+ skips Yubikey.
43
+
44
+ To install with yubikey support (assuming you have installed the necessary swig and libpcsclite-dev packages already) run:
45
+
46
+ pip install --upgrade gam7[yubikey]
47
+
1
48
  7.03.07
2
49
 
3
50
  Updated `gam create vaultexport` to include `corpus gemini`.