mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f90a1a950 | ||
|
|
1b234d5aa7 | ||
|
|
32dc4c9de4 | ||
|
|
a150288a6f | ||
|
|
df053c36a6 | ||
|
|
0d01850356 | ||
|
|
6e9a68627b | ||
|
|
904f743f39 | ||
|
|
64c194e4d0 | ||
|
|
98c7ea08f8 | ||
|
|
a55f065cfb | ||
|
|
8eed07cb2e | ||
|
|
01af866c7b | ||
|
|
614ebd11c5 | ||
|
|
da1266e7cc | ||
|
|
06a6fff029 |
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@@ -22,7 +22,7 @@ defaults:
|
|||||||
working-directory: src
|
working-directory: src
|
||||||
|
|
||||||
env:
|
env:
|
||||||
SCRATCH_COUNTER: 13
|
SCRATCH_COUNTER: 14
|
||||||
OPENSSL_CONFIG_OPTS: no-fips --api=3.0.0
|
OPENSSL_CONFIG_OPTS: no-fips --api=3.0.0
|
||||||
OPENSSL_INSTALL_PATH: ${{ github.workspace }}/bin/ssl
|
OPENSSL_INSTALL_PATH: ${{ github.workspace }}/bin/ssl
|
||||||
OPENSSL_SOURCE_PATH: ${{ github.workspace }}/src/openssl
|
OPENSSL_SOURCE_PATH: ${{ github.workspace }}/src/openssl
|
||||||
@@ -88,15 +88,12 @@ jobs:
|
|||||||
goal: build
|
goal: build
|
||||||
arch: Win64
|
arch: Win64
|
||||||
openssl_archs: VC-WIN64A
|
openssl_archs: VC-WIN64A
|
||||||
# disable 3.9 test for now since it's oldest and due
|
#- os: windows-11-arm
|
||||||
# for removal in Oct 2025. We only have 13 jid accounts
|
# jid: 14
|
||||||
# so we need this one off but can re-enable at some point
|
# goal: build
|
||||||
# if we feel the need.
|
# arch: arm64
|
||||||
#- os: ubuntu-24.04
|
# openssl_archs: VC-CLANG-WIN64-CLANGASM-ARM
|
||||||
# goal: test
|
# continue-on-error: true
|
||||||
# python: "3.9"
|
|
||||||
# jid: 11
|
|
||||||
# arch: x86_64
|
|
||||||
- os: ubuntu-24.04
|
- os: ubuntu-24.04
|
||||||
goal: test
|
goal: test
|
||||||
python: "3.10"
|
python: "3.10"
|
||||||
@@ -270,6 +267,12 @@ jobs:
|
|||||||
echo "PYTHON=${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}/python.exe" >> $GITHUB_ENV
|
echo "PYTHON=${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}/python.exe" >> $GITHUB_ENV
|
||||||
echo "GAM_ARCHIVE_ARCH=${GAM_ARCHIVE_ARCH}" >> $GITHUB_ENV
|
echo "GAM_ARCHIVE_ARCH=${GAM_ARCHIVE_ARCH}" >> $GITHUB_ENV
|
||||||
echo "WIX_ARCH=${WIX_ARCH}" >> $GITHUB_ENV
|
echo "WIX_ARCH=${WIX_ARCH}" >> $GITHUB_ENV
|
||||||
|
if [[ "$arch" == "arm64" ]]; then
|
||||||
|
MAKE=make
|
||||||
|
MAKEOPT="-j$(nproc)"
|
||||||
|
echo "VSCMD_DEBUG=3" >> $GITHUB_ENV
|
||||||
|
echo "PATH=${PATH}:${VCINSTALLDIR}\Tools\Llvm\ARM64\bin" >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo "We'll run make with: ${MAKEOPT}"
|
echo "We'll run make with: ${MAKEOPT}"
|
||||||
echo "staticx=${staticx}" >> $GITHUB_ENV
|
echo "staticx=${staticx}" >> $GITHUB_ENV
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
7.06.04
|
||||||
|
|
||||||
|
Fixed bug in `gam report <ActivityApplictionName>` where a report with no activities
|
||||||
|
was not displaying any output.
|
||||||
|
|
||||||
|
7.06.03
|
||||||
|
|
||||||
|
Fixed bug in `gam <UserTypeEntity> print|show drivelastmodification` that caused a trap
|
||||||
|
when an empty drive was specified.
|
||||||
|
|
||||||
7.06.02
|
7.06.02
|
||||||
|
|
||||||
Updated `gam <UserTypeEntity> print|show filecounts ... showlastmodification` to include
|
Updated `gam <UserTypeEntity> print|show filecounts ... showlastmodification` to include
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
||||||
__version__ = '7.06.02'
|
__version__ = '7.06.04'
|
||||||
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||||
|
|
||||||
#pylint: disable=wrong-import-position
|
#pylint: disable=wrong-import-position
|
||||||
@@ -14145,6 +14145,7 @@ def doReport():
|
|||||||
startDateTime += oneDay
|
startDateTime += oneDay
|
||||||
csvPF.writeCSVfile(f'Customer Report - {tryDate}')
|
csvPF.writeCSVfile(f'Customer Report - {tryDate}')
|
||||||
else: # activityReports
|
else: # activityReports
|
||||||
|
csvPF.SetTitles('name')
|
||||||
if addCSVData:
|
if addCSVData:
|
||||||
csvPF.AddTitles(sorted(addCSVData.keys()))
|
csvPF.AddTitles(sorted(addCSVData.keys()))
|
||||||
if select:
|
if select:
|
||||||
@@ -14303,8 +14304,7 @@ def doReport():
|
|||||||
row = {'name': 'NoActivities'}
|
row = {'name': 'NoActivities'}
|
||||||
if addCSVData:
|
if addCSVData:
|
||||||
row.update(addCSVData)
|
row.update(addCSVData)
|
||||||
csvPF.WriteRowTitles(row)
|
csvPF.WriteRowTitles(row)
|
||||||
csvPF.SetSortTitles(['name'])
|
|
||||||
else:
|
else:
|
||||||
if eventRowFilter:
|
if eventRowFilter:
|
||||||
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
||||||
@@ -56489,7 +56489,7 @@ def printFileParentTree(users):
|
|||||||
# Last file modification utilities
|
# Last file modification utilities
|
||||||
def _initLastModification():
|
def _initLastModification():
|
||||||
return {'lastModifiedFileId': '', 'lastModifiedFileName': '',
|
return {'lastModifiedFileId': '', 'lastModifiedFileName': '',
|
||||||
'lastModifiedFileMimeType': '', 'lastModifiedFilaPath': '',
|
'lastModifiedFileMimeType': '', 'lastModifiedFilePath': '',
|
||||||
'lastModifyingUser': '', 'lastModifiedTime': NEVER_TIME,
|
'lastModifyingUser': '', 'lastModifiedTime': NEVER_TIME,
|
||||||
'fileEntryInfo': {}}
|
'fileEntryInfo': {}}
|
||||||
|
|
||||||
@@ -56504,9 +56504,10 @@ def _checkUpdateLastModifiction(f_file, userLastModification):
|
|||||||
userLastModification['fileEntryInfo'] = f_file.copy()
|
userLastModification['fileEntryInfo'] = f_file.copy()
|
||||||
|
|
||||||
def _getLastModificationPath(drive, userLastModification, pathDelimiter):
|
def _getLastModificationPath(drive, userLastModification, pathDelimiter):
|
||||||
filePathInfo = initFilePathInfo(pathDelimiter)
|
if userLastModification['fileEntryInfo']:
|
||||||
_, paths, _ = getFilePaths(drive, {}, userLastModification['fileEntryInfo'], filePathInfo)
|
filePathInfo = initFilePathInfo(pathDelimiter)
|
||||||
userLastModification['lastModifiedFilePath'] = paths[0] if paths else UNKNOWN
|
_, paths, _ = getFilePaths(drive, {}, userLastModification['fileEntryInfo'], filePathInfo)
|
||||||
|
userLastModification['lastModifiedFilePath'] = paths[0] if paths else UNKNOWN
|
||||||
|
|
||||||
def _showLastModification(lastModification):
|
def _showLastModification(lastModification):
|
||||||
printKeyValueList(['lastModifiedFileId', lastModification['lastModifiedFileId']])
|
printKeyValueList(['lastModifiedFileId', lastModification['lastModifiedFileId']])
|
||||||
|
|||||||
@@ -2,13 +2,13 @@ chardet
|
|||||||
cryptography
|
cryptography
|
||||||
distro; sys_platform=='linux'
|
distro; sys_platform=='linux'
|
||||||
filelock
|
filelock
|
||||||
google-api-python-client>=2.1
|
google-api-python-client>=2.166.0
|
||||||
google-auth-httplib2
|
google-auth-httplib2>=0.2.0
|
||||||
google-auth-oauthlib>=0.4.1
|
google-auth-oauthlib>=1.2.1
|
||||||
google-auth>=2.3.2
|
google-auth>=2.38.0
|
||||||
httplib2>=0.17.0
|
httplib2>=0.22.0
|
||||||
lxml
|
lxml
|
||||||
passlib>=1.7.2
|
passlib>=1.7.4
|
||||||
pathvalidate
|
pathvalidate
|
||||||
python-dateutil
|
python-dateutil
|
||||||
yubikey-manager[yubikey]>=5.0
|
yubikey-manager[yubikey]>=5.6.1
|
||||||
|
|||||||
@@ -57,10 +57,10 @@ Typically, you will enclose the entire list in double quotes and quote each item
|
|||||||
* ```"item item item"```
|
* ```"item item item"```
|
||||||
- Items, separated by commas, with spaces, commas or single quotes in the items themselves
|
- Items, separated by commas, with spaces, commas or single quotes in the items themselves
|
||||||
* ```"'it em','it,em',\"it'em\""``` - Linux, MacOS, Windows Command Prompt
|
* ```"'it em','it,em',\"it'em\""``` - Linux, MacOS, Windows Command Prompt
|
||||||
* ```"'it em','it,em',`"it'em`""``` - Windows Power Shell
|
* ```"'it\ em','it,em',`"it\'em`""``` - Windows Power Shell
|
||||||
- Items, separated by spaces, with spaces, commas or single quotes in the items themselves
|
- Items, separated by spaces, with spaces, commas or single quotes in the items themselves
|
||||||
* ```"'it em' 'it,em' \"it'em\""``` - Linux, MacOS, Windows Command Prompt
|
* ```"'it em' 'it,em' \"it'em\""``` - Linux, MacOS, Windows Command Prompt
|
||||||
* ```"'it em' 'it,em' `"it'em`""``` - Windows Power Shell
|
* ```"'it\ em' 'it,em' `"it\'em`""``` - Windows Power Shell
|
||||||
|
|
||||||
Typical places where these rules apply are lists of OUs and Contact Groups.
|
Typical places where these rules apply are lists of OUs and Contact Groups.
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,16 @@ 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
|
||||||
|
|
||||||
|
### 7.06.04
|
||||||
|
|
||||||
|
Fixed bug in `gam report <ActivityApplictionName>` where a report with no activities
|
||||||
|
was not displaying any output.
|
||||||
|
|
||||||
|
### 7.06.03
|
||||||
|
|
||||||
|
Fixed bug in `gam <UserTypeEntity> print|show drivelastmodification` that caused a trap
|
||||||
|
when an empty drive was specified.
|
||||||
|
|
||||||
### 7.06.02
|
### 7.06.02
|
||||||
|
|
||||||
Updated `gam <UserTypeEntity> print|show filecounts ... showlastmodification` to include
|
Updated `gam <UserTypeEntity> print|show filecounts ... showlastmodification` to include
|
||||||
|
|||||||
@@ -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$ 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.06.02 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.06.04 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4 x86_64
|
MacOS Sequoia 15.4 x86_64
|
||||||
@@ -989,7 +989,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.06.02 - https://github.com/GAM-team/GAM - pythonsource
|
GAM 7.06.04 - https://github.com/GAM-team/GAM - pythonsource
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
Windows-10-10.0.17134 AMD64
|
Windows-10-10.0.17134 AMD64
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ k
|
|||||||
Print the current version of Gam with details
|
Print the current version of Gam with details
|
||||||
```
|
```
|
||||||
gam version
|
gam version
|
||||||
GAM 7.06.02 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.06.04 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4 x86_64
|
MacOS Sequoia 15.4 x86_64
|
||||||
@@ -16,7 +16,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.06.02 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.06.04 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4 x86_64
|
MacOS Sequoia 15.4 x86_64
|
||||||
@@ -28,7 +28,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.06.02 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.06.04 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4 x86_64
|
MacOS Sequoia 15.4 x86_64
|
||||||
@@ -65,7 +65,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.06.02
|
Latest: 7.06.04
|
||||||
echo $?
|
echo $?
|
||||||
1
|
1
|
||||||
```
|
```
|
||||||
@@ -73,7 +73,7 @@ echo $?
|
|||||||
Print the current version number without details
|
Print the current version number without details
|
||||||
```
|
```
|
||||||
gam version simple
|
gam version simple
|
||||||
7.06.02
|
7.06.04
|
||||||
```
|
```
|
||||||
In Linux/MacOS you can do:
|
In Linux/MacOS you can do:
|
||||||
```
|
```
|
||||||
@@ -83,7 +83,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.06.02 - https://github.com/GAM-team/GAM
|
GAM 7.06.04 - https://github.com/GAM-team/GAM
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4 x86_64
|
MacOS Sequoia 15.4 x86_64
|
||||||
|
|||||||
Reference in New Issue
Block a user