Ross Scroggs
ab6f8fa7bf
Update doVacation
2015-11-22 10:57:00 -08:00
Ross Scroggs
b822608b15
Define/use file processing routines; fix show filelist allfields
...
Define and use new file handling primitives to simply code and isolate
error handling.
Error message cleanup.
Google added a new object (userPermission) to the filesResource object
which broke showDriveFiles because it has an item named 'id' which
wiped out the file id. This fix makes compound column names for all
dictionary objects except for labels.
2015-11-21 09:50:11 -08:00
Ross Scroggs
7a9bda9b1b
Guard vacation info with convertUTF8, fix typo in doGetNotifications
2015-11-19 16:46:16 -08:00
Ross Scroggs
3edfce202f
Cleanup - use named constants
...
Use named constants instead of repeated literals
Define messages at top, would make language translation easier
Clean up result handling in doDownloadActivity/ExportRequest
Handle missing Python SSL module in one place
The following two files need to be updated to 3.61
https://gam-update.appspot.com/latest-version-announcement.txt
https://gam-update.appspot.com/latest-version.txt
2015-11-16 07:13:39 -08:00
Ross Scroggs
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
Ross Scroggs
2c3f12b38c
Limit pageSize to 100 in doDriveActivity, otherwise backend errors
2015-11-14 12:09:52 -08:00
Ross Scroggs
94ee718aa9
Handle missing emails in courses.
2015-11-12 15:30:15 -08:00
Ross Scroggs
f34620aa73
Fix coding error getting environment variable GAM_AUTOBATCH
2015-11-12 12:40:46 -08:00
Ross Scroggs
a43bb56a43
Real fix to gam create resource
2015-11-11 06:35:50 -08:00
Ross Scroggs
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
Ross Scroggs
ddd8348bdd
Apply convertUTF8 to more fields
2015-11-03 10:53:31 -08:00
Ross Scroggs
a958bf8be7
Small cleanups
2015-10-29 16:02:24 -07:00
Ross Scroggs
2d643a551c
Use update instead of patch in doUpdateOrg as patch doesn't work
2015-10-28 12:26:32 -07:00
Ross Scroggs
b16d75ec43
Fix .lower where () was missing
2015-10-28 11:54:36 -07:00
Ross Scroggs
f40af555c3
Use os.environ.get, remove try/except
2015-10-28 11:45:40 -07:00
Ross Scroggs
c82672d77b
3.62 Fixes
2015-10-27 18:30:07 -07:00
Ross Scroggs
04ff83fc2d
Correct gam update org <OrgUnit> add cros /all cros
2015-10-05 07:49:10 -07:00
Ross Scroggs
d61e2751ef
Merge remote-tracking branch 'jay0lee/master'
2015-10-05 04:51:39 -07:00
Jay Lee
87b64572db
Merge pull request #124 from taers232c/master
...
Changes to atom/service.py and gdata/service.py to support Domain Shared Contacts
2015-10-05 06:46:34 -04:00
Ross Scroggs
50a33a5083
gdata/service.py change not required
2015-10-04 08:23:00 -07:00
Ross Scroggs
2dc72ab262
Merge remote-tracking branch 'origin/master'
2015-10-03 21:25:41 -07:00
Ross Scroggs
6dec0ea0f1
Changes required for Domain Shared Contacts
2015-10-03 21:25:18 -07:00
Ross Scroggs
fdc4e867c2
Merge remote-tracking branch 'jay0lee/master'
2015-10-03 07:00:56 -07:00
Ross Scroggs
525731fe33
Merge remote-tracking branch 'jay0lee/master'
2015-10-01 08:01:47 -07:00
Jay Lee
66d86b8d4d
Merge pull request #121 from taers232c/master
...
Clean up argument parsing, error messages, redundant use of .keys()
2015-10-01 05:38:16 -04:00
Ross Scroggs
2443d5d1cf
Clean up argument parsing, error message, redundant use of .keys()
2015-09-30 14:40:05 -07:00
Jay Lee
8863e7337e
Just get logo directly (reduce dependency on gdata library
2015-09-30 11:48:53 -04:00
Jay Lee
27b31ff1fb
Add fixes back for oauth2client
2015-09-30 09:57:49 -04:00
Jay Lee
58335025c4
Make cloudprint. and admin-settings JSON files part of Windows binary
2015-09-30 09:42:08 -04:00
Jay Lee
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
Jay Lee
8b19040e45
update googleapiclient, httplib2, oauth2client and passlib to latest versions
2015-09-30 09:07:28 -04:00
Jay Lee
6ba62b66b4
remove old setup files, sync gam.spec
2015-09-30 08:43:16 -04:00
Jay Lee
e1bd7d7ae9
Update README.md
2015-09-30 08:39:56 -04:00
Jay Lee
c9b2c1d8d6
Fix "gam update customer", customer field not needed.
2015-09-30 08:34:38 -04:00
Jay Lee
1ae2b960c7
update whatsnew.txt
v3.61
2015-09-30 06:50:39 -04:00
Jay Lee
0c2d4ab5cb
remove old duplicate doCreateDomain func and ver to 3.61
2015-09-30 06:46:07 -04:00
Jay Lee
b9460cbcea
Merge pull request #118 from taers232c/master
...
Fixes
2015-09-30 06:44:34 -04:00
Ross Scroggs
886a26cc5d
Fix doGetDomainInfo to properly pass logo <Filename> to doGetInstanceInfo
2015-09-29 22:54:29 -07:00
Ross Scroggs
94dcd98e8d
Fixes
...
doUpdateCustomer - starting on wrong index
appID2add - wrong variable in error message
convertUserIDtoEmail - id is Python built-in, use uid
doPrintDataTransfers - todrive argument causes infinite loop
doPrintDataTransfers - trailing space
doGetDataTransferInfo - id is Python built-in, use dtId
2015-09-29 20:36:56 -07:00
Jay Lee
c3038807b9
Domains and Data Transfer APIs added
v3.6
2015-09-29 15:52:05 -04:00
Jay Lee
7acb8a9e85
Merge pull request #103 from karlosss/patch-1
...
"updating user..." should be in stdout, not stderr
2015-08-21 19:04:33 -04:00
karlosss
2d47622a0e
"updating user..." should be in stdout, not stderr
...
The "updating user..." info is pumped into stderr instead of stdout - i fixed this.
2015-08-22 00:59:57 +02:00
Jay Lee
bbfe5d36e8
Merge pull request #99 from taers232c/master
...
cleanup for pylint
2015-08-20 11:28:50 -04:00
Ross Scroggs
0ecb732d60
Remove appdirs
2015-08-20 07:45:17 -07:00
Ross Scroggs
8b5ac30030
Implement appdirs, cleanup for pylint
2015-08-19 23:31:23 -07:00
Jay Lee
0c7bf10355
one more by Ross
v3.51
2015-07-11 20:29:48 -04:00
Jay Lee
319273eb03
large number of fixes from Ross Scroggs
2015-07-11 18:34:16 -04:00
Jay Lee
199c49ff5e
course aliases, message delete/trash, misc other
2015-07-11 15:00:50 -04:00
Jay Lee
8d967b1125
minor fixes for GAM 3.5 Windows build
2015-07-02 06:38:13 -04:00
Jay Lee
277b5ac261
huge dump for Classroom, CloudPrint and batch fixes/improvements
v3.5
2015-07-02 05:36:37 -04:00