Skip to content

Commit

Permalink
!deploy v2.33.0 (#237)
Browse files Browse the repository at this point in the history
## 2.33.0 - 2019-09-26

* [Issue #236](#236)
  * Fixed: Custom converter for Configuration metadata defaults to `ConvertTo-SecureString` as the preferred function instead of the custom `Secure`. `Secure` is still supported for backwards compatibility.
  • Loading branch information
scrthq authored Sep 27, 2019
2 parents 0b1d415 + a212693 commit 80570b0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 41 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* [PSGSuite - ChangeLog](#psgsuite---changelog)
* [2.33.0 - 2019-09-26](#2330---2019-09-26)
* [2.32.3 - 2019-09-18](#2323---2019-09-18)
* [2.32.2 - 2019-09-15](#2322---2019-09-15)
* [2.32.1 - 2019-09-14](#2321---2019-09-14)
Expand Down Expand Up @@ -100,6 +101,11 @@

# PSGSuite - ChangeLog

## 2.33.0 - 2019-09-26

* [Issue #236](https://github.com/scrthq/PSGSuite/issues/236)
* Fixed: Custom converter for Configuration metadata defaults to `ConvertTo-SecureString` as the preferred function instead of the custom `Secure`. `Secure` is still supported for backwards compatibility.

## 2.32.3 - 2019-09-18

* [Issue #234](https://github.com/scrthq/PSGSuite/issues/234)
Expand Down
2 changes: 1 addition & 1 deletion PSGSuite/PSGSuite.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PSGSuite.psm1'

# Version number of this module.
ModuleVersion = '2.32.3'
ModuleVersion = '2.33.0'

# ID used to uniquely identify this module
GUID = '9d751152-e83e-40bb-a6db-4c329092aaec'
Expand Down
43 changes: 4 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,42 +158,7 @@ All other functions are either intact or have an alias included to support backw

[Full CHANGELOG here](https://github.com/scrthq/PSGSuite/blob/master/CHANGELOG.md)

#### 2.32.3 - 2019-09-18

* [Issue #234](https://github.com/scrthq/PSGSuite/issues/234)
* Fixed: `Update-GSUserPhoto` errors by switching to `[System.IO.File]::ReadAllBytes($path)`.

#### 2.32.2 - 2019-09-15

* [Issue #225](https://github.com/scrthq/PSGSuite/issues/225)
* Fixed: NuGet package versions for Google APIs fell back to the version sheet during the most recent version push due to failure to communicate with NuGet to dynamically pull the latest version, resulting in previous enhancements now failing (e.g. Admin SDK rolled back to a 2017 version).
* Added more guards and force update situations for the NuGetDependencies.json file during local builds to more concretely guarantee that the NuGet packages needed will be available.

#### 2.32.1 - 2019-09-14

* [Issue #232](https://github.com/scrthq/PSGSuite/issues/232)
* Added: `Visibility` parameter on `New-GSCalendarEvent`

#### 2.32.0 - 2019-09-12

* [Issue #229](https://github.com/scrthq/PSGSuite/issues/229)
* Added: `Update-GSGmailLanguageSettings` and `Get-GSGmailLanguageSettings` functions to update/get a users default language settings in Gmail.
* [Issue #231](https://github.com/scrthq/PSGSuite/issues/231)
* Added: `Update-GSCalenderSubscription` function to updated existing calendar subscriptions.
* Removed: Default values for the following parameters on `Add-GSCalendarSubscription` to prevent automatically adding notifications for new CalendarList entries (subscriptions):
* `DefaultNotificationType`
* `DefaultNotificationMethod`
* `DefaultReminderMethod`
* `DefaultReminderMinutes`
* Added: `Notifications` and `Reminders` parameters to `Add-GSCalenderSubscription` and `Update-GSCalenderSubscription`
* Added: `Reminders` parameter to `New-GSCalendarEvent` and `Update-GSCalendarEvent` functions to set custom reminders on calendar events.
* Added: `Add-GSCalendarEventReminder` and `Add-GSCalendarNotification` helper functions.
* Updated: `DisableReminder` switch parameter name on `New-GSCalendarEvent` and `Update-GSCalendarEvent` functions to `DisableDefaultReminder` to better align with what that actually effects (default reminder inheritance only, not reminder overrides). The previous parameter name has been set as an alias to maintain backwards compatibility.
* Added: `RemoveAllReminders` parameter to `Update-GSCalendarEvent` to remove all custom reminders and disable calendar inheritance.
* [Issue #232](https://github.com/scrthq/PSGSuite/issues/232)
* Added: `Visibility` parameter on `Update-GSCalendarEvent` to set the visibility of a calendar event.
* Miscellaneous
* Forced `Type` parameter values to lower on the `Add-GSUser*` helper functions to ensure case senstive field matches whats expected.
* Updated Google .NET SDKs to latest versions.
* Updated and corrected a LOT of comment based function help.
* Added function help tests to validate that functions contain expected help content.
#### 2.33.0 - 2019-09-26

* [Issue #236](https://github.com/scrthq/PSGSuite/issues/236)
* Fixed: Custom converter for Configuration metadata defaults to `ConvertTo-SecureString` as the preferred function instead of the custom `Secure`. `Secure` is still supported for backwards compatibility.
14 changes: 13 additions & 1 deletion psake.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Add-MetadataConverter -Converters @{
elseif (`$Global:PSGSuiteKey -is [System.Security.SecureString]) {
`$encParams["SecureKey"] = `$Global:PSGSuiteKey
}
'Secure "{0}"' -f (ConvertFrom-SecureString `$_ @encParams)
'ConvertTo-SecureString "{0}"' -f (ConvertFrom-SecureString `$_ @encParams)
}
"Secure" = {
param([string]`$String)
Expand All @@ -196,7 +196,19 @@ Add-MetadataConverter -Converters @{
}
ConvertTo-SecureString `$String @encParams
}
"ConvertTo-SecureString" = {
param([string]`$String)
`$encParams = @{}
if (`$Global:PSGSuiteKey -is [System.Byte[]]) {
`$encParams["Key"] = `$Global:PSGSuiteKey
}
elseif (`$Global:PSGSuiteKey -is [System.Security.SecureString]) {
`$encParams["SecureKey"] = `$Global:PSGSuiteKey
}
ConvertTo-SecureString `$String @encParams
}
}
try {
`$confParams = @{
Scope = `$ConfigScope
Expand Down

0 comments on commit 80570b0

Please sign in to comment.