Commit Graph

260 Commits

Author SHA1 Message Date
24c0390174 Make routine to get sendas/signature attributes; allow treatasalias for gam signature 2016-08-30 11:52:27 -07:00
2b65d87bfa Help for the Python challenged 2016-08-30 07:23:52 -07:00
3bf2ecc6e3 Statement misplaced in doPrintCourseParticipants; correct documentation 2016-08-29 21:37:20 -07:00
656f87f89c Allow charset <CharSet> with gam batch, like gam csv 2016-08-29 12:46:03 -07:00
ae8949c6d6 Handle orphaned OrgUnit/Role Ids 2016-08-27 08:39:42 -07:00
c7b44ae8d9 Merge pull request #255 from taers232c/branch-3.63
Update create datatransfer
2016-08-27 15:18:48 +00:00
37726c493d Update create datatransfer
Allow drive as a synonym for Drive, avoids an API call
Update documentation
2016-08-27 05:50:59 -07:00
83af5ee757 Merge pull request #250 from taers232c/branch-3.63
Clean up gam print guardians
2016-08-27 12:37:04 +00:00
1539c37576 GAM 3.71 2016-08-25 12:16:43 -04:00
34b9029e90 Clean up print guardians
Make gam show guardians and gam print guardians
show guardians gives formatted output
print guardians gives CSV output
This is like all other print/show xxx commands.
2016-08-21 22:41:01 -07:00
7bf263fd35 Rewrite of doRequestOauth
This does not handle overwrite
2016-08-21 12:57:22 -07:00
8254b1040c Pythonic way to initialize dictionary entry 2016-08-21 12:29:10 -07:00
bbc9b8fb2b Clean up create/update user schema
Pass True/False to indicate update/create
Delete extraneous () with del, del is an operator, not a function
When looking for field to delete, don't distract user with messages
saying field name doesn't match other fields; you get a message only if
you give and invalid field name
Error messages to user on invalid arguments say create/update as
appropriate, before it always said create which might be confusing if
you just did an update
It's an error to say deletefield when creating
2016-08-21 11:46:42 -07:00
3b5b5be881 Guardian command cleanup
Upshift states list as a convenience to user; split on comma or space
as in most other lists
Tell user about invalid argument
Keep pylint happy, eliminate extra spaces
2016-08-21 10:47:57 -07:00
aa48edc0ff Improve CSV file reading 2016-08-21 09:54:27 -07:00
219509853f upgrade to oauth2client 3.0. Override some strings in GAM
to reduce custom changes to oauth2client.
2016-08-20 16:25:49 -04:00
f66aa71ec1 Schema updates no longer deletes fields. Fixes #229. 2016-08-19 15:58:56 -04:00
e1e49f8edf fixes #238
-make sure name exists in body before setting givenName or familyName.
-change if else for updateCmd to avoid a double negative
2016-08-19 12:44:27 -04:00
7a2785ba5c -Classroom Guardian API commands
-Allow pulling new activity reports w/o code changes
-GAM 3.7 baby!
2016-08-18 08:05:16 -04:00
232755590d Write all thread messages to stderr 2016-08-12 09:50:44 -07:00
ddd040e395 Make calendar showacl usable 2016-08-12 09:02:00 -07:00
a9dc255979 Update gam print courses, gam update group, gam print mobile 2016-08-01 15:35:38 -07:00
785073eb87 Fix cut/paste error 2016-08-01 08:25:07 -07:00
368a6d1217 Add drivefilename <DriveFileName> to gam get drivefile 2016-08-01 08:19:42 -07:00
13d2f9dd96 Clean up error messages; make subroutine to get file attributes; format takes list in get drivefile 2016-08-01 07:42:37 -07:00
e85e54b86a Simplify exception declarations 2016-07-30 08:29:22 -07:00
f6f15c8801 Many changes: Gmail API, CSV files, print commands 2016-07-29 17:52:42 -07:00
0dc8accb64 Tweak {RT} pattern 2016-06-30 09:31:26 -07:00
b648ddbfdf Implement Steve Main template processing suggestion. 2016-06-29 23:06:56 -07:00
cab068357a Handle UTF in formatted multiline signature 2016-06-29 08:18:03 -07:00
acb4b39953 Add format argument to gam show signature 2016-06-29 07:45:10 -07:00
7f67a3043a Add replace argument to gam signature/vacation to allow replacement in data read from file 2016-06-28 18:05:11 -07:00
159d4cf085 Add gam update group <Group> clear [member] [manager] [owner] 2016-06-27 23:19:12 -07:00
4b380be637 Improve audit date handling 2016-06-25 13:28:25 -07:00
0f84ee1e07 Trivial fix 2016-06-25 13:09:30 -07:00
c05c2ffaa2 Handle unknown UID in datatransfer commands 2016-06-22 05:52:47 -07:00
9e2e9632c2 Cleanup gam delete/update drivefileacl; admin-settings API is v2 2016-06-16 11:36:25 -07:00
e00151ef39 Minor cleanup 2016-06-14 14:15:20 -07:00
160ea6aa5b Update list of fields in gam show filelist , add field selection to gam show fileinfo 2016-06-14 14:10:23 -07:00
71f37acdf4 Minor cleanup 2016-05-27 15:52:02 -07:00
b1ce6544f5 Allow aliasdomain as a synonym for domainalias in gam delete
This makes gam delete consistent with gam create and gam info
2016-05-25 16:22:09 -07:00
9b9aea9841 Add show counts argument to show labels to get message counts 2016-05-23 16:39:00 -07:00
1145faef56 Handle both date error messages in gam report 2016-05-23 15:26:18 -07:00
e42ca916fe Add inherit to gam create org 2016-05-22 20:28:25 -07:00
24611614d6 Add domain and member arguments to gam print group-members 2016-05-21 10:57:25 -07:00
6df45551e5 Show summary override if present in showCalendars 2016-05-16 13:15:09 -07:00
7c211c664f Increment counter in updateCalendar 2016-05-16 12:36:52 -07:00
f07a2ef2be Update showDriveFiles to handle lists containing dictionaries 2016-05-14 16:34:04 -07:00
f6396d5e4a Cleanup handling sorted CSV titles 2016-05-13 08:51:55 -07:00
8cc4710874 Add gam <Users> show gplusprofile
Clean up show gmailprofile; messages to stderr, emailAddress is first
column

Miscellaneous cleanup
2016-05-12 22:33:19 -07:00