Ross Scroggs
4fadf68da4
Improve signature/vacation file handling
...
When gam signature/vacation specify a file for input, allow optional
charset <Charset> argument.
2016-03-19 11:15:35 -07:00
Ross Scroggs
fb9aebf123
Improve signature/vacation file handling
...
Strip BOM_UTF8 from encoded data read by readFile; Windows puts a
BOM_UTF8 in UTF-8 files.
2016-03-19 10:34:49 -07:00
Ross Scroggs
087c6775e3
Label processing cleanup
2016-03-17 17:47:05 -07:00
Ross Scroggs
a3c509ce61
Cosmetic cleanup
2016-03-17 16:22:15 -07:00
Ross Scroggs
6b0fce21a5
Cache oauth2service.json data
2016-03-17 11:09:27 -07:00
Ross Scroggs
7b8b4674e7
Cleanup, fixes, bump version
...
doProcessMessages: clean up parsing, slight code reorder
readFile: add encoding parameter
doSignature: read file with encoding
doVacation: read file with encoding
2016-03-17 10:09:25 -07:00
Jay Lee
4956873357
two more removes
v3.65
2016-03-16 13:27:20 -04:00
Jay Lee
4dd1d6a244
more bad files removed
2016-03-16 13:26:08 -04:00
Jay Lee
65367947e0
Add pyasn1 and rsa for native crypt operations. Remove bad admx stuff
2016-03-16 13:24:19 -04:00
Jay Lee
a83414f831
bump to 3.65
2016-03-16 13:14:28 -04:00
Jay Lee
bba894bdc3
Remove Drive-storage and Coordinate SKUs (faster) and add Apps-Lite.
2016-03-16 13:13:24 -04:00
Jay Lee
190c4f212d
Upgrade googleapiclient to 1.5.0
2016-03-16 13:05:55 -04:00
Jay Lee
d8a78d96ae
Upgrade to oauth2client 2.0.1. Remove support for seperate pem keys.
2016-03-16 12:53:05 -04:00
Jay Lee
1d30eb7d91
switch "delete messages" to use batchDelete() for performance
2016-03-16 12:21:50 -04:00
Jay Lee
ac86758e79
Add messages modify command which can add/remove labels on messages.
2016-03-16 12:04:59 -04:00
Jay Lee
afee6c32a3
Merge pull request #189 from taers232c/branch-3.63
...
Fixes; cosmetic changes
2016-03-16 10:47:54 -04:00
Ross Scroggs
7412236679
gam <UserTypeEntity> untrash message|messages query <Query> [doit] [max_to_untrash <Number>]
2016-03-09 15:41:04 -08:00
Ross Scroggs
3ef433687a
Add [listlimit <Number>] to gam print cros
...
This limits the number of entries shown for activeTimeRanges and
recentUsers
2016-03-09 15:14:26 -08:00
Ross Scroggs
82d43d0b62
Minor tweaks for compatibility
2016-03-05 18:40:01 -08:00
Ross Scroggs
bf31e72384
Add noaliases and groups arguments to gam info group
2016-03-04 14:29:56 -08:00
Ross Scroggs
2a37589a9f
Add untrash argument to gam delete drivefile
2016-03-03 08:25:03 -08:00
Ross Scroggs
cafa01248a
Cosmetic cleanup
2016-02-27 19:56:04 -08:00
Ross Scroggs
5ab14fef05
Handle missing values in column
2016-02-27 19:07:01 -08:00
Ross Scroggs
6b6ada5b2c
Improve error message
2016-02-26 19:10:15 -08:00
Ross Scroggs
18420275af
Fix setting GamPath in Windows (better solution)
2016-02-26 17:00:46 -08:00
Ross Scroggs
8f283acf66
Fix setting GamPath in Windows
2016-02-26 16:47:08 -08:00
Ross Scroggs
f27df74339
Allow csv FileName:FieldName and csvfile FileName:FieldName
...
csvfile form must be used for: gam csvfile FileName:FieldName … as gam
csv FileName is already defined
2016-02-24 16:25:57 -08:00
Ross Scroggs
ca059a62a6
Strip blanks, handle empty entries in gam file and gam csvfile
2016-02-12 06:03:20 -08:00
Ross Scroggs
6dae2302c0
Fix doVacation
2016-02-11 20:41:14 -08:00
Ross Scroggs
bae5f20ec4
gam csv FileName:FieldName changed to gam csvfile FileName:FieldName
...
Added error checking
2016-02-11 20:09:40 -08:00
Jay Lee
51a4d92a90
3.63, maxresults param to print groups
v3.63
2016-02-05 10:51:33 -05:00
Jay Lee
d527f4104f
simplify file list of users and add csv list
2016-02-05 10:31:31 -05:00
Jay Lee
2d74916ca5
group membership sync batch support
2016-02-05 09:42:07 -05:00
Jay Lee
3fcde95fe8
Add "gam print roles"
v3.62
2015-12-23 09:52:04 -05:00
Jay Lee
2235c10df7
handle blank lines it batch
2015-12-23 09:05:03 -05:00
Jay Lee
327e09291b
disable discovery cache
...
Disable discovery cache as it broke CSV commands on windows with lock
errors. The cache is new in googleapiclient 1.4.2 which was upgraded
after GAM 3.61:
30125120b4
down the line, we should investigate actual issue with cache as enabling
it would improve GAM performance.
2015-12-23 08:06:22 -05:00
Jay Lee
1dd36424be
showLabels handle non-Gmail users
2015-12-23 06:55:22 -05:00
Jay Lee
ade2d0ae54
handle no results on Gmail profile
2015-12-23 06:50:57 -05:00
Jay Lee
ac3dbd25f3
If userid isn't in domain, return blank
2015-12-23 06:32:43 -05:00
Jay Lee
2e6811d2d4
Limit cache filenames to 64 chars to prevent long paths from confusing windows
2015-12-23 06:26:45 -05:00
Jay Lee
61a9d0c0a6
Merge pull request #146 from taers232c/master
...
Global variables update
2015-12-23 06:18:36 -05:00
Ross Scroggs
4cc775bcae
Eliminate try except IndexError in argument parsing
2015-12-22 23:27:42 -08:00
Ross Scroggs
96dfa52dba
Clean up parsing transferSecCals, transferDriveFiles
2015-12-22 22:16:33 -08:00
Ross Scroggs
1f1329c536
Ok, allow gam create admin to take uid: or id:abcdefghi for org unit
2015-12-22 20:41:13 -08:00
Ross Scroggs
3bb54f875d
In gam create admin, org unit id is id:abcdefghj not uid:abcdefhgi
2015-12-22 20:34:42 -08:00
Ross Scroggs
84b6c1cb87
Handle undefined role
2015-12-22 18:15:15 -08:00
Ross Scroggs
4f4bb316d0
Handle invalid argument in gam print admins
2015-12-22 18:09:22 -08:00
Ross Scroggs
fe6430edc6
Global variables do-over
...
Global variables not from environment variables/signal files in
GM_Globals
Global variables from environment variables/signal files in GC_Values
SetGlobalVariables processes all environment variables/signal files
buildGAPIObject reworked
buildGAPIServiceObject reworked
Switch resource calendar processing from GData to GAPI
Implement role assignments
2015-12-22 17:56:37 -08:00
Ross Scroggs
6c421de8c4
Merge remote-tracking branch 'jay0lee/master'
2015-12-22 17:52:31 -08:00
Ross Scroggs
c04ae91dc5
Commit Jay changes
2015-12-22 17:37:56 -08:00