Ross Scroggs
b54a3959d9
Travis cleanup ( #1128 )
...
* Travis cleanup
* Travis window cleanup, make consistent
2020-03-26 05:58:08 -04:00
Jay Lee
ee92a56ba9
Go back to compiling OpenSSL/Python on Mac
2020-03-25 11:16:01 -04:00
Jay Lee
65bbe9ffe4
fix win32 openssl filenames
2020-03-25 09:16:16 -04:00
Jay Lee
d144ce3135
set a minimum version for python/openssl
2020-03-25 09:14:06 -04:00
Jay Lee
a54a29a3ac
Upgrade OpenSSL on Mac/Win
2020-03-25 08:12:07 -04:00
Jay Lee
8a18df0e7f
merge PRs
2020-03-25 06:54:32 -04:00
Jay Lee
0d0e867ef6
Make 429 a default retry reason
2020-03-25 06:52:03 -04:00
Ross Scroggs
15a16135e3
Changed code to shorten the public key lifetime in gam create|user project to stay within a Google limit. ( #1127 )
2020-03-25 06:32:11 -04:00
ejochman
4444974a9e
Centralize OAuth2.0 Credential logic ( #1126 )
...
* Centralize OAuth2.0 Credential logic
Adds a Credentials class that centralizes and handles most existing
logic related to OAuth2.0 credentials, including generation, storage,
file locking, and attribute retrieval. This is a step towards
minimizing the duplicated code that handles credentials in various
methods. The goal is to eventually get to a point where there are 2
credential entry points: `auth.get_admin_credentials()` and
`auth.get_credentials_for_user(user)`. Then, we can slowly move toward
using impersonated credentials for all operations and scrap the need
for user consented credentials all together.
* Skip test_delete_removes_lock_file when testing on Windows
2020-03-25 06:31:47 -04:00
Ross Scroggs
1a32f2a6f8
Handle optional notprimary/primary for <UserAttribute> im and website ( #1125 )
2020-03-22 16:35:10 -04:00
Ross Scroggs
ff43f8474e
Google changed project creation ( #1124 )
...
* Google changed project creation
* Work around travis issue
2020-03-22 14:06:46 -04:00
Ross Scroggs
7577e4385c
Another non-user calendar ( #1123 )
...
* Another non-user calendar
* Simplify identifying non-user calendars
2020-03-21 16:33:46 -04:00
ejochman
0feee6e007
Avoid requests to impersonate a resource calendar ( #1122 )
...
* Avoid requests to impersonate a resource calendar
Fixes jay0lee/GAM#1120
* Also avoid impersonating Group calendars
2020-03-20 13:19:48 -04:00
Ross Scroggs
d78d68b4da
Fix 100MB file uploads ( #1117 )
...
See: https://github.com/googleapis/google-api-python-client/issues/803
2020-03-13 14:24:25 -04:00
Ross Scroggs
e7eea5b9d2
Fix code to account for Google API change that prevented clearing a user's recovery phone. ( #1116 )
...
Before you had to pass None and the value, now you pass an empty string just like recovery email
2020-03-13 08:24:22 -04:00
Jay Lee
0256a3f267
fix vault storage usage
2020-03-13 07:38:55 -04:00
Jay Lee
a13fef6237
Merge branch 'master' of https://github.com/jay0lee/GAM
2020-03-13 07:37:55 -04:00
Jay Lee
357c295fec
retry false daily limit errors on org create
2020-03-13 07:37:51 -04:00
Ross Scroggs
a7a7bc3ebe
Cleanup ( #1115 )
2020-03-13 07:36:22 -04:00
Jay Lee
5d02d73737
break out reports, customer and cros
2020-03-10 21:47:22 -04:00
Jay Lee
4213b4739e
fixes for resources.py
2020-03-09 20:41:08 -04:00
Jay Lee
b41a6b1d60
resources, buildings and features to resource.py
2020-03-09 20:15:19 -04:00
Jay Lee
587fbadd7c
fix count
2020-03-09 11:04:55 -04:00
Jay Lee
9e2e0d9bb8
pep8 cleanup of gapi/calendar.py
2020-03-09 10:53:42 -04:00
Jay Lee
24282e4289
fix reports
2020-03-09 07:57:23 -04:00
Jay Lee
8659df3c4c
storage API, vault fixes
2020-03-09 06:55:46 -04:00
Jay Lee
9913014c4c
fix missing close quote
2020-03-09 06:17:10 -04:00
Jay Lee
04daf6f0bb
PEP-8 cleanup for gapi/vault.py
2020-03-09 06:09:30 -04:00
Jay Lee
a9917432d4
More fixes
2020-03-09 04:49:44 -04:00
Jay Lee
c23cfd121e
move util vars to var.py
2020-03-08 22:08:22 -04:00
Jay Lee
11efa4fc9e
Move Vault API commands to gapi/vault.py
2020-03-08 21:59:00 -04:00
Jay Lee
1d0c463e3b
need uuid
2020-03-08 17:38:32 -04:00
Jay Lee
87f9d8f8c3
spread a few more __main__s around
2020-03-08 17:32:15 -04:00
Jay Lee
3904177d16
more fixes
2020-03-08 17:22:33 -04:00
Jay Lee
9910bb5dc7
more cleanups
2020-03-08 17:08:25 -04:00
Jay Lee
e1d76a93c9
Move Calendar API commands to gapi/calendar.py
...
The primary challenge here is building the gapi object. For now I've
solved that with a "import __main__" but that's hacky and not the hope
for long term.
2020-03-08 16:50:26 -04:00
Jay Lee
6a5807e94b
fix quoting
2020-03-08 13:29:19 -04:00
Jay Lee
6e9cbdd898
Merge branch 'master' of https://github.com/jay0lee/GAM
2020-03-08 13:27:42 -04:00
Jay Lee
ed5f743422
use patch for event dates if possible
2020-03-08 13:27:27 -04:00
Jay Lee
e3abe13def
Update osx-x86_64-before-install.sh
2020-03-08 13:10:30 -04:00
Jay Lee
e8325c13de
fix group var
2020-03-07 20:29:42 -05:00
Jay Lee
ff55b452eb
gam calendar ... infoevent command, few tests
2020-03-07 20:21:49 -05:00
Jay Lee
62a0a064aa
allow updating various event attributes
2020-03-07 19:15:40 -05:00
Jay Lee
8d5c8f33f2
gam calendar <calendar> updateevent command
2020-03-07 16:54:55 -05:00
Ross Scroggs
c1e7af620f
Add parameter to enable adding Hangouts/Meet link toevent ( #1111 )
2020-03-06 06:09:17 -05:00
Jay Lee
9e0641d8e1
fix retry_reasons invocations
2020-03-05 13:25:34 -05:00
Jay Lee
b5d07cf5dc
fix force variable name
2020-03-05 11:58:29 -05:00
Jay Lee
e8d333a46b
Merge branch 'master' of https://github.com/jay0lee/GAM
2020-03-05 10:08:25 -05:00
Jay Lee
85f8a012c7
move force file flush into fileutils.close_file
2020-03-05 10:08:04 -05:00
Jay Lee
aeaa421de6
Create stale.yml
2020-03-05 07:57:40 -05:00