Jay Lee
37e0e8942e
3P library updates
2019-02-14 14:11:35 -05:00
Ross Scroggs
ef86508bbb
Add csvsheet <String> and targetname - to get drivefile ( #842 )
...
* Add csvsheet <String> and targetname - to get drivefile
Standarize id: and uid: processing
* Update var.py for Sheets API
* Handle revisionId in download of non Google files
2019-02-13 15:27:08 -05:00
Jay Lee
f6459e20f9
Initial Alert Center API work
2019-02-13 11:46:09 -05:00
Jay Lee
aeff5edaeb
Update README.md
2019-01-24 16:05:17 -05:00
The Gitter Badger
d274d05336
Add Gitter badge ( #844 )
2019-01-24 16:04:10 -05:00
Ross Scroggs
207eb0990c
Extend project commands ( #841 )
...
gam create project [<EmailAddress>] [<ProjectID>]
gam use project [<EmailAddress>] [<ProjectID>]
gam update project [<EmailAddress>] [gam|<ProjectID>|(filter <String>)]
gam delete project [<EmailAddress>] [gam|<ProjectID>|(filter <String>)]
gam show projects [<EmailAddress>] [all|gam|<ProjectID>|(filter <String>)]
gam print projects [<EmailAddress>] [all|gam|<ProjectID>|(filter <String>)] [todrive]
2019-01-18 11:38:41 -05:00
Jay Lee
1cbe8297aa
add support for archiving user, no details avail on what it does yet, leave undocumented till then
2019-01-15 16:36:07 -05:00
Ross Scroggs
5b8fcebabd
create project cleanup ( #839 )
...
* create project cleanu
Google now puts a leading \n on client_id and client_secret; handle them.
Update instructions,
* Fix instructions.
* Add comment explaining extra raw_input
2019-01-15 16:13:15 -05:00
Ross Scroggs
820f17ce74
Cleanup ( #838 )
...
pylint 2125/2150
Standardize create vault messages
2019-01-13 10:14:27 -05:00
Ross Scroggs
753ecd7244
Allow setting of Team Drive restrictions ( #834 )
...
* Allow setting of Team Drive restrictions
* Add asadmin to doUpdateTeamDrive
2019-01-05 20:45:56 -05:00
Ross Scroggs
df3ea385ee
Updated gam report users to support new orgUnitID argument in Reports API ( #833 )
2019-01-02 15:43:34 -05:00
Ross Scroggs
eb041e9e65
Update documentation ( #832 )
2019-01-02 10:55:06 -05:00
Ross Scroggs
96eb2496e4
Documentation cleanup ( #829 )
...
* Correct documentation
* Document create datatransfer service list
2018-12-20 20:37:18 -05:00
bbadger86
cbe89c8c40
Added ability to transfer data for multiple application (drive, calendar, Google+) in a single API request ( #826 )
2018-12-18 12:44:39 -05:00
Jay Lee
4d893c4da1
Remove notification commands per https://gsuiteupdates.googleblog.com/2018/12/admin-console-notification-changes.html
2018-12-17 13:25:12 -05:00
Ross Scroggs
9dd0b135b9
Handle no dns.resolver ( #822 )
...
* Handle no dns.resolver
* Include python dns library
2018-11-29 11:01:03 -05:00
Ross Scroggs
5b0439ddb5
Import move cleanup ( #821 )
...
calendar.timegm(time.gmtime()) and int(time.time()) return the same value. import calendar can be droped as it caused a name conflict later on.
With import dns.resolver moved to the top, try except ImportError can be dropped.
2018-11-25 09:46:10 -05:00
Jay Lee
c3cb82a2de
move most imports to top to make sure libraries exist early
2018-11-22 20:08:00 -05:00
Jay Lee
516f13bf48
Update gam-install.sh
2018-11-22 15:08:04 -05:00
Jay Lee
c3bf18cf5a
Update gam-install.sh
2018-11-22 15:07:12 -05:00
Ross Scroggs
ece2d2943e
Handle oauth error without a trap ( #819 )
2018-11-20 12:01:24 -05:00
Ross Scroggs
610dbd4dcf
Add smtpMsa options to create sendas; update license commands ( #814 )
...
* Add smtpMsa options to create sendas
This allows sendas addresses outside of your domain
* Update licenses commands
Add gam show licenses
Add countsonly option to gam print licenses
Add allskus and gsuite selection options
2018-11-19 11:56:41 -05:00
Jay Lee
fe3c043d61
re-add a few explicit checks on sheets size
v4.65
2018-10-28 17:03:26 -04:00
Ross Scroggs
83d8135722
One large, four small fixes ( #813 )
...
* One large, three small fixes
Gam update group update backwards compatibility
8551/8552
Handle cpuStatusReports, diskVolumeReports, systemRamFreeReports for CrOS devices
9451/10291, 11417/11622
Cod cleanup writeCSVfile
10360.10375
Fix indentation
12678
* Make cell_count computation explicit
2018-10-28 16:57:26 -04:00
Jay Lee
6caf3f2252
GAM 4.65
2018-10-27 20:23:17 -04:00
Ross Scroggs
b8331a3a4a
Multiple small fixes ( #800 )
...
* Multiple small fixes
Allow mixed case when creating/updating/deleting alias: 362/378, 8068, 8622, 10162
Recode callGAPIpages for future benefits: 890/940
Handle out of range start_time end_time values in gam report: 1441/1444
Work around API bug where primary can't be used as calendarId: 2979/2980
Code cleanup in doCalendarAddEvent: 3507/3600
Get integers with subroutine: 228-236, multiple calls
Minimize data download in doDeleteGuardian: 2330/2348
Add contentmanager/fileorganizer role: 3984/4074
* Fix typos
* Code cleanup calendar ACL commands; add sendnotifications
* Correct documentation error
* Add operatingSystemType to user posix attribute
* Add Jay's changes
group member delivery settings, check max sheet bytes on CSV upload
* Cleanup writeCSVfile sheet size checking
* Revert "Add Jay's changes"
This reverts commit 9eb90ba7d7 .
* Revert "Cleanup writeCSVfile sheet size checking"
This reverts commit 139a2f7f4c .
* More reverting
2018-10-27 20:17:02 -04:00
Jay Lee
c271349c30
Merge branch 'master' of https://github.com/jay0lee/GAM
2018-10-22 10:22:14 -04:00
Jay Lee
329a6e0768
group member delivery settings, check max sheet bytes on CSV upload
2018-10-22 10:22:02 -04:00
Roman Hargrave
fae2dca9dc
Add operatingSystemType to posix config ( #808 )
...
* Add operatingSystemType to posix config
* Downcase operatingsystemtype
2018-10-15 12:23:58 -04:00
Ross Scroggs
7112a42c96
Simplify setup dialog when upgrading; fix typos ( #789 )
2018-09-12 09:20:03 -04:00
Jan Almeroth
d76618cbad
If language missing, default to en. Fixes #787 ( #788 )
...
* If language missing, default to en. Fixes #787
* lets make it clear that it was unset
2018-08-29 08:52:12 -04:00
Jay Lee
d8db37786c
remove email settings from spec files
v4.61
2018-08-27 18:59:10 -04:00
Jay Lee
79bc1065f3
GAM 4.61
2018-08-27 18:44:52 -04:00
Ross Scroggs
b107afc13c
Add ability to specify suspended/not suspended users for groups and ous ( #786 )
...
Simplify specifying ChromeBooks by serial number
2018-08-27 18:26:06 -04:00
Jay Lee
fcfbf0a733
make create/delete delegate API calls soft error
2018-08-27 12:49:14 -04:00
Ross Scroggs
8460a7a87d
Remove ability to promote/demote super admins; minor delegate cleanup ( #785 )
2018-08-27 12:47:58 -04:00
Ross Scroggs
2940dd71ab
Fix query in update/rename labels, allow user to keep old label ( #783 )
...
* Fix query in update/rename labels, allow user to keep old label
* Drop keepoldlabel
2018-08-25 07:32:02 -04:00
Jay Lee
135ebaa251
handle non-Gmail users, counting
2018-08-24 08:37:30 -04:00
Jay Lee
f94b3eb383
remove email-settings JSON, fix e on scope selection
2018-08-24 08:28:23 -04:00
Jay Lee
a3db496f31
New Delegation API, yippee!
2018-08-24 08:21:27 -04:00
Ross Scroggs
dd78c05d59
Vault zip files were being extracted to cwd not toFolder ( #781 )
2018-08-20 21:01:09 -04:00
Ross Scroggs
d9c4326a6b
Vault updates - Ignore until end of vacation ( #777 )
...
* Vault updates
Code cleanup
Add delete export/print export
Make start/startime end/endtime consistent
Add noverify noextract targetfolder to download export
* Avoid API error
* Fix error
* Fix timezone BNF
2018-08-13 17:38:32 -04:00
Jay Lee
4ec90dbcfe
version bump. document flush
v4.60
2018-08-03 20:30:31 +00:00
Ross Scroggs
b8c6800b37
Use openFile/closeFile to avoid traps ( #776 )
...
* Use openFile/closeFile to avoid traps
This code isn't necessary, it will happen as part of close
f.flush()
os.fsync(f.fileno())
* Put flush/sync back
2018-08-03 15:57:23 -04:00
Ross Scroggs
a82a33996c
Code cleanup ( #775 )
2018-08-03 15:22:38 -04:00
Ross Scroggs
9a27f19e2e
Code cleanup ( #773 )
...
* Code cleanup
* Cleanup gedtting matter name/id
* versionDate is full timestamp
2018-08-03 12:19:24 -04:00
Jay Lee
c56c6e3e05
Merge branch 'master' of https://github.com/jay0lee/GAM
2018-08-03 13:19:50 +00:00
Jay Lee
0c0fb37b33
semi-working gam create export
2018-08-03 13:19:15 +00:00
Ross Scroggs
e865d81dad
Fix my mistake, keep pylint happy, set export folder ( #771 )
...
* Fix my mistake, keep pylint happy, set export folder
5439/5440: copy/paste mistake
7531/7550: file and object are Python objects, pylint gets very unhappy when you redefine them
7529, 7534, 7564: Use user-defined drive folder
* Cleanup download message
2018-08-03 05:39:00 -04:00
Ross Scroggs
cc86d67c26
Add textcolor and backgroundcolor to add label/update labelsettings ( #770 )
...
* Add textcolor and backgroundcolor to add/update label
pylint cleanup in new valult code
* Check that both textcolor and backgroundcolor are specified
2018-08-02 20:51:47 -04:00