Ross Scroggs
774c084708
Update update group ( #592 )
...
* Update update group
Allow plurals of roles, otherwise bad things happen; for example, in the following members isn't taken as the role, it's taken as the list of members (file file.txt is ignored) and the group is trashed.
gam update group group@domain.com sync members file file.txt
In sync, handle googlemail.com as a synonym for gmail.com and dots in googlemail.com/gmail.com addresses. For both the incoming list of members and the current members, the addresses are normalized and then the adds/remove are determined. The actual address is used in the add/remove.
* _cleanConsumerAddress it is
2017-09-19 12:28:35 -04:00
Ross Scroggs
325a06162e
Simpler clean up subscriptions ( #590 )
...
* Simpler clean up subscriptions
* Include aliases for fields
* Keep pylint happy
2017-09-19 11:58:08 -04:00
Jay Lee
e3dbf56ef5
undo commnet out of IndexError
2017-09-18 14:26:38 -04:00
Ross Scroggs
919f54d0d2
Set universal newline mode for CSV files ( #588 )
...
This fixes issue with Mac Excel which uses \r as line separator
2017-09-18 14:25:23 -04:00
Ross Scroggs
4563441a3a
Allow user more choices when printing aliases ( #587 )
2017-09-18 14:09:36 -04:00
Ross Scroggs
323c7da201
Handle case where several user attribute items are set primary ( #586 )
...
* Handle where several user attributes items are set primary
* Throw error when multiple items are marked primary
2017-09-16 20:56:00 -04:00
Ross Scroggs
d667da4851
Allow user to request notifications when adding printer ACL ( #585 )
2017-09-16 20:05:44 -04:00
Ross Scroggs
6be6b2ebde
Handle ServerNotFoundError in callGAPI ( #584 )
2017-09-16 19:48:17 -04:00
Ross Scroggs
8f03a3aabb
Handle None return fro call GAPI ( #583 )
...
I now can't remember the situation where callGAPI returned None, but Pyton throwing a trap didn't help
2017-09-16 19:43:58 -04:00
Ross Scroggs
5f1489438c
Handle situations where version info can't be gotten/is bogus from GitHub ( #582 )
...
Terminate with message when forceCheck is true (gam version check)
Otherwise silently proceed
2017-09-16 19:38:04 -04:00
Ross Scroggs
695843d7ec
Add csvfile to usergroup_types so gam csvfile filename:heading ... works ( #581 )
...
getUsersToModify already handles csvfile, we just need to recognize keyword immediately after gam
2017-09-16 19:27:22 -04:00
Ross Scroggs
b9e4787b1c
Show file title/type in createDriveFile ( #580 )
...
Initialize variable to prevent trap when giving error message
2017-09-16 18:24:08 -04:00
Ross Scroggs
f2e0b436c6
Map true_values/false_values to True/False ( #579 )
...
API doesn't recognize all values in true_values/false_values
2017-09-16 18:11:45 -04:00
Ross Scroggs
e78dbeb056
Use moveDEvicesToOu in doUpdateOrg ( #578 )
2017-09-16 16:48:36 -04:00
Ross Scroggs
cdbf740d38
Update cancel/delete guardina invitations ( #577 )
...
In particular, handle guardian email address in delete; we have to look up invitations with the email address to get the invitation IDs
2017-09-16 16:41:25 -04:00
Ross Scroggs
bbbf7c5391
Update doUpdateCros ( #576 )
...
* Update doUpdateCros
Only use moveDevicesToOu if the only field being updated is orgUnitPath; otherwise orgUnitPath will be updated in the loop with whatever other fields are being updated
* Only show count of devices in error message
* Always user moveDevicesToOu to update CrOS OU
2017-09-16 12:49:51 -04:00
Ross Scroggs
ad535b2e3f
Correct update group ( #575 )
...
Fix typos in var.py
2017-09-16 11:51:56 -04:00
Ross Scroggs
4f30ed6537
For add/update drivefile, allow parent folder not owned by user ( #574 )
2017-09-16 11:05:22 -04:00
Jay Lee
c6567d7830
commit var.py user types (oops)
2017-09-15 22:22:03 -04:00
Ross Scroggs
a72ef287e3
Minor locations/sshPublicKeys cleanup ( #571 )
...
* Minor locations/sshPublicKeys cleanup
Make options names internally consistent and consistent with other commands.
Drop publicsshkeys, too may choices
Change title to SSH Public Keys to match Google's title
* Simplify UserAttributes
2017-09-15 22:20:52 -04:00
Jay Lee
86297a08bd
simplify user argument types
2017-09-14 11:41:21 -04:00
Jay Lee
0a81e51072
use parallel API calls instead of batch for membership
2017-09-14 10:24:29 -04:00
Jay Lee
d33eb3b455
googleapiclient 1.6.3
2017-09-13 20:50:08 -04:00
Jay Lee
c6b1a163af
throw error (that's caught) if delegated admin can't list parent OUs
2017-09-13 16:08:33 -04:00
Jay Lee
8cca8f642c
fix backup code count
2017-09-13 15:42:19 -04:00
Jay Lee
e8f49b8ecc
Add posix account attributes for users
2017-09-13 13:07:49 -04:00
Jay Lee
4f1680810b
add user public ssh key attributes
2017-09-13 12:51:37 -04:00
Jay Lee
7710578a3c
allow location clear
2017-09-13 12:35:50 -04:00
Jay Lee
02aae0d351
Support use location attributes
2017-09-13 11:39:41 -04:00
Ross Scroggs
16512f3507
Support orgUnitPath query in info cros ( #567 )
2017-09-11 14:37:53 -04:00
Ross Scroggs
91976b2a2b
Get all calendar ACLs ( #566 )
2017-09-11 13:38:42 -04:00
Ross Scroggs
fc44143587
Get course attributes in subroutine ( #565 )
2017-09-10 20:21:59 -04:00
Jay Lee
70b160373d
accept teacher or owner for course owner
2017-09-10 19:47:25 -04:00
Ross Scroggs
bafc648c9d
Update vault ( #564 )
2017-09-10 19:40:25 -04:00
Daniel
e8e9e599f8
add option to specify a time delta ( #563 )
2017-09-10 14:26:40 -04:00
Jay Lee
9051635bf5
update course owner, show course owner email
2017-09-10 14:22:14 -04:00
Jay Lee
dfb582ecc5
show count of backup codes
2017-09-10 13:50:48 -04:00
Jay Lee
6ea1d6a237
add Vault API
2017-08-14 06:20:49 -04:00
Jay Lee
a758a235dc
whatsnew.txt for 4.30
v4.30
2017-08-13 14:11:38 -04:00
Jay Lee
5c20087f19
oauth2client 4.1.2
2017-08-13 14:03:06 -04:00
Jay Lee
9b942ba05a
re-alphabetize scope list
2017-08-13 14:02:22 -04:00
Jay Lee
96b6c89da9
GAM 4.30, report oauth2client version in gam version
2017-08-13 13:43:32 -04:00
Jay Lee
3585d15353
Turn pubsub scope off by default
2017-08-13 13:34:45 -04:00
Jay Lee
d89d99da78
Experimental support for watching user Gmail (pubsub)
2017-08-13 13:32:29 -04:00
Jay Lee
8a7468ef67
Bulk move CrOS devices between OUs
2017-08-13 13:27:03 -04:00
Jay Lee
a76d4a79d1
re-add contacts API
2017-08-08 09:24:45 -04:00
Jay Lee
882e75b7a3
remove contacts.googleapis.com
...
API no longer available for some reason.
2017-08-07 19:54:06 -04:00
Ross Scroggs
222e00619e
Clean up Vault ( #542 )
...
* Clean up Vault
* Clean up print vault titles
* More cleanup
* Rework validateCollaborators
* Recode per Jay's request
* Recode per Jay's request
2017-07-28 18:57:57 -04:00
Ross Scroggs
1f7edc5bb9
Additional documentation cleanup/Add missing newline ( #541 )
...
* Additional documentation cleanup
* Add missing newline
2017-07-28 07:57:45 -04:00
Ross Scroggs
6a4712ec37
Add Vault commands ( #540 )
2017-07-27 16:32:47 -04:00