Jay Lee
584ddba1a5
Dynamic maxResults from discovery or exception
2019-08-14 16:11:14 -04:00
Jay Lee
2bc6c8bca0
200 or bust for URL shorten
2019-08-13 08:35:06 -04:00
Jay Lee
fc1e81a01d
oauthbrowser.txt, GAM 4.92
2019-08-12 14:02:59 -04:00
Jay Lee
b6bd2da6ce
Short OAuth URLs, make console flow default to reduce issues
2019-08-12 11:00:26 -04:00
Ross Scroggs
413924b11a
Generalize expression to find group settings values ( #994 )
2019-08-12 10:41:17 -04:00
Ross Scroggs
3fc2aeed4d
Fix group settings ( #990 )
...
* Fix group settings
Clean up md5MatchesFile
* Simplify doGetCustomerInfo
Avoid trap when doPrintDomains returned a domain creationTime with no fraction.
Traceback (most recent call last):
File "gam.py", line 14761, in <module>
File "gam.py", line 14159, in ProcessGAMCommand
File "gam.py", line 2053, in doGetDomainInfo
File "gam.py", line 2088, in doGetCustomerInfo
File "_strptime.py", line 577, in _strptime_datetime
File "_strptime.py", line 359, in _strptime
ValueError: time data '2019-04-23 16:14:56' does not match format '%Y-%m-%d %H:%
M:%S.%f'
lansa.co.uk,True,2019-04-23 16:14:13.041000,secondary,
lansa.com.au,True,2019-04-23 16:14:56,secondary
2019-08-10 15:37:44 -04:00
Jay Lee
62bceb30c5
GAM 4.90, update mobile adjustments
2019-08-01 11:15:10 -04:00
Jay Lee
8c736e52ac
Empty body no longer required
2019-08-01 10:58:01 -04:00
Ross Scroggs
67cd03d3f1
I suggest match_users instead of if_users ( #980 )
...
* I suggest match_users instead of if_users
* Allow if_users or match_users
2019-07-26 09:06:45 -04:00
Jay Lee
1f88c18f94
Update gam.py
2019-07-24 15:07:12 -04:00
Jay Lee
d2fc706b17
fix doit mobile update
2019-07-24 12:28:22 -04:00
Jay Lee
b5e5786813
Require doit argument to update >1 devices
2019-07-24 12:21:30 -04:00
Jay Lee
38e741c788
Update mobile devices by query
2019-07-24 11:16:54 -04:00
Jay Lee
e9a0b85682
retry notFound when changing group settings after create to handle sporadic latency issues that cause failure
2019-07-23 10:09:55 -04:00
Jay Lee
5ab3602c2a
gam download storagebucket initial work
2019-07-20 10:08:48 -04:00
Jay Lee
dd4bf7b144
10 second timeout on update check (default seems to be 2 min)
2019-07-20 10:07:34 -04:00
Ross Scroggs
922326c5ce
Code cleanup ( #975 )
2019-07-17 08:41:38 -04:00
Jay Lee
c69be414ca
Update gam.py
...
Fix one more case.
2019-07-16 17:45:03 -04:00
Ross Scroggs
10bc47402c
Cleanup ( #974 )
...
* Cleanup
parent is not valid with use project
* Cleanup
* Cleanup
* Code fix
2019-07-16 17:42:42 -04:00
Jay Lee
e0f58e5264
Allow setting project parent
2019-07-15 13:24:54 -04:00
Jay Lee
b02416b32c
Actually use GAM_CA_FILE env var
2019-07-12 15:10:20 -04:00
Jay Lee
fa52d9e89e
Merge branch 'master' of https://github.com/jay0lee/GAM
2019-07-11 09:55:41 -04:00
Jay Lee
6383aa594a
Batch Drive Deletes
2019-07-11 09:55:20 -04:00
Ross Scroggs
54eb59c27b
Convert team to shared in vault export; prepare for the future ( #971 )
...
* Convert team to shared in vault export
Restore _getValidCourseStates(croom), it is used by _getCourseStates in print courses/course-participants
* Update GamCommands.txt
* Fix typo
* Update gam.py
2019-07-10 15:35:06 -04:00
Jay Lee
b7e402dca2
confidential vault, generalize enums from discovery, query RCs
2019-07-10 09:33:21 -04:00
Jay Lee
2b23ae4e67
remove dnspython requirement, minor fixes
2019-07-02 12:21:51 -04:00
Jay Lee
c8ecc23c9c
Remove dnspython in favor of simple Google DNS JSON API
2019-07-02 11:13:31 -04:00
Ross Scroggs
94f8959879
Handle group members with no status ( #962 )
...
* Handle group members with no status
* Omit Advanced form
* Update gam.py
2019-07-01 12:02:08 -04:00
Jay Lee
2cdb8eb44d
fix message header argument, make sure we remove all headers in cases of duplicate header or non-matching case
2019-06-27 14:39:03 -04:00
Ross Scroggs
ebc1d1ecb3
Clean up sendOrDropEmail ( #961 )
...
* Clean up sendOrDropEmail
* Date allowed in all commands, only sets kwargs for import/insert
* Two updates
Allow headers in draft/import/insert/send email
Quote arguments in todrive decscription
* Make requested changes
* Don't user sendser as an alias for from as they can be different things in SMTP
* On import message, default to not checking for spam
2019-06-27 09:55:00 -04:00
Jay Lee
d9e99334d2
new options and improvements to message send/drop/draft
2019-06-25 13:24:36 -04:00
Ross Scroggs
b812fef1c3
Update draft/import/insert/sendemail ( #959 )
...
* Update draft/import/insert/sendemail
If possible, use same option names as already exist in my Gam for same commands.
Include charset with file.
* Code cleanup
2019-06-21 20:22:44 -04:00
Jay Lee
4095bf63ef
Email send/import/insert/draft
2019-06-20 16:29:46 -04:00
Jay Lee
d75321ca8a
put on the breaks :-)
2019-06-20 11:52:07 -04:00
Jay Lee
c931e1cdd7
retry on version extended also
2019-06-20 11:43:45 -04:00
Jay Lee
f0bcd7888a
don't use runCmdforUsers()
2019-06-19 15:53:48 -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
9c84ce30e8
retry on ServerNotFound DNS issues
2019-06-19 12:15:23 -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
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
2019-06-12 14:25:10 -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 )
2019-06-07 19:15:31 -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