Jay Lee
7689ac7bed
disable ssl verify on time sync so we know when clock is WAY off
2019-08-30 11:15:56 -04:00
Jay Lee
7a5ba99b36
Even better SA check
2019-08-30 11:02:42 -04:00
Ross Scroggs
8f4a40bc9a
Add timeoffset option to gam version ( #1002 )
...
* Add timeoffset option to gam version
* Update timeOffset checking
2019-08-29 14:32:45 -04:00
Jay Lee
29db574bc5
Merge branch 'master' of https://github.com/jay0lee/GAM
2019-08-27 10:19:48 -04:00
Jay Lee
caef16bdee
add email scope to SA, check serviceaccount verifies proper DwD and scopes for token
2019-08-27 10:18:36 -04:00
Ross Scroggs
1a0f9ab66a
handle empty recoveryPhone ( #999 )
...
* handle empty recoveryPhone
* Test empty recoveryemail/recoveryphone
* Handle autoUpdateExpiration for CrOS
2019-08-21 15:03:05 -04:00
Ross Scroggs
021c3bfb13
Handle more errors with short URL oauth create ( #998 )
2019-08-18 17:34:55 -04:00
Jay Lee
b3dfa41df6
GAM user agent on short URL
2019-08-15 18:21:54 -04:00
Jay Lee
5f94263db2
Use _createHttpObj() for short URL
2019-08-15 18:15:56 -04:00
Jay Lee
68d8e46b4c
force pip upgrades
2019-08-15 14:50:23 -04:00
Jay Lee
1170457a39
GAM 4.93, remove *MAX_RESULTS config options
2019-08-15 12:35:10 -04:00
Jay Lee
81884e48d0
Support recovery email/phone for users
2019-08-15 12:00:36 -04:00
Jay Lee
a7be6d233b
confirm API call supports maxResults before checking value
2019-08-15 10:08:03 -04:00
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
eebfaaf373
finish pyinstaller install
2019-08-12 12:48:01 -04:00
Jay Lee
652223d9bc
Pyinstaller windows 64 bit bootloader compile
2019-08-12 12:29:51 -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
Jay Lee
7e4d0da8fb
GAM 4.91
2019-08-10 15:39:14 -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
Ross Scroggs
7f4f785f0b
Lower default limit for 500 to 200 for devices ( #987 )
...
* Lower default limit for 500 to 200 for devices
* Lower limit from 200 to 100 to handle mobile devices
2019-08-05 18:16:46 -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
Jay Lee
2669079a31
don't cleanup
2019-07-27 10:01:33 -04:00
Jay Lee
cbfd93e440
Timeout optimized Python build so we can cache partial testing...
2019-07-27 09:36:01 -04:00
Jay Lee
ffd1c297e5
force configure
2019-07-26 15:51:35 -04:00
Jay Lee
1a11cb04f9
clean and optimize python build
2019-07-26 15:38:23 -04:00
Jay Lee
438fd5b59a
turn off unsafe to speed up Python for moment
2019-07-26 15:23:58 -04:00
Jay Lee
2fef5e2cfa
minimal tests so Bionic Python 3.7 can build and cache
2019-07-26 14:22:35 -04:00
Jay Lee
db8ad38fd3
try curl instead of wget
2019-07-26 13:28:24 -04:00
Jay Lee
cbb2722291
figure out what's up with Python wget
2019-07-26 13:07:27 -04:00
Jay Lee
61f4a137b0
32-bit bootloader, fix path
2019-07-26 12:34:40 -04:00
Jay Lee
dac9e91428
fix python path
2019-07-26 12:14:45 -04:00
Jay Lee
83c64f1f71
few more fixes
2019-07-26 11:53:12 -04:00
Jay Lee
443f4e707b
Use MacOS Python binary, fix Win32 Pyinstaller build
2019-07-26 11:33:00 -04:00
Jay Lee
33a4747677
rebuild w32 PyInstaller bootloader to avoid AV issues
2019-07-26 10:43:44 -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
Ross Scroggs
193e42cf22
Add new forms of create/use project ( #973 )
2019-07-16 12:50:36 -04:00