Jay Lee
37ce64acb7
print and move events
2019-05-17 12:07:24 -04:00
Ross Scroggs
4b8bc4e7ea
Fix Issue #917 ( #930 )
2019-05-17 09:28:28 -04:00
Jay Lee
65f94ff465
lowercase on AUE guess, many more exceptions
2019-05-16 11:55:37 -04:00
Ross Scroggs
1b010fbd07
Optimize AUE guessing ( #928 )
...
Only look up a model once, cache the result
2019-05-16 11:44:05 -04:00
Ross Scroggs
4808f18ca0
Cleanup guessAUE ( #926 )
2019-05-15 18:05:32 -04:00
Jay Lee
c05c040241
Guess CrOS AUE date
2019-05-15 12:30:22 -04:00
Ross Scroggs
3d3f2b535b
Fix bug, encoded deviceId not included in output ( #924 )
2019-05-14 10:42:10 -04:00
Ross Scroggs
49bf1f675a
Code cleanup ( #923 )
...
keys(), we don't need no stinkin' keys()
2019-05-12 17:08:13 -04:00
Jay Lee
690302f2b3
Full support for archived user
2019-05-11 11:24:06 -04:00
Ross Scroggs
6d4a34d971
Code cleanup ( #921 )
2019-05-10 09:57:15 -04:00
Jay Lee
39f5b1dbc2
more GCP fixes, testing
2019-05-09 12:04:56 -04:00
Jay Lee
4178b4a61e
fix printer reg py3.5, less aggressive bulk user on travis
2019-05-09 11:16:21 -04:00
Ross Scroggs
0cffb8202d
Update encoding so Python REs with \ can be processed ( #918 )
...
* Update encoding so Python REs with \ can be processed
Fix bug in printShowDelegates
* uid:ResourceId can't be downshifted
* Appease pylint, fix print formatting
* Fix row filter count matching
* Fix indentation
2019-05-09 10:34:12 -04:00
Jay Lee
70de8b8719
print archived state for users, fix delegate count
2019-05-07 17:57:11 -04:00
Jay Lee
2713bd9bfc
show delegate count
2019-05-07 15:23:29 -04:00
Jay Lee
b34b2d8e2a
Allow identifying resources by id
2019-05-07 13:59:00 -04:00
Jay Lee
33f5e74e45
Python 3.5 fix
2019-05-06 14:30:22 -04:00
Ross Scroggs
78c71babda
Python 3.5/6 don't have the version attributes ( #914 )
...
* Python 3.5/6 don't have the version attributes
* Code cleanup
* Exit on unsupported request
* Change message
* Fix error response handling
ERROR: Authentication Token Error - ('invalid_grant: Invalid email or User ID', '{\n "error": "invalid_grant",\n "error_description": "Invalid email or User ID"\n}')
2019-05-06 10:46:39 -04:00
ejochman
004b51f3cd
Gate usage on minimum supported Python version ( #912 )
...
3.7 is recommended, but 3.5 should be currently supported
2019-05-03 17:59:51 -04:00
Ross Scroggs
1046716304
Fix for Python 3 ( #913 )
...
* Fix for Python 3
* Another fix for Python 3
2019-05-03 17:58:31 -04:00
Ross Scroggs
187b7a8c39
Multiple updates ( #910 )
...
* Use integer division to get minutes
* Update to latest Drive API
* Clean up language output formatting; encode control characters in mobile deviceId
2019-05-02 12:44:30 -04:00
Jay Lee
6353ddf58a
get/set Gmail language
2019-04-29 15:36:49 -04:00
Jay Lee
49fc1c4f7e
remove noverifyssl.txt in favor of GAM_CA_FILE
...
completely disabling SSL hostname verification is very dangerous and
unnecessary. Instead, allow admin to set GAM_CA_FILE to point to their
own file with certificate authorities. This file would presumably
include their own certificate authority when doing "man in the middle"
SSL/TLS inspection.
2019-04-29 10:21:56 -04:00
Ross Scroggs
097eb07fcc
Use regular expressions in GAM_CSV_HEADER_FILTER ( #907 )
...
* Use regular expressions in GAM_CSV_HEADER_FILTER
* Handle no matching column titles
2019-04-29 09:39:31 -04:00
Ross Scroggs
00f992259b
Python 3 cleanup ( #906 )
2019-04-28 13:31:34 -04:00
Ross Scroggs
4098a9b70f
Update GAM_CSV_ROW_FILTER ( #901 )
...
* Update GAM_CSV_ROW_FILTER
* Improve GAM_CSV_ROW_FILTER
* Improve again GAM_CSV_ROW_FILTER
* Improve error messages
2019-04-25 13:11:11 -04:00
Jay Lee
b617d5cab0
TLS min/max config options with sane defaults
2019-04-25 13:04:26 -04:00
Ross Scroggs
0cf964073d
Code cleanup ( #900 )
...
* Code cleanup
* Add missing _
* Add missing character
One character was missing from the prefix, I assumed :, did you want a space?
* Put missing variable back
* More cleanup repairs
2019-04-24 13:40:35 -04:00
Ross Scroggs
351e9ab929
Not needed in Python 3 ( #898 )
2019-04-23 11:05:29 -04:00
Jay Lee
f0d0345fcd
'gam version extended' to show OpenSSL version, TLS used
2019-04-23 10:31:10 -04:00
Jay Lee
1c8cb1a617
dynamic cacerts.txt, r for text, rb for data
2019-04-22 15:59:02 -04:00
Jay Lee
bc065d4b31
split lines again
2019-04-22 14:23:27 -04:00
Ross Scroggs
71c9d90b39
pylint cleanup, Python 3 cleanup/fixes ( #897 )
...
* pylint cleanup, Python 3 cleanup/fixes
* More python 3 fixes
2019-04-22 14:19:31 -04:00
Jay Lee
7e37e7298e
Lots of py3 fixes
2019-04-21 21:13:11 -04:00
Jay Lee
457ce15a4c
Move GAM to use Python 3. Fixes #392 ( #896 )
...
* 2to3 cleanup, import changes, httplib2 py3 version, fix passlib deprecation
* Travis Python 3 move
* default to Trusty for Python 3.7.3
* use daadsnakes PPA
* start with default python
* --yes
* 3.5 for now, may tighten in future
* compile 3.7 from source
* osx and linux
* Update linux-x86_64-before-install.sh
* pip3
* bash env, more debug
* quiet down the make
* alias
* kill virtualenv
* 2.6
* again
* again
* deactivate
* pip3
* pip3
* Update linux-x86_64-before-install.sh
* Update linux-x86_64-before-install.sh
* Update .travis.yml
* cleanup
* give xenial a shot
* 3.7.3, trusty
* 3.7.3, xenial
* pip3
* no sudo
* StaticX for a truly static Linux build
* StaticX for realz
* Install StaticX deps
* log size and run times
* actually time
* remove old gam
* distro
* debug pyinstaller
* Fix StaticX path discovery
* Detect old glibc and install legacy GAM build
* report version
* fix
* fix distro list
* StaticX workaround
* travis staticx builds
* remove 3P libraries from GAM
These libraries can (and should) be installed via
pip install -r requirements.txt
* Have travis install reqs
* fix cacert (static for now)
* remove bad gam.spec
* fix requirements.txt location
* try another path
* deploy all branches
* win/osx fix attempts
2019-04-21 17:03:07 -04:00
Jay Lee
0b763b70f4
Local filtering of CSV output. Fixes #895 .
2019-04-19 15:35:05 -04:00
Jay Lee
46fcd84ecb
Special case hangoutsChatQuery. Fixed #894
2019-04-18 16:01:37 -04:00
Jay Lee
1654dee62e
re-enable IndexError
2019-04-16 08:33:41 -04:00
Ross Scroggs
2316b9e76a
Allow adding customer Id to group ( #889 )
...
Customer ID is properly recognized in normalizeEmailAddressOrUID if CUSTOMER_ID envirement variable is set. This change then properly labels it ads'id', not 'email'.
2019-04-15 16:52:43 -04:00
Ross Scroggs
b095b361cb
Update group settings documentation, eliminate maxMessageBytes ( #886 )
2019-04-15 15:18:29 -04:00
ejochman
fe7c72beac
Fixes scope menu issue in #884 ( #888 )
...
Adds proper inheritance of object to ScopeMenuOption and ScopeSelectionMenu which fixes the issue of property setters not being called.
Also initialize all private members during __init__
2019-04-15 15:17:47 -04:00
josemdv
a099981b3c
Removing Groups API properties that will be deprecated ( #849 )
2019-04-13 10:40:30 -04:00
Gustavo Murayama
857230def3
Translate cp65001 encoding to UTF-8 ( #862 )
2019-04-13 10:40:15 -04:00
Ross Scroggs
693c23e562
Fix bug in settings scopes ( #884 )
...
21 *->blank
21 blank->*
21r *-> R
21 R->blank
21 blank -> R Should be *
2019-04-12 17:27:57 -04:00
Jay Lee
1cedbc9423
one less quote
2019-04-12 06:06:48 -04:00
ejochman
2ce5915e70
Refactor scope selection menu ( #882 )
...
-Add flexibility to menu creation and feature customization
-Colorize menu error messages on supported platforms
-Add 'email' as a required scope for increased transparency to the user
-Improve readability of menu creation and operation
2019-04-12 06:04:16 -04:00
Ross Scroggs
e602d3fef0
Define MAX_GOOGLE_SHEET_CELLS in var.py ( #881 )
2019-04-11 14:34:23 -04:00
ejochman
c6e1e5c1cf
Remove errant character corrupting client_secrets.json ( #880 )
...
* Revert patched google_auth_httplib2 and replace functionality by wrapping original library calls
* Wrap calls to google_auth_httplib2.Request__call__ to include a user-agent header.
* Fix bad dict key assignment syntax
* Add user agent header wrapper to requests handled by AuthorizedHttp
* Remove errant character corrupting client_secrets.json
Removes an errant '`' in the raw string output to client_secrets.json that was corrupting the json output. Also fixes the error message in getOAuthClientIDAndSecret() to properly format the output with the target filename.
* Replace missing request wrappers
2019-04-11 12:50:43 -04:00
Ross Scroggs
01d50adce7
Cleanup setting discoveryServiceUrl ( #877 )
2019-04-08 19:15:43 -04:00
Ross Scroggs
05cbe1c6f3
Update GamCommands.txt and Improve error message in get drivefile ( #875 )
...
* Update GamCommands.txt
* Improve error message when trying to dowload files
* Update GamCommands.txt
2019-04-08 18:49:47 -04:00