Commit Graph

527 Commits

Author SHA1 Message Date
21c2ecfd1d Make code in orgUnitPathQuery more readable (#512) 2017-06-21 14:20:44 -04:00
720bd46683 Filter Chrome devices by OU 2017-06-19 15:00:11 -04:00
96d52f47d1 Catch and report if no usage reports avail (new domain). 2017-05-29 11:55:07 -04:00
4998c30d20 Update create/update group, use update semantics (#501) 2017-05-22 19:43:58 -04:00
20e84b9c9a On create group, use Group Settings to set description with new lines (#500) 2017-05-20 17:33:57 -04:00
1a96622366 Update calendar to allow access to user's secondary calendars (#499)
* Update calendar to allow access to user's secondary calendars

* Code cleanup

* Code cleanup

* Code cleanup
2017-05-20 15:34:25 -04:00
d5af189125 Report Basic/Business/Enterprise user and license counts in gam info domain
Note that there is currently an error on Google's side where license count
sometimes incorrectly reports user count instead of total licenses shown
in the admin console, Google is aware of the issue and should be fixing at
some point.
2017-05-20 12:47:13 -04:00
5ebaf8264a Alphabetize scopes for easier reading (#498) 2017-05-20 12:33:02 -04:00
40bfde9697 Fix indentation in doCreateProject; fix typo in gam-install.sh (#496) 2017-05-15 14:14:22 -04:00
a52805b35e Fix Cloud Org ACLs when possible 2017-05-13 15:23:53 -04:00
0312258db7 Check if token exists before delete so GAM output is accurate 2017-05-08 12:46:24 -04:00
2ddd9e2477 Fix gam csv/Unicode issues on Windows (#492) 2017-04-26 16:10:57 -04:00
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