diff --git a/AptecoPSFramework/AptecoPSFramework.psd1 b/AptecoPSFramework/AptecoPSFramework.psd1 index d953388..a0d70c4 100644 --- a/AptecoPSFramework/AptecoPSFramework.psd1 +++ b/AptecoPSFramework/AptecoPSFramework.psd1 @@ -90,6 +90,7 @@ RequiredModules = @( # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. FunctionsToExport = @( + "Add-PluginFolder" "Export-Settings" "Get-Debug" @@ -107,6 +108,7 @@ FunctionsToExport = @( #"Set-ProcessIdentifier" "Set-Settings" "Install-Plugin" + "Open-DuckDBConnection" "Get-DuckDBConnection" "Close-DuckDBConnection" @@ -116,12 +118,14 @@ FunctionsToExport = @( "Add-DuckDBConnection" "Get-DebugMode" "Import-Lib" + "Add-JobLog" "Get-JobLog" "Update-JobLog" "Set-JobLogDatabase" "Close-JobLogDatabase" #"Clean-JobLogDatabase" + ) #'*' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. @@ -164,7 +168,6 @@ PrivateData = @{ # 'ReleaseNotes' des Moduls ReleaseNotes = ' - Feature: Improved the whole exception handling for all parts in the framework, so the messaging should be more clear, if problems occur Feature: Changed the way Apteco email builds up arrays, so the performance in loading contactlists should be a little bit better Feature: Added SimplySql in the new version 2 to the dependencies @@ -173,6 +176,8 @@ PrivateData = @{ Feature: Improved Performance for DuckDB reader (e.g. 5 seconds for 150k rows instead of 70 seconds) Feature: Improved handling for sniffing csv files with DuckDB (example is in help) Fix: API Ratelimiting could cause problems when also containing whitespace, this has been fixed + Fix: Renaming Prepare-MultipartUpload to ConvertTo-MultipartUpload to only use allowed verbs + Fix: Renaming Prompt-Choice to Request-Choice to only use allowed verbs 0.3.3 Fix: Setting a default logfile at the start of the module load named "logfile.log" Fix: Reflected a new flag for installing dependencies so that DuckDB is not installing all dependent packages of DuckDB.NET Fix: Improved the error handling and messaging for loading settings files diff --git a/AptecoPSFramework/plugins/InxmailPro/Public/PeopleStage/invoke-upload.ps1 b/AptecoPSFramework/plugins/InxmailPro/Public/PeopleStage/invoke-upload.ps1 index e5e0c02..7fdf4db 100644 --- a/AptecoPSFramework/plugins/InxmailPro/Public/PeopleStage/invoke-upload.ps1 +++ b/AptecoPSFramework/plugins/InxmailPro/Public/PeopleStage/invoke-upload.ps1 @@ -370,7 +370,7 @@ function Invoke-Upload{ #----------------------------------------------- # A certain method to correctly invoke - $multipart = Prepare-MultipartUpload -string $csvString + $multipart = ConvertTo-MultipartUpload -string $csvString # Dem server gibt man Informationen mit über das Format, was es für den server leichter macht $object = "imports/recipients" diff --git a/AptecoPSFramework/plugins/InxmailPro/Public/PeopleStage/inxmail__20__upload_recipient.md b/AptecoPSFramework/plugins/InxmailPro/Public/PeopleStage/inxmail__20__upload_recipient.md index 7ab137c..972884b 100644 --- a/AptecoPSFramework/plugins/InxmailPro/Public/PeopleStage/inxmail__20__upload_recipient.md +++ b/AptecoPSFramework/plugins/InxmailPro/Public/PeopleStage/inxmail__20__upload_recipient.md @@ -383,7 +383,7 @@ if ($params.ListName -eq "" -or $null -eq $params.ListName -or $params.MessageNa #----------------------------------------------- # A certain method to correctly invoke -$multipart = Prepare-MultipartUpload -string $csvString +$multipart = ConvertTo-MultipartUpload -string $csvString # Dem server gibt man Informationen mit über das Format, was es für den server leichter macht $object = "imports/recipients" diff --git a/AptecoPSFramework/private/Prompt/Prompt-Choice.ps1 b/AptecoPSFramework/private/Prompt/Request-Choice.ps1 similarity index 97% rename from AptecoPSFramework/private/Prompt/Prompt-Choice.ps1 rename to AptecoPSFramework/private/Prompt/Request-Choice.ps1 index f857857..e5def3f 100644 --- a/AptecoPSFramework/private/Prompt/Prompt-Choice.ps1 +++ b/AptecoPSFramework/private/Prompt/Request-Choice.ps1 @@ -12,7 +12,7 @@ $choiceMatchedWithArray = $stringArray[$choice -1] #> -Function Prompt-Choice { +Function Request-Choice { param( [Parameter(Mandatory=$true)][string]$title diff --git a/AptecoPSFramework/private/http/Prepare-MultipartUpload.ps1 b/AptecoPSFramework/private/http/ConvertTo-MultipartUpload.ps1 similarity index 96% rename from AptecoPSFramework/private/http/Prepare-MultipartUpload.ps1 rename to AptecoPSFramework/private/http/ConvertTo-MultipartUpload.ps1 index c37385f..0e2bc23 100644 --- a/AptecoPSFramework/private/http/Prepare-MultipartUpload.ps1 +++ b/AptecoPSFramework/private/http/ConvertTo-MultipartUpload.ps1 @@ -1,6 +1,6 @@  -Function Prepare-MultipartUpload { +Function ConvertTo-MultipartUpload { param( [Parameter(Mandatory=$true)][String]$path, [Parameter(Mandatory=$false)]$part = $false