Jay Lee
ea8cda72c7
full email on send
2019-06-19 16:46:14 -04:00
Jay Lee
f0bcd7888a
don't use runCmdforUsers()
2019-06-19 15:53:48 -04:00
Jay Lee
6a08a66221
fi
2019-06-19 15:45:58 -04:00
Jay Lee
5e58edf598
command to send (spartan) test messages
2019-06-19 15:41:01 -04:00
Jay Lee
1e79772ec1
catch/retry DNS errors if we need to refresh token on startup
2019-06-19 15:09:58 -04:00
Jay Lee
3461ce053f
cleanup print jobs
2019-06-19 12:49:50 -04:00
Jay Lee
9c84ce30e8
retry on ServerNotFound DNS issues
2019-06-19 12:15:23 -04:00
Jay Lee
93ca63e133
Merge branch 'master' of https://github.com/jay0lee/GAM
2019-06-18 14:54:49 -04:00
Jay Lee
e367c86fce
fix issue with over-escaping aue model
2019-06-18 14:54:33 -04:00
Ross Scroggs
34dc12994a
Three updates ( #956 )
...
Add notregex to GAM_CSV_ROW_FILTER to allow selection rows that don't have a particular value
Standarize formatting timestamps
Display mobile.patchSecurityLevel as a date/time
2019-06-18 14:03:19 -04:00
Jay Lee
df4de5ce4b
move CrOS AUE dates to dynamic file
2019-06-18 11:20:24 -04:00
Jay Lee
ea630480b2
create cros-aue-dates.json
2019-06-18 11:14:43 -04:00
Jay Lee
db1159cd0d
remove custom code verifier patch and force google-auth-oauthlib==0.4.0.
...
Next release may break code_verifier auto-gen based on
https://github.com/googleapis/google-auth-library-python-oauthlib/pull/48 so we lock at 0.4.0 for now.
2019-06-18 10:23:50 -04:00
Ross Scroggs
ccf1dc0585
Update calendar ACL commands ( #953 )
...
* Update calendar ACL commands
Your change was not backwards compatible; sys.argv[4] was previously ignored
* Code cleanup
2019-06-17 19:52:08 -04:00
Jay Lee
1cb96cf057
Print Calendars ACLs, delete by ACL id
v4.87
2019-06-12 14:25:10 -04:00
Jay Lee
2bc8a114c1
GAM 4.87
2019-06-12 13:46:14 -04:00
Ross Scroggs
7f183b9edc
Prevent traps when filtering CSV rows ( #951 )
2019-06-12 13:44:01 -04:00
Jay Lee
f86be17834
Merge branch 'master' of https://github.com/jay0lee/GAM
2019-06-12 13:42:48 -04:00
Jay Lee
6854e3729a
prefer id_token_jwt if present in oauth2.txt. Fixes #952
2019-06-12 13:41:16 -04:00
Ross Scroggs
5f48b1e16f
httplib2 throws RuntimeError when OpenSSL is below 1.1 ( #948 )
v4.86
2019-06-07 19:15:31 -04:00
Jay Lee
aea92be8d3
Update .travis.yml
2019-06-07 17:15:16 -04:00
Jay Lee
b4c5d6c626
merge changes
2019-06-07 16:30:51 -04:00
Jay Lee
0e2845082b
include headers on version request
2019-06-07 16:29:28 -04:00
Ross Scroggs
705a40d035
Handle unknown server in gam version extended location ( #947 )
...
Line 847 drops a training space
2019-06-07 16:11:34 -04:00
Jay Lee
f85a072708
downgrade patchelf to compile on precise
2019-06-07 15:34:01 -04:00
Jay Lee
e990387660
fix precise patchelf compile
2019-06-07 15:21:11 -04:00
Jay Lee
feb76f504c
build musl and patchelf
2019-06-07 14:21:52 -04:00
Jay Lee
6a33173a49
Use precise for legacy build
2019-06-07 13:58:16 -04:00
Jay Lee
5e8e9765fa
use
2019-06-07 12:09:20 -04:00
Jay Lee
2a6cdb9b14
fix rule
2019-06-07 11:33:52 -04:00
Jay Lee
642c0fa216
Merge branch 'master' of https://github.com/jay0lee/GAM
2019-06-07 11:28:36 -04:00
Jay Lee
9d5e79725c
generalize TLS test
2019-06-07 11:28:16 -04:00
Ross Scroggs
db301d2635
Fix case where event has no parameters ( #946 )
2019-06-07 10:08:49 -04:00
Jay Lee
d7283d17e2
AUE updates
2019-06-07 09:44:54 -04:00
Ross Scroggs
bd7b58ad43
Pylint cleanup ( #944 )
...
* Pylint cleanup
* Handle Boolean values in activity cleanup
2019-06-07 05:28:10 -04:00
Jay Lee
27c0e5f8a6
use httplib2 TLS min/max feature, standardize http obj creation
2019-06-06 16:40:23 -04:00
Jay Lee
7a439a3e07
GAM 4.86
2019-06-06 13:23:50 -04:00
Jay Lee
fff6e6717f
Merge branch 'master' of https://github.com/jay0lee/GAM
2019-06-06 12:31:21 -04:00
Jay Lee
2671764e99
cleanup report token and other activity reports
2019-06-06 12:30:40 -04:00
Ross Scroggs
4f12e2affb
Various cleanup ( #943 )
...
* Various cleanup
146, 152 - pylint
1752, 1762 - Python 3
1742, 7695/7703, 7773/7778 - Standardize getting project id from client_secrets.json
* Fix bug in update group; specifying delivery_option causes failure
2019-06-06 12:29:59 -04:00
Jay Lee
e1faab524b
OpenSSL 1.1.1c
2019-05-30 12:57:58 -04:00
Jay Lee
6c5585d059
standardize char choice strings
2019-05-30 10:12:11 -04:00
Jay Lee
dc678dd510
include punctuation in random passwords
2019-05-29 19:19:25 -04:00
Jay Lee
7b70c5a745
switch back to choice() over sample()
...
sample() decreases randomness because a char will only be chosen from
the pool once for the string. Consider:
random.sample(string.digits, 10)
you'll always get the numbers 0-9 in some random order whereas:
random.choice(string.digits) for _ in range(10)
will give you greater randomness as there are 10 choices for every char.
2019-05-29 16:58:08 -04:00
Jay Lee
2e8190ce29
Merge branch 'master' of https://github.com/jay0lee/GAM
2019-05-29 16:03:16 -04:00
Jay Lee
14b09b91df
Temporarily implement OAuth 2.0 PKCE
...
Add OAuth 2.0 PKCE support while we wait for upstream
google-auth-oauthlib to implement. See
https://tools.ietf.org/html/rfc7636 for more details.
2019-05-29 16:00:10 -04:00
Ross Scroggs
b77d7eaadc
Mr. Consistency strikes again ( #941 )
2019-05-29 14:22:55 -04:00
Jay Lee
c68e0bfbc4
Remove SA DwD enablement steps on project create
...
The step to enable domain-wide delegation for a service account is
unnecessary. Even when unchecked, the service account gets access to the
scopes that admin has granted in admin console (gam user <email> check
serviceaccount).
2019-05-28 14:02:46 -04:00
Jay Lee
8a26e99dfc
don't store scopes
2019-05-28 10:49:10 -04:00
Ross Scroggs
9e2dd11617
Handle missing credentials, e.g., two gam oauth deletes in a row ( #938 )
...
* Handle missing credentials, e.g., two gam oauth deletes in a row
* Add scopes back to oauth2.txt
If scopes are in oauth2.txt, an advanced gam user can use it unchanged. My code does preemptive error checking to detect API scope mismatches early on.
* Suppress token details unless requested
* Bring on the details
* Update scopes used to make oauth2.txt
2019-05-27 10:25:38 -04:00