forked from SCRT-HQ/PSGSuite
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mock test additions
…ite into feature/mock_test_additions
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`
…o main Get-GSGroupMember function body
… Release during deployment
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.
…rect OutputType to commands
…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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.