Jay Lee
7de1179b7e
Merge branch 'main' of https://github.com/jay0lee/GAM into main
2021-03-12 16:04:37 -05:00
Jay Lee
ea7c80c3a1
don't set pageSize for printers.list
2021-03-12 16:03:43 -05:00
Ross Scroggs
f252f757f1
UserInvitations clean up ( #1329 )
...
* UserInvitations clean up
This version of Cloud Identity API wants C in customer
I commented it out in case the developers figure out that it's inconsistent with devices and groups
Delete extraneous code
* Update userinvitations.py
2021-03-12 16:03:04 -05:00
Jay Lee
83f02c377f
CUPS Printer API commands
2021-03-12 11:11:58 -05:00
Jay Lee
ce4f74bc61
New User Invitation API
2021-03-11 17:07:13 -05:00
Jay Lee
ec0e143361
import sleep
2021-03-11 15:29:30 -05:00
Jay Lee
c12f7f1123
wait_for_mailbox command to ensure user has mailbox before attempting Gmail commands.
2021-03-11 14:36:47 -05:00
Ross Scroggs
7e706518c5
Two updates ( #1327 )
...
* Add writerscanshare to file characteristics
* In print filelist, include counts for permissions, parents, owners
2021-03-11 14:01:50 -05:00
Jay Lee
2225625cd8
don't use googleapiclient static files
2021-03-11 10:25:51 -05:00
Jay Lee
a36282d114
Update __init__.py
2021-03-05 11:52:47 -05:00
Jay Lee
a8c92b7f9a
Use official yubikey-manager 4.0
2021-03-04 15:43:05 -05:00
Ross Scroggs
f505dac8f3
Add new Google Workspace for Education SKUs ( #1326 )
2021-02-25 18:18:21 -05:00
Jay Lee
b094bb344b
Update requirements.txt
2021-02-24 14:37:02 -05:00
Jay Lee
2685aa049d
Update __init__.py
2021-02-24 14:36:39 -05:00
Ross Scroggs
45a3c89b0b
Add ou <OrgUnitPath> to print browsers ( #1324 )
2021-02-15 21:58:08 -05:00
Ross Scroggs
8fc9e6d1ee
Reissue PR #1315 ; avoid trap when command <CrOSCommand> missing from issuecommand ( #1323 )
2021-02-14 15:17:27 -05:00
Jay Lee
7f0b286d8e
Allow "rotating" to a YubiKey private key
2021-02-14 20:01:14 +00:00
Jay Lee
4f664df087
VERSION hack no longer needed in .spec either
2021-02-12 15:33:50 +00:00
Jay Lee
dff48e3146
Use newer, less hacky ykman
2021-02-12 15:26:04 +00:00
Jay Lee
0fefa19f80
fix the hack
2021-02-11 21:31:42 +00:00
Jay Lee
88e07ddbaa
avoid warnings about cryptography int_from_bytes
2021-02-11 20:37:15 +00:00
Jay Lee
e9bc63bee8
tell pyinstaller to manually include ykman/VERSION
2021-02-11 19:17:14 +00:00
Jay Lee
f74168e2c7
Support for YubiKey private key storage
2021-02-11 16:38:19 +00:00
Ross Scroggs
bf4a6e6cde
Fix bug in print courses ownerId is not converted to ownerEmail ( #1316 )
2021-02-07 14:38:51 -05:00
Jay Lee
0e09675779
fix "gam print browsertokens" with no arguments
2021-02-03 20:21:25 -05:00
Jay Lee
e776919bfd
GAM 5.33
2021-02-03 19:55:22 -05:00
Jay Lee
84bfeffe46
handle usernames only when GC_DOMAIN not set
2021-02-03 19:42:26 -05:00
Jay Lee
1360abbecb
say whether GH requests are auth or unauth
2021-02-03 16:32:50 -05:00
Jay Lee
2a13accfe4
Use GHCLIENT env variable if avail
2021-02-03 16:16:03 -05:00
Jay Lee
e26dac3993
Windows support for gam-install.sh
2021-02-03 15:16:07 -05:00
Jay Lee
1b7a43e82b
avoid building cd for user commands
2021-02-03 13:32:44 -05:00
Ross Scroggs
141aca9e25
Handle issue #1277 ( #1312 )
2021-01-28 12:10:56 -05:00
Jay Lee
81075bb000
GAM 5.32, test contact delegation
2021-01-19 08:14:26 -05:00
Jay Lee
33057faaab
include contact delegation discovery in pyinstaller exe
2021-01-19 07:53:09 -05:00
Ross Scroggs
28b831c6a2
Fix bug in calendar delete ACL, code assumed a role was included ( #1308 )
...
* Fix bug in calendar delete ACL, code assumed a role was included
Update documentation
* Add support for Chrome Browser Enrollment Tokens
create browsertoken always returns `ERROR: 400: Invalid Input - invalid`
Maybe you can figure out what's going on
2021-01-18 17:03:58 -05:00
Ross Scroggs
09c0c18fce
Add GAM_CSV_ROW_DROP_FILTER ( #1304 )
...
* Add GAM_CSV_ROW_DROP_FILTER
Allow regex column names in GAM_CSV_ROW_FILTER and GAM_CSV_ROW_DROP_FILTER.
```
# Get users with managers
$ export GAM_CSV_ROW_FILTER="relations.*.type:regex:manager"
$ gam print users query "orgUnitPath='/Test'" relations
Getting all Users in G Suite account that match query (orgUnitPath='/Test') (may take some time on a large account)...
Got 17 Users: dick@domain.com - tom@domain.com
primaryEmail,relations,relations.0.value,relations.0.type,relations.1.value,relations.1.type
testuser1@domain.com ,,admin@rdschool.net ,manager,,
testuser2@domain.com ,,testuser1@domain.com ,manager,,
# Get users without managers
$ export GAM_CSV_ROW_DROP_FILTER="relations.*.type:regex:manager"
$ gam print users query "orgUnitPath='/Test'" relations
Getting all Users in G Suite account that match query (orgUnitPath='/Test') (may take some time on a large account)...
Got 17 Users: dick@domain.com - tom@domain.com
primaryEmail,relations,relations.0.value,relations.0.type,relations.1.value,relations.1.type
dick@domain.com ,,,,,
harry@domain.com ,,,,,
testadmin@domain.com ,,,,,
...
* Update var.py to 5.31
2021-01-13 11:37:17 -05:00
Jay Lee
a8203baa50
another attempt at arm64 MacOS support
2021-01-06 09:20:10 -05:00
Jay Lee
bec789d2fb
GAM 5.31
2021-01-03 12:52:01 -05:00
Ross Scroggs
0cda3fca31
More expireTime updates ( #1299 )
2020-12-31 11:38:14 -05:00
Tim Gates
ffa096d988
docs: fix simple typo, sysyem -> system ( #1300 )
...
There is a small typo in src/gam/controlflow.py.
Should read `system` rather than `sysyem`.
2020-12-27 20:33:11 -05:00
Ross Scroggs
6e1b1ed9d5
expireTime can now be updated ( #1298 )
2020-12-21 20:42:06 -05:00
Ross Scroggs
48526b815e
Update GamCommands.txt ( #1297 )
2020-12-17 07:53:03 -05:00
Ross Scroggs
8f69c4c820
Make contact delegation consistent with email delegation ( #1296 )
...
Add auth to discovery document
uid allowed in create/delete as input is converted to primaryemail
2020-12-15 15:22:23 -05:00
Jay Lee
caad9e999c
also check on contact delegation delete
2020-12-14 14:49:34 +00:00
Jay Lee
2e3195c5ee
prevent bad contact delegations
2020-12-14 14:26:22 +00:00
Ross Scroggs
1767a0889d
Handle updating individual annotated fields ( #1294 )
...
* Handle updating inv=dividual annotated fields
* Update cbcm.py
2020-12-11 10:07:37 -05:00
Ross Scroggs
3036366de5
Fix browser error messages, item name map in update browser ( #1293 )
...
* Update cbcm.py
Fix error message
$ gam update browser a27590cb-61fc-4ca3-8ef7-34bf736c4973 asset FileMakerServer
ERROR: asset is not a valid argument for "gam print browsers"
Fix item name map
$ gam update browser a27590cb-61fc-4ca3-8ef7-34bf736c4973 assetid FileMakerServer location Location notes Notes user User
ERROR: 400: Invalid JSON payload received. Unknown name "annotatedAssetid" at 'browser': Cannot find field. - invalid
* Fix more error messages
2020-12-11 09:20:03 -05:00
Jay Lee
39b9622cdb
Support for Contact Delegation API
2020-12-09 11:34:05 -05:00
Jay Lee
59a3a68357
Update gam-install.sh
2020-12-08 12:23:04 -05:00
Jay Lee
15d163abf4
Merge branch 'master' of https://github.com/jay0lee/GAM
2020-12-07 10:07:23 -05:00