Commit Graph

784 Commits

Author SHA1 Message Date
6ebc0f4e81 Moar v3, Moar Team Drive 2017-03-19 14:05:46 -04:00
bf39798263 Update Drive ACLs to v3 2017-03-18 21:07:51 -04:00
92521acfa3 More v3 work 2017-03-18 20:36:45 -04:00
f8d43a19c1 User counts for gam info domain 2017-03-18 13:32:48 -04:00
842ddc2a26 httplib 0.10.3, api-client 1.6.2 2017-03-18 12:17:19 -04:00
bafed078e5 Fix report name for todrive 2017-03-17 22:07:41 -04:00
8999fb84de Switch report uploads to use SA, remove Drive scope 2017-03-17 20:05:06 -04:00
3b162924c5 back to email scope, use SA for all Gmail API calls 2017-03-17 19:26:16 -04:00
242c61205d Switch Calendar to use SA only 2017-03-17 12:57:31 -04:00
139727dd33 Use service accounts for Calendar ACLs 2017-03-17 12:39:17 -04:00
a52341e29e Improve API caching options, cache errors (#446)
* Improve API caching options, cache errors

* Clarify argument names

* All or nothing caching

I changed the argument names and implemented your proposal:
	nocache.txt: ignored
	allcache.txt present: all caching
        default: no caching
2017-03-16 11:23:42 -04:00
c2358f60fb More Team Drive Work 2017-03-16 06:23:12 -04:00
c8ea108be3 Use https://git.io/gam 2017-03-15 19:40:17 -04:00
8fdd0abc53 scopes for drive3 2017-03-15 16:46:52 -04:00
f396b2f476 Create Team Drives, show permissions and info 2017-03-15 16:07:40 -04:00
6e9413eada drive3 API for Drive v3 API 2017-03-15 15:04:46 -04:00
30a5467b82 Optimize License handling (#440)
* Handle batch file errors, clean up commit-batch messages

* Optimize License handling
2017-03-15 14:57:56 -04:00
3ffa3ca5e5 If we can't get a safe filename, name the file after it's ID 2017-02-21 15:03:45 -05:00
f0351b8bec Handle batch file errors, clean up commit-batch messages (#439) 2017-02-21 13:57:55 -05:00
d8093fa1f0 Merge branch 'master' of https://github.com/jay0lee/GAM v4.12 2017-02-19 15:54:50 -05:00
2080f33fdb What's new in 4.12 2017-02-19 15:54:27 -05:00
6a2925c546 pool.join required to wait for processes to finish (#436) 2017-02-19 10:53:42 -05:00
26960c96d9 Improve batch to handle CTRL+C and print status 2017-02-19 08:49:31 -05:00
58a080fe6b 4.12, delete message fix 2017-02-18 17:20:49 -05:00
3c3b7527a1 Clean up SKU handling (#432) 2017-02-18 16:57:42 -05:00
0d7028416a Reduce key size 2017-02-13 10:26:25 -05:00
aa6dca4b4c Keep the pylint wolf at bay (#430)
* Fix bug, update ducumantation

* Clean up error messages

* Exit on error, fix bug

* One more bug fix

* Update documentation, fix code

l_sku can never match a_sku.lower() because it has -'s stripped and
a_sku doesn't

* Keep the pylint wolf at bay

* Clean up code, avoid try/except
2017-02-11 08:31:34 -05:00
3d7a7bd609 Update documentation, fix code (#429)
l_sku can never match a_sku.lower() because it has -'s stripped and
a_sku doesn't
2017-02-10 22:00:32 -05:00
35854af1e9 Improve handling and display of licenses
- displayName added so what admin sees better matches admin console
 - better aliases for each skuId
 - admin can specify exact productId they wanted (would have solved renaming of Enterprise SKU issue)
2017-02-09 09:35:54 -05:00
4450652c32 Google Changed SKU for Enterprise license :-( 2017-02-08 14:44:02 -05:00
d34e09f8d5 One more bug fix (#426)
* Fix bug, update ducumantation

* Clean up error messages

* Exit on error, fix bug

* One more bug fix
2017-02-07 12:33:25 -05:00
610ba5bf6a Exit on error, fix bug (#425)
* Fix bug, update ducumantation

* Clean up error messages

* Exit on error, fix bug
2017-02-07 11:53:59 -05:00
65debc6a27 Clean up error messages (#424)
* Fix bug, update ducumantation

* Clean up error messages
2017-02-07 11:18:31 -05:00
61868d5fde Fix bug, update ducumantation (#423) 2017-02-07 11:01:59 -05:00
998f4c6dff Make reseller commands consistent (#422) 2017-02-07 10:44:26 -05:00
a2a8393775 Fix bugs (#421) 2017-02-07 09:43:51 -05:00
d9ec9d3af9 Merge branch 'master' of https://github.com/jay0lee/GAM 2017-02-04 14:59:07 -05:00
7104b24633 more work on Reseller API 2017-02-04 14:57:42 -05:00
9cd81c9148 Use different index for inner loop (#419) 2017-02-03 19:42:59 -05:00
56a60d1651 Fix add/update/delete smime when sendas argument not specified (#418)
* Simplify by using existing function

* add/update smime using 1st users email address when sendas not specified

* Fix error messages, update documentation

* Delete smile needs same fix

* Delete/update have same problem with smimeId

* Clean up names

* Missed one
2017-02-03 18:27:55 -05:00
1cdf02bc31 Simplify by using existing function (#417) 2017-02-03 15:50:34 -05:00
5b469496d6 Initial S/MIME support (requires Enterprise SKU) 2017-02-03 13:29:36 -05:00
2a1d3a1ce1 Default encoding has to be set on multiprocess instances of gam (#416)
* Default encoding has to be set on multiprocess instances of gam

* Update documentation
2017-02-03 13:02:31 -05:00
9b89492d83 We can now query 2SV status in the print users command (#415) 2017-02-03 11:35:52 -05:00
45b1eee8f3 early support to get info user info about 2-step verification enrollment (#414) 2017-02-03 11:08:45 -05:00
e9dda2079a Add reseller API to projects to enable 2017-02-01 10:27:13 -05:00
c279acbab8 Enhance print courses/course-participants (#413) 2017-02-01 09:09:02 -05:00
082cd9b087 First commit of Reseller API support 2017-01-31 16:06:32 -05:00
7d2e5d674a Handle user error in update labels (#412)
* Get only required fields when processing messages

* Handle customer id in group add/delete/sync/clear

I always wondered what this was: if user_email != u'*'

* Allow * to mean all users in group operations

* Make pylon happy, handle user error in update labels
2017-01-31 15:48:47 -05:00
b2d95c545d Handle customer id in group add/delete/sync/clear
 (#411)
* Get only required fields when processing messages

* Handle customer id in group add/delete/sync/clear

I always wondered what this was: if user_email != u'*'

* Allow * to mean all users in group operations
2017-01-31 14:52:21 -05:00