fefe9de384
further improvements to scope check.
2016-11-02 10:20:27 -04:00
6961a0e1b3
more details on check serviceaccount
2016-11-01 22:32:33 -04:00
3fa6cde6b0
another change to improve missing scope errors
2016-11-01 22:23:34 -04:00
4129e05f5e
check serviceaccount command, better error on missing service scopes
2016-11-01 22:13:45 -04:00
17b2c4091d
login_hint, not hint
2016-10-31 12:23:45 -04:00
925f4532bc
IndexError, not KeyError
2016-10-31 12:20:04 -04:00
786bbe5609
handle ToS not accepted yet for project create
2016-10-31 12:17:43 -04:00
df603937ee
fix service account url display
2016-10-29 14:56:33 -04:00
315a1db144
Merge branch 'master' of https://github.com/jay0lee/GAM
2016-10-29 14:09:42 -04:00
968c096a99
"gam create project" rough draft. Needs a lot of work but first steps towards solving #309
2016-10-29 14:09:08 -04:00
2ee5109424
remove email-audit API mapping
2016-10-28 12:05:44 -04:00
0dbd460b71
GAM 3.8
2016-10-28 09:47:08 -04:00
5c27695613
Handle newlines in CrOS notes field; fix print tokens to show clientId ( #308 )
...
* Handle newlines in CrOS notes field
* Fix gam print tokens to show clientId
* Generalize print.show tokens
2016-10-27 13:08:49 -04:00
60a97b3e26
Make show filelist/filetree consistent ( #304 )
...
show filetree shows all files
show filelist shows owned files
This change makes them both show owned files by default. The anyowner
argument makes either command show all files
2016-10-24 17:33:26 -04:00
fb41698e5f
Improve user custom schema field handling ( #303 )
...
Allow entire schemas or schema fields to be cleared on update
Allow specification of multivalued schema field type on update
2016-10-24 16:39:40 -04:00
9397c1c07c
Update methods to cancel guardian invitations ( #302 )
...
* Update methods to cancel guardian invitations
Add command to delete guardian invitation by invitationId
Update delete guardian to allow deleting invitation only
* Normalize invited email address in print guardians
2016-10-24 15:05:01 -04:00
071231310c
Add orderby argument to show filetree/filelist ( #300 )
...
* Add orderby to show filetree/filelist
* Add orderby argument to show filetree/filelist
2016-10-24 06:40:25 -04:00
1c92ad3d6d
Clean up, small fixes ( #299 )
...
* Clean up, small fixes
* Update as per Jay's suggestions
* Add Jays'changes
# Conflicts:
# src/gam.py
2016-10-23 20:33:10 -04:00
facd10d882
Get GitHub raw body_text instead of Markdown
2016-10-23 15:50:09 -04:00
f291e9c4d3
deprecate appspot in favor of GitHub
2016-10-22 16:52:47 -04:00
ed48e5ecd9
Version ( #297 )
...
* Use string version rather than float; add check to gam version
This lets you have 3.72.0 or 3.72a; current scheme continues to work as
well.
Handle bad data in lastupdatecheck.txt
$ gam version check
GAM 3.72 - http://git.io/gam
Jay Lee <jay0lee@gmail.com >
Python 2.7.12 64-bit final
google-api-python-client 1.5.2
Darwin-15.6.0-x86_64-i386-64bit x86_64
Path: /Users/admin/Documents/GoogleApps/GAM
Version: Check, Current: 3.72, Latest: 3.71
$
Note that latest version at appspot is behind
* Don't allow check argument from showUsage
2016-10-22 11:52:00 -04:00
34e55a492e
Clan up App ID handling ( #296 )
...
Drop Google+ in name to id direction, transfers no longer supported
Keep Google+ in id to name direction for printing old transfers
Show real app name to user
Don't bail on unknown app ID from Google, keep going by using
'applicationId: ####' as name
2016-10-21 18:06:53 -04:00
abf3d8fa1c
Make set/show signature consistent. ( #292 )
...
* gam user foo signature should set signature on primary address for backwards compatability
gam user foo show signature already does this
* Simply signature/show signature, don't loop to get primary
2016-10-19 22:24:20 -04:00
6143d00476
Align commands, delete debug prints ( #291 )
2016-10-16 11:07:36 -04:00
a2fe11fd70
Use callGAPIitems to clean up code ( #290 )
2016-10-16 09:05:13 -04:00
78ce646eee
Add fullquery to show filelist ( #289 )
...
This allows user to bypass "'me' in owners"
2016-10-15 21:23:40 -04:00
3115c578a0
Put send_email back for todrive, update OAUTH2_SCOPES ( #288 )
...
* Put send-email back for todrive, update scopes
* Use loop instead of list comprehension for selected_scopes
* Engage brain fully before commit
2016-10-15 20:37:28 -04:00
5eb029baf1
Fix some pylint warnings/errors
2016-10-13 20:37:01 -04:00
cf0af20d89
remove no-longer-used geturl() function
2016-10-13 20:09:22 -04:00
dabb3362c8
formatting fixes
2016-10-13 15:09:35 -04:00
8d2af5ca66
Kill GData until it's dead
...
Fixes #148 . May need further cleanup
2016-10-13 14:52:25 -04:00
c4dffd7584
Fix typos ( #286 )
2016-10-13 05:43:32 -04:00
14c86e3780
Fix typo ( #285 )
2016-10-12 21:23:21 -04:00
cc1126ff2f
Eliminate unused body item ( #283 )
2016-10-12 18:44:30 -04:00
6b0fb9e54d
Handle misidentified codepoint ( #281 )
2016-10-12 18:02:26 -04:00
8435d41d44
mention binary builds
2016-10-12 16:01:54 -04:00
e92b9690d4
require Python 2.7
2016-10-12 16:01:54 -04:00
953ea36177
Merge pull request #280 from PMox/master
...
Remove underscore or the string will not match
2016-10-12 15:27:49 -04:00
36d0d7da7b
Remove underscore or the string will not match
2016-10-12 21:18:51 +02:00
3090c59582
GAM 3.72
2016-10-12 14:19:07 -04:00
1de7e32f25
fix error message and remove old comment
2016-10-12 14:10:22 -04:00
2bf058b089
make sure courseId isn't already prefixed before prefixing
2016-10-12 13:34:59 -04:00
c507714ab6
CrOS device actions (disable, deprovision, reenable...)
2016-10-12 11:56:31 -04:00
cdc72d2f23
catch additional errors on guardian delete
2016-10-12 11:53:37 -04:00
f3f3f91fcb
Fix spacing
2016-09-01 10:10:19 -07:00
f8be56efdc
Fix type, clean up doPrintGroupMembers
2016-09-01 10:07:26 -07:00
dcae0155b2
Simply and generalize print group-members so that fields like the new status are automatically included as Google updates API
2016-08-31 14:23:58 -04:00
44c0d4bf15
Add new fields to list of selectable fields in print groups
2016-08-30 19:05:51 -07:00
b8b268f0ad
default argument allowed for signature and sendas
2016-08-30 16:45:58 -07:00
4182b3cd1e
Print heading for info sendas
2016-08-30 12:08:37 -07:00