Jay Lee
17eb61e1eb
Merge branch 'main' of https://github.com/jay0lee/GAM into main
2021-10-21 08:06:39 -04:00
Jay Lee
a333185e84
repro issue #1438
2021-10-21 08:06:26 -04:00
Jay Lee
f6863ae2d6
Update var.py
2021-10-20 13:57:11 -04:00
Ross Scroggs
36830250b5
Handle spurious Google error when enabling project APIs ( #1436 )
2021-10-20 13:48:41 -04:00
Jay Lee
4ca1c3537b
Merge branch 'main' of https://github.com/jay0lee/GAM into main
2021-10-18 08:50:25 -04:00
Jay Lee
eeab09eacb
fix deprecated package in a_atleast_b.py
2021-10-18 08:50:13 -04:00
Ross Scroggs
af16967257
Fix Row Filtering ( #1433 )
...
When multiple filter expressions are defined:
GAM_CSV_ROW_FILTER - should match only if all expressions match
GAM_CSV_ROW_DROP_FILTER - should match if any expression matches
Currently, the opposite is true
2021-10-14 20:12:51 -04:00
Ross Scroggs
4db3bc409b
Document member restrictions; fix print users ( #1430 )
...
* Document member restrictions
* Fix gam print users allfields custom all to include primaryEmail
If you really want everything say: gam print users full
2021-10-06 14:22:27 -04:00
Jay Lee
32ccf414ea
Update gam-install.sh
2021-10-06 08:01:29 -04:00
Jay Lee
615e48fffc
Update gam-install.sh
2021-10-05 20:18:07 -04:00
Jay Lee
899601569a
Group member restrictions
2021-10-05 18:05:28 -04:00
Ross Scroggs
3200de56cc
Several fixes/updates ( #1426 )
...
* agreedToTerms is now read-only
* Fix sync devices
* assetTag if specified is part of sync device key
* Handle missing assetTags
* Leave agreedtoterms as an undocumented option
* More assetTag processing, the field is not returned from the API if it's empty
* Fix DriveFileAttribute formatting
* memberKey has been replaced by preferredMemberKey
* Correct license name
* If notdemail.txt is present, write_csv_file will not send an email
2021-10-05 08:37:09 -04:00
Jay Lee
310bcd1585
Merge branch 'main' of https://github.com/jay0lee/GAM into main
2021-09-27 08:21:54 -04:00
Jay Lee
753f44deb2
Fix some missing types in cbcm JSON, formatting
2021-09-27 08:21:08 -04:00
Ross Scroggs
e3c5dca09d
Three updates ( #1421 )
...
* Initialize pageToken for each namespace
* Update group sync to do removes before adds
This gets around problem when a group contains a primary address and a sync is performed with an alias. With adds first you get a duplicate error; with removes first the primary address in the group is replaced with the alias.
* Add defaultsender to group settings
2021-09-09 13:06:50 -04:00
Jay Lee
1f2bb18bc1
GAM 6.08
2021-08-31 13:58:04 -04:00
Janosh Riebesell
108990cf06
Fix pip license error + add pip install command to readme ( #1419 )
...
* fix pip license error, add pip install to readme
* fix warning: the 'license_file' option is deprecated, use 'license_files' instead
2021-08-31 08:51:51 -04:00
Jay Lee
dbf4073216
fix gam.py also
2021-08-27 12:10:54 -04:00
Jay Lee
83214eaaf8
attempt fixes for pip installable
2021-08-27 12:10:15 -04:00
Janosh Riebesell
1100fdd456
Make GAM pip-installable ( #1417 )
...
* wip: make pip-installable
* resolve @jay0lee's comments
2021-08-27 11:24:02 -04:00
Ross Scroggs
f3fba97652
Add shortcutDetails to drive file fields ( #1413 )
2021-08-23 16:05:15 -04:00
Yaroslav Nakonechnikov
7f51e35bd4
Pathvalidate ( #1408 )
...
* Update requirements.txt
Adding `pathvalidate` to requrements
* Update __init__.py
Adding `pathvalidate` to make correct filename on other then ascii encodings.
* Updating with sanitize_filename
* Removing unused variable.
2021-08-23 16:04:11 -04:00
Ross Scroggs
95beb8e62a
Update getting MacOS version ( #1409 )
2021-08-14 16:59:07 -04:00
Ross Scroggs
1a9de867f9
Work around API restriction that roleId and userKey are mutually exclusive ( #1406 )
2021-08-10 06:30:52 -04:00
Jay Lee
40b2fd09ff
small service account improvements
2021-08-04 16:58:07 -04:00
Jay Lee
a3d560a8a2
YubiKey improvements and PIV reset
2021-07-27 09:24:34 -04:00
Jay Lee
ed20fe252e
Use with conn so Yubikey connections close sooner
2021-07-26 14:46:58 -04:00
Jay Lee
375e36ff96
State what we don't like about invalid JSON
2021-07-26 14:45:26 -04:00
Ross Scroggs
94fe20607e
Updates for CRM v3 changes ( #1401 )
2021-07-22 19:19:10 -04:00
Ross Scroggs
6c62483e8e
Updates for CRM v3 changes ( #1400 )
2021-07-21 17:27:46 -04:00
Ross Scroggs
54689129c6
Update gam print|show|update chromepolicy to handle the following special case policies: ( #1399 )
...
```
chrome.users.AutoUpdateCheckPeriodNew autoupdatecheckperiodminutesnew
chrome.users.BrowserSwitcherDelayDuration browserswitcherdelayduration
chrome.users.FetchKeepaliveDurationSecondsOnShutdown fetchkeepalivedurationsecondsonshutdown
chrome.users.MaxInvalidationFetchDelay maxinvalidationfetchdelay
chrome.users.PrintingMaxSheetsAllowed printingmaxsheetsallowednullable
chrome.users.PrintJobHistoryExpirationPeriodNew printjobhistoryexpirationperioddaysnew
chrome.users.SecurityTokenSessionSettings securitytokensessionnotificationseconds
chrome.users.SessionLength sessiondurationlimit
chrome.users.UpdatesSuppressed updatessuppresseddurationmin
chrome.users.UpdatesSuppressed updatessuppressedstarttime
```
2021-07-20 17:25:17 -04:00
Ross Scroggs
e9e8dd5a82
Fix call to be compatible with CRM v3 ( #1398 )
2021-07-19 19:31:08 -04:00
Jay Lee
00e764b118
Migrate to Resource Manager API v3
2021-07-16 10:14:58 -04:00
Jay Lee
cee7eb970a
Merge branch 'main' of https://github.com/jay0lee/GAM
2021-07-13 10:45:21 -04:00
Jay Lee
daed17fac8
exclude null character, max out passwd length on random
2021-07-13 10:44:58 -04:00
Ross Scroggs
8708f4f93f
Fix page_args_in_body, update namespace handling in show chromepolicies ( #1393 )
...
When page_args_in_body is true you have to add body to kwargs to ensure a place for pageToken
Allow setting a list of namespaces that override the defaults for printerid (not likely) and appid.
2021-07-08 08:55:18 -04:00
Jay Lee
c7c1bfbeba
retry wait for mailbox if user doesn't exist
2021-07-07 11:03:04 -04:00
Jay Lee
0418438b6f
increase rounds to Google max
2021-07-07 10:53:34 -04:00
Jay Lee
a2ea4d036e
improve random password generator
2021-07-07 10:47:34 -04:00
Jay Lee
dc7a29908f
updates to allow listing/setting extension policy
2021-07-02 13:36:21 -04:00
Jay Lee
794db5d2a4
More APIs now work with discovery v2 URL
2021-07-01 14:47:40 -04:00
Jay Lee
e5f9db129b
Improve printing of app/extension/printer policy
2021-06-30 11:18:29 -04:00
Jay Lee
a6aecf4e9d
undo version in exe
2021-06-29 11:22:33 -04:00
Jay Lee
b59bc4ec90
Merge branch 'main' of https://github.com/jay0lee/GAM
2021-06-29 11:04:17 -04:00
Jay Lee
41920f7865
add version info to Windows exe
2021-06-29 11:02:44 -04:00
Jay Lee
4630bf5681
Update var.py
2021-06-29 08:13:59 -04:00
Ross Scroggs
1c78ebd20e
Add groupidfllert <String> to gam report <ActivityApplicationName> ( #1390 )
2021-06-28 21:34:50 -04:00
Ross Scroggs
cd42d54b43
Fix typo, document new drive fields ( #1389 )
...
* Fix typo, document new drive fields
* Document new drive attribute
2021-06-28 15:40:22 -04:00
Jay Lee
a501b89ecd
resource key support
2021-06-25 16:52:14 -04:00
Jay Lee
8a1f0c9dbf
GAM 6.06
2021-06-17 14:47:47 -04:00