Commit Graph

118 Commits

Author SHA1 Message Date
e3ae862732 Cleanup - consolidate redundant code, no functional change
Define GAM_URL, GAM_INFO, GAM_RELEASES strings once, use in multiple
places
Simplify getAPIVer, getAPIScope - use dictionaries
Define getServiceFromDiscoveryDocument to replace redundant code
Move tryOAuth/doRequestOAuth calls to commonAppsObjInit
Use dictionaries in appID2app/app2appID
2015-11-15 10:30:46 -08:00
2c3f12b38c Limit pageSize to 100 in doDriveActivity, otherwise backend errors 2015-11-14 12:09:52 -08:00
94ee718aa9 Handle missing emails in courses. 2015-11-12 15:30:15 -08:00
f34620aa73 Fix coding error getting environment variable GAM_AUTOBATCH 2015-11-12 12:40:46 -08:00
a43bb56a43 Real fix to gam create resource 2015-11-11 06:35:50 -08:00
a4ed95b81b Clean up gam create resource/print resources
Add type as a synonym of restype to create to make consistent with
update
Add type to print so that resource type is visible
2015-11-11 06:08:55 -08:00
ddd8348bdd Apply convertUTF8 to more fields 2015-11-03 10:53:31 -08:00
a958bf8be7 Small cleanups 2015-10-29 16:02:24 -07:00
2d643a551c Use update instead of patch in doUpdateOrg as patch doesn't work 2015-10-28 12:26:32 -07:00
b16d75ec43 Fix .lower where () was missing 2015-10-28 11:54:36 -07:00
f40af555c3 Use os.environ.get, remove try/except 2015-10-28 11:45:40 -07:00
c82672d77b 3.62 Fixes 2015-10-27 18:30:07 -07:00
04ff83fc2d Correct gam update org <OrgUnit> add cros /all cros 2015-10-05 07:49:10 -07:00
2443d5d1cf Clean up argument parsing, error message, redundant use of .keys() 2015-09-30 14:40:05 -07:00
8863e7337e Just get logo directly (reduce dependency on gdata library 2015-09-30 11:48:53 -04:00
27b31ff1fb Add fixes back for oauth2client 2015-09-30 09:57:49 -04:00
58335025c4 Make cloudprint. and admin-settings JSON files part of Windows binary 2015-09-30 09:42:08 -04:00
c1225178d6 move nearly everything into /src to make git.io/gam cleaner w/o a readme tree 2015-09-30 09:14:32 -04:00