* Add view all|company|personal to print devices
Update documentation
* sync devices cleanup
* Update sync devices documentation
* Cleanup;
The advantage here is that they will be no filter errors unless you specify a particular view and a filter that doesn't match
* Simplify selection of devices to print
Default - all
Positve choices
Negative choices - backwards compatible
* Device updates
Make info device consistent with action device: id keyword is optional
Add nodeviceusers to print devices
pylint cleanup
* Fix documentation
* Sdd orderby to print devices
* Device assetTag cleanup
* Fix typo, appease pylint
* Strip C from customer ID
Automatic fixes produced by yapf formatting using `--style=google`, as
well as common pre-commit checks such as trailing whitespace removal,
double quote fixer, and newlines at the end of a file.
Add date range to skipdates
Make report name match dates; indicate if no data
If only enddate is specified change time period
current: now-1 month to enddate
improved: enddate-1 month to enddate
* Improve error handling when invalid report is entered
* Add chat to report list
* Use discovery document
* This will work
* Fix formatting
* These aren't necessary
* Yes, these are necessary because the user may enter the version without _ and gam has has to add it back
* When rotating an sakey, only delete the existing key, no others
* Make sakeys retention explicit
* Fix bug
* Rotate, local key generation default
* Allow explicit specification of retain_none in rotate sakeys
It is still the default value.
* Fix group settings
Clean up md5MatchesFile
* Simplify doGetCustomerInfo
Avoid trap when doPrintDomains returned a domain creationTime with no fraction.
Traceback (most recent call last):
File "gam.py", line 14761, in <module>
File "gam.py", line 14159, in ProcessGAMCommand
File "gam.py", line 2053, in doGetDomainInfo
File "gam.py", line 2088, in doGetCustomerInfo
File "_strptime.py", line 577, in _strptime_datetime
File "_strptime.py", line 359, in _strptime
ValueError: time data '2019-04-23 16:14:56' does not match format '%Y-%m-%d %H:%
M:%S.%f'
lansa.co.uk,True,2019-04-23 16:14:13.041000,secondary,
lansa.com.au,True,2019-04-23 16:14:56,secondary
* Convert team to shared in vault export
Restore _getValidCourseStates(croom), it is used by _getCourseStates in print courses/course-participants
* Update GamCommands.txt
* Fix typo
* Update gam.py
* Clean up sendOrDropEmail
* Date allowed in all commands, only sets kwargs for import/insert
* Two updates
Allow headers in draft/import/insert/send email
Quote arguments in todrive decscription
* Make requested changes
* Don't user sendser as an alias for from as they can be different things in SMTP
* On import message, default to not checking for spam
* Update draft/import/insert/sendemail
If possible, use same option names as already exist in my Gam for same commands.
Include charset with file.
* Code cleanup
Add notregex to GAM_CSV_ROW_FILTER to allow selection rows that don't have a particular value
Standarize formatting timestamps
Display mobile.patchSecurityLevel as a date/time
* Handle missing credentials, e.g., two gam oauth deletes in a row
* Add scopes back to oauth2.txt
If scopes are in oauth2.txt, an advanced gam user can use it unchanged. My code does preemptive error checking to detect API scope mismatches early on.
* Suppress token details unless requested
* Bring on the details
* Update scopes used to make oauth2.txt
* Clean up random string generation
You don't want printable.
string.printable: String of characters which are considered printable. This is a combination of digits, letters, punctuation, and whitespace.
string.whitespace: A string containing all characters that are considered whitespace. On most systems this includes the characters space, tab, linefeed, return, formfeed, and vertical tab.
* Cleanup
* Update printevents
The column header should be calendarId not primaryEmail as the user could specify a resource calendar for instance.
The order should be calendarId,id: major,minor as in other print commands.
* Event cleanup
* More event cleanup