Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fork to 2.22.0 #2

Merged
merged 74 commits into from
Dec 28, 2018
Merged

Update fork to 2.22.0 #2

merged 74 commits into from
Dec 28, 2018

Conversation

dwrusse
Copy link
Owner

@dwrusse dwrusse commented Dec 28, 2018

No description provided.

scrthq and others added 30 commits October 28, 2018 17:10
Getting this deployed shortly with a few other changes on my end
…, add Sync-GSUserCache for #87

## 2.18.0

* [Issue #87](#87)
  * Added: `Get-GSCourseParticipant` and `Get-GSClassroomUserProfile` now have the `Fields` parameter
  * Added: `Sync-GSUserCache` to create a hashtable of users for quick lookups throughout scripts
* [Issue #53](#53) via [PR #108](#108) - _Thanks, [@dwrusse](https://github.com/dwrusse)!_
  * Added: `Get-GSContactList`
  * Added: `Remove-GSContact`
* Other additions via [PR #108](#108) - _Thanks, [@dwrusse](https://github.com/dwrusse)!_
  * Added: `Remove-GSCalendarEvent`
  * Added: `New-GSGmailLabel`
  * Added: `Remove-GSGmailLabel`
…, add Sync-GSUserCache for #87

## 2.18.0

* [Issue #87](#87)
  * Added: `Get-GSCourseParticipant` and `Get-GSClassroomUserProfile` now have the `Fields` parameter
  * Added: `Sync-GSUserCache` to create a hashtable of users for quick lookups throughout scripts
* [Issue #53](#53) via [PR #108](#108) - _Thanks, [@dwrusse](https://github.com/dwrusse)!_
  * Added: `Get-GSContactList`
  * Added: `Remove-GSContact`
* Other additions via [PR #108](#108) - _Thanks, [@dwrusse](https://github.com/dwrusse)!_
  * Added: `Remove-GSCalendarEvent`
  * Added: `New-GSGmailLabel`
  * Added: `Remove-GSGmailLabel`
scrthq and others added 29 commits November 25, 2018 01:22
## 2.20.1

* [Issue #121](#121)
  * Added: `Update-GSGroupMember` to allow setting a group member's Role and/or DeliverySettings
* Miscellaneous
  * Added: GitHub release automation to deploy task
  * Added: Twitter update automation on new version release to deploy task
## 2.20.2

* [Issue #120](#120)
  * Added: `Update-GSMobileDevice` to allow taking action on Mobile Devices
  * Fixed: Bug in `Remove-GSMobileDevice` with incorrect variable name
Add Support for User Relation
## 2.21.0

* [PR #130](#130) / [Issue #129](#129)
  * Added: Support for UserRelations management in `New-GSUser -Relations $relations` and `Update-GSUser -Relations $relations` via `Add-GSUserRelation` helper function. - _Thanks, [@mattwoolnough](https://github.com/mattwoolnough)!_
  * Added: Logic to `Update-GSUser` to enable clearing of all values for user properties `Phones`, `ExternalIds`, `Organizations`, and `Relations` by REST API call via passing `$null` as the value when calling `Update-GSUser`. - _Thanks, [@mattwoolnough](https://github.com/mattwoolnough)!_
* [Issue #129](#129)
  * Fixed: Documentation for `Get-GSSheetInfo` around the `Fields` parameter.
  * Added: Additional correction of casing for `Fields` values in `Get-GSSheetInfo` so that it will always submit the values using the correct case, even if providing the incorrect case as the value to the parameter.
## 2.21.1

* [Issue #131](#131) - _Free/standard Google Account support_
  * Fixed: Handling of scopes in `New-GoogleService` for authentication when a client_secrets.json file is used instead of the typical .p12 key.
  * Updated: Documentation to show how to use an account that is not a G Suite admin or G Suite user at all with PSGSuite
  * Updated: `*-PSGSuiteConfig` commands now store the client_secrets.json string contents directly on the encrypted config once provided either the path or the string contents directly, allowing users to remove any plain text credentials once loaded into the encrypted config.
  * Updated: `Get-GSToken` now uses `New-GoogleService` under the hood, so `client_secrets.json` will work with Contacts API.
## 2.21.2

* [Issue #136](#136)
  * Fixed: `Start-GSDriveFileUpload` failing when specifying a user other than the Admin user to do the upload as.
…pt instead, added OutputType to all relevant functions
… to Prompt instead, added OutputType to all relevant functions

## 2.21.3

* [Issue #131](#131)
  * Fixed: Changed `CodeReceiver` to use `PromptCodeReceiver` when client is PowerShell Core, as `LocalServerCodeReceiver` does not appear to redirect correctly and auth fails. Same behavior in Core regardless of OS.
* Miscellaneous
  * Added: `OutputType` to all functions that return standard objects.
## 2.22.0

* Miscellaneous: _Config management and portability updates_
  * Added: `Export-PSGSuiteConfig` function to export key parts of your config in a transportable JSON file.
  * Added: `Import-PSGSuiteConfig` function to import a config from a JSON file (i.e. one created with `Export-PSGSuiteConfig`) or from a JSON string (i.e. stored in a secure variable in a CI/CD system.)
  * Updated: All config functions now store the P12Key or the ClientSecrets JSON string in the encrypted config directly. This is to allow removal of the secrets files as well as enable PSGSuite to run in a contained environment via importing the config from a secure JSON string.
  * Updated: `[Get|Set|Switch]-PSGSuiteConfig` to include the P12Key and ClientSecrets parameters that enable housing of the key/secret directly on the encrypted config.
  * Updated: If the global PSGSuite variable `$global:PSGSuite` exists during module import, it will default to using that as it's configuration, otherwise it will import the default config if set.
@dwrusse dwrusse merged commit c11b24d into dwrusse:master Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants