Jay Lee
dc626b1b3e
always use httplib2 so we are consistent with TLS verify, debug output, etc
2017-01-25 08:53:33 -05:00
Ross Scroggs
7283e06750
Allow newlines in calendar event descriptions. ( #398 )
2017-01-24 15:36:12 -05:00
Ross Scroggs
c76368509e
rint start_time and end_time as dates in gam reports; handle bad data from Google ( #397 )
2017-01-24 14:51:43 -05:00
Jay Lee
b54eb97f6b
Use profile instead of email scope since it's 1 less scope ultimately
2017-01-24 14:50:26 -05:00
Jay Lee
2d997fb046
silence noisy oauth2client helpers
2017-01-24 14:49:37 -05:00
Jay Lee
e2cf769b20
short URLs fix back
2017-01-24 14:48:44 -05:00
Jay Lee
281786b3b9
prettify oauth2.txt
2017-01-24 14:04:56 -05:00
Jay Lee
b06b8608d0
googleapiclient 1.6.1
2017-01-24 14:03:03 -05:00
Jay Lee
22dc39eb85
Merge branch 'master' of https://github.com/jay0lee/GAM
2017-01-24 14:00:32 -05:00
Jay Lee
4a894958f0
oauth2client 4.0
2017-01-24 14:00:07 -05:00
Ross Scroggs
38273a786a
Supply missing imports in utils.py ( #396 )
2017-01-24 13:47:56 -05:00
Jay Lee
6ba0a5d942
4.1 whatsnew.txt
2017-01-24 13:20:05 -05:00
Jay Lee
2ad731f4e0
GAM 4.1
2017-01-24 13:15:16 -05:00
Jay Lee
a491fb5471
Update ToS page for projects
2017-01-24 13:14:45 -05:00
Jay Lee
33cfb940b4
remove accidental break
2017-01-24 12:17:52 -05:00
Jay Lee
46b79334e4
pull APIs from GitHub master, import urllib2 once
2017-01-24 12:15:11 -05:00
Jay Lee
a7e841bcba
put APIs to enable for project in own file to pull live
2017-01-24 12:00:17 -05:00
Jay Lee
f2400b35b0
Update API list for create project
2017-01-16 15:29:25 -05:00
Ross Scroggs
31058336ce
Fix typo, clean up imports ( #381 )
...
* Fix typo, utils.py needs a few globals
* Clean up imports
2017-01-04 20:23:53 -05:00
Ross Scroggs
ac2cbef7f8
Fix gam transfer drive to properly handle orphaned files ( #380 )
2017-01-04 19:19:49 -05:00
Ross Scroggs
d7187ff998
When default SKU/Product list is used, sort it so output is cleaner ( #379 )
2017-01-04 17:57:23 -05:00
Ross Scroggs
2cc79f44ea
Update licenses ( #376 )
...
* Update documentation for new license aliases
Add government as in PR #362
* Allow full SKU to be specified
2016-12-31 11:50:39 -05:00
Ross Scroggs
054addfa9b
Fix typo in documentation ( #375 )
2016-12-31 10:42:43 -05:00
Jay Lee
6b7cf875de
utils.py for simple util functions
2016-12-29 16:32:22 -05:00
Jay Lee
581e31499b
move more vars to var.py
2016-12-29 15:44:33 -05:00
Jay Lee
a5883a8429
consolidate license info
2016-12-29 14:31:54 -05:00
Jay Lee
95c2d91a5b
pull variables into their own file
2016-12-29 13:55:14 -05:00
Ross Scroggs
9f487d57fb
Get just the field we need in info user licenses ( #374 )
2016-12-27 18:28:21 -05:00
Ross Scroggs
e0d278e7ea
Added count and allfields arguments to gam print groups ( #373 )
2016-12-27 15:30:09 -05:00
Ross Scroggs
36725c3574
Fix typo, update documentation ( #372 )
2016-12-27 12:44:50 -05:00
Ross Scroggs
8c911215b1
Site Verification API should be included in project APIs ( #371 )
2016-12-27 12:37:35 -05:00
Ross Scroggs
2b57a976c2
Clean up new batch licensing ( #370 )
2016-12-27 11:49:37 -05:00
Ross Scroggs
4817ce282a
Handle suspended users with calendar commands; improve show calsettings output ( #369 )
2016-12-27 11:34:45 -05:00
Ross Scroggs
2da6666587
Add directmemberscount to list of group field names ( #368 )
2016-12-27 11:00:52 -05:00
Jay Lee
07f1bc050a
Improve user info response with license batching
2016-12-27 10:57:18 -05:00
Ross Scroggs
9135e15b12
Fix error handling for nonexistent users in data transfers ( #367 )
2016-12-27 10:31:26 -05:00
Ross Scroggs
5c32a86257
Use patch instead of update in doUpdateCustomer, update is broken ( #366 )
2016-12-27 10:08:31 -05:00
Ross Scroggs
d5bcac4d14
Fix run-batch to handle 0 items ( #363 )
2016-12-21 15:04:30 -05:00
Ross Scroggs
73bcadbbfe
Handle Google-Apps-For-Government ( #362 )
2016-12-21 14:05:59 -05:00
Jay Lee
f9ab78e393
update some strings to G Suite
2016-11-20 14:18:28 -05:00
Ross Scroggs
dbd09daa33
Fix Windows multiprocessing ( #346 )
...
* Fix Windows multiprocessing
* Clean up Windows initial setup
2016-11-19 13:23:33 -05:00
Ross Scroggs
25ace13a3d
Handle additional run_batch calls ( #344 )
2016-11-19 07:16:23 -05:00
Ross Scroggs
8fc6112e32
Handle folder alternateLink ( #343 )
2016-11-18 19:36:54 -05:00
Ross Scroggs
ac2eb99d63
Handle Google mis-reporting invalid group in gam print groups settings ( #342 )
2016-11-18 18:32:55 -05:00
Ross Scroggs
43707d8074
Create missing label with gam add filter ( #340 )
...
Restores behavior present with Email Settings API
2016-11-18 17:33:43 -05:00
Jay Lee
b0b3c18e99
use multiprocessing instead of threading to take advantage of multi CPU systems
2016-11-18 15:45:57 -05:00
Jay Lee
349f2801c5
Improve batch performance
...
* Use a single GAM / Python process for all threads (needs testing, will sys.exit in a function cause issues?)
- Huge reduction in useless time spent starting Python per-thread.
* Bump default from 5 threads to 25.
* Introduce default_to_batch for some user commands where it makes sense.
- most show/print commands will default to batch off.
- most do / update commands will default to on.
2016-11-18 10:19:19 -05:00
Ross Scroggs
658e7beb2b
Standardize handling oauth2.txt ( #337 )
2016-11-17 11:57:10 -05:00
Ross Scroggs
e777eb6c99
Handle Google reporting invalid when getting group settings ( #335 )
2016-11-16 12:45:04 -05:00
Ross Scroggs
8a6ce43ad3
Do not get settings for special groups abuse and postmaster ( #334 )
...
* In gam print groups settings, get gs service outside of loop
* Do not get settings for special groups abuse and postmaster
* Do not set settings for special groups abuse and postmaster
2016-11-15 22:36:59 -05:00