Commit Graph

2635 Commits

Author SHA1 Message Date
e776919bfd GAM 5.33 2021-02-03 19:55:22 -05:00
84bfeffe46 handle usernames only when GC_DOMAIN not set 2021-02-03 19:42:26 -05:00
1360abbecb say whether GH requests are auth or unauth 2021-02-03 16:32:50 -05:00
2a13accfe4 Use GHCLIENT env variable if avail 2021-02-03 16:16:03 -05:00
e26dac3993 Windows support for gam-install.sh 2021-02-03 15:16:07 -05:00
1b7a43e82b avoid building cd for user commands v5.32 2021-02-03 13:32:44 -05:00
141aca9e25 Handle issue #1277 (#1312) 2021-01-28 12:10:56 -05:00
4f99eb6f07 disable contact delegation test until we regen oauth2.txt for test accounts 2021-01-19 08:22:59 -05:00
81075bb000 GAM 5.32, test contact delegation 2021-01-19 08:14:26 -05:00
33057faaab include contact delegation discovery in pyinstaller exe 2021-01-19 07:53:09 -05:00
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
ef4d3d2659 Update build.yml 2021-01-13 11:37:53 -05:00
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
ff80150216 Update build.yml 2021-01-07 12:25:23 -05:00
a8203baa50 another attempt at arm64 MacOS support 2021-01-06 09:20:10 -05:00
aa33dc83d4 Use universal2 Python on Big Sur v5.31 2021-01-03 19:10:55 -05:00
4155e2bb64 Update build.yml 2021-01-03 17:44:17 -05:00
9660cafa99 allow OpenSSL 1.1.1g since python.org Python uses 2021-01-03 13:21:19 -05:00
c55b9cfe96 new cache to force rebuilds 2021-01-03 13:16:45 -05:00
78ea96767e Update build.yml 2021-01-03 13:13:50 -05:00
d11d7a8ffc Universal2 build for Native Apple M1 CPU support 2021-01-03 13:10:12 -05:00
bec789d2fb GAM 5.31 2021-01-03 12:52:01 -05:00
0cda3fca31 More expireTime updates (#1299) 2020-12-31 11:38:14 -05:00
4f8980184f Update build.yml 2020-12-31 11:35:33 -05:00
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
6e1b1ed9d5 expireTime can now be updated (#1298) 2020-12-21 20:42:06 -05:00
48526b815e Update GamCommands.txt (#1297) 2020-12-17 07:53:03 -05:00
1ded893e7b Update build.yml 2020-12-16 20:41:35 -05:00
c61bd01c0f Update build.yml 2020-12-16 20:38:49 -05:00
f0adcc90c7 Update build.yml 2020-12-16 20:30:37 -05:00
2abb13bb4c Update build.yml 2020-12-16 15:35:30 -05:00
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
5652c52d96 Update build.yml 2020-12-14 21:55:55 -05:00
ff29cc192e Update build.yml 2020-12-14 20:54:58 -05:00
7428d0e734 Update build.yml 2020-12-14 20:51:32 -05:00
caad9e999c also check on contact delegation delete 2020-12-14 14:49:34 +00:00
24cb225381 remove arm attempt for now 2020-12-14 14:29:46 +00:00
2e3195c5ee prevent bad contact delegations 2020-12-14 14:26:22 +00:00
bfa039a612 Update build.yml 2020-12-12 17:24:15 -05:00
49f8988912 Update build.yml 2020-12-12 17:22:53 -05:00
7e214dbe3b Update build.yml 2020-12-12 17:19:21 -05:00
42ad12d8d8 Update build.yml 2020-12-12 17:16:39 -05:00
842e6ef788 Update build.yml 2020-12-12 17:15:27 -05:00
56b87039c2 Update build.yml
attempt to build on aarch64 and armv6
2020-12-12 17:14:25 -05:00
1767a0889d Handle updating individual annotated fields (#1294)
* Handle updating inv=dividual annotated fields

* Update cbcm.py
2020-12-11 10:07:37 -05:00
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
a8f1031e0f Update README.md 2020-12-09 13:45:47 -05:00
054107c3b9 Update README.md 2020-12-09 13:45:32 -05:00
c478b22ab9 Update README.md 2020-12-09 13:45:17 -05:00
2f712499ea Update README.md 2020-12-09 13:44:43 -05:00