be44d2c601
Implement _getValueFromOauth ( #491 )
2017-04-26 13:34:52 -04:00
3f42eb86d2
Fix typo ( #482 )
2017-04-17 18:54:14 -04:00
b003e5065a
Merge branch 'master' of https://github.com/jay0lee/GAM
2017-04-17 10:42:19 -04:00
cc25c40406
strip whitespace from beginning and end of client id/secret
2017-04-17 10:42:11 -04:00
8e3c632a7c
Handle new OAuth2 Token error, ignore periods in messages ( #481 )
...
* Handle new OAuth2 Token error, ignore periods in messages
* Fix typo
2017-04-17 10:35:03 -04:00
ab94208bb5
Use update instead of patch for update user ( #480 )
...
This is required in order for update user
phones/orgamizations/addresses/... clear to work
2017-04-16 15:14:17 -04:00
3ceef052a3
Optimize print job downloads ( #476 )
2017-04-16 13:11:36 -04:00
d5b5251587
error out instead of creating new projects with unused file names.
2017-04-16 13:10:35 -04:00
0ae73fa6b3
Implement checks for valid client id and secret
2017-04-07 21:37:43 -04:00
38b6fd213f
Add countsonly option to gam print courses to get student/teacher counts without full profiles ( #473 )
...
* Add countsonly option to gam print courses
* When countsonly is true, only get ids, not full profile
* Update documentation
2017-04-03 15:21:00 -04:00
39193ae92f
Add debugging to print printjobs, add additional termination check ( #472 )
2017-04-03 13:31:58 -04:00
7312c8f396
Standardize info cros/print cros/print crosactivity ( #470 )
2017-04-01 12:05:15 -04:00
831272a137
Revert "Standardize info cros/print cros/print crosactivity ( #468 )" ( #469 )
...
This reverts commit d50231b888
.
2017-04-01 10:30:29 -04:00
d50231b888
Standardize info cros/print cros/print crosactivity ( #468 )
...
* Standardize info cros/print cros/print crosactivity
* Move _filterTimeRanges before 1st function that uses it.
2017-04-01 10:25:20 -04:00
6160bb0953
Fix calendar add ACL ( #465 )
2017-03-31 13:27:49 -04:00
1e013e6cd7
Fix add smime, isDefault can not be set on insert ( #458 )
...
* Update print drive settings to reflect change to Drive v3
* removeExpiration not passed to API
* Update documentation
* organizer is valid role on update drivefileacl
* Fix add smime, isDefault can not be set on insert
2017-03-31 13:02:34 -04:00
96955d9305
Merge branch 'master' of https://github.com/jay0lee/GAM
2017-03-27 11:39:49 -04:00
fdfa38a209
gam print crosactivity
2017-03-27 11:39:26 -04:00
daa4b57af1
Drive v3 related changes ( #456 )
...
* Update print drive settings to reflect change to Drive v3
* removeExpiration not passed to API
* Update documentation
* organizer is valid role on update drivefileacl
2017-03-24 15:25:24 -04:00
81c2e425ef
Clean up ( #453 )
...
* Fix create project to handle Google change
* Handle newlines in app name
Don’t output name/value for
name == u'accounts:authorized_apps’, apps are listed later
* Cleanup
My typos: 614, 813
Pylint: 887, 3618/4184, 8657, 8751
Your typo: 6794
2017-03-22 20:39:44 -04:00
4ed8497bd7
Minor fixes to showReport ( #452 )
...
* Fix create project to handle Google change
* Handle newlines in app name
Don’t output name/value for
name == u'accounts:authorized_apps’, apps are listed later
2017-03-22 15:45:20 -04:00
738280bbe5
Fix create project to handle Google change ( #451 )
2017-03-22 14:33:27 -04:00
ad9384aeac
Soft errors on team drive functions
2017-03-22 13:59:38 -04:00
67f5416858
Team Drive CSV and screen output
2017-03-22 13:34:28 -04:00
51567ff5c4
fix report users, include msgValue items in report customer
2017-03-22 12:52:10 -04:00
6f6a94c9b0
Handle bad data from Google in gam report customer ( #450 )
2017-03-22 11:12:22 -04:00
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
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
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
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